Skip to content

Commit 2bc671d

Browse files
committed
droping support for laravel 8 & php 7.4
1 parent eda2c32 commit 2bc671d

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [ ubuntu-latest ]
16-
php: [ 8.3, 8.1, 8.0, 7.4 ]
16+
php: [ 8.3, 8.1, 8.0 ]
1717
dependency-version: [ prefer-lowest, prefer-stable ]
1818

1919
name: P${{ matrix.php }} - ${{ matrix.dependency-version }}

composer.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.4|^8.0",
20-
"illuminate/database": "^8.0|^9.0|^10|^11",
21-
"illuminate/support": "^8.0|^9.0|^10|^11"
19+
"php": "^8.0",
20+
"illuminate/database": "^9.0|^10|^11",
21+
"illuminate/support": "^9.0|^10|^11"
2222
},
2323
"require-dev": {
24-
"nunomaduro/larastan": "^1.0",
24+
"nunomaduro/larastan": "^2.0",
2525
"orchestra/testbench": "^6.23.0|^7.0.0",
2626
"phpunit/phpunit": "^9.3.9"
2727
},
@@ -38,9 +38,7 @@
3838
"scripts": {
3939
"analyse": "vendor/bin/phpstan analyse --ansi",
4040
"test": "vendor/bin/phpunit",
41-
"test-coverage": "vendor/bin/phpunit --coverage-text",
42-
"sniff": "vendor/bin/php-cs-fixer fix --verbose --dry-run --diff",
43-
"lint": "vendor/bin/php-cs-fixer fix --verbose --show-progress=dots"
41+
"test-coverage": "vendor/bin/phpunit --coverage-text"
4442
},
4543
"config": {
4644
"sort-packages": true

phpstan.neon

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ parameters:
55
level: 4
66
paths:
77
- src
8-
- tests
98
ignoreErrors:
109
- '#Unsafe usage of new static\(\).#'
1110
tmpDir: build/phpstan
1211
checkOctaneCompatibility: true
13-
checkModelProperties: true
14-
checkMissingIterableValueType: false
12+
checkModelProperties: true

0 commit comments

Comments
 (0)