Skip to content

Conversation

@alongosz
Copy link
Member

@alongosz alongosz commented May 28, 2025

Caution

  • Remove TMP commit before merging
  • Merge content-forms first
🎫 Issue IBX-9727

Related PRs:

Description:

ibexa/content-forms#91 fixes several issues found by PHPStan after Symfony 7 upgrade. It also adds some return strict types. Aligning here AdminUI codebase with those changes.

Note: should \Ibexa\AdminUi\Validator\Constraints\ValidatorConfigurationValidator::validate accept strict FieldDefinitionData as $value type instead? That would change the behavior, so didn't touch it, but maybe it's a valid change? Also reported by PHPStan in the baseline.

Alternatively, I could roll back changes causing failure here. It wasn't quite visible when working on content-forms, found only by Behat at the end.

For QA:

Regression should be enough.

@alongosz alongosz force-pushed the align-with-content-forms-91 branch from 640d94f to 0f9da78 Compare May 28, 2025 14:33
@sonarqubecloud
Copy link

@adamwojs adamwojs merged commit 8631d12 into main May 29, 2025
23 checks passed
@adamwojs adamwojs deleted the align-with-content-forms-91 branch May 29, 2025 04:30
GrabowskiM pushed a commit that referenced this pull request May 29, 2025
* IBX-9727: Added missing return types to ContentTypeDispatcher
* IBX-9727: Fixed strict types in ValidatorConfigurationValidator
* [PHPStan] Removed resolved issues from the baseline
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.

6 participants