Skip to content

Commit 8e3df1a

Browse files
authored
Add php 8.2 to test pipeline (#21)
* Add php 8.2 to test pipeline #20 * Remove composer.lock from version control There were issues with peer dependencies in other libraries, e.g. marein/symfony-lock-doctrine-migrations-bundle. These issues don't exist here, but for consistency reasons, the lockfile is also deleted in this library. * Pin phpstan and phpcs to specific versions The reason is that they might break the pipeline when we download the latest minor release, as they might adjust their rulesets. This was the main reason for committing lockfile in the past.
1 parent 2ded870 commit 8e3df1a

File tree

4 files changed

+4
-2678
lines changed

4 files changed

+4
-2678
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
operating-system: [ubuntu-latest]
13-
php-version: ['7.4', '8.0', '8.1']
13+
php-version: ['7.4', '8.0', '8.1', '8.2']
1414
name: ${{ matrix.php-version }}
1515
runs-on: ${{ matrix.operating-system }}
1616
steps:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/vendor
2+
/composer.lock
23
/phpcs.xml
34
/phpstan.neon
45
/phpunit.xml

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"require-dev": {
2929
"phpunit/phpunit": "^9.5",
3030
"symfony/process": "^5.4",
31-
"squizlabs/php_codesniffer": "^3.6",
32-
"phpstan/phpstan": "^1.2",
31+
"squizlabs/php_codesniffer": "3.6.2",
32+
"phpstan/phpstan": "1.3.3",
3333
"symfony/http-client": "^5.4",
3434
"nyholm/psr7": "^1.5"
3535
}

0 commit comments

Comments
 (0)