Skip to content

Commit

Permalink
Merge pull request #52 from shochdoerfer/fix/php82
Browse files Browse the repository at this point in the history
PHP 8.2 compatibility
  • Loading branch information
shochdoerfer committed Jan 1, 2023
2 parents 96210c0 + 87f5f44 commit 10c9525
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['7.4', '8.0', '8.1']
php-versions: ['8.0', '8.1', '8.2']
coveralls: [false]
include:
- operating-system: 'ubuntu-latest'
php-versions: '8.1'
php-versions: '8.2'
coveralls: true
steps:
- name: Checkout repo
Expand Down Expand Up @@ -61,5 +61,5 @@ jobs:
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
composer require php-coveralls/php-coveralls
./vendor/bin/php-coveralls --coverage_clover=clover.xml -v
composer require php-coveralls/php-coveralls --with-all-dependencies
php ./vendor/bin/php-coveralls -v
24 changes: 12 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@
}
],
"require": {
"php": "^7.4.0|^8.0.0|^8.1.0",
"captainhook/captainhook": "^5.10.8"
"php": "^8.0.0|^8.1.0|^8.2.0",
"captainhook/captainhook": "^5.12.0"
},
"require-dev": {
"bitexpert/captainhook-infection": "^0.6.0",
"bitexpert/captainhook-infection": "^0.7.0",
"captainhook/plugin-composer": "^5.3.3",
"infection/infection": "^0.21.5",
"madewithlove/license-checker": "^0.10.0",
"phly/keep-a-changelog": "^2.11",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.5.4",
"phpstan/phpstan-phpunit": "^1.1.0",
"phpstan/phpstan-strict-rules": "^1.1.0",
"phpunit/phpunit": "^9.5.20",
"infection/infection": "^0.26.16",
"madewithlove/license-checker": "^1.3",
"phly/keep-a-changelog": "^2.12.1",
"phpstan/extension-installer": "^1.2.0",
"phpstan/phpstan": "^1.9.4",
"phpstan/phpstan-phpunit": "^1.3.3",
"phpstan/phpstan-strict-rules": "^1.4.4",
"phpunit/phpunit": "^9.5.27",
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.6.2"
"squizlabs/php_codesniffer": "^3.7.1"
},
"autoload" : {
"psr-4" : {
Expand Down
4 changes: 2 additions & 2 deletions infection.json.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
},
"logs": {
"text": "infection.log",
"badge": {
"branch": "master"
"stryker": {
"badge": "master"
}
},
"mutators": {
Expand Down

0 comments on commit 10c9525

Please sign in to comment.