Implement @pure-unless-callable-impure #21908
e2e-tests.yml
on: pull_request
Matrix: E2E tests
Matrix: Result cache E2E tests
Annotations
18 errors
E2E tests (cd e2e/baseline-uninit-prop-trait
../../bin/phpstan analyse --debug --configuration te...
Process completed with exit code 1.
|
E2E tests (cd e2e/bug-11819
../../bin/phpstan
)
Process completed with exit code 1.
|
E2E tests (cd e2e/bug-11819
../../bin/phpstan
)
Internal error: PHPStan\Reflection\Native\ExtendedNativeParameterReflection::__construct(): Argument #12 ($attributes) must be of type array, bool given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/SignatureMap/NativeFunctionReflectionProvider.php on line 141 while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/bug-11819/test.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
E2E tests (cd e2e/composer-max-version
composer install
../../bin/phpstan analyze test.php --leve...
Process completed with exit code 1.
|
E2E tests (cd e2e/composer-max-version
composer install
../../bin/phpstan analyze test.php --leve...
Internal error: PHPStan\Reflection\Native\ExtendedNativeParameterReflection::__construct(): Argument #12 ($attributes) must be of type array, bool given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/SignatureMap/NativeFunctionReflectionProvider.php on line 141 while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/composer-max-version/test.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
E2E tests (cd e2e/composer-and-phpstan-version-config
composer install --ignore-platform-reqs
../...
Process completed with exit code 1.
|
E2E tests (cd e2e/composer-and-phpstan-version-config
composer install --ignore-platform-reqs
../...
Internal error: PHPStan\Reflection\Native\ExtendedNativeParameterReflection::__construct(): Argument #12 ($attributes) must be of type array, bool given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/SignatureMap/NativeFunctionReflectionProvider.php on line 141 while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/composer-and-phpstan-version-config/test.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
E2E tests (cd e2e/baseline-uninit-prop-trait
../../bin/phpstan analyse --configuration test-no-ba...
Process completed with exit code 1.
|
E2E tests (cd e2e/composer-min-max-version
composer install
../../bin/phpstan analyze test.php --...
Process completed with exit code 1.
|
E2E tests (cd e2e/composer-min-max-version
composer install
../../bin/phpstan analyze test.php --...
Internal error: PHPStan\Reflection\Native\ExtendedNativeParameterReflection::__construct(): Argument #12 ($attributes) must be of type array, bool given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/SignatureMap/NativeFunctionReflectionProvider.php on line 141 while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/composer-min-max-version/test.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
Result cache E2E tests (cd e2e/result-cache-meta-extension
composer install
../../bin/phpstan -vv...
Process completed with exit code 1.
|
Result cache E2E tests (cd e2e/result-cache-meta-extension
composer install
../../bin/phpstan -vv...
Internal error: PHPStan\Reflection\Native\ExtendedNativeParameterReflection::__construct(): Argument #12 ($attributes) must be of type array, bool given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/SignatureMap/NativeFunctionReflectionProvider.php on line 141 while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/result-cache-meta-extension/src/DummyResultCacheMetaExtension.php
Post the following stack trace to https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml:
## /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Native/ExtendedNativeParameterReflection.php(18)
#0 /home/runner/work/phpstan-src/phpstan-src/src/Reflection/SignatureMap/NativeFunctionReflectionProvider.php(141): PHPStan\Reflection\Native\ExtendedNativeParameterReflection->__construct()
#1 [internal function]: PHPStan\Reflection\SignatureMap\NativeFunctionReflectionProvider::PHPStan\Reflection\SignatureMap\{closure}()
#2 /home/runner/work/phpstan-src/phpstan-src/src/Reflection/SignatureMap/NativeFunctionReflectionProvider.php(122): array_map()
#3 /home/runner/work/phpstan-src/phpstan-src/src/Reflection/BetterReflection/BetterReflectionProvider.php(299): PHPStan\Reflection\SignatureMap\NativeFunctionReflectionProvider->findFunctionReflection()
#4 /home/runner/work/phpstan-src/phpstan-src/src/Reflection/ReflectionProvider/MemoizingReflectionProvider.php(76): PHPStan\Reflection\BetterReflection\BetterReflectionProvider->getFunction()
#5 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php(2373): PHPStan\Reflection\ReflectionProvider\MemoizingReflectionProvider->getFunction()
#6 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/MutatingScope.php(780): PHPStan\Analyser\MutatingScope->resolveType()
#7 /home/runner/work/phpstan-src/phpstan-src/src/Rules/FunctionReturnTypeCheck.php(80): PHPStan\Analyser\MutatingScope->getType()
#8 /home/runner/work/phpstan-src/phpstan-src/src/Rules/Methods/ReturnTypeRule.php(70): PHPStan\Rules\FunctionReturnTypeCheck->checkReturnType()
#9 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php(131): PHPStan\Rules\Methods\ReturnTypeRule->processNode()
#10 /home/runner/work/phpstan-src/phpstan-src/src/Node/ClassStatementsGatherer.php(140): PHPStan\Analyser\FileAnalyser->PHPStan\Analyser\{closure}()
#11 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(754): PHPStan\Node\ClassStatementsGatherer->__invoke()
#12 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(526): PHPStan\Analyser\NodeScopeResolver::PHPStan\Analyser\{closure}()
#13 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(404): PHPStan\Analyser\NodeScopeResolver->processStmtNode()
#14 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(753): PHPStan\Analyser\NodeScopeResolver->processStmtNodes()
#15 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(404): PHPStan\Analyser\NodeScopeResolver->processStmtNode()
#16 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(999): PHPStan\Analyser\NodeScopeResolver->processStmtNodes()
#17 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(404): PHPStan\Analyser\NodeScopeResolver->processStmtNode()
#18 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(945): PHPStan\Analyser\NodeScopeResolver->processStmtNodes()
#19 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php(334): PHPStan\Analyser\NodeScopeResolver->processStmtNode()
#20 /home/runner/work/phpstan-src/phpstan-src/src/Analyser/FileAnalyser.php(247): PHPStan\Analyser\NodeScopeResolver->processNodes()
#21 /home/runner/work/phpstan-src/phpstan-src/src/Command/WorkerCommand.php(236): PHPStan\Analyser\FileAnalyser->analyseFile()
#22 /home/runner/work/phpstan-src/phpstan-src/vendor/evenement/evenement/src/EventEmitterTrait.php(143): PHPStan\Command\WorkerCommand::PHPStan\Command\{closure}()
#23 /home/runner/work/phpstan-src/phpstan-src/vendor/clue/ndjson-r
|
Result cache E2E tests (cd e2e/ignore-error-extension
composer install
../../bin/phpstan
)
Process completed with exit code 1.
|
Result cache E2E tests (cd e2e/ignore-error-extension
composer install
../../bin/phpstan
)
Internal error: PHPStan\Reflection\Native\ExtendedNativeParameterReflection::__construct(): Argument #12 ($attributes) must be of type array, bool given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/SignatureMap/NativeFunctionReflectionProvider.php on line 141 while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/ignore-error-extension/src/ControllerActionReturnTypeIgnoreExtension.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
Result cache E2E tests (cd e2e/bug-11826
composer install
OUTPUT=$(../bashunit -a exit_code "1" "...
Child process error (exit code 255): PHP Fatal error: A class constant must not be called 'class'; it is reserved for class name fetching in /home/runner/work/phpstan-src/phpstan-src/e2e/bug-11826/src/FatalErrorWhenAutoloaded.php on line 9
Fatal error: A class constant must not be called 'class'; it is reserved for class name fetching in /home/runner/work/phpstan-src/phpstan-src/e2e/bug-11826/src/FatalErrorWhenAutoloaded.php on line 9
while running parallel worker
|
Result cache E2E tests (cd e2e/result-cache-scanned
../../bin/phpstan
patch -b src/Generated/Foo....
Process completed with exit code 1.
|
E2E tests (cd e2e/composer-version-config
composer install
../../bin/phpstan analyze test.php --l...
Process completed with exit code 1.
|
E2E tests (cd e2e/composer-version-config
composer install
../../bin/phpstan analyze test.php --l...
Internal error: PHPStan\Reflection\Native\ExtendedNativeParameterReflection::__construct(): Argument #12 ($attributes) must be of type array, bool given, called in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/SignatureMap/NativeFunctionReflectionProvider.php on line 141 while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/composer-version-config/test.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|