Skip to content

Commit ae6c8d3

Browse files
authored
Merge pull request #24 from rogervila/php-82-support
Drop PHP 7, add PHP 8.2 Support
2 parents a656389 + 9a15911 commit ae6c8d3

10 files changed

+873
-787
lines changed

composer.json

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,21 @@
1919
"forum": "https://discourse.laminas.dev"
2020
},
2121
"config": {
22-
"sort-packages": true
22+
"sort-packages": true,
23+
"platform": {
24+
"php": "8.0.99"
25+
},
26+
"allow-plugins": {
27+
"dealerdirect/phpcodesniffer-composer-installer": true
28+
}
2329
},
2430
"extra": {
2531
"laminas": {
2632
"module": "Laminas\\ApiTools\\ApiProblem"
2733
}
2834
},
2935
"require": {
30-
"php": "^7.3 || ~8.0.0 || ~8.1.0",
36+
"php": "~8.0.0 || ~8.1.0 || ~8.2.0",
3137
"ext-json": "*",
3238
"laminas/laminas-eventmanager": "^2.6.3 || ^3.0.1",
3339
"laminas/laminas-http": "^2.15.1",
@@ -39,9 +45,9 @@
3945
"require-dev": {
4046
"laminas/laminas-coding-standard": "~2.3.0",
4147
"phpspec/prophecy-phpunit": "^2.0",
42-
"phpunit/phpunit": "^9.3",
43-
"psalm/plugin-phpunit": "^0.16.0",
44-
"vimeo/psalm": "^4.7"
48+
"phpunit/phpunit": "^9.5.27",
49+
"psalm/plugin-phpunit": "^0.16.1",
50+
"vimeo/psalm": "^4.30"
4551
},
4652
"autoload": {
4753
"psr-4": {
@@ -61,7 +67,8 @@
6167
"cs-check": "phpcs",
6268
"cs-fix": "phpcbf",
6369
"test": "phpunit --colors=always",
64-
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
70+
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
71+
"static-analysis": "psalm --shepherd --stats"
6572
},
6673
"replace": {
6774
"zfcampus/zf-api-problem": "^1.3.0"

0 commit comments

Comments
 (0)