8000 [DependencyInjection] fix tests by xabbuh · Pull Request #53878 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[DependencyInjection] fix tests #53878

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

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Conversation

xabbuh
Copy link
Member
@xabbuh xabbuh commented Feb 9, 2024
Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues see the test failures after #53876
License MIT

@@ -11,7 +11,7 @@

namespace Symfony\Component\DependencyInjection\Tests\Fixtures;

readonly class ReadonlyTest
readonly class ReadOnlyClass
Copy link
Member Author

Choose a reason for hiding this comment

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

class renamed so that it is not being eagerly loaded by PHPUnit

@nicolas-grekas
Copy link
Member

But readonly classes are supported since 8.2, no?

@xabbuh
Copy link
Member Author
xabbuh commented Feb 9, 2024

They are, but the VarExporter component doesn't on 8.2 (probably because of https://wiki.php.net/rfc/readonly_amendments, see #49282).

@xabbuh xabbuh changed the title [DependencyInjection] require PHP 8.3 to dump lazy proxies for readonly classes [DependencyInjection] fix tests Feb 9, 2024
@nicolas-grekas
Copy link
Member

Thank you @xabbuh.

@nicolas-grekas nicolas-grekas merged commit b449929 into symfony:6.4 Feb 9, 2024
@xabbuh xabbuh deleted the pr-53876 branch February 9, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0