Skip to content

Commit

Permalink
Merge pull request #7 from 21TORR/bump
Browse files Browse the repository at this point in the history
Symfony 7 + PHP 8.3
  • Loading branch information
apfelbox authored Feb 21, 2024
2 parents bdda7a5 + 21b1dec commit 268fd34
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
php: ['8.1']
php: ['8.3']

steps:
- name: Checkout Code
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
1.2.0 (unreleased)
=====

* (improvement) Add support for Symfony 7.
* (improvement) Require Symfony 6.4 and PHP 8.2


1.1.0
=====

Expand Down
37 changes: 21 additions & 16 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,21 @@
],
"homepage": "https://github.com/21TORR/TaskManagerBundle",
"require": {
"php": ">= 8.1",
"php": ">= 8.3",
"21torr/bundle-helpers": "^2.1",
"21torr/cli": "^1.0",
"symfony/config": "^6.1",
"symfony/console": "^6.1",
"symfony/dependency-injection": "^6.1",
"symfony/http-kernel": "^6.1",
"symfony/messenger": "^6.1"
"symfony/config": "^6.4 || ^7.0",
"symfony/console": "^6.4 || ^7.0",
"symfony/dependency-injection": "^6.4 || ^7.0",
"symfony/event-dispatcher": "^6.4 || ^7.0",
"symfony/http-kernel": "^6.4 || ^7.0",
"symfony/messenger": "^6.4 || ^7.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"phpunit/phpunit": "^9.5",
"phpunit/phpunit": "^9.6",
"roave/security-advisories": "dev-latest",
"symfony/phpunit-bridge": "^6.1"
"symfony/phpunit-bridge": "^6.4 || ^7.0"
},
"autoload": {
"psr-4": {
Expand All @@ -42,20 +43,24 @@
},
"sort-packages": true
},
"extra": {
"bamarni-bin": {
"bin-links": false,
"forward-command": true
}
},
"scripts": {
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
"fix-lint": [
"vendor-bin/cs-fixer/vendor/bin/php-cs-fixer fix --diff --config vendor-bin/cs-fixer/vendor/21torr/php-cs-fixer/.php-cs-fixer.dist.php --no-interaction --ansi",
"@composer bin c-norm normalize \"$(pwd)/composer.json\" --indent-style tab --indent-size 1 --ansi"
],
"lint": [
"@composer bin c-norm normalize \"$(pwd)/composer.json\" --indent-style tab --indent-size 1 --dry-run --ansi",
"php-cs-fixer fix --diff --config vendor-bin/cs-fixer/vendor/21torr/php-cs-fixer/.php-cs-fixer.dist.php --dry-run --no-interaction --ansi"
"@composer bin c-norm normalize \"$(pwd)/composer.json\" --indent-style tab --indent-size 1 --dry-run --ansi",
"vendor-bin/cs-fixer/vendor/bin/php-cs-fixer fix --diff --config vendor-bin/cs-fixer/vendor/21torr/php-cs-fixer/.php-cs-fixer.dist.php --dry-run --no-interaction --ansi"
],
"test": [
"phpunit",
"phpstan analyze -c phpstan.neon . --ansi"
"vendor-bin/test/vendor/bin/phpstan analyze -c phpstan.neon . --ansi"
]
}
}
3 changes: 3 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
includes:
- vendor-bin/test/vendor/21torr/php-cs/phpstan/lib.neon

parameters:
level: 9

0 comments on commit 268fd34

Please sign in to comment.