Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/php-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.3', '7.4', '8.0']
php-versions: ['7.4', '8.0', '8.1']
name: PHP ${{ matrix.php-versions }} tests
steps:
- name: Checkout
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 2.0.0

### PHP support

- Dropped support for PHP `7.3`.
- Added support for PHP `8.1`.

### 3rd party updates

- Updated `symfony/finder` to version `5`.

## 1.2.0

### PHP support
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,25 @@
},
"scripts": {
"phpcheck": [
"./vendor/bin/phpstan analyse -l max --memory-limit=1G src/",
"./vendor/bin/phpcs -p --standard=PSR2 --extensions=php src/"
"./vendor/bin/phpstan analyse -c phpstan.neon -l max --memory-limit=1G src/ tests/",
"./vendor/bin/phpcs -p --standard=PSR2 --extensions=php src/ tests/"
],
"phpcbf": [
"./vendor/bin/phpcbf -p --standard=PSR2 --extensions=php src/"
"./vendor/bin/phpcbf -p --standard=PSR2 --extensions=php src/ tests/"
],
"phpunit": [
"./vendor/bin/phpunit"
]
},
"minimum-stability": "stable",
"require": {
"php": "7.4.* || 8.0.* || 8.1.*",
"ext-json": "*",
"php": "7.3.* || 7.4.* || 8.0.*",
"symfony/finder": "~4.4"
"symfony/finder": "^5.0.0"
},
"require-dev": {
"phpstan/phpstan": "0.12.34",
"phpunit/phpunit": "~8.5",
"squizlabs/php_codesniffer": "^3.5"
"phpstan/phpstan": "1.2.0",
"phpunit/phpunit": "9.5.10",
"squizlabs/php_codesniffer": "3.6.2"
}
}
7 changes: 7 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
parameters:
ignoreErrors:
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: tests/Naneau/ProjectVersioner/Test/Reader/FinderTest.php