Skip to content

Update supported Symfony version to 8+#125

Merged
pierredup merged 5 commits into
mainfrom
update-symfony
Jun 18, 2026
Merged

Update supported Symfony version to 8+#125
pierredup merged 5 commits into
mainfrom
update-symfony

Conversation

@pierredup

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings June 18, 2026 18:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the platform’s dependency constraints and related code/tests to support Symfony 8.1+ (and PHP 8.4+), aligning internal tooling output (PHPStan baseline, snapshots) with the upgraded ecosystem.

Changes:

  • Bump PHP minimum to 8.4 and Symfony component constraints to ^8.1 (plus related vendor packages such as scheb/2fa and Symfony UX).
  • Apply compatibility/formatting adjustments across Platform/SaaS bundles and tests (imports, minor syntax tweaks, kernel changes).
  • Refresh tooling artifacts (PHPStan baseline, Rector/ECS config) and test snapshots to match new outputs.

Reviewed changes

Copilot reviewed 26 out of 30 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
composer.json Bumps PHP to >=8.4 and updates Symfony + related package constraints to Symfony 8.1-era versions.
ecs.php Adjusts ECS prepared set configuration (removes phpunit/strict prepared sets).
phpstan-baseline.neon Regenerates/expands baseline to new PHPStan output format and updated rule results.
rector.php Minor formatting cleanup (trailing whitespace removal).
src/Bundle/Platform/Kernel.php Removes the custom configureContainer wrapper/alias usage and related imports.
src/Bundle/Platform/Model/User.php Removes eraseCredentials() implementation.
src/Bundle/Platform/Form/Type/TextEditorType.php Reorders helper method placement (no behavioral change).
src/Bundle/Platform/Form/DataTransformer/JsonDocumentTransformer.php Reorders use const imports (style/consistency).
src/Bundle/Platform/Form/DataTransformer/SanitizeHtmlTransformer.php Removes extra blank line (style).
src/Bundle/Saas/Config/SaasConfiguration.php Import reordering.
src/Bundle/Saas/Console/Command/SubscriptionListCommand.php Import reordering.
src/Bundle/Saas/DependencyInjection/SolidWorxPlatformSaasExtension.php Import reordering.
src/Bundle/Saas/Feature/PlanFeatureManager.php Import reordering.
src/Bundle/Saas/Feature/PlanFeatureToggle.php Import reordering.
src/Bundle/Saas/Security/Voter/PlanFeatureVoter.php Import reordering.
src/Bundle/Saas/Subscription/SubscriptionProviderInterface.php Import reordering.
src/Tools/Rector/Rules/AddGenericMethodPhpDocRector.php Import cleanup + formatting changes in CodeSample argument punctuation.
src/Tools/Rector/Rules/AddGenericTemplateExtendsRector.php Import cleanup + formatting changes in CodeSample argument punctuation and minor style updates.
src/Tools/Rector/Rules/EnforcePlatformEntityRepositoryRector.php Import reordering + formatting changes in CodeSample argument punctuation.
tests/Bundle/PlatformBundle/Feature/NoopFeatureGateTest.php Anonymous class instantiation syntax adjusted (new class() form).
tests/Bundle/PlatformBundle/Form/Type/TextEditorTypeTest.php Reformats arrays and moves getExtensions() override position.
tests/Bundle/Saas/Config/SaasConfigurationTest.php Import reordering.
tests/Bundle/Saas/Feature/PlanFeatureGateTest.php Docblock formatting + anonymous class instantiation syntax adjusted.
tests/Bundle/Saas/Feature/PlanFeatureManagerTest.php Import reordering.
tests/Bundle/Saas/Security/Voter/PlanFeatureVoterTest.php Import reordering.
tests/Bundle/Saas/Webhook/Converter/snapshots/LemonSqueezyPayloadConverterTest__testConvert with data set subscription created__1.yml Snapshot normalization (links: {} formatting).
tests/Bundle/Saas/Webhook/Converter/snapshots/LemonSqueezyPayloadConverterTest__testConvert with data set subscription payment success__1.yml Snapshot normalization (links: {} formatting).
tests/Bundle/Saas/Webhook/Converter/snapshots/LemonSqueezyPayloadConverterTest__testConvert with data set subscription updated__1.yml Snapshot normalization (links: {} formatting).
tests/Bundle/Saas/Webhook/Converter/snapshots/LemonSqueezyPayloadConverterTest__testConvert with data set subscription updated on_trial__1.yml Snapshot normalization (links: {} formatting).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Tools/Rector/Rules/EnforcePlatformEntityRepositoryRector.php
Comment on lines +87 to +88
CODE_SAMPLE
,
Comment thread src/Tools/Rector/Rules/AddGenericTemplateExtendsRector.php
Comment on lines +162 to +163
CODE_SAMPLE
,
Comment thread src/Tools/Rector/Rules/AddGenericMethodPhpDocRector.php
Comment thread src/Tools/Rector/Rules/AddGenericMethodPhpDocRector.php
@coveralls

coveralls commented Jun 18, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 27780222704

Warning

No base build found for commit 56b8e0e on main.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 20.116%

Details

  • Patch coverage: 17 uncovered changes across 3 files (1 of 18 lines covered, 5.56%).

Uncovered Changes

File Changed Covered %
src/Tools/Rector/Rules/AddGenericTemplateExtendsRector.php 7 0 0.0%
src/Tools/Rector/Rules/AddGenericMethodPhpDocRector.php 6 0 0.0%
src/Tools/Rector/Rules/EnforcePlatformEntityRepositoryRector.php 4 0 0.0%
Total (4 files) 18 1 5.56%

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 3276
Covered Lines: 659
Line Coverage: 20.12%
Coverage Strength: 2.4 hits per line

💛 - Coveralls

@pierredup pierredup merged commit f5afe3a into main Jun 18, 2026
6 checks passed
@pierredup pierredup deleted the update-symfony branch June 18, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants