You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 677df31
Browse filesBrowse the repository at this point in the historyBrowse files
Detect the major version of extensions with versioned PhpStorm stub maps
(ext-ds 1 vs 2) from the project's composer.json platform config, its
require constraint, or the loaded extension, and pass it to
PhpStormStubsSourceStubber. The ext-ds 1 stub overlay is only loaded for
ds 1, and the detected versions are part of the internal stubs cache key.
In the result cache, files using built-in symbols of such an extension
record a dependency on its platform package (ext-<name>) next to their
Composer package dependencies. A different selected version then
re-analyses only those files and the files with errors instead of the
whole project.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: build/composer-dependency-analyser.php
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,5 @@
43
43
[ErrorType::UNUSED_DEPENDENCY],
44
44
)
45
45
->ignoreErrorsOnPackage('phpunit/phpunit', [ErrorType::DEV_DEPENDENCY_IN_PROD]) // prepared test tooling
46
-
->ignoreErrorsOnPackage('jetbrains/phpstorm-stubs', [ErrorType::PROD_DEPENDENCY_ONLY_IN_DEV]) // there is no direct usage, but we need newer version then required by ondrejmirtes/BetterReflection
47
46
->ignoreErrorsOnPath(__DIR__ . '/../tests', [ErrorType::UNKNOWN_CLASS, ErrorType::UNKNOWN_FUNCTION, ErrorType::SHADOW_DEPENDENCY]) // to be able to test invalid symbols
0 commit comments