Support for Messenger HandleTrait return types #660
Annotations
120 errors
PHPStan (8.0, lowest):
src/Symfony/Message.php#L14
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
|
PHPStan (8.2, lowest):
src/Symfony/Message.php#L14
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
|
PHPStan (8.0, lowest):
src/Symfony/Message.php#L16
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#L16
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#L27
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
|
PHPStan (8.2, lowest):
src/Symfony/Message.php#L27
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
|
PHPStan (8.0, lowest):
src/Symfony/MessageMapFactory.php#L79
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
|
PHPStan (8.2, lowest):
src/Symfony/MessageMapFactory.php#L79
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
|
PHPStan (8.0, lowest):
src/Symfony/MessageMapFactory.php#L85
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
|
PHPStan (8.2, lowest):
src/Symfony/MessageMapFactory.php#L85
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
|
PHPStan (8.0, lowest):
src/Symfony/MessageMapFactory.php#L107
Foreach overwrites $type with its value variable.
|
PHPStan (8.2, lowest):
src/Symfony/MessageMapFactory.php#L107
Foreach overwrites $type with its value variable.
|
PHPStan (8.0, lowest):
src/Symfony/MessageMapFactory.php#L108
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#L108
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#L116
Only booleans are allowed in an if condition, array<int, string> given.
|
PHPStan (8.2, lowest):
src/Symfony/MessageMapFactory.php#L116
Only booleans are allowed in an if condition, array<int, string> given.
|
PHPStan (8.0, lowest):
src/Symfony/MessageMapFactory.php#L124
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#L124
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 (8.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#L14
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
|
PHPStan (7.3, highest):
src/Symfony/Message.php#L16
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#L27
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
|
PHPStan (7.3, highest):
src/Symfony/MessageMapFactory.php#L79
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
|
PHPStan (7.3, highest):
src/Symfony/MessageMapFactory.php#L85
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
|
PHPStan (7.3, highest):
src/Symfony/MessageMapFactory.php#L107
Foreach overwrites $type with its value variable.
|
PHPStan (7.3, highest):
src/Symfony/MessageMapFactory.php#L108
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#L116
Only booleans are allowed in an if condition, array<int, string> given.
|
PHPStan (7.3, highest):
src/Symfony/MessageMapFactory.php#L124
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#L14
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
|
PHPStan (7.3, lowest):
src/Symfony/Message.php#L16
Method PHPStan\Symfony\Message::__construct() has parameter $returnTypes with no value type specified in iterable type array.
|
PHPStan (7.3, lowest):
src/Symfony/Message.php#L27
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
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
|
PHPStan (7.3, lowest):
src/Symfony/MessageMapFactory.php#L85
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
|
PHPStan (7.3, lowest):
src/Symfony/MessageMapFactory.php#L107
Foreach overwrites $type with its value variable.
|
PHPStan (7.3, lowest):
src/Symfony/MessageMapFactory.php#L108
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#L116
Only booleans are allowed in an if condition, array<int, string> given.
|
PHPStan (7.3, lowest):
src/Symfony/MessageMapFactory.php#L124
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 (7.2, highest):
src/Symfony/Message.php#L14
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
|
PHPStan (7.2, highest):
src/Symfony/Message.php#L16
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#L27
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
|
PHPStan (7.2, highest):
src/Symfony/MessageMapFactory.php#L79
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
|
PHPStan (7.2, highest):
src/Symfony/MessageMapFactory.php#L85
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
|
PHPStan (7.2, highest):
src/Symfony/MessageMapFactory.php#L107
Foreach overwrites $type with its value variable.
|
PHPStan (7.2, highest):
src/Symfony/MessageMapFactory.php#L108
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#L116
Only booleans are allowed in an if condition, array<int, string> given.
|
PHPStan (7.2, highest):
src/Symfony/MessageMapFactory.php#L124
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#L14
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
|
PHPStan (8.1, highest):
src/Symfony/Message.php#L16
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#L27
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
|
PHPStan (8.1, highest):
src/Symfony/MessageMapFactory.php#L79
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
|
PHPStan (8.1, highest):
src/Symfony/MessageMapFactory.php#L85
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
|
PHPStan (8.1, highest):
src/Symfony/MessageMapFactory.php#L107
Foreach overwrites $type with its value variable.
|
PHPStan (8.1, highest):
src/Symfony/MessageMapFactory.php#L108
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#L116
Only booleans are allowed in an if condition, array<int, string> given.
|
PHPStan (8.1, highest):
src/Symfony/MessageMapFactory.php#L124
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 (8.2, highest):
src/Symfony/Message.php#L14
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
|
PHPStan (8.2, highest):
src/Symfony/Message.php#L16
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#L27
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
|
PHPStan (8.2, highest):
src/Symfony/MessageMapFactory.php#L79
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
|
PHPStan (8.2, highest):
src/Symfony/MessageMapFactory.php#L85
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
|
PHPStan (8.2, highest):
src/Symfony/MessageMapFactory.php#L107
Foreach overwrites $type with its value variable.
|
PHPStan (8.2, highest):
src/Symfony/MessageMapFactory.php#L108
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#L116
Only booleans are allowed in an if condition, array<int, string> given.
|
PHPStan (8.2, highest):
src/Symfony/MessageMapFactory.php#L124
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
|
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.0, highest):
src/Symfony/Message.php#L14
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
|
PHPStan (8.0, highest):
src/Symfony/Message.php#L16
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#L27
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
|
PHPStan (8.0, highest):
src/Symfony/MessageMapFactory.php#L79
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
|
PHPStan (8.0, highest):
src/Symfony/MessageMapFactory.php#L85
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
|
PHPStan (8.0, highest):
src/Symfony/MessageMapFactory.php#L107
Foreach overwrites $type with its value variable.
|
PHPStan (8.0, highest):
src/Symfony/MessageMapFactory.php#L108
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#L116
Only booleans are allowed in an if condition, array<int, string> given.
|
PHPStan (8.0, highest):
src/Symfony/MessageMapFactory.php#L124
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.
|
PHPStan (7.4, lowest):
src/Symfony/Message.php#L14
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
|
PHPStan (7.4, lowest):
src/Symfony/Message.php#L16
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#L27
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
|
PHPStan (7.4, lowest):
src/Symfony/MessageMapFactory.php#L79
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
|
PHPStan (7.4, lowest):
src/Symfony/MessageMapFactory.php#L85
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
|
PHPStan (7.4, lowest):
src/Symfony/MessageMapFactory.php#L107
Foreach overwrites $type with its value variable.
|
PHPStan (7.4, lowest):
src/Symfony/MessageMapFactory.php#L108
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#L116
Only booleans are allowed in an if condition, array<int, string> given.
|
PHPStan (7.4, lowest):
src/Symfony/MessageMapFactory.php#L124
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 (7.2, lowest):
src/Symfony/Message.php#L14
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
|
PHPStan (7.2, lowest):
src/Symfony/Message.php#L16
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#L27
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
|
PHPStan (7.2, lowest):
src/Symfony/MessageMapFactory.php#L79
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
|
PHPStan (7.2, lowest):
src/Symfony/MessageMapFactory.php#L85
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
|
PHPStan (7.2, lowest):
src/Symfony/MessageMapFactory.php#L107
Foreach overwrites $type with its value variable.
|
PHPStan (7.2, lowest):
src/Symfony/MessageMapFactory.php#L108
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#L116
Only booleans are allowed in an if condition, array<int, string> given.
|
PHPStan (7.2, lowest):
src/Symfony/MessageMapFactory.php#L124
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 (8.1, lowest):
src/Symfony/Message.php#L14
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
|
PHPStan (8.1, lowest):
src/Symfony/Message.php#L16
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#L27
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
|
PHPStan (8.1, lowest):
src/Symfony/MessageMapFactory.php#L79
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
|
PHPStan (8.1, lowest):
src/Symfony/MessageMapFactory.php#L85
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
|
PHPStan (8.1, lowest):
src/Symfony/MessageMapFactory.php#L107
Foreach overwrites $type with its value variable.
|
PHPStan (8.1, lowest):
src/Symfony/MessageMapFactory.php#L108
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#L116
Only booleans are allowed in an if condition, array<int, string> given.
|
PHPStan (8.1, lowest):
src/Symfony/MessageMapFactory.php#L124
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.4, highest):
src/Symfony/Message.php#L14
Property PHPStan\Symfony\Message::$returnTypes type has no value type specified in iterable type array.
|
PHPStan (7.4, highest):
src/Symfony/Message.php#L16
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#L27
Method PHPStan\Symfony\Message::getReturnTypes() return type has no value type specified in iterable type array.
|
PHPStan (7.4, highest):
src/Symfony/MessageMapFactory.php#L79
Parameter #1 $class of class PHPStan\Symfony\Message constructor expects string, int|string given.
|
PHPStan (7.4, highest):
src/Symfony/MessageMapFactory.php#L85
Method PHPStan\Symfony\MessageMapFactory::guessHandledMessages() return type has no value type specified in iterable type iterable.
|
PHPStan (7.4, highest):
src/Symfony/MessageMapFactory.php#L107
Foreach overwrites $type with its value variable.
|
PHPStan (7.4, highest):
src/Symfony/MessageMapFactory.php#L108
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#L116
Only booleans are allowed in an if condition, array<int, string> given.
|
PHPStan (7.4, highest):
src/Symfony/MessageMapFactory.php#L124
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.
|