Skip to content

Commit 833cd08

Browse files
authored
Merge pull request #19 from tyrsson/move-to-phpstan-update-laminas-ci-config
Move-to-phpstan-update-laminas-ci-config
2 parents b2a8f7a + 5ce572f commit 833cd08

21 files changed

+1246
-4600
lines changed

.laminas-ci.json

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
{
2-
"ignore_php_platform_requirements": {
3-
"8.4": true
4-
},
5-
"exclude": [
2+
"additional_checks": [
63
{
7-
"name": "PHPUnit",
8-
"php": "8.1"
9-
},
10-
{
11-
"name": "PHPUnit",
12-
"php": "8.4",
13-
"dependencies": "lowest"
4+
"name": "PhpStan",
5+
"job": {
6+
"php": "8.2",
7+
"dependencies": "latest",
8+
"command": "composer require --dev phpstan/phpstan && vendor/bin/phpstan analyse"
9+
}
1410
}
1511
]
1612
}

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@
3030
}
3131
},
3232
"require": {
33-
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
33+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
3434
"php-db/phpdb": "^0.2.0",
3535
"webmozart/assert": "^1.11"
3636
},
3737
"require-dev": {
3838
"ext-pdo": "*",
3939
"ext-pdo_sqlite": "*",
4040
"laminas/laminas-coding-standard": "^3.0.1",
41-
"phpunit/phpunit": "^11.5.15",
42-
"psalm/plugin-phpunit": "^0.19.2",
43-
"vimeo/psalm": "^6.8.8"
41+
"phpstan/phpstan": "^2.1",
42+
"phpstan/phpstan-phpunit": "^2.0",
43+
"phpunit/phpunit": "^11.5.42"
4444
},
4545
"suggest": {
4646
"laminas/laminas-servicemanager": "Laminas\\ServiceManager component"

0 commit comments

Comments
 (0)