Skip to content

Commit de2f1c1

Browse files
Merge pull request #147 from DaveLiddament/feature/add-php-8.4
ADD php8.4 support
2 parents 3546b98 + 6c30177 commit de2f1c1

File tree

5 files changed

+219
-1141
lines changed

5 files changed

+219
-1141
lines changed

.github/workflows/full-checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- "8.1"
2727
- "8.2"
2828
- "8.3"
29+
- "8.4"
2930
operating-system:
3031
- "ubuntu-22.04"
3132

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
# Static Analysis Results Baseliner (SARB)
22

3-
[![PHP versions: 8.0|8.1|8.2|8.3](https://img.shields.io/badge/php-8.0|8.1|8.2|8.3-blue.svg)](https://packagist.org/packages/dave-liddament/sarb)
3+
[![PHP versions: 8.0|8.1|8.2|8.3|8.4](https://img.shields.io/badge/php-8.0|8.1|8.2|8.3|8.4-blue.svg)](https://packagist.org/packages/dave-liddament/sarb)
44
[![Latest Stable Version](https://poser.pugx.org/dave-liddament/sarb/v/stable)](https://packagist.org/packages/dave-liddament/sarb)
55
[![License](https://poser.pugx.org/dave-liddament/sarb/license)](https://github.com/DaveLiddament/sarb/blob/master/LICENSE.md)
66
[![Total Downloads](https://poser.pugx.org/dave-liddament/sarb/downloads)](https://packagist.org/packages/dave-liddament/sarb/stats)
77

88
[![Continuous Integration](https://github.com/DaveLiddament/sarb/workflows/Full%20checks/badge.svg)](https://github.com/DaveLiddament/sarb/actions)
99
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/DaveLiddament/sarb/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/DaveLiddament/sarb/?branch=master)
10-
[![Type coverage](https://shepherd.dev/github/DaveLiddament/sarb/coverage.svg)](https://shepherd.dev/github/DaveLiddament/sarb)
11-
[![Psalm level 1](https://img.shields.io/badge/Psalm-max%20level-brightgreen.svg)](https://github.com/DaveLiddament/sarb/blob/master/psalm.xml)
1210
[![PHPStan level 8](https://img.shields.io/badge/PHPStan-max%20level-brightgreen.svg)](https://github.com/DaveLiddament/sarb/blob/master/phpstan.neon)
1311
[![Code Coverage](https://img.shields.io/badge/Code%20coverage-100%25-brightgreen.svg)](https://github.com/DaveLiddament/sarb/blob/f2db1404c8f2acb0f813c7fb49624fe21e42a302/composer.json#L109)
1412

composer.json

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"sort-packages": true
1515
},
1616
"require": {
17-
"php": ">=8.0 <8.4",
17+
"php": ">=8.0 <8.5",
1818
"symfony/config": "^5.4 || ^6.0.19 || ^7",
1919
"symfony/console": "^5.4 || ^6.0.19 || ^7",
2020
"symfony/dependency-injection": "^5.4 || ^6.0.20 || ^7",
@@ -33,10 +33,8 @@
3333
"phpstan/phpstan-strict-rules": "^1.6.1",
3434
"phpstan/phpstan-webmozart-assert": "^1.2.11",
3535
"phpunit/phpunit": "^9.6.21",
36-
"psalm/plugin-phpunit": "^0.18.4",
3736
"rregeer/phpunit-coverage-check": "^0.3.1",
38-
"symfony/filesystem": "^5.4 || ^6.0.19 || ^7",
39-
"vimeo/psalm": "^5.26.1"
37+
"symfony/filesystem": "^5.4 || ^6.0.19 || ^7"
4038
},
4139
"conflict": {
4240
"nikic/php-parser": "<4.18"
@@ -90,15 +88,27 @@
9088
"@phpstan",
9189
"@psalm-8.3"
9290
],
91+
"ci-8.4" : [
92+
"@composer-validate",
93+
"@lint",
94+
"@var-dump-checker",
95+
"@cs-8.4",
96+
"@test-with-coverage-check",
97+
"@phpstan"
98+
],
9399
"composer-validate" : "@composer validate --no-check-all --strict",
94100
"lint" : "parallel-lint src tests",
95101
"var-dump-checker" : "var-dump-check --ladybug --no-colors src",
96102
"cs" : "php-cs-fixer fix -v --dry-run",
97103
"cs-fix" : "php-cs-fixer fix -v",
98-
"psalm-8.0" : "psalm --php-version=8.0",
99-
"psalm-8.1" : "psalm --php-version=8.1",
100-
"psalm-8.2" : "psalm --php-version=8.2",
101-
"psalm-8.3" : "psalm --php-version=8.3 --shepherd",
104+
"cs-8.4" : [
105+
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
106+
"php-cs-fixer fix -v --dry-run"
107+
],
108+
"cs-fix-8.4" : [
109+
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
110+
"php-cs-fixer fix -v"
111+
],
102112
"phpstan" : "phpstan -n --no-progress analyse",
103113
"deptrac" : "deptrac",
104114
"test" : [

0 commit comments

Comments
 (0)