Skip to content

Commit 96e3811

Browse files
authored
Merge pull request #1924 from OpenConext/feature/sf-64
Upgrade to Symfony 6.4
2 parents 02f3b72 + f300ca2 commit 96e3811

84 files changed

Lines changed: 2468 additions & 3109 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,16 @@ More information about our release strategy can be found in
1111
the [Development Guidelines](https://github.com/OpenConext/OpenConext-engineblock/wiki/Development-Guidelines#release-notes) on
1212
the EngineBlock wiki.
1313

14-
## Unreleased
14+
## UNRELEASED 7.2.0? / 8.0.0?
15+
Upgrade to Symfony 6.4?
16+
Upgrade to `doctrine/dbal` 4
1517

1618
Bugfixes:
1719
* Metadata push will now reject all metadata if any service contains invalid PHP syntax in its attribute manipulations (#1778)
1820

21+
## 7.1.0
22+
SRAM integration
23+
1924
## 7.0.0
2025
Breaking changes please see: [upgrading](UPGRADING.md#700)
2126

ci/qa-config/phpcs-legacy.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<!-- legacy code style support -->
2626
<rule ref="PSR2">
2727
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace"/>
28-
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps"/>
28+
<exclude name="Squiz.Classes.ValidClassName.NotPascalCase"/>
2929
<exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/>
3030
<exclude name="PSR2.Methods.MethodDeclaration.Underscore"/>
3131
<exclude name="Generic.Files.LineLength.TooLong"/>

ci/qa-config/rector.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
])
1212
->withPhpSets()
1313
->withComposerBased(doctrine: true, phpunit: true, symfony: true)
14-
->withAttributesSets(symfony: false, doctrine: true, phpunit: true)
14+
->withAttributesSets(symfony: true, doctrine: true, phpunit: true)
1515
->withSkip([
1616
\Rector\Php53\Rector\Ternary\TernaryToElvisRector::class,
1717
\Rector\Php54\Rector\Array_\LongArrayToShortArrayRector::class,
@@ -29,7 +29,6 @@
2929
\Rector\Php80\Rector\Catch_\RemoveUnusedVariableInCatchRector::class,
3030
\Rector\Php80\Rector\Switch_\ChangeSwitchToMatchRector::class,
3131
\Rector\Php80\Rector\FuncCall\ClassOnObjectRector::class,
32-
\Rector\Php81\Rector\Array_\FirstClassCallableRector::class,
3332
\Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector::class,
3433
\Rector\Php81\Rector\Property\ReadOnlyPropertyRector::class,
3534
\Rector\DeadCode\Rector\StaticCall\RemoveParentCallWithoutParentRector::class,

composer.json

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -30,29 +30,27 @@
3030
"doctrine/orm": "^3.5.7",
3131
"guzzlehttp/guzzle": "^7.10",
3232
"incenteev/composer-parameter-handler": "^2.2",
33-
"monolog/monolog": "^2.10",
33+
"monolog/monolog": "^3.0",
3434
"openconext/monitor-bundle": "^4.2",
3535
"openconext/saml-value-object": "^3.0",
3636
"pimple/pimple": "^3.6",
3737
"ramsey/uuid": "^4.9.1",
3838
"robrichards/xmlseclibs": "^3.1.3",
39-
"sensio/framework-extra-bundle": "^6.2.10",
4039
"simplesamlphp/saml2": "^4.19",
41-
"symfony/asset": "^5.4.45",
42-
"symfony/console": "^5.4.47",
43-
"symfony/dotenv": "^5.4.48",
44-
"symfony/expression-language": "^5.4.45",
40+
"symfony/asset": "^6.4",
41+
"symfony/console": "^6.4",
42+
"symfony/dotenv": "^6.4",
43+
"symfony/expression-language": "^6.4",
4544
"symfony/flex": "^2.9.0",
46-
"symfony/form": "^5.4.45",
47-
"symfony/framework-bundle": "^5.4.45",
48-
"symfony/mailer": "5.4.*",
45+
"symfony/form": "^6.4",
46+
"symfony/framework-bundle": "^6.4",
47+
"symfony/mailer": "6.4.*",
4948
"symfony/monolog-bundle": "^3.10",
50-
"symfony/security-bundle": "^5.4.45",
51-
"symfony/templating": "5.4.*",
52-
"symfony/translation": "^5.4.45",
53-
"symfony/twig-bundle": "^5.4.45",
54-
"symfony/validator": "^5.4.48",
55-
"symfony/yaml": "^5.4.45",
49+
"symfony/security-bundle": "^6.4",
50+
"symfony/translation": "^6.4",
51+
"symfony/twig-bundle": "^6.4",
52+
"symfony/validator": "^6.4",
53+
"symfony/yaml": "^6.4",
5654
"twig/twig": "^3.22.0"
5755
},
5856
"require-dev": {
@@ -70,16 +68,15 @@
7068
"malukenho/docheader": "^1.1",
7169
"mockery/mockery": "^1.6.12",
7270
"phake/phake": "^4.6.1",
73-
"phpcompatibility/php-compatibility": "^9.3.5",
7471
"phpmd/phpmd": "^2.15",
75-
"phpunit/phpunit": "^10.5.58",
72+
"phpunit/phpunit": "^11",
7673
"rector/rector": "^2.2.7",
77-
"squizlabs/php_codesniffer": "^3.13.5",
78-
"symfony/debug-bundle": "5.4.*",
79-
"symfony/http-client": "5.4.*",
74+
"squizlabs/php_codesniffer": "^4.0",
75+
"symfony/debug-bundle": "6.4.*",
76+
"symfony/http-client": "6.4.*",
8077
"symfony/phpunit-bridge": "^7.3.4",
81-
"symfony/var-dumper": "5.4.*",
82-
"symfony/web-profiler-bundle": "5.4.*"
78+
"symfony/var-dumper": "6.4.*",
79+
"symfony/web-profiler-bundle": "6.4.*"
8380
},
8481
"replace": {
8582
"symfony/polyfill-mbstring": "1.99",
@@ -134,13 +131,14 @@
134131
},
135132
"sort-packages": true,
136133
"allow-plugins": {
134+
"endroid/installer": false,
137135
"symfony/flex": true
138136
}
139137
},
140138
"extra": {
141139
"symfony": {
142140
"allow-contrib": false,
143-
"require": "5.4.*"
141+
"require": "6.4.*"
144142
},
145143
"symfony-var-dir": "var",
146144
"symfony-bin-dir": "bin",

0 commit comments

Comments
 (0)