Skip to content

Commit

Permalink
Merge pull request #147 from DaveLiddament/feature/add-php-8.4
Browse files Browse the repository at this point in the history
ADD php8.4 support
  • Loading branch information
DaveLiddament authored Jan 4, 2025
2 parents 3546b98 + 6c30177 commit de2f1c1
Show file tree
Hide file tree
Showing 5 changed files with 219 additions and 1,141 deletions.
1 change: 1 addition & 0 deletions .github/workflows/full-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
- "8.4"
operating-system:
- "ubuntu-22.04"

Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# Static Analysis Results Baseliner (SARB)

[![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)
[![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)
[![Latest Stable Version](https://poser.pugx.org/dave-liddament/sarb/v/stable)](https://packagist.org/packages/dave-liddament/sarb)
[![License](https://poser.pugx.org/dave-liddament/sarb/license)](https://github.com/DaveLiddament/sarb/blob/master/LICENSE.md)
[![Total Downloads](https://poser.pugx.org/dave-liddament/sarb/downloads)](https://packagist.org/packages/dave-liddament/sarb/stats)

[![Continuous Integration](https://github.com/DaveLiddament/sarb/workflows/Full%20checks/badge.svg)](https://github.com/DaveLiddament/sarb/actions)
[![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)
[![Type coverage](https://shepherd.dev/github/DaveLiddament/sarb/coverage.svg)](https://shepherd.dev/github/DaveLiddament/sarb)
[![Psalm level 1](https://img.shields.io/badge/Psalm-max%20level-brightgreen.svg)](https://github.com/DaveLiddament/sarb/blob/master/psalm.xml)
[![PHPStan level 8](https://img.shields.io/badge/PHPStan-max%20level-brightgreen.svg)](https://github.com/DaveLiddament/sarb/blob/master/phpstan.neon)
[![Code Coverage](https://img.shields.io/badge/Code%20coverage-100%25-brightgreen.svg)](https://github.com/DaveLiddament/sarb/blob/f2db1404c8f2acb0f813c7fb49624fe21e42a302/composer.json#L109)

Expand Down
26 changes: 18 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"sort-packages": true
},
"require": {
"php": ">=8.0 <8.4",
"php": ">=8.0 <8.5",
"symfony/config": "^5.4 || ^6.0.19 || ^7",
"symfony/console": "^5.4 || ^6.0.19 || ^7",
"symfony/dependency-injection": "^5.4 || ^6.0.20 || ^7",
Expand All @@ -33,10 +33,8 @@
"phpstan/phpstan-strict-rules": "^1.6.1",
"phpstan/phpstan-webmozart-assert": "^1.2.11",
"phpunit/phpunit": "^9.6.21",
"psalm/plugin-phpunit": "^0.18.4",
"rregeer/phpunit-coverage-check": "^0.3.1",
"symfony/filesystem": "^5.4 || ^6.0.19 || ^7",
"vimeo/psalm": "^5.26.1"
"symfony/filesystem": "^5.4 || ^6.0.19 || ^7"
},
"conflict": {
"nikic/php-parser": "<4.18"
Expand Down Expand Up @@ -90,15 +88,27 @@
"@phpstan",
"@psalm-8.3"
],
"ci-8.4" : [
"@composer-validate",
"@lint",
"@var-dump-checker",
"@cs-8.4",
"@test-with-coverage-check",
"@phpstan"
],
"composer-validate" : "@composer validate --no-check-all --strict",
"lint" : "parallel-lint src tests",
"var-dump-checker" : "var-dump-check --ladybug --no-colors src",
"cs" : "php-cs-fixer fix -v --dry-run",
"cs-fix" : "php-cs-fixer fix -v",
"psalm-8.0" : "psalm --php-version=8.0",
"psalm-8.1" : "psalm --php-version=8.1",
"psalm-8.2" : "psalm --php-version=8.2",
"psalm-8.3" : "psalm --php-version=8.3 --shepherd",
"cs-8.4" : [
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
"php-cs-fixer fix -v --dry-run"
],
"cs-fix-8.4" : [
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
"php-cs-fixer fix -v"
],
"phpstan" : "phpstan -n --no-progress analyse",
"deptrac" : "deptrac",
"test" : [
Expand Down
Loading

0 comments on commit de2f1c1

Please sign in to comment.