Skip to content

Conversation

@AntePrkacin
Copy link

@AntePrkacin AntePrkacin commented Oct 22, 2025

Upgraded bundle to use Ibexa version 5, PHP 8.3 and Symfony 7.3. Changed some classes to use constructor promotion and fixed tests. Modified 'tests' GitHub workflow to also use PHP 8.3 and Symfony 7.3.

Look at the commits made - I think they are nice and clear enough to conclude what has been changed (nothing out of the ordinary).

@AntePrkacin AntePrkacin requested a review from emodric October 22, 2025 06:55
@AntePrkacin AntePrkacin self-assigned this Oct 22, 2025
steps:
- uses: actions/checkout@v2
- uses: docker://oskarstark/php-cs-fixer-ga
- uses: docker://oskarstark/php-cs-fixer-ga:3.26.0
Copy link
Member

Choose a reason for hiding this comment

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

Not a good idea. This will pretty quickly be obsolete.

What's the reason for this?

Copy link
Author

Choose a reason for hiding this comment

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

Well, the latest docker image uses PHP 8.4 version. This then causes php-cs-fixer to report things that it might not report if PHP 8.3 version was used.

Why will this become quickly obsolete? I can revert the commit back if you want.

Copy link
Member

Choose a reason for hiding this comment

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

Are there any concrete issues?

Why will this become quickly obsolete? I can revert the commit back if you want.

Maybe we'll need to use a rule that's available only in latest version, and then this will fail.

Copy link
Author

Choose a reason for hiding this comment

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

No, no concrete issues.

Copy link
Author

Choose a reason for hiding this comment

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

9825a71 removed the specific version of this php-cs-fixer image

@AntePrkacin
Copy link
Author

@emodric
Pushed changes in order for php-cs-fixer and tests workflow to pass.

For php-cs-fixer, I just had to comment out the mb_str_functions key that was in .php-cs-fixer.php file.

For tests, I had to downgrade PHPUnit to version 10 because of the test that involves testing the Twig Extensions - NetgenOpenGraphExtensionTwigTest. The problem here is that this test extends IntegrationTestCase from twig/twig package, which is not 'supported' for PHPUnit 11 and above. PHPUnit 10 just tells that there are deprecations, but the test passes.

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.

2 participants