Skip to content

Commit

Permalink
Merge pull request #2 from Namoshek/feature-laravel-9
Browse files Browse the repository at this point in the history
Support for Laravel 9
  • Loading branch information
Namoshek authored Feb 10, 2022
2 parents 575d229 + b67e339 commit f9158c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-version: ['8.0']
php-version: ['8.0', '8.1']

services:
redis:
Expand Down Expand Up @@ -88,14 +88,14 @@ jobs:
REDIS_SENTINEL_SERVICE: mymaster

- name: Prepare paths for SonarQube analysis
if: matrix.php-version == '8.0'
if: matrix.php-version == '8.1'
run: |
sed -i "s|$GITHUB_WORKSPACE|/github/workspace|g" phpunit.coverage-clover.xml
sed -i "s|$GITHUB_WORKSPACE|/github/workspace|g" phpunit.report-junit.xml
- name: Run SonarQube analysis
uses: sonarsource/sonarcloud-github-action@master
if: matrix.php-version == '8.0'
if: matrix.php-version == '8.1'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
"require": {
"php": "^8.0",
"ext-redis": "*",
"illuminate/contracts": "^8.0",
"illuminate/redis": "^8.0",
"illuminate/support": "^8.0"
"illuminate/contracts": "^8.0|^9.0",
"illuminate/redis": "^8.0|^9.0",
"illuminate/support": "^8.0|^9.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"orchestra/testbench": "^6.0"
"orchestra/testbench": "^6.0|^7.0"
},
"scripts": {
"test": [
Expand Down

0 comments on commit f9158c7

Please sign in to comment.