Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-8470: Upgraded codebase to Symfony 6 #447

Open
wants to merge 59 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
e1cbfb1
[Composer] Bumped symfony-related packages requirements to ^6.4
alongosz Oct 8, 2024
b762f70
[Composer] Bumped 3rd party requirements for Symfony 6
alongosz Oct 9, 2024
7f0f2cf
[PHPDoc] Improved StorageConnectionFactory annotations for Symfony 6
alongosz Oct 10, 2024
9b5ace9
[Tests] Upgraded ExceptionMessageTemplateFileVisitorTest for nikic/ph…
alongosz Oct 10, 2024
fb2feb7
[Tests] Refactored BaseRenderStrategyTest for Symfony 6
alongosz Oct 10, 2024
19ce4ad
Refactored fragment renderers for Symfony 6
alongosz Oct 21, 2024
5dd4cfb
[Tests] Refactored fragment renderer tests for Symfony 6
alongosz Oct 21, 2024
7014ebf
[Tests] Aligned SerializerStub methods with Symfony 6
alongosz Oct 21, 2024
cb2eb09
Aligned Entity Manager factory with Symfony 6
alongosz Oct 21, 2024
5439234
[Tests] Aligned Entity Manager factory tests with Symfony 6
alongosz Oct 21, 2024
feac688
Aligned SiteAccess-aware Common config parser with Symfony 6
alongosz Oct 21, 2024
84c385a
Aligned JsRouting ExposedRoutesExtractor with Symfony 6
alongosz Oct 21, 2024
85cfffa
Aligned HttpUtils with Symfony 6
alongosz Oct 21, 2024
4a8bb1f
Aligned FieldTypeRegistryPass with Symfony 6
alongosz Oct 21, 2024
ef3bf60
Refactored JMS PHP files visitors to align with php-parser v5
alongosz Oct 30, 2024
b24cd2e
[Tests] Added missing test coverage for JMS PHP file visitors
alongosz Oct 30, 2024
9c260a8
Aligned HiddenLocationException with Symfony 6
alongosz Oct 30, 2024
37cde04
Aligned RepositoryUserAuthenticationSubscriber with Symfony 6
alongosz Oct 30, 2024
53e394c
[Tests] Aligned RepositoryUserAuthenticationSubscriberTest with Symfo…
alongosz Oct 30, 2024
ac082b2
[PHPStan] Added missing extends annotation to APIUserProviderInterface
alongosz Oct 30, 2024
f6f0218
[Security] Dropped obsolete InteractiveLoginToken
alongosz Oct 31, 2024
2539874
[Tests] Aligned StreamFileListenerTest with Symfony 6
alongosz Oct 31, 2024
7d819a3
Extracted duplicated code fragment to RequestContextFactory
alongosz Oct 31, 2024
108df2e
[Tests] Added coverage for RequestContextFactory
alongosz Oct 31, 2024
f9e3f57
Aligned UrlWildcardRouter with Symfony 6
alongosz Oct 31, 2024
425dc57
Aligned DefaultRouter with Symfony 6
alongosz Oct 31, 2024
3b9e881
Aligned URLAlias router with Symfony 6 and improved code quality
alongosz Oct 31, 2024
f1aff42
Improved quality of BinaryStreamResponse and aligned with Symfony 6
alongosz Oct 31, 2024
f848b96
[Security] Aligned UserWrapped with Symfony 6
alongosz Nov 4, 2024
18cf2f9
[Tests] Aligned UserWrappedTest with Symfony 6
alongosz Nov 4, 2024
2098e46
[Cache] Aligned TransactionalInMemoryCacheAdapter with Symfony 6
alongosz Nov 4, 2024
a4a3864
[PHPStan] Added to baseline classes extending final PropertyNormalizer
alongosz Nov 4, 2024
e19a3ab
[Tests] Aligned IOService tests with strict types changes and Symfony 6
alongosz Nov 5, 2024
ad48f8d
Fixed BinaryFile Value members' strict types to reflect usage
alongosz Nov 5, 2024
9848a1c
Changed IOService::loadBinaryFile to throw an exception for abs. paths
alongosz Nov 5, 2024
b5998d4
[Tests] Aligned AliasGeneratorTest with BinaryFile strict requirements
alongosz Nov 5, 2024
c068b13
Aligned Symfony DI Extension implementations with Symfony 6 deprecations
alongosz Nov 6, 2024
85a90b5
[Tests] Improved quality of IbexaRepositoryInstallerBundleTest class
alongosz Nov 6, 2024
c76adde
[PHPUnit] Updated new deprecation counts coming from Symfony 6
alongosz Nov 6, 2024
e2403e9
Aligned Symfony Bundle implementations with Symfony 6 deprecations
alongosz Nov 6, 2024
698da65
[Tests] Dropped obsolete semantic config options from tests setup
alongosz Nov 6, 2024
733d3f4
[Tests] Aligned BinaryBaseStorageTest with BinaryFile strict types
alongosz Nov 6, 2024
44a9b91
Fixed octal values in semantic config for Symfony 6
alongosz Nov 6, 2024
0f35380
[Tests] Improved SiteAccessAwareVisibilityConverterTest strict octal …
alongosz Nov 6, 2024
a59234e
[Tests] Replaced deprecated function utf8_decode with mb_convert_enco…
alongosz Nov 6, 2024
e71ca90
Improved code quality
alongosz Nov 13, 2024
2338ed6
[PHPStan] Removed resolved issues from the baseline
alongosz Nov 8, 2024
c279a67
Aligned StructWrapperValidator with Symfony 6
alongosz Dec 9, 2024
af0e094
Fixed property-read type of Values\Content\Content::@$fields
alongosz Dec 10, 2024
1d88a21
[TMP] Required dev branch of ibexa/doctrine-schema
alongosz Oct 8, 2024
e2ab7a3
[TMP][CI] Required SF 6 dev branch of ibexa/solr
alongosz Nov 12, 2024
525c4a2
[Tests] Adjusted Symfony deprecation helper config after the changes
alongosz Dec 11, 2024
58f2bfb
IBX-8470: Upgraded Pagerfanta to v3 for Symfony 6 (#462)
alongosz Dec 16, 2024
71c4469
[Pagerfanta] Defined int range for Notification total count
alongosz Dec 27, 2024
0bb2141
[PHPStan] Aligned baseline after the changes
alongosz Dec 27, 2024
a1ed98d
[Pagerfanta] Defined int range for SearchResult total count
alongosz Dec 27, 2024
e426c69
Replaced Param Converters with Value Resolvers
ViniTou Jan 3, 2025
20d88b0
Dropped sensio/framework-extra-bundle dependency
adamwojs Jan 5, 2025
1c21db0
[TMP] Disabled Ibexa\Bundle\Core\DependencyInjection\Compiler\Fragmen…
adamwojs Jan 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ jobs:
name: "Solr integration tests"
runs-on: "ubuntu-22.04"
timeout-minutes: 30
env:
COMPOSER_ROOT_VERSION: dev-ibx-8470-symfony-6
permissions:
packages: read
contents: read
Expand Down Expand Up @@ -215,7 +217,9 @@ jobs:

- name: Add solr dependency
run: |
VERSION=$(jq -r '.extra | ."branch-alias" | ."dev-main"' < composer.json)
export COMPOSER_ROOT_VERSION=dev-ibx-8470-symfony-6
VERSION="$COMPOSER_ROOT_VERSION as 5.0.x-dev"
echo "COMPOSER_ROOT_VERSION: $COMPOSER_ROOT_VERSION"
composer require --no-update "ibexa/solr:$VERSION"

- uses: ramsey/composer-install@v3
Expand Down
55 changes: 27 additions & 28 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,38 +25,37 @@
"doctrine/orm": "^2.7",
"friendsofphp/proxy-manager-lts": "^1.0",
"friendsofsymfony/http-cache-bundle": "^2.8",
"friendsofsymfony/jsrouting-bundle": "^2.5",
"ibexa/doctrine-schema": "~5.0.x-dev",
"jms/translation-bundle": "^1.5",
"friendsofsymfony/jsrouting-bundle": "^3.5",
"ibexa/doctrine-schema": "dev-ibx-8470-symfony-6 as 5.0.x-dev",
"jms/translation-bundle": "^2.4",
"league/flysystem-memory": "^2.0.6",
"liip/imagine-bundle": "^2.3",
"nelmio/cors-bundle": "^2.0",
"oneup/flysystem-bundle": "^4.4.2",
"pagerfanta/pagerfanta": "^2.1",
"pagerfanta/pagerfanta": "^3.6.2",
"psr/event-dispatcher": "^1.0",
"sensio/framework-extra-bundle": "^6.1",
"symfony-cmf/routing": "^2.3",
"symfony/cache": "^5.3.0",
"symfony/console": "^5.3.0",
"symfony/dependency-injection": "^5.3.0",
"symfony/event-dispatcher": "^5.3.0",
"symfony/expression-language": "^5.3.0",
"symfony/framework-bundle": "^5.3.0",
"symfony/http-client": "^5.3.0",
"symfony/http-foundation": "^5.3.0",
"symfony/http-kernel": "^5.3.0",
"symfony/mime": "^5.3.0",
"symfony-cmf/routing": "^3.0",
"symfony/cache": "^6.4.0",
"symfony/console": "^6.4.0",
"symfony/dependency-injection": "^6.4.0",
"symfony/event-dispatcher": "^6.4.0",
"symfony/expression-language": "^6.4.0",
"symfony/framework-bundle": "^6.4.0",
"symfony/http-client": "^6.4.0",
"symfony/http-foundation": "^6.4.0",
"symfony/http-kernel": "^6.4.0",
"symfony/mime": "^6.4.0",
"symfony/polyfill-php80": "^1.27",
"symfony/process": "^5.3.0",
"symfony/security-bundle": "^5.3.0",
"symfony/security-core": "^5.3.0",
"symfony/security-http": "^5.3.0",
"symfony/serializer": "^5.3.0",
"symfony/templating": "^5.3.0",
"symfony/translation": "^5.3.0",
"symfony/validator": "^5.3.0",
"symfony/var-dumper": "^5.3.0",
"symfony/yaml": "^5.3.0",
"symfony/process": "^6.4.0",
"symfony/security-bundle": "^6.4.0",
"symfony/security-core": "^6.4.0",
"symfony/security-http": "^6.4.0",
"symfony/serializer": "^6.4.0",
"symfony/templating": "^6.4.0",
"symfony/translation": "^6.4.0",
"symfony/validator": "^6.4.0",
"symfony/var-dumper": "^6.4.0",
"symfony/yaml": "^6.4.0",
"twig/extra-bundle": "^3.0",
"twig/twig": "^3.0"
},
Expand All @@ -71,8 +70,8 @@
"phpstan/phpstan-symfony": "^1.3",
"phpunit/phpunit": "^9.6",
"symfony/phpunit-bridge": "^5.4",
"symfony/proxy-manager-bridge": "^5.3",
"symfony/runtime": "^5.3.0"
"symfony/proxy-manager-bridge": "^6.4",
"symfony/runtime": "^6.4.0"
},
"conflict": {
"doctrine/dbal": "2.7.0",
Expand Down
Loading
Loading