Skip to content

Fix unused private property is not sometimes detected #16902

Fix unused private property is not sometimes detected

Fix unused private property is not sometimes detected #16902

Triggered via pull request October 4, 2024 13:28
Status Failure
Total duration 15m 4s
Artifacts 17

phar.yml

on: pull_request
Compiler Tests
1m 7s
Compiler Tests
integration-tests  /  Check PHAR checksum
6s
integration-tests / Check PHAR checksum
extension-tests  /  Check PHAR checksum
6s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
4s
other-tests / Check PHAR checksum
Commit PHAR
0s
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
Matrix: integration-tests / integration-tests
Matrix: integration-tests / PMMP Tests
Matrix: extension-tests / Extension Tests
Matrix: other-tests / Other Tests
integration-tests  /  Integration - Update baselines
0s
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

89 errors
integration-tests / Integration - bitExpert/phpstan-magento
Process completed with exit code 1.
integration-tests / Integration - bitExpert/phpstan-magento
Process completed with exit code 1.
integration-tests / Integration - TomasVotruba/bladestan: src/Compiler/PhpContentExtractor.php#L35
Unreachable statement - code above always terminates.
integration-tests / Integration - TomasVotruba/bladestan: src/TemplateCompiler/Rules/TemplateRulesRegistry.php#L15
Class TomasVotruba\Bladestan\TemplateCompiler\Rules\TemplateRulesRegistry extends @Final class PHPStan\Rules\DirectRegistry.
integration-tests / Integration - TomasVotruba/bladestan
Process completed with exit code 1.
extension-tests / Extension Tests (8.4, phpstan-nette 1.1.x)
Process completed with exit code 2.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\FileRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\IdentifierRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\LineRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\MetadataRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\NonIgnorableRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\TipRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Error/ErrorBuilder.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte: src/LinkProcessor/LinkParamsProcessor.php#L1
Ignored error pattern #^Parameter \#1 \$value of static method PhpParser\\BuilderHelpers\:\:normalizeValue\(\) expects array\|bool\|float\|int\|PhpParser\\Node\\Expr\|string\|null, mixed given\.$# in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/LinkProcessor/LinkParamsProcessor.php was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte
Process completed with exit code 1.
integration-tests / Integration - Rector tests
Process completed with exit code 1.
integration-tests / Integration - drupal/drupal
Process completed with exit code 1.
integration-tests / Integration - drupal/drupal
Process completed with exit code 1.
integration-tests / Integration - Larastan tests PHP 8.3, ^10.28
Process completed with exit code 1.
integration-tests / Integration - Larastan tests PHP 8.3, ^11.0
Process completed with exit code 1.
integration-tests / Integration - reactphp/promise: src/Internal/FulfilledPromise.php#L61
Method React\Promise\Internal\FulfilledPromise::finally() should return React\Promise\PromiseInterface<T> but returns React\Promise\PromiseInterface<(T of mixed)|null>.
integration-tests / Integration - reactphp/promise: src/Promise.php#L99
Method React\Promise\Promise::finally() should return React\Promise\PromiseInterface<T> but returns React\Promise\PromiseInterface<(T of mixed)|null>.
integration-tests / Integration - reactphp/promise
Process completed with exit code 1.
integration-tests / Integration - laravel/framework
Process completed with exit code 1.
integration-tests / Integration - WordPress/WordPress-Coding-Standards: WordPress/Sniffs/WP/ClassNameCaseSniff.php#L35
Property WordPressCS\WordPress\Sniffs\WP\ClassNameCaseSniff::$wp_classes is never read, only written.
integration-tests / Integration - WordPress/WordPress-Coding-Standards: WordPress/Sniffs/WP/ClassNameCaseSniff.php#L394
Property WordPressCS\WordPress\Sniffs\WP\ClassNameCaseSniff::$wp_themes_classes is never read, only written.
integration-tests / Integration - WordPress/WordPress-Coding-Standards: WordPress/Sniffs/WP/ClassNameCaseSniff.php#L426
Property WordPressCS\WordPress\Sniffs\WP\ClassNameCaseSniff::$getid3_classes is never read, only written.
integration-tests / Integration - sebastianbergmann/phpunit: src/TextUI/Configuration/SourceMapper.php#L33
No error with identifier assign.propertyType is reported on line 33.
integration-tests / Integration - WordPress/WordPress-Coding-Standards: WordPress/Sniffs/WP/ClassNameCaseSniff.php#L462
Property WordPressCS\WordPress\Sniffs\WP\ClassNameCaseSniff::$phpmailer_classes is never read, only written.
integration-tests / Integration - sebastianbergmann/phpunit
Process completed with exit code 1.
integration-tests / Integration - WordPress/WordPress-Coding-Standards: WordPress/Sniffs/WP/ClassNameCaseSniff.php#L480
Property WordPressCS\WordPress\Sniffs\WP\ClassNameCaseSniff::$requests_classes is never read, only written.
integration-tests / Integration - WordPress/WordPress-Coding-Standards: WordPress/Sniffs/WP/ClassNameCaseSniff.php#L624
Property WordPressCS\WordPress\Sniffs\WP\ClassNameCaseSniff::$simplepie_classes is never read, only written.
integration-tests / Integration - WordPress/WordPress-Coding-Standards: WordPress/Sniffs/WP/ClassNameCaseSniff.php#L674
Property WordPressCS\WordPress\Sniffs\WP\ClassNameCaseSniff::$wp_classes_lc is never read, only written.
integration-tests / Integration - WordPress/WordPress-Coding-Standards: WordPress/Sniffs/WP/ClassNameCaseSniff.php#L685
Property WordPressCS\WordPress\Sniffs\WP\ClassNameCaseSniff::$wp_themes_classes_lc is never read, only written.
integration-tests / Integration - WordPress/WordPress-Coding-Standards: WordPress/Sniffs/WP/ClassNameCaseSniff.php#L696
Property WordPressCS\WordPress\Sniffs\WP\ClassNameCaseSniff::$getid3_classes_lc is never read, only written.
integration-tests / Integration - WordPress/WordPress-Coding-Standards: WordPress/Sniffs/WP/ClassNameCaseSniff.php#L707
Property WordPressCS\WordPress\Sniffs\WP\ClassNameCaseSniff::$phpmailer_classes_lc is never read, only written.
integration-tests / Integration - larastan/larastan: stubs/10.0.0/Contracts/Database/Eloquent.stub#L10
PHPDoc tag @mixin contains generic class Illuminate\Database\Eloquent\Builder but does not specify its types: TModelClass
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L12
PHPDoc tag @mixin contains unknown class Illuminate\Contracts\Redis\Factory.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L12
PHPDoc tag @mixin contains unknown class Illuminate\Redis\RedisManager.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L19
PHPDoc tag @mixin contains unknown class Illuminate\Database\Connection.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L19
PHPDoc tag @mixin contains unknown class Illuminate\Database\ConnectionInterface.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L19
PHPDoc tag @mixin contains unknown class Illuminate\Database\DatabaseManager.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L25
PHPDoc tag @mixin contains unknown class Illuminate\Queue\Queue.
integration-tests / Integration - larastan/larastan: stubs/common/Facades.stub#L25
PHPDoc tag @mixin contains unknown class Illuminate\Queue\QueueManager.
integration-tests / Integration - larastan/larastan: stubs/common/Log/Logger.stub#L13
PHPDoc tag @mixin contains unknown class Monolog\Logger.
integration-tests / Integration - larastan/larastan: stubs/common/Pagination.stub#L10
Type mixed in generic type Illuminate\Support\Collection<mixed, mixed> in PHPDoc tag @mixin is not subtype of template type TKey of (int|string) of class Illuminate\Support\Collection.
integration-tests / Integration - larastan/larastan
Process completed with exit code 1.
integration-tests / Integration - Roave/BetterReflection: src/Reflection/ReflectionMethod.php#L41
Property Roave\BetterReflection\Reflection\ReflectionMethod::$namespace is never read, only written.
integration-tests / Integration - Roave/BetterReflection
Process completed with exit code 1.
integration-tests / Integration - shopware/shopware
Process completed with exit code 1.
integration-tests / Integration - shopware/shopware
Process completed with exit code 1.
integration-tests / Integration - composer/composer
Process completed with exit code 1.
integration-tests / PMMP Tests (8.2, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/MemoryManager.php#L117
Offset 1 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
integration-tests / PMMP Tests (8.2, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/MemoryManager.php#L121
Offset 2 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
integration-tests / PMMP Tests (8.2, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/utils/Git.php#L42
Strict comparison using !== between string and false will always evaluate to true.
integration-tests / PMMP Tests (8.1, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/MemoryManager.php#L117
Offset 1 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
integration-tests / PMMP Tests (8.1, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/MemoryManager.php#L121
Offset 2 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
integration-tests / PMMP Tests (8.1, git clone https://github.com/pmmp/PocketMine-MP.git e2e/integration/repo cd e2e/...: src/utils/Git.php#L42
Strict comparison using !== between string and false will always evaluate to true.
integration-tests / Integration - efabrica-team/phpstan-latte tests
Process completed with exit code 1.
integration-tests / Integration - PrestaShop/PrestaShop: classes/form/CustomerForm.php#L47
Property CustomerFormCore::$guest_allowed is never read, only written.
integration-tests / Integration - PrestaShop/PrestaShop: config/config.inc.php#L70
Path in include_once() "/home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/config/settings_custom.inc.php" is not a file or it does not exist.
integration-tests / Integration - PrestaShop/PrestaShop: config/smarty.config.inc.php#L44
Path in include() "/home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/classes/Smarty/SmartyCacheResourceMysql.php" is not a file or it does not exist.
integration-tests / Integration - PrestaShop/PrestaShop: src/Adapter/Import/Handler/AbstractImportHandler.php#L166
Property PrestaShop\PrestaShop\Adapter\Import\Handler\AbstractImportHandler::$contextLanguageId is never read, only written.
integration-tests / Integration - PrestaShop/PrestaShop: src/Adapter/Import/Handler/AbstractImportHandler.php#L176
Property PrestaShop\PrestaShop\Adapter\Import\Handler\AbstractImportHandler::$employeeId is never read, only written.
integration-tests / Integration - PrestaShop/PrestaShop: src/Adapter/Order/CommandHandler/AddProductToOrderHandler.php#L75
Property PrestaShop\PrestaShop\Adapter\Order\CommandHandler\AddProductToOrderHandler::$context is never read, only written.
integration-tests / Integration - PrestaShop/PrestaShop: tests/Integration/Behaviour/Features/Context/Domain/OrderPaymentFeatureContext.php#L193
Method Tests\Integration\Behaviour\Features\Context\Domain\OrderPaymentFeatureContext::mapToOrderPaymentForViewing() is unused.
integration-tests / Integration - PrestaShop/PrestaShop: tests/Integration/Behaviour/Features/Context/Domain/OrderPaymentFeatureContext.php#L216
Method Tests\Integration\Behaviour\Features\Context\Domain\OrderPaymentFeatureContext::extractFirstRowFromHorizontalTableDetails() is unused.
integration-tests / Integration - PrestaShop/PrestaShop
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
baselines-better-reflection-baseline.neon Expired
567 Bytes
sha256:1b6e8a112aa1deb46ac889d353c7e5e48697c29a449ba5d18f50309af41fca4c
baselines-bladestan-baseline.neon Expired
393 Bytes
sha256:70d3fc9cb989852750cf92f4d3c6d2c8e0598a92da9c31b01d61a9b3fa108205
baselines-composer-baseline.neon Expired
501 Bytes
sha256:b4302c3add5b07d5efc16c50dc2354f97a984fa96c0afb43ba10d45962b6372f
baselines-drupal-baseline.neon Expired
1.61 KB
sha256:3eb6bce95cd888cc952a2998c122b11064edcfecfb5ed9080ad39f48c402b636
baselines-efabrica-phpstan-latte-baseline.neon Expired
829 Bytes
sha256:cdbdc20b80df9484392354f62683cb1275ed08b92740c1303aff503ec9e9f145
baselines-larastan-baseline.neon Expired
160 Bytes
sha256:37e3ca62a49b69c3fa60bfa950ba900b40106c8f374a87e757b519f7b8d92cbc
baselines-laravel-types-baseline.neon Expired
200 Bytes
sha256:48f01422a813752d64b2c767ba2a6f050c923b12283f811a21918a27257cdd74
baselines-magento-baseline.neon Expired
158 Bytes
sha256:f4561d0e433231abbe8d2da28e22283b0e309a47847d97a272e89f10e3ef47d4
baselines-phpunit-baseline.neon Expired
188 Bytes
sha256:223757dbf8599c66a820135b433f5914cce93dd44814fd7ec8aef31af51a283b
baselines-prestashop-baseline.neon Expired
11.9 KB
sha256:fa0899e2172c4ed0d04d4576141932208c05e0df63b8ab8faba689c9880fd68e
baselines-react-promise-baseline.neon Expired
371 Bytes
sha256:db0ec64543e55f24fd3888e80650f2597ee6cab55a1006c8e43df58bf75b1491
baselines-shopware-baseline.neon Expired
1.63 KB
sha256:862f88806ad1cfdae815a190f5a32329b82d4abab3a37c00d79c77efc36da566
baselines-wp-cs-baseline.neon Expired
392 Bytes
sha256:c8c926af2b13443e9c293871ff1ced523dd4fee2284b63632ee6505e88ba24c8
phar-file Expired
3.47 MB
sha256:864b5c11d182bef7089d6d1fdc81b1aa4d869fa25c3786a1d5f02f19fae3e436
phar-file-checksum Expired
3.47 MB
sha256:1b0d0555be40f5931a119469eca887663728070eb0f885d1172aeb85a511e797
pocketmine-ng-baseline-8.1.neon Expired
988 Bytes
sha256:ccd7f82a14110221f2505c0a96b82547845bf73a7eb89a37f895e9317bd6d5a7
pocketmine-ng-baseline-8.2.neon Expired
988 Bytes
sha256:0e13c95fb16439b2462e1d03a9f7efcbcd39772d7dbff9dd3bba7b74dd2d4dab