Skip to content

Commit 815b00d

Browse files
alongoszSteveb-pViniTouadamwojs
authored
IBX-8470: Upgraded codebase to Symfony 6 (#447)
* [Composer] Bumped symfony-related packages requirements to ^6.4 * [Composer] Bumped 3rd party requirements for Symfony 6 * [PHPDoc] Improved StorageConnectionFactory annotations for Symfony 6 * [Tests] Upgraded ExceptionMessageTemplateFileVisitorTest for nikic/php-parser v5 * [Tests] Refactored BaseRenderStrategyTest for Symfony 6 * Refactored fragment renderers for Symfony 6 * [Tests] Refactored fragment renderer tests for Symfony 6 * [Tests] Aligned SerializerStub methods with Symfony 6 * Aligned Entity Manager factory with Symfony 6 * [Tests] Aligned Entity Manager factory tests with Symfony 6 * Aligned SiteAccess-aware Common config parser with Symfony 6 * Aligned JsRouting ExposedRoutesExtractor with Symfony 6 * Aligned HttpUtils with Symfony 6 * Aligned FieldTypeRegistryPass with Symfony 6 * Refactored JMS PHP files visitors to align with php-parser v5 * [Tests] Added missing test coverage for JMS PHP file visitors * Aligned HiddenLocationException with Symfony 6 * Aligned RepositoryUserAuthenticationSubscriber with Symfony 6 * [Tests] Aligned RepositoryUserAuthenticationSubscriberTest with Symfony 6 * [PHPStan] Added missing extends annotation to APIUserProviderInterface * [Security] Dropped obsolete InteractiveLoginToken * [Tests] Aligned StreamFileListenerTest with Symfony 6 * Extracted duplicated code fragment to RequestContextFactory * [Tests] Added coverage for RequestContextFactory * Aligned UrlWildcardRouter with Symfony 6 * Aligned DefaultRouter with Symfony 6 * Aligned URLAlias router with Symfony 6 and improved code quality * Improved quality of BinaryStreamResponse and aligned with Symfony 6 * [Security] Aligned UserWrapped with Symfony 6 * [Tests] Aligned UserWrappedTest with Symfony 6 * [Cache] Aligned TransactionalInMemoryCacheAdapter with Symfony 6 * [PHPStan] Added to baseline classes extending final PropertyNormalizer (postponed for Symfony 7 upgrade) * [Tests] Aligned IOService tests with strict types changes and Symfony 6 * Fixed BinaryFile Value members' strict types to reflect usage * Changed IOService::loadBinaryFile to throw an exception for abs. paths * [Tests] Aligned AliasGeneratorTest with BinaryFile strict requirements * Aligned Symfony DI Extension implementations with Symfony 6 deprecations * [Tests] Improved quality of IbexaRepositoryInstallerBundleTest class * [PHPUnit] Updated new deprecation counts coming from Symfony 6 * Aligned Symfony Bundle implementations with Symfony 6 deprecations * [Tests] Dropped obsolete semantic config options from tests setup * [Tests] Aligned BinaryBaseStorageTest with BinaryFile strict types * Fixed octal values in semantic config for Symfony 6 * [Tests] Improved SiteAccessAwareVisibilityConverterTest strict octal const * [Tests] Replaced deprecated function utf8_decode with mb_convert_encoding * Improved code quality Co-Authored-By: Paweł Niedzielski <[email protected]> * [PHPStan] Removed resolved issues from the baseline * Aligned StructWrapperValidator with Symfony 6 * Fixed property-read type of Values\Content\Content::@$fields * [Tests] Adjusted Symfony deprecation helper config after the changes * IBX-8470: Upgraded Pagerfanta to v3 for Symfony 6 (#462) For the list of Pagerfanta changes see #462 --------- Co-Authored-By: Dawid Parafiński <[email protected]> * [Pagerfanta] Defined int range for Notification total count * [PHPStan] Aligned baseline after the changes * [Pagerfanta] Defined int range for SearchResult total count * Replaced Param Converters with Value Resolvers * Dropped sensio/framework-extra-bundle dependency * Fixed controller - route syntax to match with new convention * Fixed DirectFragmentRenderer inheritance bug * Updated phpstan baseline * Moved lazy from service to factory definition - otherwise, it caused service to be uninitialized in alias generator --------- Co-authored-by: Paweł Niedzielski <[email protected]> Co-authored-by: Dawid Parafiński <[email protected]> Co-authored-by: Dawid Parafinski <[email protected]> Co-authored-by: Adam Wójs <[email protected]>
1 parent 07b82cc commit 815b00d

File tree

148 files changed

+3045
-4494
lines changed

Some content is hidden

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

148 files changed

+3045
-4494
lines changed

composer.json

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -25,38 +25,37 @@
2525
"doctrine/orm": "^2.7",
2626
"friendsofphp/proxy-manager-lts": "^1.0",
2727
"friendsofsymfony/http-cache-bundle": "^2.8",
28-
"friendsofsymfony/jsrouting-bundle": "^2.5",
28+
"friendsofsymfony/jsrouting-bundle": "^3.5",
2929
"ibexa/doctrine-schema": "~5.0.x-dev",
30-
"jms/translation-bundle": "^1.5",
30+
"jms/translation-bundle": "^2.4",
3131
"league/flysystem-memory": "^2.0.6",
3232
"liip/imagine-bundle": "^2.3",
3333
"nelmio/cors-bundle": "^2.0",
3434
"oneup/flysystem-bundle": "^4.4.2",
35-
"pagerfanta/pagerfanta": "^2.1",
35+
"pagerfanta/pagerfanta": "^3.6.2",
3636
"psr/event-dispatcher": "^1.0",
37-
"sensio/framework-extra-bundle": "^6.1",
38-
"symfony-cmf/routing": "^2.3",
39-
"symfony/cache": "^5.3.0",
40-
"symfony/console": "^5.3.0",
41-
"symfony/dependency-injection": "^5.3.0",
42-
"symfony/event-dispatcher": "^5.3.0",
43-
"symfony/expression-language": "^5.3.0",
44-
"symfony/framework-bundle": "^5.3.0",
45-
"symfony/http-client": "^5.3.0",
46-
"symfony/http-foundation": "^5.3.0",
47-
"symfony/http-kernel": "^5.3.0",
48-
"symfony/mime": "^5.3.0",
37+
"symfony-cmf/routing": "^3.0",
38+
"symfony/cache": "^6.4.0",
39+
"symfony/console": "^6.4.0",
40+
"symfony/dependency-injection": "^6.4.0",
41+
"symfony/event-dispatcher": "^6.4.0",
42+
"symfony/expression-language": "^6.4.0",
43+
"symfony/framework-bundle": "^6.4.0",
44+
"symfony/http-client": "^6.4.0",
45+
"symfony/http-foundation": "^6.4.0",
46+
"symfony/http-kernel": "^6.4.0",
47+
"symfony/mime": "^6.4.0",
4948
"symfony/polyfill-php80": "^1.27",
50-
"symfony/process": "^5.3.0",
51-
"symfony/security-bundle": "^5.3.0",
52-
"symfony/security-core": "^5.3.0",
53-
"symfony/security-http": "^5.3.0",
54-
"symfony/serializer": "^5.3.0",
55-
"symfony/templating": "^5.3.0",
56-
"symfony/translation": "^5.3.0",
57-
"symfony/validator": "^5.3.0",
58-
"symfony/var-dumper": "^5.3.0",
59-
"symfony/yaml": "^5.3.0",
49+
"symfony/process": "^6.4.0",
50+
"symfony/security-bundle": "^6.4.0",
51+
"symfony/security-core": "^6.4.0",
52+
"symfony/security-http": "^6.4.0",
53+
"symfony/serializer": "^6.4.0",
54+
"symfony/templating": "^6.4.0",
55+
"symfony/translation": "^6.4.0",
56+
"symfony/validator": "^6.4.0",
57+
"symfony/var-dumper": "^6.4.0",
58+
"symfony/yaml": "^6.4.0",
6059
"twig/extra-bundle": "^3.0",
6160
"twig/twig": "^3.0"
6261
},
@@ -71,8 +70,8 @@
7170
"phpstan/phpstan-symfony": "^1.3",
7271
"phpunit/phpunit": "^9.6",
7372
"symfony/phpunit-bridge": "^5.4",
74-
"symfony/proxy-manager-bridge": "^5.3",
75-
"symfony/runtime": "^5.3.0"
73+
"symfony/proxy-manager-bridge": "^6.4",
74+
"symfony/runtime": "^6.4.0"
7675
},
7776
"conflict": {
7877
"doctrine/dbal": "2.7.0",

0 commit comments

Comments
 (0)