Skip to content

Commit

Permalink
Add PHP 8.3 and Symfony 7 support (#190)
Browse files Browse the repository at this point in the history
* Adds PHP 8.3 and Symfony 7 support

* Drop PHP <8.2

* Update CI
  • Loading branch information
DamienHarper authored Dec 22, 2023
1 parent 710f9d8 commit 8b916b5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci-3.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,12 @@ jobs:
strategy:
matrix:
php:
- '8.0'
- '8.1'
- '8.2'
- '8.3'
symfony:
- '5.*'
- '6.*'
- '7.*'
db:
- 'sqlite'
- 'mysql'
Expand Down Expand Up @@ -121,6 +120,10 @@ jobs:
if: matrix.symfony == '6.*'
run: SYMFONY_REQUIRE="^6.0" composer update --no-progress --ansi --prefer-stable

- name: Update project dependencies (7.*)
if: matrix.symfony == '7.*'
run: SYMFONY_REQUIRE="^7.0" composer update --no-progress --ansi --prefer-stable

- name: Install PHPStan
run: composer install --no-progress --ansi --working-dir=tools/phpstan

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Basically you can track any change of any entity from audit logs.
## Version Information
| Version | Status | Requirements | Badges |
|:--------|:-----------------------------------------------|:---------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 3.x | Active development :rocket: (Not yet released) | PHP >= 8.0, Symfony >= 5.4 | [![auditor 3.x CI](https://github.com/DamienHarper/auditor/actions/workflows/ci-3.x.yml/badge.svg)](https://github.com/DamienHarper/auditor/actions/workflows/ci-3.x.yml) <br/>[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/DamienHarper/auditor/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/DamienHarper/auditor/?branch=master) <br/>[![codecov](https://codecov.io/gh/DamienHarper/auditor/branch/master/graph/badge.svg)](https://app.codecov.io/gh/DamienHarper/auditor/branch/master) |
| 3.x | Active development :rocket: (Not yet released) | PHP >= 8.2, Symfony >= 5.4 | [![auditor 3.x CI](https://github.com/DamienHarper/auditor/actions/workflows/ci-3.x.yml/badge.svg)](https://github.com/DamienHarper/auditor/actions/workflows/ci-3.x.yml) <br/>[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/DamienHarper/auditor/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/DamienHarper/auditor/?branch=master) <br/>[![codecov](https://codecov.io/gh/DamienHarper/auditor/branch/master/graph/badge.svg)](https://app.codecov.io/gh/DamienHarper/auditor/branch/master) |
| 2.x | Active support | PHP >= 7.4, Symfony >= 4.4 | [![auditor 2.x CI](https://github.com/DamienHarper/auditor/actions/workflows/ci-2.x.yml/badge.svg)](https://github.com/DamienHarper/auditor/actions/workflows/ci-2.x.yml) <br/>[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/DamienHarper/auditor/badges/quality-score.png?b=2.x)](https://scrutinizer-ci.com/g/DamienHarper/auditor/?branch=2.x) <br/>[![codecov](https://codecov.io/gh/DamienHarper/auditor/branch/master/graph/badge.svg)](https://app.codecov.io/gh/DamienHarper/auditor/branch/2.x) |
| 1.x | EOL | PHP >= 7.2, Symfony >= 3.4 | [![auditor 1.x CI](https://github.com/DamienHarper/auditor/actions/workflows/ci-1.x.yml/badge.svg)](https://github.com/DamienHarper/auditor/actions/workflows/ci-1.x.yml) <br/>[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/DamienHarper/auditor/badges/quality-score.png?b=1.x)](https://scrutinizer-ci.com/g/DamienHarper/auditor/?branch=1.x) <br/>[![codecov](https://codecov.io/gh/DamienHarper/auditor/branch/1.x/graph/badge.svg)](https://app.codecov.io/gh/DamienHarper/auditor/branch/1.x) |

Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
}
],
"require": {
"php": ">=8.0",
"php": ">=8.2",
"ext-json": "*",
"doctrine/dbal": "^2.13.1|^3.2",
"doctrine/orm": "^2.13",
"symfony/cache": "^5.4|^6.0",
"symfony/event-dispatcher": "^5.4|^6.0",
"symfony/lock": "^5.4|^6.0",
"symfony/options-resolver": "^5.4|^6.0"
"symfony/cache": "^5.4|^6.0|^7.0",
"symfony/event-dispatcher": "^5.4|^6.0|^7.0",
"symfony/lock": "^5.4|^6.0|^7.0",
"symfony/options-resolver": "^5.4|^6.0|^7.0"
},
"suggest": {
"damienharper/auditor-bundle": "Integrate auditor library in your Symfony projects."
Expand All @@ -37,7 +37,7 @@
"gedmo/doctrine-extensions": "^3.0",
"doctrine/data-fixtures": "^1.5.3",
"phpunit/phpunit": "^9.0",
"symfony/var-dumper": "^5.4|^6.0"
"symfony/var-dumper": "^5.4|^6.0|^7.0"
},
"scripts": {
"test": "php -d pcov.enabled=1 ./vendor/bin/phpunit --colors=always",
Expand Down

0 comments on commit 8b916b5

Please sign in to comment.