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 53 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 52 commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
b251933
[Composer] Bumped symfony-related packages requirements to ^6.4
alongosz Oct 8, 2024
855e1fe
[Composer] Bumped 3rd party requirements for Symfony 6
alongosz Oct 9, 2024
ce1d16c
[PHPDoc] Improved StorageConnectionFactory annotations for Symfony 6
alongosz Oct 10, 2024
e0c2ad4
[Tests] Upgraded ExceptionMessageTemplateFileVisitorTest for nikic/ph…
alongosz Oct 10, 2024
dc2ba1c
[Tests] Refactored BaseRenderStrategyTest for Symfony 6
alongosz Oct 10, 2024
af6e5be
Refactored fragment renderers for Symfony 6
alongosz Oct 21, 2024
b1d8c62
[Tests] Refactored fragment renderer tests for Symfony 6
alongosz Oct 21, 2024
06c9196
[Tests] Aligned SerializerStub methods with Symfony 6
alongosz Oct 21, 2024
cd64a6f
Aligned Entity Manager factory with Symfony 6
alongosz Oct 21, 2024
74fe574
[Tests] Aligned Entity Manager factory tests with Symfony 6
alongosz Oct 21, 2024
8973da8
Aligned SiteAccess-aware Common config parser with Symfony 6
alongosz Oct 21, 2024
f487439
Aligned JsRouting ExposedRoutesExtractor with Symfony 6
alongosz Oct 21, 2024
054c8fd
Aligned HttpUtils with Symfony 6
alongosz Oct 21, 2024
6a3703d
Aligned FieldTypeRegistryPass with Symfony 6
alongosz Oct 21, 2024
886ab42
Refactored JMS PHP files visitors to align with php-parser v5
alongosz Oct 30, 2024
21f30e6
[Tests] Added missing test coverage for JMS PHP file visitors
alongosz Oct 30, 2024
4ed980d
Aligned HiddenLocationException with Symfony 6
alongosz Oct 30, 2024
81d2587
Aligned RepositoryUserAuthenticationSubscriber with Symfony 6
alongosz Oct 30, 2024
5ac6c28
[Tests] Aligned RepositoryUserAuthenticationSubscriberTest with Symfo…
alongosz Oct 30, 2024
0a7514b
[PHPStan] Added missing extends annotation to APIUserProviderInterface
alongosz Oct 30, 2024
f57cee0
[Security] Dropped obsolete InteractiveLoginToken
alongosz Oct 31, 2024
87e0692
[Tests] Aligned StreamFileListenerTest with Symfony 6
alongosz Oct 31, 2024
18343ff
Extracted duplicated code fragment to RequestContextFactory
alongosz Oct 31, 2024
707894f
[Tests] Added coverage for RequestContextFactory
alongosz Oct 31, 2024
3fc3d02
Aligned UrlWildcardRouter with Symfony 6
alongosz Oct 31, 2024
eb31614
Aligned DefaultRouter with Symfony 6
alongosz Oct 31, 2024
efde037
Aligned URLAlias router with Symfony 6 and improved code quality
alongosz Oct 31, 2024
b929461
Improved quality of BinaryStreamResponse and aligned with Symfony 6
alongosz Oct 31, 2024
49aadc8
[Security] Aligned UserWrapped with Symfony 6
alongosz Nov 4, 2024
eb64479
[Tests] Aligned UserWrappedTest with Symfony 6
alongosz Nov 4, 2024
236ae70
[Cache] Aligned TransactionalInMemoryCacheAdapter with Symfony 6
alongosz Nov 4, 2024
91dca96
[PHPStan] Added to baseline classes extending final PropertyNormalizer
alongosz Nov 4, 2024
ef9761d
[Tests] Aligned IOService tests with strict types changes and Symfony 6
alongosz Nov 5, 2024
2a4adb9
Fixed BinaryFile Value members' strict types to reflect usage
alongosz Nov 5, 2024
d661788
Changed IOService::loadBinaryFile to throw an exception for abs. paths
alongosz Nov 5, 2024
02d9237
[Tests] Aligned AliasGeneratorTest with BinaryFile strict requirements
alongosz Nov 5, 2024
009f2e7
Aligned Symfony DI Extension implementations with Symfony 6 deprecations
alongosz Nov 6, 2024
603b82f
[Tests] Improved quality of IbexaRepositoryInstallerBundleTest class
alongosz Nov 6, 2024
8036654
[PHPUnit] Updated new deprecation counts coming from Symfony 6
alongosz Nov 6, 2024
8e3d339
Aligned Symfony Bundle implementations with Symfony 6 deprecations
alongosz Nov 6, 2024
d03351e
[Tests] Dropped obsolete semantic config options from tests setup
alongosz Nov 6, 2024
56a6dcb
[Tests] Aligned BinaryBaseStorageTest with BinaryFile strict types
alongosz Nov 6, 2024
5a3d0f4
Fixed octal values in semantic config for Symfony 6
alongosz Nov 6, 2024
9e8f3bc
[Tests] Improved SiteAccessAwareVisibilityConverterTest strict octal …
alongosz Nov 6, 2024
e6b26c3
[Tests] Replaced deprecated function utf8_decode with mb_convert_enco…
alongosz Nov 6, 2024
b0dfa14
Improved code quality
alongosz Nov 13, 2024
1bb4b63
[PHPStan] Removed resolved issues from the baseline
alongosz Nov 8, 2024
3da8b80
Aligned StructWrapperValidator with Symfony 6
alongosz Dec 9, 2024
ba456aa
Fixed property-read type of Values\Content\Content::@$fields
alongosz Dec 10, 2024
ff56247
[TMP] Required dev branch of ibexa/doctrine-schema
alongosz Oct 8, 2024
be8e99d
[TMP][CI] Required SF 6 dev branch of ibexa/solr
alongosz Nov 12, 2024
6a25c07
[Tests] Adjusted Symfony deprecation helper config after the changes
alongosz Dec 11, 2024
d3cb362
IBX-8470: Upgraded Pagerfanta to v3 for Symfony 6 (#462)
alongosz Dec 16, 2024
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
alongosz marked this conversation as resolved.
Show resolved Hide resolved
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
52 changes: 26 additions & 26 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,38 +25,38 @@
"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",
"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 +71,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