Skip to content

Conversation

@alongosz
Copy link
Member

@alongosz alongosz commented Dec 1, 2025

Caution

Fast-forward merge (contains 4.6 tree merge commit)

🎫 Issue n/a

Related PRs:

Description:

This PR:

  • [PHPDoc] Fixes outstanding ezpublish site access semantic config references\Ibexa\Bundle\Core\DependencyInjection\Configuration\ParserInterface::addSemanticConfig and \Ibexa\Bundle\Core\DependencyInjection\Configuration\FieldTypeParserInterface::addFieldTypeSemanticConfig and removed redundant PHPDoc blocks.
  • [PHPDoc] Defines NodeBuilder, TreeBuilder, and ArrayNodeDefinition TParent templates introduced in Symfony 7.4
  • Includes the merge up of [DI] Dropped unknown NameSchema services #686

@alongosz alongosz force-pushed the fix-phpdoc-ezpublish-system-site-access branch from 285b7e4 to b864345 Compare December 3, 2025 00:44
@alongosz alongosz changed the title [PHPDoc] Fixed site access system config reference after rebranding Merged branch '4.6' Dec 3, 2025
@alongosz alongosz added the Fast-forward merge PR should be merged in a fast-forward way label Dec 3, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 3, 2025

* @param array $config Complete parsed semantic configuration
* @param ContextualizerInterface $contextualizer
*
* @return mixed
Copy link
Member Author

@alongosz alongosz Dec 3, 2025

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.

Copy link
Contributor

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".

Copy link
Member Author

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".

@Steveb-p I already tried that yesterday. It conflicts with phpdoc_no_empty_return PHP CS Fixer rule (gets auto-removed by fix-cs)

@alongosz alongosz merged commit b864345 into main Dec 3, 2025
25 checks passed
@alongosz alongosz deleted the fix-phpdoc-ezpublish-system-site-access branch December 3, 2025 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fast-forward merge PR should be merged in a fast-forward way

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants