IBX-12654: Added ibexa/phpstan and fixed dynamic calls to static methods - #111
Merged
wiewiurdp merged 1 commit intoSep 23, 2026
Conversation
bnowak
marked this pull request as ready for review
September 23, 2026 10:33
konradoboza
approved these changes
Sep 23, 2026
wiewiurdp
approved these changes
Sep 23, 2026
wiewiurdp
deleted the
IBX-12654-added-ibexa-phpstan-and-fixed-dynamic-calls-to-static-methods
branch
September 23, 2026 12:15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related PRs:
Description:
Adds
ibexa/phpstanas a dev dependency and includes its extension in the PHPStan configuration.This package requires no
ibexa/coredependency of its own (it is a standalone Composer plugin), so pulling inibexa/phpstan(which requiresibexa/core) needed"minimum-stability": "dev"/"prefer-stable": trueadded tocomposer.jsonto let Composer resolve the dev-onlyibexa/coreversion; this pattern already exists in other tool-style packages such asibexa/doctrine-schemaandibexa/migrations.No dynamic calls to static methods were found in this package (0 hits, confirmed with the
staticMethod.dynamicCallstrict rule temporarily enabled and sanity-checked against a synthetic fixture), so no second commit was needed. ThestaticMethod.dynamicCallstrict rule itself is enabled in the linked ibexa/phpstan PR; this PR keeps CI green once that is released.ibexa/phpstan's existing rules (Ibexa.requireClosureReturnType,Ibexa.noConfigResolverParametersInConstructor) also reported 0 new errors against this package'ssrc, so no third commit was needed either.Note: this package has no
tests/directory and itscomposer.jsontestscript (phpunit -c phpunit.xml) does not currently resolve to a working binary; both are pre-existing conditions on6.0, unrelated to this change.For QA:
No functional change. CI (PHPStan, code style, unit tests) is the verification.
Documentation:
No client-facing impact.