Adding methods for sequential processing and filtering of class reflections #2690
Annotations
10 errors and 1 warning
psalm:
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)
|
psalm:
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)
|
psalm:
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)
|
psalm:
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)
|
psalm:
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)
|
psalm:
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)
|
psalm:
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)
|
psalm:
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)
|
psalm:
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)
|
psalm:
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)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading