Support Symfony #[AutowireLocator] attribute #725
Annotations
7 errors and 1 warning
          | 
                   
                      
                        src/Rules/Symfony/ContainerInterfacePrivateServiceRule.php#L144
                      
                       
                  PHPDoc tag @var with type PHPStan\Reflection\PropertyReflection is not subtype of native type PHPStan\Reflection\ExtendedPropertyReflection. 
                         | 
              
| 
                   
                      
                        src/Rules/Symfony/ContainerInterfacePrivateServiceRule.php#L147
                      
                       
                  Although PHPStan\Reflection\Php\PhpPropertyReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same. 
                         | 
              
| 
                   
                      
                        src/Rules/Symfony/ContainerInterfacePrivateServiceRule.php#L153
                      
                       
                  PHPDoc tag @var with type class-string is not subtype of native type 'Symfony\\Component…'. 
                         | 
              
| 
                   
                      
                        src/Rules/Symfony/ContainerInterfacePrivateServiceRule.php#L156
                      
                       
                  Parameter #1 $autowireLocatorAttributes of method PHPStan\Rules\Symfony\ContainerInterfacePrivateServiceRule::isAutowireLocatorService() expects array<int, PHPStan\BetterReflection\Reflection\Adapter\FakeReflectionAttribute|PHPStan\BetterReflection\Reflection\ReflectionAttribute>, array<int, PHPStan\BetterReflection\Reflection\Adapter\FakeReflectionAttribute|PHPStan\BetterReflection\Reflection\Adapter\ReflectionAttribute> given. 
                         | 
              
| 
                   
                      
                        src/Rules/Symfony/ContainerInterfacePrivateServiceRule.php#L172
                      
                       
                  Cannot access property $value on PhpParser\Node\Expr\ArrayItem|null. 
                         | 
              
| 
                   
                      
                        src/Rules/Symfony/ContainerInterfacePrivateServiceRule.php#L172
                      
                       
                  Variable $autowireLocatorService in PHPDoc tag @var does not match assigned variable $autowireLocatorServiceExpr. 
                         | 
              
| 
                   | 
              
| 
                   ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636 
                         | 
              
The logs for this run have expired and are no longer available.
        
      Loading