Skip to content

Commit

Permalink
feat(upgrade): upgrade depencies
Browse files Browse the repository at this point in the history
- symfony 7.0.*
- php 8.3
  • Loading branch information
dzoudzou committed May 30, 2024
1 parent a17df50 commit a1d72f4
Show file tree
Hide file tree
Showing 20 changed files with 4,184 additions and 2,603 deletions.
23 changes: 4 additions & 19 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,16 @@ jobs:
strategy:
matrix:
php-version: [ '8.2' ]
symfony-version: [ '5.4.*', '6.2', '6.3' ]
symfony-version: [ '7.0.*' ]
symfony-deprecations-helper: [ 'max[direct]=0' ]
grumphp-testsuite: [ 'no-analyse' ]
grumphp-flag: [ '-no-analyse' ]
include:
- php-version: '8.1'
symfony-version: '5.4.*'
symfony-deprecations-helper: 'disabled=1&max[indirect]=99999'
composer-flag: '--prefer-lowest'
grumphp-flag: '-no-analyse'
grumphp-testsuite: 'no-analyse'
- php-version: '8.1'
symfony-version: '5.4.*'
symfony-deprecations-helper: 'max[direct]=0&max[indirect]=99999'
grumphp-testsuite: 'main'
- php-version: '8.1'
symfony-version: '6.2.*'
symfony-deprecations-helper: 'disabled=1&max[indirect]=99999'
grumphp-flag: '-no-analyse'
- php-version: '8.3'
symfony-version: '7.0.*'
symfony-deprecations-helper: 'max[direct]=0'
grumphp-testsuite: 'no-analyse'
- php-version: '8.1'
symfony-version: '6.3.*'
symfony-deprecations-helper: 'disabled=1&max[indirect]=99999'
grumphp-flag: '-no-analyse'
grumphp-testsuite: 'no-analyse'

name: "PHP: ${{ matrix.php-version }}, Symfony: ${{ matrix.symfony-version }}, GrumPHP: ${{ matrix.grumphp-testsuite }}, Composer: ${{ matrix.composer-flag }}"

Expand Down
2 changes: 1 addition & 1 deletion bin/grumphp_hooks/environment_spinup
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export PATH="/usr/local/bin:$PATH"
#
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

if [[ -z `docker-compose ps -q circuit-breaker-bundle-php81` ]] || [[ -z `docker ps -q --no-trunc | grep $(docker-compose ps -q circuit-breaker-bundle-php81)` ]]; then
if [[ -z `docker-compose ps -q circuit-breaker-bundle-php82` ]] || [[ -z `docker ps -q --no-trunc | grep $(docker-compose ps -q circuit-breaker-bundle-php82)` ]]; then
docker-compose up -d
fi
24 changes: 12 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,30 @@
}
],
"require": {
"php": ">=8.1",
"php": ">=8.2",
"ackintosh/ganesha": "^2.0 || ^3.0",
"beberlei/assert": "^3.3",
"doctrine/annotations": "^1.12|^2.0",
"symfony/cache": "^5.4.24|^6.2",
"symfony/framework-bundle": "^5.4.24|^6.2",
"symfony/proxy-manager-bridge": "^5.4.21|^6.2"
"symfony/cache": "^7.0",
"symfony/framework-bundle": "^7.0",
"symfony/proxy-manager-bridge": "^6.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.2",
"madewithlove/license-checker": "^0.10|^1.0",
"nikic/php-parser": "^4.2",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpcompatibility/php-compatibility": "^9.1",
"phpmd/phpmd": "^2.6",
"phpro/grumphp": "^1.5",
"phpro/grumphp": "^2.5",
"phpstan/phpstan": "^1.1",
"phpunit/phpunit": "^10.2",
"pixelfederation/coding-standards": "^2.1",
"pixelfederation/coding-standards": "^3.0",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3.4",
"symfony/flex": "^2.3",
"symfony/monolog-bundle": "^3.7",
"symfony/phpunit-bridge": "^5.4.25|^6.2",
"vimeo/psalm": "^5.0"
"symfony/phpunit-bridge": "^7.0",
"vimeo/psalm": "6.x-dev"
},
"autoload": {
"psr-4": {
Expand All @@ -61,20 +60,21 @@
},
"extra": {
"symfony": {
"require": "5.4.*",
"require": "7.0.*",
"docker": false
}
},
"scripts": {
"grumphp8.1": "grumphp run --testsuite=php8.1",
"grumphp8.1-no-analyse": "grumphp run --testsuite=php8.1-no-analyse",
"grumphp8.2": "grumphp run --testsuite=php8.2",
"grumphp8.2-no-analyse": "grumphp run --testsuite=php8.2-no-analyse",
"grumphp8.3-no-analyse": "grumphp run --testsuite=php8.3-no-analyse",
"lic-check": "license-checker check",
"phpcs": "phpcs --standard=phpcs.ruleset.xml src",
"phpcbf": "phpcbf --standard=phpcs.ruleset.xml --extensions=php --tab-width=4 -sp src tests",
"php-cs-fixer": "php-cs-fixer --config=./.php_cs fix src",
"phpmd": "phpmd src text phpmd.ruleset.xml",
"phpstan": "phpstan analyse src --level=7",
"phpunit": "phpunit",
"psalm": "psalm"
}
}
Loading

0 comments on commit a1d72f4

Please sign in to comment.