Update check for #[MustUseResult] on method definitions in interfaces and parent classes #1007
Annotations
10 errors and 2 warnings
          | 
                      
                        src/Rules/AbstractFriendRule.php#L53
                      
                       Parameter #1 $reflectionClass of static method DaveLiddament\PhpstanPhpLanguageExtensions\Helpers\AttributeValueReader::getAttributeValuesForMethod() expects ReflectionClass<object>, PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass|PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum given. | 
| 
                      
                        src/Rules/AbstractFriendRule.php#L64
                      
                       Parameter #1 $reflectionClass of static method DaveLiddament\PhpstanPhpLanguageExtensions\Helpers\AttributeValueReader::getAttributeValuesForClass() expects ReflectionClass<object>, PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass|PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum given. | 
| 
                      
                        src/Rules/AbstractNamespaceVisibilityRule.php#L57
                      
                       Parameter #1 $class of static method DaveLiddament\PhpstanPhpLanguageExtensions\AttributeValueReaders\AttributeFinder::getAttributeOnMethod() expects ReflectionClass<object>, PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass|PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum given. | 
| 
                      
                        src/Rules/AbstractNamespaceVisibilityRule.php#L69
                      
                       Parameter #1 $class of static method DaveLiddament\PhpstanPhpLanguageExtensions\AttributeValueReaders\AttributeFinder::getAttributeOnClass() expects ReflectionClass<object>, PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass|PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum given. | 
| 
                      
                        src/Rules/MustUseResultRule.php#L90
                      
                       Parameter #1 $class of static method DaveLiddament\PhpstanPhpLanguageExtensions\AttributeValueReaders\AttributeFinder::hasAttributeOnMethod() expects ReflectionClass<object>, PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass|PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum given. | 
| 
                      
                        src/Rules/MustUseResultRule.php#L99
                      
                       Parameter #1 $class of static method DaveLiddament\PhpstanPhpLanguageExtensions\AttributeValueReaders\AttributeFinder::hasAttributeOnMethod() expects ReflectionClass<object>, PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass|PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum given. | 
| 
                      
                        src/Rules/OverrideRule.php#L38
                      
                       Parameter #1 $class of static method DaveLiddament\PhpstanPhpLanguageExtensions\AttributeValueReaders\AttributeFinder::hasAttributeOnMethod() expects ReflectionClass<object>, PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass|PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum given. | 
| 
                      
                        src/Rules/RestrictTraitToRule.php#L51
                      
                       Parameter #1 $class of static method DaveLiddament\PhpstanPhpLanguageExtensions\AttributeValueReaders\AttributeFinder::getAttributeOnClass() expects ReflectionClass<object>, PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass|PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum given. | 
| 
                      
                        tests/Unit/AttributeValueReaderTest.php#L39
                      
                       Parameter #1 $reflectionClass of static method DaveLiddament\PhpstanPhpLanguageExtensions\Helpers\AttributeValueReader::getAttributeValuesForMethod() expects ReflectionClass<object>, ReflectionClass<DaveLiddament\PhpstanPhpLanguageExtensions\Tests\Unit\data\MethodAttributes> given. | 
| 
                      
                        tests/Unit/AttributeValueReaders/AttributeFinderTest.php#L20
                      
                       Parameter #1 $class of static method DaveLiddament\PhpstanPhpLanguageExtensions\AttributeValueReaders\AttributeFinder::getAttributeOnClass() expects ReflectionClass<object>, ReflectionClass<DaveLiddament\PhpstanPhpLanguageExtensions\Tests\Unit\data\Class1Friend> given. | 
| Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down | 
| The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ | 
The logs for this run have expired and are no longer available.
        
      Loading