Adding methods for sequential processing and filtering of class reflections #2690
continuous-integration.yml
on: pull_request
Matrix: Check Backward Compatibility
Matrix: Run benchmarks
Matrix: Check Coding Standards
Matrix: Test Compatibility
Matrix: Check Demo Scripts
Matrix: Mutation tests
Matrix: PHPUnit tests
Matrix: Static Analysis by PHPStan
Matrix: Static Analysis by Psalm
Annotations
76 errors and 9 warnings
Check Coding Standards (locked, 8.2, ubuntu-latest)
Process completed with exit code 2.
|
PHPUnit tests (locked, 8.2, ubuntu-latest)
Process completed with exit code 1.
|
PHPUnit tests (lowest, 8.3, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (lowest, 8.3, ubuntu-latest)
The operation was canceled.
|
PHPUnit tests (highest, 8.2, windows-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (highest, 8.2, windows-latest)
The operation was canceled.
|
PHPUnit tests (highest, 8.3, windows-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (highest, 8.3, windows-latest)
The operation was canceled.
|
PHPUnit tests (highest, 8.4, windows-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (highest, 8.4, windows-latest)
The operation was canceled.
|
PHPUnit tests (locked, 8.4, windows-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (locked, 8.4, windows-latest)
The operation was canceled.
|
PHPUnit tests (lowest, 8.4, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (lowest, 8.4, ubuntu-latest)
The operation was canceled.
|
PHPUnit tests (locked, 8.2, windows-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (locked, 8.2, windows-latest)
The operation was canceled.
|
PHPUnit tests (lowest, 8.4, windows-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (locked, 8.3, windows-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (locked, 8.3, windows-latest)
The operation was canceled.
|
PHPUnit tests (lowest, 8.3, windows-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (lowest, 8.2, windows-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (lowest, 8.2, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (lowest, 8.2, ubuntu-latest)
The operation was canceled.
|
PHPUnit tests (locked, 8.4, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (locked, 8.4, ubuntu-latest)
The operation was canceled.
|
PHPUnit tests (locked, 8.3, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (locked, 8.3, ubuntu-latest)
The operation was canceled.
|
PHPUnit tests (highest, 8.2, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (highest, 8.2, ubuntu-latest)
The operation was canceled.
|
PHPUnit tests (highest, 8.3, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (highest, 8.3, ubuntu-latest)
The operation was canceled.
|
PHPUnit tests (highest, 8.4, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
PHPUnit tests (highest, 8.4, ubuntu-latest)
The operation was canceled.
|
Mutation tests (locked, 8.3, ubuntu-latest)
Process completed with exit code 1.
|
MixedAssignment:
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php#L82
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php:82:13: MixedAssignment: Unable to determine the type that $locatedSource is being assigned to (see https://psalm.dev/032)
|
UndefinedInterfaceMethod:
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php#L82
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php:82:43: UndefinedInterfaceMethod: Method Roave\BetterReflection\Reflection\Reflection::getLocatedSource does not exist (see https://psalm.dev/181)
|
MixedArgument:
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php#L84
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php:84:17: MixedArgument: Argument 1 of Roave\BetterReflection\SourceLocator\Type\SourceFilter\SourceFilter::isAllowed cannot be mixed, expecting string (see https://psalm.dev/030)
|
MixedMethodCall:
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php#L84
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php:84:33: MixedMethodCall: Cannot determine the type of $locatedSource when calling method getSource (see https://psalm.dev/015)
|
MixedArgument:
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php#L85
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php:85:17: MixedArgument: Argument 2 of Roave\BetterReflection\SourceLocator\Type\SourceFilter\SourceFilter::isAllowed cannot be mixed, expecting null|string (see https://psalm.dev/030)
|
MixedMethodCall:
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php#L85
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php:85:33: MixedMethodCall: Cannot determine the type of $locatedSource when calling method getName (see https://psalm.dev/015)
|
MixedArgument:
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php#L86
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php:86:17: MixedArgument: Argument 3 of Roave\BetterReflection\SourceLocator\Type\SourceFilter\SourceFilter::isAllowed cannot be mixed, expecting null|string (see https://psalm.dev/030)
|
MixedMethodCall:
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php#L86
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php:86:33: MixedMethodCall: Cannot determine the type of $locatedSource when calling method getFileName (see https://psalm.dev/015)
|
RiskyTruthyFalsyComparison:
src/SourceLocator/Type/SingleFileSourceLocator.php#L48
src/SourceLocator/Type/SingleFileSourceLocator.php:48:13: RiskyTruthyFalsyComparison: Operand of type false|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
MixedAssignment:
src/SourceLocator/Type/SourceFilter/AggregateFilter.php#L25
src/SourceLocator/Type/SourceFilter/AggregateFilter.php:25:36: MixedAssignment: Unable to determine the type that $filter is being assigned to (see https://psalm.dev/032)
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php#L82
Call to an undefined method Roave\BetterReflection\Reflection\Reflection::getLocatedSource().
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/SourceLocator/Type/SourceFilter/AggregateFilter.php#L9
Property Roave\BetterReflection\SourceLocator\Type\SourceFilter\AggregateFilter::$filters type has no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/SourceLocator/Type/SourceFilter/FileNameContainsFilter.php#L9
Method Roave\BetterReflection\SourceLocator\Type\SourceFilter\FileNameContainsFilter::__construct() has parameter $substrings with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/SourceLocator/Type/SourceFilter/SourceContainsFilter.php#L9
Method Roave\BetterReflection\SourceLocator\Type\SourceFilter\SourceContainsFilter::__construct() has parameter $substrings with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
test/unit/SourceLocator/Type/DirectoriesSourceLocatorTest.php#L67
Method Roave\BetterReflectionTest\SourceLocator\Type\DirectoriesSourceLocatorTest::testIterateClasses() has parameter $expected with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
test/unit/SourceLocator/Type/DirectoriesSourceLocatorTest.php#L67
Method Roave\BetterReflectionTest\SourceLocator\Type\DirectoriesSourceLocatorTest::testIterateClasses() has parameter $filter with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
test/unit/SourceLocator/Type/DirectoriesSourceLocatorTest.php#L88
Method Roave\BetterReflectionTest\SourceLocator\Type\DirectoriesSourceLocatorTest::iterateClassesProvider() return type has no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
test/unit/SourceLocator/Type/FileIteratorSourceLocatorTest.php#L67
Method Roave\BetterReflectionTest\SourceLocator\Type\FileIteratorSourceLocatorTest::testIterateClasses() has parameter $expected with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
test/unit/SourceLocator/Type/FileIteratorSourceLocatorTest.php#L67
Method Roave\BetterReflectionTest\SourceLocator\Type\FileIteratorSourceLocatorTest::testIterateClasses() has parameter $filter with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
test/unit/SourceLocator/Type/FileIteratorSourceLocatorTest.php#L88
Method Roave\BetterReflectionTest\SourceLocator\Type\FileIteratorSourceLocatorTest::iterateClassesProvider() return type has no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest)
The job was canceled because "locked_8_3_ubuntu-latest" failed.
|
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest):
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php#L82
Call to an undefined method Roave\BetterReflection\Reflection\Reflection::getLocatedSource().
|
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest):
src/SourceLocator/Type/SourceFilter/AggregateFilter.php#L9
Property Roave\BetterReflection\SourceLocator\Type\SourceFilter\AggregateFilter::$filters type has no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest):
src/SourceLocator/Type/SourceFilter/FileNameContainsFilter.php#L9
Method Roave\BetterReflection\SourceLocator\Type\SourceFilter\FileNameContainsFilter::__construct() has parameter $substrings with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest):
src/SourceLocator/Type/SourceFilter/SourceContainsFilter.php#L9
Method Roave\BetterReflection\SourceLocator\Type\SourceFilter\SourceContainsFilter::__construct() has parameter $substrings with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest):
test/unit/SourceLocator/Type/DirectoriesSourceLocatorTest.php#L67
Method Roave\BetterReflectionTest\SourceLocator\Type\DirectoriesSourceLocatorTest::testIterateClasses() has parameter $expected with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest):
test/unit/SourceLocator/Type/DirectoriesSourceLocatorTest.php#L67
Method Roave\BetterReflectionTest\SourceLocator\Type\DirectoriesSourceLocatorTest::testIterateClasses() has parameter $filter with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest):
test/unit/SourceLocator/Type/DirectoriesSourceLocatorTest.php#L88
Method Roave\BetterReflectionTest\SourceLocator\Type\DirectoriesSourceLocatorTest::iterateClassesProvider() return type has no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest):
test/unit/SourceLocator/Type/FileIteratorSourceLocatorTest.php#L67
Method Roave\BetterReflectionTest\SourceLocator\Type\FileIteratorSourceLocatorTest::testIterateClasses() has parameter $expected with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest):
test/unit/SourceLocator/Type/FileIteratorSourceLocatorTest.php#L67
Method Roave\BetterReflectionTest\SourceLocator\Type\FileIteratorSourceLocatorTest::testIterateClasses() has parameter $filter with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest):
test/unit/SourceLocator/Type/FileIteratorSourceLocatorTest.php#L88
Method Roave\BetterReflectionTest\SourceLocator\Type\FileIteratorSourceLocatorTest::iterateClassesProvider() return type has no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.2, ubuntu-latest)
The job was canceled because "locked_8_3_ubuntu-latest" failed.
|
Static Analysis by PHPStan (locked, 8.2, ubuntu-latest):
src/SourceLocator/Type/AnonymousClassObjectSourceLocator.php#L82
Call to an undefined method Roave\BetterReflection\Reflection\Reflection::getLocatedSource().
|
Static Analysis by PHPStan (locked, 8.2, ubuntu-latest):
src/SourceLocator/Type/SourceFilter/AggregateFilter.php#L9
Property Roave\BetterReflection\SourceLocator\Type\SourceFilter\AggregateFilter::$filters type has no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.2, ubuntu-latest):
src/SourceLocator/Type/SourceFilter/FileNameContainsFilter.php#L9
Method Roave\BetterReflection\SourceLocator\Type\SourceFilter\FileNameContainsFilter::__construct() has parameter $substrings with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.2, ubuntu-latest):
src/SourceLocator/Type/SourceFilter/SourceContainsFilter.php#L9
Method Roave\BetterReflection\SourceLocator\Type\SourceFilter\SourceContainsFilter::__construct() has parameter $substrings with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.2, ubuntu-latest):
test/unit/SourceLocator/Type/DirectoriesSourceLocatorTest.php#L67
Method Roave\BetterReflectionTest\SourceLocator\Type\DirectoriesSourceLocatorTest::testIterateClasses() has parameter $expected with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.2, ubuntu-latest):
test/unit/SourceLocator/Type/DirectoriesSourceLocatorTest.php#L67
Method Roave\BetterReflectionTest\SourceLocator\Type\DirectoriesSourceLocatorTest::testIterateClasses() has parameter $filter with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.2, ubuntu-latest):
test/unit/SourceLocator/Type/DirectoriesSourceLocatorTest.php#L88
Method Roave\BetterReflectionTest\SourceLocator\Type\DirectoriesSourceLocatorTest::iterateClassesProvider() return type has no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.2, ubuntu-latest):
test/unit/SourceLocator/Type/FileIteratorSourceLocatorTest.php#L67
Method Roave\BetterReflectionTest\SourceLocator\Type\FileIteratorSourceLocatorTest::testIterateClasses() has parameter $expected with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.2, ubuntu-latest):
test/unit/SourceLocator/Type/FileIteratorSourceLocatorTest.php#L67
Method Roave\BetterReflectionTest\SourceLocator\Type\FileIteratorSourceLocatorTest::testIterateClasses() has parameter $filter with no value type specified in iterable type array.
|
Static Analysis by PHPStan (locked, 8.2, ubuntu-latest):
test/unit/SourceLocator/Type/FileIteratorSourceLocatorTest.php#L88
Method Roave\BetterReflectionTest\SourceLocator\Type\FileIteratorSourceLocatorTest::iterateClassesProvider() return type has no value type specified in iterable type array.
|
Test Compatibility (locked, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check Backward Compatibility (locked, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check Coding Standards (locked, 8.2, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check Demo Scripts (locked, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run benchmarks (locked, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHPUnit tests (locked, 8.2, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Mutation tests (locked, 8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Static Analysis by Psalm (locked, 8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|