Skip to content

Commit 490ae3e

Browse files
Added github workflows
1 parent 3c09722 commit 490ae3e

File tree

3 files changed

+25
-25
lines changed

3 files changed

+25
-25
lines changed

.github/workflows/checks.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ jobs:
1818
name: Setup PHP
1919
uses: shivammathur/setup-php@v2
2020
with:
21-
php-version: 8.3
21+
php-version: 8.2
2222
-
2323
name: Install dependencies
2424
run: composer install --no-progress --prefer-dist --no-interaction
2525

2626
-
2727
name: Run checks
28-
run: composer test
28+
run: composer ecs
2929

3030
tests:
3131
runs-on: ubuntu-latest
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
php-version: ['8.2', '8.3', '8.4' ]
35+
php-version: ['8.2', '8.3']
3636
dependency-version: [ prefer-lowest, prefer-stable ]
3737
steps:
3838
-

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"require": {
2323
"php": "^8.2",
24-
"phpstan/phpstan": "^1.12.6 || ^2.0"
24+
"phpstan/phpstan": "^2.0"
2525
},
2626
"require-dev": {
2727
"phpunit/phpunit": "^10.1 || ^11.0 || ^12.0",
@@ -35,7 +35,7 @@
3535
"classmap": ["tests/fixtures"]
3636
},
3737
"scripts": {
38-
"phpstan": "vendor/bin/phpstan --ansi analyse --configuration phpstan.neon",
38+
"ecs": "vendor/bin/ecs",
3939
"test": "vendor/bin/phpunit --colors=always"
4040
},
4141
"config": {

composer.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)