Skip to content

Commit

Permalink
Support symfony 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom32i committed Feb 11, 2024
1 parent e1bce45 commit 7820e8c
Show file tree
Hide file tree
Showing 7 changed files with 1,208 additions and 7,259 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
This file is part of the "StenopePHP/Stenope" bundle.
@author Thomas Jarrand <[email protected]>
@author Maxime Steinhausser <[email protected]>
EOF;

$finder = PhpCsFixer\Finder::create()
Expand Down
2 changes: 1 addition & 1 deletion .php-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.1
8.3
20 changes: 19 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
include .make/help.mk
include .make/text.mk

PHP_CS_FIXER_VERSION=v3.13.0
PHP_CS_FIXER_VERSION=v3.49.0

##########
# Colors #
Expand Down Expand Up @@ -67,6 +67,24 @@ install.62:
symfony composer update
symfony composer config minimum-stability --unset

## Install - Install Symfony 6.4 deps
install.64: setup
install.64: export SYMFONY_REQUIRE = 6.4.*@dev
install.64:
rm -f composer.lock
symfony composer config minimum-stability dev
symfony composer update
symfony composer config minimum-stability --unset

## Install - Install Symfony 7.0 deps
install.70: setup
install.70: export SYMFONY_REQUIRE = 7.0.*@dev
install.70:
rm -f composer.lock
symfony composer config minimum-stability dev
symfony composer update
symfony composer config minimum-stability --unset

########
# Lint #
########
Expand Down
56 changes: 28 additions & 28 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,43 +33,43 @@
},
"prefer-stable": true,
"require": {
"php": ">=7.4",
"php": ">=8.2",
"ext-dom": "*",
"erusev/parsedown": "^1.7.4",
"symfony/asset": "^5.1|^6.0",
"symfony/config": "^5.1|^6.0",
"symfony/console": "^5.1|^6.0",
"symfony/css-selector": "^5.1|^6.0",
"symfony/dependency-injection": "^5.1|^6.0",
"symfony/dom-crawler": "^5.1|^6.0",
"symfony/event-dispatcher": "^5.1|^6.0",
"symfony/filesystem": "^5.1|^6.0",
"symfony/finder": "^5.1|^6.0",
"symfony/http-foundation": "^5.1|^6.0",
"symfony/http-kernel": "^5.1|^6.0",
"symfony/mime": "^5.1|^6.0",
"symfony/process": "^5.1|^6.0",
"symfony/property-access": "^5.1|^6.0",
"symfony/routing": "^5.1|^6.0",
"symfony/serializer": "^5.1|^6.0",
"symfony/stopwatch": "^5.1|^6.0",
"symfony/string": "^5.1|^6.0",
"symfony/yaml": "^5.1|^6.0",
"symfony/asset": "^6.0|^7.0",
"symfony/config": "^6.0|^7.0",
"symfony/console": "^6.0|^7.0",
"symfony/css-selector": "^6.0|^7.0",
"symfony/dependency-injection": "^6.0|^7.0",
"symfony/dom-crawler": "^6.0|^7.0",
"symfony/event-dispatcher": "^6.0|^7.0",
"symfony/filesystem": "^6.0|^7.0",
"symfony/finder": "^6.0|^7.0",
"symfony/http-foundation": "^6.0|^7.0",
"symfony/http-kernel": "^6.0|^7.0",
"symfony/mime": "^6.0|^7.0",
"symfony/process": "^6.0|^7.0",
"symfony/property-access": "^6.0|^7.0",
"symfony/routing": "^6.0|^7.0",
"symfony/serializer": "^6.0|^7.0",
"symfony/stopwatch": "^6.0|^7.0",
"symfony/string": "^6.0|^7.0",
"symfony/yaml": "^6.0|^7.0",
"twig/twig": "^2.12|^3.0"
},
"require-dev": {
"doctrine/annotations": "^1.9",
"doctrine/annotations": "^1.9|^2.0",
"ekino/phpstan-banned-code": "^1.0",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/phpstan": "^1.6",
"psr/log": "^1",
"symfony/browser-kit": "^5.1|^6.0",
"symfony/expression-language": "^5.1|^6.0",
"symfony/framework-bundle": "^5.1|^6.0",
"psr/log": "^1|^2",
"symfony/browser-kit": "^6.0|^7.0",
"symfony/expression-language": "^6.0|^7.0",
"symfony/framework-bundle": "^6.0|^7.0",
"symfony/monolog-bundle": "^3.7",
"symfony/phpunit-bridge": "^5.3|^6.0",
"symfony/twig-bridge": "^5.1|^6.0",
"symfony/twig-bundle": "^5.1|^6.0"
"symfony/phpunit-bridge": "^6.0|^7.0",
"symfony/twig-bridge": "^6.0|^7.0",
"symfony/twig-bundle": "^6.0|^7.0"
},
"extra": {
"branch-alias": {
Expand Down
Loading

0 comments on commit 7820e8c

Please sign in to comment.