-
Notifications
You must be signed in to change notification settings - Fork 5
NGSTACK-998 upgrade bundle to ibexa version 5 #5
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
NGSTACK-998 upgrade bundle to ibexa version 5 #5
Conversation
| use function explode; | ||
| use function implode; | ||
| use function trim; | ||
| use function mb_trim; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mb_trim is only available in PHP 8.4. So we should disable this CS fixer rule and revert to using trim.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
683f4bf
Changed it here
| "require-dev": { | ||
| "phpunit/phpunit": "^9.0" | ||
| "phpunit/phpunit": "^12.0", | ||
| "symfony/form": "^7.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need these in require-dev ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
phpunit/phpunit bundle is just updated to a higher version and symfony/form is added because it is used in several classes in the bundle - FieldValueTransformer, ContentTypeListFieldType, FormMapper, etc. (the Symfony\Component\Form\... use statement)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
symfony/form should be then moved to require.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
651c8e0
Moved the symfony/form bundle to require section of the composer.json file.
…ion into 'require' section of 'composer.json' file
|
Thanks @AntePrkacin ! |
Upgraded bundle to use Ibexa version 5.
Made small changes to code (because of PHP8).
Modified
phpunit.xmlfile to newer version and bumped the PHP and Symfony versions intests.ymlworkflow.