-
Notifications
You must be signed in to change notification settings - Fork 17
Merged branch '4.6' #684
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 branch '4.6' #684
Conversation
For more details see #686 Key changes: * [DI] Dropped unknown NameSchema services
285b7e4 to
b864345
Compare
|
| * @param array $config Complete parsed semantic configuration | ||
| * @param ContextualizerInterface $contextualizer | ||
| * | ||
| * @return mixed |
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.
Note
The return type was always void. Neither implementation is returning anything, nor the result is used anywhere. However this is an SPI, so adding here : void would cause a BC break. Added to PHPStan baseline.
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.
You could add void as declared phpdoc type to ensure this is detected in places it is used.
That way we could start considering this as a "deprecation".
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.
You could add
voidas declared phpdoc type to ensure this is detected in places it is used.That way we could start considering this as a "deprecation".
@Steveb-p I already tried that yesterday. It conflicts with phpdoc_no_empty_return PHP CS Fixer rule (gets auto-removed by fix-cs)



Caution
Fast-forward merge (contains 4.6 tree merge commit)
Related PRs:
Description:
This PR:
ezpublishsite access semantic config references\Ibexa\Bundle\Core\DependencyInjection\Configuration\ParserInterface::addSemanticConfigand\Ibexa\Bundle\Core\DependencyInjection\Configuration\FieldTypeParserInterface::addFieldTypeSemanticConfigand removed redundant PHPDoc blocks.NodeBuilder,TreeBuilder, andArrayNodeDefinitionTParent templates introduced in Symfony 7.4