Skip to content

On the road to phpstan 2.0 compatibility #517

On the road to phpstan 2.0 compatibility

On the road to phpstan 2.0 compatibility #517

Triggered via pull request November 13, 2024 21:49
Status Failure
Total duration 45s
Artifacts

ci.yml

on: pull_request
Matrix: run
Fit to window
Zoom out
Zoom in

Annotations

91 errors and 2 warnings
run (8.1, 2.4.5, ubuntu-latest): src/bitExpert/PHPStan/Magento/Rules/GetCollectionMockMethodNeedsCollectionSubclassRule.php#L71
PHPDoc tag @var assumes the expression with type PHPStan\Type\Type is always PHPStan\Type\Constant\ConstantStringType but it's error-prone and dangerous.
run (8.1, 2.4.5, ubuntu-latest): src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php#L132
PHPDoc tag @var assumes the expression with type PHPStan\Type\Type is always PHPStan\Type\Constant\ConstantStringType but it's error-prone and dangerous.
run (8.1, 2.4.5, ubuntu-latest): src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php#L135
Function is_subclass_of() is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine. Use objects retrieved from ReflectionProvider instead.
run (8.1, 2.4.5, ubuntu-latest): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L29
Property bitExpert\PHPStan\Magento\Reflection\Framework\DataObjectMagicMethodReflectionExtensionUnitTest::$extension is never written, only read.
run (8.1, 2.4.5, ubuntu-latest): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L34
Property bitExpert\PHPStan\Magento\Reflection\Framework\DataObjectMagicMethodReflectionExtensionUnitTest::$classReflection is never written, only read.
run (8.1, 2.4.5, ubuntu-latest): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L49
Parameter #1 $classReflection of method bitExpert\PHPStan\Magento\Reflection\AbstractMagicMethodReflectionExtension::getMethod() expects PHPStan\Reflection\ClassReflection, PHPStan\Reflection\ClassReflection|PHPUnit\Framework\MockObject\MockObject given.
run (8.1, 2.4.5, ubuntu-latest): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L66
Parameter #1 $classReflection of method bitExpert\PHPStan\Magento\Reflection\AbstractMagicMethodReflectionExtension::getMethod() expects PHPStan\Reflection\ClassReflection, PHPStan\Reflection\ClassReflection|PHPUnit\Framework\MockObject\MockObject given.
run (8.1, 2.4.5, ubuntu-latest): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L82
Parameter #1 $classReflection of method bitExpert\PHPStan\Magento\Reflection\AbstractMagicMethodReflectionExtension::getMethod() expects PHPStan\Reflection\ClassReflection, PHPStan\Reflection\ClassReflection|PHPUnit\Framework\MockObject\MockObject given.
run (8.1, 2.4.5, ubuntu-latest): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L99
Parameter #1 $classReflection of method bitExpert\PHPStan\Magento\Reflection\AbstractMagicMethodReflectionExtension::getMethod() expects PHPStan\Reflection\ClassReflection, PHPStan\Reflection\ClassReflection|PHPUnit\Framework\MockObject\MockObject given.
run (ubuntu-latest, 7.4, 2.4.3, false)
The job was canceled because "_8_1_2_4_5_ubuntu-latest" failed.
run (ubuntu-latest, 7.4, 2.4.3, false): src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php#L166
Binary operation "." between "<?php\n\n" and mixed results in an error.
run (ubuntu-latest, 7.4, 2.4.3, false): src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php#L135
Binary operation "." between "<?php\n\n" and mixed results in an error.
run (ubuntu-latest, 7.4, 2.4.3, false): src/bitExpert/PHPStan/Magento/Rules/GetCollectionMockMethodNeedsCollectionSubclassRule.php#L71
PHPDoc tag @var assumes the expression with type PHPStan\Type\Type is always PHPStan\Type\Constant\ConstantStringType but it's error-prone and dangerous.
run (ubuntu-latest, 7.4, 2.4.3, false): src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php#L132
PHPDoc tag @var assumes the expression with type PHPStan\Type\Type is always PHPStan\Type\Constant\ConstantStringType but it's error-prone and dangerous.
run (ubuntu-latest, 7.4, 2.4.3, false): src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php#L135
Function is_subclass_of() is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine. Use objects retrieved from ReflectionProvider instead.
run (ubuntu-latest, 7.4, 2.4.3, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L33
Binary operation "+" between mixed and 1 results in an error.
run (ubuntu-latest, 7.4, 2.4.3, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L33
Parameter #1 $var of function count expects array|Countable, list<callable>|false given.
run (ubuntu-latest, 7.4, 2.4.3, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L33
Parameter #2 $haystack of static method PHPUnit\Framework\Assert::assertCount() expects Countable|iterable, list<callable>|false given.
run (ubuntu-latest, 7.4, 2.4.3, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L38
Parameter #1 $expectedCount of static method PHPUnit\Framework\Assert::assertCount() expects int, mixed given.
run (ubuntu-latest, 7.4, 2.4.3, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L38
Parameter #1 $var of function count expects array|Countable, list<callable>|false given.
run (ubuntu-latest, 7.4, 2.4.0, false)
The job was canceled because "_8_1_2_4_5_ubuntu-latest" failed.
run (8.1, 2.4.4, ubuntu-latest)
The job was canceled because "_8_1_2_4_5_ubuntu-latest" failed.
run (8.1, 2.4.4, ubuntu-latest): src/bitExpert/PHPStan/Magento/Rules/GetCollectionMockMethodNeedsCollectionSubclassRule.php#L71
PHPDoc tag @var assumes the expression with type PHPStan\Type\Type is always PHPStan\Type\Constant\ConstantStringType but it's error-prone and dangerous.
run (8.1, 2.4.4, ubuntu-latest): src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php#L132
PHPDoc tag @var assumes the expression with type PHPStan\Type\Type is always PHPStan\Type\Constant\ConstantStringType but it's error-prone and dangerous.
run (8.1, 2.4.4, ubuntu-latest): src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php#L135
Function is_subclass_of() is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine. Use objects retrieved from ReflectionProvider instead.
run (8.1, 2.4.4, ubuntu-latest): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L29
Property bitExpert\PHPStan\Magento\Reflection\Framework\DataObjectMagicMethodReflectionExtensionUnitTest::$extension is never written, only read.
run (8.1, 2.4.4, ubuntu-latest): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L34
Property bitExpert\PHPStan\Magento\Reflection\Framework\DataObjectMagicMethodReflectionExtensionUnitTest::$classReflection is never written, only read.
run (8.1, 2.4.4, ubuntu-latest): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L49
Parameter #1 $classReflection of method bitExpert\PHPStan\Magento\Reflection\AbstractMagicMethodReflectionExtension::getMethod() expects PHPStan\Reflection\ClassReflection, PHPStan\Reflection\ClassReflection|PHPUnit\Framework\MockObject\MockObject given.
run (8.1, 2.4.4, ubuntu-latest): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L66
Parameter #1 $classReflection of method bitExpert\PHPStan\Magento\Reflection\AbstractMagicMethodReflectionExtension::getMethod() expects PHPStan\Reflection\ClassReflection, PHPStan\Reflection\ClassReflection|PHPUnit\Framework\MockObject\MockObject given.
run (8.1, 2.4.4, ubuntu-latest): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L82
Parameter #1 $classReflection of method bitExpert\PHPStan\Magento\Reflection\AbstractMagicMethodReflectionExtension::getMethod() expects PHPStan\Reflection\ClassReflection, PHPStan\Reflection\ClassReflection|PHPUnit\Framework\MockObject\MockObject given.
run (8.1, 2.4.4, ubuntu-latest): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L99
Parameter #1 $classReflection of method bitExpert\PHPStan\Magento\Reflection\AbstractMagicMethodReflectionExtension::getMethod() expects PHPStan\Reflection\ClassReflection, PHPStan\Reflection\ClassReflection|PHPUnit\Framework\MockObject\MockObject given.
run (ubuntu-latest, 7.4, 2.4.2-p2, false)
The job was canceled because "_8_1_2_4_5_ubuntu-latest" failed.
run (ubuntu-latest, 7.4, 2.4.2-p2, false): src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php#L166
Binary operation "." between "<?php\n\n" and mixed results in an error.
run (ubuntu-latest, 7.4, 2.4.2-p2, false): src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php#L135
Binary operation "." between "<?php\n\n" and mixed results in an error.
run (ubuntu-latest, 7.4, 2.4.2-p2, false): src/bitExpert/PHPStan/Magento/Rules/GetCollectionMockMethodNeedsCollectionSubclassRule.php#L71
PHPDoc tag @var assumes the expression with type PHPStan\Type\Type is always PHPStan\Type\Constant\ConstantStringType but it's error-prone and dangerous.
run (ubuntu-latest, 7.4, 2.4.2-p2, false): src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php#L132
PHPDoc tag @var assumes the expression with type PHPStan\Type\Type is always PHPStan\Type\Constant\ConstantStringType but it's error-prone and dangerous.
run (ubuntu-latest, 7.4, 2.4.2-p2, false): src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php#L135
Function is_subclass_of() is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine. Use objects retrieved from ReflectionProvider instead.
run (ubuntu-latest, 7.4, 2.4.2-p2, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L33
Binary operation "+" between mixed and 1 results in an error.
run (ubuntu-latest, 7.4, 2.4.2-p2, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L33
Parameter #1 $var of function count expects array|Countable, list<callable>|false given.
run (ubuntu-latest, 7.4, 2.4.2-p2, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L33
Parameter #2 $haystack of static method PHPUnit\Framework\Assert::assertCount() expects Countable|iterable, list<callable>|false given.
run (ubuntu-latest, 7.4, 2.4.2-p2, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L38
Parameter #1 $expectedCount of static method PHPUnit\Framework\Assert::assertCount() expects int, mixed given.
run (ubuntu-latest, 7.4, 2.4.2-p2, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L38
Parameter #1 $var of function count expects array|Countable, list<callable>|false given.
run (ubuntu-latest, 7.4, 2.4.1, false)
The job was canceled because "_8_1_2_4_5_ubuntu-latest" failed.
run (ubuntu-latest, 7.4, 2.4.3-p1, false)
The job was canceled because "_8_1_2_4_5_ubuntu-latest" failed.
run (ubuntu-latest, 7.4, 2.4.3-p1, false)
The operation was canceled.
run (8.1, 2.4.6, ubuntu-latest, true)
The job was canceled because "_8_1_2_4_5_ubuntu-latest" failed.
run (8.1, 2.4.6, ubuntu-latest, true): src/bitExpert/PHPStan/Magento/Rules/GetCollectionMockMethodNeedsCollectionSubclassRule.php#L71
PHPDoc tag @var assumes the expression with type PHPStan\Type\Type is always PHPStan\Type\Constant\ConstantStringType but it's error-prone and dangerous.
run (8.1, 2.4.6, ubuntu-latest, true): src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php#L132
PHPDoc tag @var assumes the expression with type PHPStan\Type\Type is always PHPStan\Type\Constant\ConstantStringType but it's error-prone and dangerous.
run (8.1, 2.4.6, ubuntu-latest, true): src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php#L135
Function is_subclass_of() is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine. Use objects retrieved from ReflectionProvider instead.
run (8.1, 2.4.6, ubuntu-latest, true): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L29
Property bitExpert\PHPStan\Magento\Reflection\Framework\DataObjectMagicMethodReflectionExtensionUnitTest::$extension is never written, only read.
run (8.1, 2.4.6, ubuntu-latest, true): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L34
Property bitExpert\PHPStan\Magento\Reflection\Framework\DataObjectMagicMethodReflectionExtensionUnitTest::$classReflection is never written, only read.
run (8.1, 2.4.6, ubuntu-latest, true): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L49
Parameter #1 $classReflection of method bitExpert\PHPStan\Magento\Reflection\AbstractMagicMethodReflectionExtension::getMethod() expects PHPStan\Reflection\ClassReflection, PHPStan\Reflection\ClassReflection|PHPUnit\Framework\MockObject\MockObject given.
run (8.1, 2.4.6, ubuntu-latest, true): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L66
Parameter #1 $classReflection of method bitExpert\PHPStan\Magento\Reflection\AbstractMagicMethodReflectionExtension::getMethod() expects PHPStan\Reflection\ClassReflection, PHPStan\Reflection\ClassReflection|PHPUnit\Framework\MockObject\MockObject given.
run (8.1, 2.4.6, ubuntu-latest, true): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L82
Parameter #1 $classReflection of method bitExpert\PHPStan\Magento\Reflection\AbstractMagicMethodReflectionExtension::getMethod() expects PHPStan\Reflection\ClassReflection, PHPStan\Reflection\ClassReflection|PHPUnit\Framework\MockObject\MockObject given.
run (8.1, 2.4.6, ubuntu-latest, true): tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php#L99
Parameter #1 $classReflection of method bitExpert\PHPStan\Magento\Reflection\AbstractMagicMethodReflectionExtension::getMethod() expects PHPStan\Reflection\ClassReflection, PHPStan\Reflection\ClassReflection|PHPUnit\Framework\MockObject\MockObject given.
run (ubuntu-latest, 7.4, 2.3.7-p2, false)
The job was canceled because "_8_1_2_4_5_ubuntu-latest" failed.
run (ubuntu-latest, 7.4, 2.3.7-p2, false): src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php#L166
Binary operation "." between "<?php\n\n" and mixed results in an error.
run (ubuntu-latest, 7.4, 2.3.7-p2, false): src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php#L135
Binary operation "." between "<?php\n\n" and mixed results in an error.
run (ubuntu-latest, 7.4, 2.3.7-p2, false): src/bitExpert/PHPStan/Magento/Rules/GetCollectionMockMethodNeedsCollectionSubclassRule.php#L71
PHPDoc tag @var assumes the expression with type PHPStan\Type\Type is always PHPStan\Type\Constant\ConstantStringType but it's error-prone and dangerous.
run (ubuntu-latest, 7.4, 2.3.7-p2, false): src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php#L132
PHPDoc tag @var assumes the expression with type PHPStan\Type\Type is always PHPStan\Type\Constant\ConstantStringType but it's error-prone and dangerous.
run (ubuntu-latest, 7.4, 2.3.7-p2, false): src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php#L135
Function is_subclass_of() is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine. Use objects retrieved from ReflectionProvider instead.
run (ubuntu-latest, 7.4, 2.3.7-p2, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L33
Binary operation "+" between mixed and 1 results in an error.
run (ubuntu-latest, 7.4, 2.3.7-p2, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L33
Parameter #1 $var of function count expects array|Countable, list<callable>|false given.
run (ubuntu-latest, 7.4, 2.3.7-p2, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L33
Parameter #2 $haystack of static method PHPUnit\Framework\Assert::assertCount() expects Countable|iterable, list<callable>|false given.
run (ubuntu-latest, 7.4, 2.3.7-p2, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L38
Parameter #1 $expectedCount of static method PHPUnit\Framework\Assert::assertCount() expects int, mixed given.
run (ubuntu-latest, 7.4, 2.3.7-p2, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L38
Parameter #1 $var of function count expects array|Countable, list<callable>|false given.
run (ubuntu-latest, 7.4, 2.4.2, false)
The job was canceled because "_8_1_2_4_5_ubuntu-latest" failed.
run (ubuntu-latest, 7.4, 2.4.2, false): src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php#L166
Binary operation "." between "<?php\n\n" and mixed results in an error.
run (ubuntu-latest, 7.4, 2.4.2, false): src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php#L135
Binary operation "." between "<?php\n\n" and mixed results in an error.
run (ubuntu-latest, 7.4, 2.4.2, false): src/bitExpert/PHPStan/Magento/Rules/GetCollectionMockMethodNeedsCollectionSubclassRule.php#L71
PHPDoc tag @var assumes the expression with type PHPStan\Type\Type is always PHPStan\Type\Constant\ConstantStringType but it's error-prone and dangerous.
run (ubuntu-latest, 7.4, 2.4.2, false): src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php#L132
PHPDoc tag @var assumes the expression with type PHPStan\Type\Type is always PHPStan\Type\Constant\ConstantStringType but it's error-prone and dangerous.
run (ubuntu-latest, 7.4, 2.4.2, false): src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php#L135
Function is_subclass_of() is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine. Use objects retrieved from ReflectionProvider instead.
run (ubuntu-latest, 7.4, 2.4.2, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L33
Binary operation "+" between mixed and 1 results in an error.
run (ubuntu-latest, 7.4, 2.4.2, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L33
Parameter #1 $var of function count expects array|Countable, list<callable>|false given.
run (ubuntu-latest, 7.4, 2.4.2, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L33
Parameter #2 $haystack of static method PHPUnit\Framework\Assert::assertCount() expects Countable|iterable, list<callable>|false given.
run (ubuntu-latest, 7.4, 2.4.2, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L38
Parameter #1 $expectedCount of static method PHPUnit\Framework\Assert::assertCount() expects int, mixed given.
run (ubuntu-latest, 7.4, 2.4.2, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L38
Parameter #1 $var of function count expects array|Countable, list<callable>|false given.
run (ubuntu-latest, 7.4, 2.4.2-p1, false)
The job was canceled because "_8_1_2_4_5_ubuntu-latest" failed.
run (ubuntu-latest, 7.4, 2.4.2-p1, false): src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php#L166
Binary operation "." between "<?php\n\n" and mixed results in an error.
run (ubuntu-latest, 7.4, 2.4.2-p1, false): src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php#L135
Binary operation "." between "<?php\n\n" and mixed results in an error.
run (ubuntu-latest, 7.4, 2.4.2-p1, false): src/bitExpert/PHPStan/Magento/Rules/GetCollectionMockMethodNeedsCollectionSubclassRule.php#L71
PHPDoc tag @var assumes the expression with type PHPStan\Type\Type is always PHPStan\Type\Constant\ConstantStringType but it's error-prone and dangerous.
run (ubuntu-latest, 7.4, 2.4.2-p1, false): src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php#L132
PHPDoc tag @var assumes the expression with type PHPStan\Type\Type is always PHPStan\Type\Constant\ConstantStringType but it's error-prone and dangerous.
run (ubuntu-latest, 7.4, 2.4.2-p1, false): src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php#L135
Function is_subclass_of() is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine. Use objects retrieved from ReflectionProvider instead.
run (ubuntu-latest, 7.4, 2.4.2-p1, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L33
Binary operation "+" between mixed and 1 results in an error.
run (ubuntu-latest, 7.4, 2.4.2-p1, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L33
Parameter #1 $var of function count expects array|Countable, list<callable>|false given.
run (ubuntu-latest, 7.4, 2.4.2-p1, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L33
Parameter #2 $haystack of static method PHPUnit\Framework\Assert::assertCount() expects Countable|iterable, list<callable>|false given.
run (ubuntu-latest, 7.4, 2.4.2-p1, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L38
Parameter #1 $expectedCount of static method PHPUnit\Framework\Assert::assertCount() expects int, mixed given.
run (ubuntu-latest, 7.4, 2.4.2-p1, false): tests/bitExpert/PHPStan/Magento/Autoload/RegistrationUnitTest.php#L38
Parameter #1 $var of function count expects array|Countable, list<callable>|false given.
run (8.1, 2.4.5, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
run (8.1, 2.4.5, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/