Skip to content

Support for Messenger HandleTrait return types #659

Support for Messenger HandleTrait return types

Support for Messenger HandleTrait return types #659

Triggered via pull request August 13, 2024 09:30
Status Failure
Total duration 52s
Artifacts

build.yml

on: pull_request
Coding Standard
16s
Coding Standard
Matrix: Lint
Matrix: PHPStan
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

121 errors
Coding Standard
Process completed with exit code 2.
PHPStan (7.4, lowest): src/Symfony/Message.php#L13
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
PHPStan (7.4, lowest): src/Symfony/Message.php#L15
Method PHPStan\Symfony\Message::__construct() has parameter $returnTypes with no value type specified in iterable type array.
PHPStan (7.4, lowest): src/Symfony/Message.php#L26
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
PHPStan (7.4, lowest): src/Symfony/MessageMapFactory.php#L73
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
PHPStan (7.4, lowest): src/Symfony/MessageMapFactory.php#L79
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
PHPStan (7.4, lowest): src/Symfony/MessageMapFactory.php#L101
Foreach overwrites $type with its value variable.
PHPStan (7.4, lowest): src/Symfony/MessageMapFactory.php#L102
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (7.4, lowest): src/Symfony/MessageMapFactory.php#L110
Only booleans are allowed in an if condition, array<int, string> given.
PHPStan (7.4, lowest): src/Symfony/MessageMapFactory.php#L118
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (7.4, lowest): src/Symfony/Service.php#L24
Property PHPStan\Symfony\Service::$tags type has no value type specified in iterable type array.
PHPStan (8.1, lowest): src/Symfony/Message.php#L13
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
PHPStan (8.1, lowest): src/Symfony/Message.php#L15
Method PHPStan\Symfony\Message::__construct() has parameter $returnTypes with no value type specified in iterable type array.
PHPStan (8.1, lowest): src/Symfony/Message.php#L26
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
PHPStan (8.1, lowest): src/Symfony/MessageMapFactory.php#L73
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
PHPStan (8.1, lowest): src/Symfony/MessageMapFactory.php#L79
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
PHPStan (8.1, lowest): src/Symfony/MessageMapFactory.php#L101
Foreach overwrites $type with its value variable.
PHPStan (8.1, lowest): src/Symfony/MessageMapFactory.php#L102
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (8.1, lowest): src/Symfony/MessageMapFactory.php#L110
Only booleans are allowed in an if condition, array<int, string> given.
PHPStan (8.1, lowest): src/Symfony/MessageMapFactory.php#L118
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (8.1, lowest): src/Symfony/Service.php#L24
Property PHPStan\Symfony\Service::$tags type has no value type specified in iterable type array.
PHPStan (7.2, highest): src/Symfony/Message.php#L13
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
PHPStan (7.2, highest): src/Symfony/Message.php#L15
Method PHPStan\Symfony\Message::__construct() has parameter $returnTypes with no value type specified in iterable type array.
PHPStan (7.2, highest): src/Symfony/Message.php#L26
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
PHPStan (7.2, highest): src/Symfony/MessageMapFactory.php#L73
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
PHPStan (7.2, highest): src/Symfony/MessageMapFactory.php#L79
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
PHPStan (7.2, highest): src/Symfony/MessageMapFactory.php#L101
Foreach overwrites $type with its value variable.
PHPStan (7.2, highest): src/Symfony/MessageMapFactory.php#L102
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (7.2, highest): src/Symfony/MessageMapFactory.php#L110
Only booleans are allowed in an if condition, array<int, string> given.
PHPStan (7.2, highest): src/Symfony/MessageMapFactory.php#L118
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (7.2, highest): src/Symfony/Service.php#L24
Property PHPStan\Symfony\Service::$tags type has no value type specified in iterable type array.
PHPStan (8.1, highest): src/Symfony/Message.php#L13
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
PHPStan (8.1, highest): src/Symfony/Message.php#L15
Method PHPStan\Symfony\Message::__construct() has parameter $returnTypes with no value type specified in iterable type array.
PHPStan (8.1, highest): src/Symfony/Message.php#L26
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
PHPStan (8.1, highest): src/Symfony/MessageMapFactory.php#L73
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
PHPStan (8.1, highest): src/Symfony/MessageMapFactory.php#L79
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
PHPStan (8.1, highest): src/Symfony/MessageMapFactory.php#L101
Foreach overwrites $type with its value variable.
PHPStan (8.1, highest): src/Symfony/MessageMapFactory.php#L102
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (8.1, highest): src/Symfony/MessageMapFactory.php#L110
Only booleans are allowed in an if condition, array<int, string> given.
PHPStan (8.1, highest): src/Symfony/MessageMapFactory.php#L118
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (8.1, highest): src/Symfony/Service.php#L24
Property PHPStan\Symfony\Service::$tags type has no value type specified in iterable type array.
PHPStan (7.2, lowest): src/Symfony/Message.php#L13
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
PHPStan (7.2, lowest): src/Symfony/Message.php#L15
Method PHPStan\Symfony\Message::__construct() has parameter $returnTypes with no value type specified in iterable type array.
PHPStan (7.2, lowest): src/Symfony/Message.php#L26
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
PHPStan (7.2, lowest): src/Symfony/MessageMapFactory.php#L73
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
PHPStan (7.2, lowest): src/Symfony/MessageMapFactory.php#L79
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
PHPStan (7.2, lowest): src/Symfony/MessageMapFactory.php#L101
Foreach overwrites $type with its value variable.
PHPStan (7.2, lowest): src/Symfony/MessageMapFactory.php#L102
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (7.2, lowest): src/Symfony/MessageMapFactory.php#L110
Only booleans are allowed in an if condition, array<int, string> given.
PHPStan (7.2, lowest): src/Symfony/MessageMapFactory.php#L118
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (7.2, lowest): src/Symfony/Service.php#L24
Property PHPStan\Symfony\Service::$tags type has no value type specified in iterable type array.
PHPStan (7.3, highest): src/Symfony/Message.php#L13
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
PHPStan (7.3, highest): src/Symfony/Message.php#L15
Method PHPStan\Symfony\Message::__construct() has parameter $returnTypes with no value type specified in iterable type array.
PHPStan (7.3, highest): src/Symfony/Message.php#L26
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
PHPStan (7.3, highest): src/Symfony/MessageMapFactory.php#L73
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
PHPStan (7.3, highest): src/Symfony/MessageMapFactory.php#L79
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
PHPStan (7.3, highest): src/Symfony/MessageMapFactory.php#L101
Foreach overwrites $type with its value variable.
PHPStan (7.3, highest): src/Symfony/MessageMapFactory.php#L102
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (7.3, highest): src/Symfony/MessageMapFactory.php#L110
Only booleans are allowed in an if condition, array<int, string> given.
PHPStan (7.3, highest): src/Symfony/MessageMapFactory.php#L118
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (7.3, highest): src/Symfony/Service.php#L24
Property PHPStan\Symfony\Service::$tags type has no value type specified in iterable type array.
PHPStan (7.3, lowest): src/Symfony/Message.php#L13
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
PHPStan (7.3, lowest): src/Symfony/Message.php#L15
Method PHPStan\Symfony\Message::__construct() has parameter $returnTypes with no value type specified in iterable type array.
PHPStan (8.2, highest): src/Symfony/Message.php#L13
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
PHPStan (7.3, lowest): src/Symfony/Message.php#L26
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
PHPStan (8.2, highest): src/Symfony/Message.php#L15
Method PHPStan\Symfony\Message::__construct() has parameter $returnTypes with no value type specified in iterable type array.
PHPStan (7.3, lowest): src/Symfony/MessageMapFactory.php#L73
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
PHPStan (8.2, highest): src/Symfony/Message.php#L26
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
PHPStan (7.3, lowest): src/Symfony/MessageMapFactory.php#L79
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
PHPStan (8.2, highest): src/Symfony/MessageMapFactory.php#L73
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
PHPStan (8.2, highest): src/Symfony/MessageMapFactory.php#L79
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
PHPStan (7.3, lowest): src/Symfony/MessageMapFactory.php#L101
Foreach overwrites $type with its value variable.
PHPStan (8.2, highest): src/Symfony/MessageMapFactory.php#L101
Foreach overwrites $type with its value variable.
PHPStan (7.3, lowest): src/Symfony/MessageMapFactory.php#L102
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (8.2, highest): src/Symfony/MessageMapFactory.php#L102
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (7.3, lowest): src/Symfony/MessageMapFactory.php#L110
Only booleans are allowed in an if condition, array<int, string> given.
PHPStan (8.2, highest): src/Symfony/MessageMapFactory.php#L110
Only booleans are allowed in an if condition, array<int, string> given.
PHPStan (7.3, lowest): src/Symfony/MessageMapFactory.php#L118
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (8.2, highest): src/Symfony/MessageMapFactory.php#L118
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (7.3, lowest): src/Symfony/Service.php#L24
Property PHPStan\Symfony\Service::$tags type has no value type specified in iterable type array.
PHPStan (8.2, highest): src/Symfony/Service.php#L24
Property PHPStan\Symfony\Service::$tags type has no value type specified in iterable type array.
PHPStan (8.2, lowest): src/Symfony/Message.php#L13
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
PHPStan (8.2, lowest): src/Symfony/Message.php#L15
Method PHPStan\Symfony\Message::__construct() has parameter $returnTypes with no value type specified in iterable type array.
PHPStan (8.2, lowest): src/Symfony/Message.php#L26
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
PHPStan (8.2, lowest): src/Symfony/MessageMapFactory.php#L73
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
PHPStan (8.2, lowest): src/Symfony/MessageMapFactory.php#L79
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
PHPStan (8.2, lowest): src/Symfony/MessageMapFactory.php#L101
Foreach overwrites $type with its value variable.
PHPStan (8.2, lowest): src/Symfony/MessageMapFactory.php#L102
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (8.2, lowest): src/Symfony/MessageMapFactory.php#L110
Only booleans are allowed in an if condition, array<int, string> given.
PHPStan (8.2, lowest): src/Symfony/MessageMapFactory.php#L118
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (8.2, lowest): src/Symfony/Service.php#L24
Property PHPStan\Symfony\Service::$tags type has no value type specified in iterable type array.
PHPStan (8.0, lowest): src/Symfony/Message.php#L13
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
PHPStan (8.0, lowest): src/Symfony/Message.php#L15
Method PHPStan\Symfony\Message::__construct() has parameter $returnTypes with no value type specified in iterable type array.
PHPStan (8.0, lowest): src/Symfony/Message.php#L26
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
PHPStan (8.0, lowest): src/Symfony/MessageMapFactory.php#L73
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
PHPStan (8.0, lowest): src/Symfony/MessageMapFactory.php#L79
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
PHPStan (8.0, lowest): src/Symfony/MessageMapFactory.php#L101
Foreach overwrites $type with its value variable.
PHPStan (8.0, lowest): src/Symfony/MessageMapFactory.php#L102
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (8.0, lowest): src/Symfony/MessageMapFactory.php#L110
Only booleans are allowed in an if condition, array<int, string> given.
PHPStan (8.0, lowest): src/Symfony/MessageMapFactory.php#L118
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (8.0, lowest): src/Symfony/Service.php#L24
Property PHPStan\Symfony\Service::$tags type has no value type specified in iterable type array.
PHPStan (7.4, highest): src/Symfony/Message.php#L13
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
PHPStan (7.4, highest): src/Symfony/Message.php#L15
Method PHPStan\Symfony\Message::__construct() has parameter $returnTypes with no value type specified in iterable type array.
PHPStan (7.4, highest): src/Symfony/Message.php#L26
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
PHPStan (7.4, highest): src/Symfony/MessageMapFactory.php#L73
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
PHPStan (7.4, highest): src/Symfony/MessageMapFactory.php#L79
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
PHPStan (7.4, highest): src/Symfony/MessageMapFactory.php#L101
Foreach overwrites $type with its value variable.
PHPStan (7.4, highest): src/Symfony/MessageMapFactory.php#L102
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (7.4, highest): src/Symfony/MessageMapFactory.php#L110
Only booleans are allowed in an if condition, array<int, string> given.
PHPStan (7.4, highest): src/Symfony/MessageMapFactory.php#L118
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (7.4, highest): src/Symfony/Service.php#L24
Property PHPStan\Symfony\Service::$tags type has no value type specified in iterable type array.
PHPStan (8.0, highest): src/Symfony/Message.php#L13
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
PHPStan (8.0, highest): src/Symfony/Message.php#L15
Method PHPStan\Symfony\Message::__construct() has parameter $returnTypes with no value type specified in iterable type array.
PHPStan (8.0, highest): src/Symfony/Message.php#L26
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
PHPStan (8.0, highest): src/Symfony/MessageMapFactory.php#L73
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
PHPStan (8.0, highest): src/Symfony/MessageMapFactory.php#L79
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
PHPStan (8.0, highest): src/Symfony/MessageMapFactory.php#L101
Foreach overwrites $type with its value variable.
PHPStan (8.0, highest): src/Symfony/MessageMapFactory.php#L102
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (8.0, highest): src/Symfony/MessageMapFactory.php#L110
Only booleans are allowed in an if condition, array<int, string> given.
PHPStan (8.0, highest): src/Symfony/MessageMapFactory.php#L118
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
PHPStan (8.0, highest): src/Symfony/Service.php#L24
Property PHPStan\Symfony\Service::$tags type has no value type specified in iterable type array.