Skip to content

Update check for #[MustUseResult] on method definitions in interfaces and parent classes #1007

Update check for #[MustUseResult] on method definitions in interfaces and parent classes

Update check for #[MustUseResult] on method definitions in interfaces and parent classes #1007

Triggered via pull request February 9, 2025 14:42
Status Failure
Total duration 53s
Artifacts

full-checks.yml

on: pull_request
Matrix: Full CI checks for all supported PHP versions
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 20 warnings
Full CI checks for all supported PHP versions (highest, 8.4, ubuntu-22.04): 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.
Full CI checks for all supported PHP versions (highest, 8.4, ubuntu-22.04): 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.
Full CI checks for all supported PHP versions (highest, 8.4, ubuntu-22.04): 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.
Full CI checks for all supported PHP versions (highest, 8.4, ubuntu-22.04): 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.
Full CI checks for all supported PHP versions (highest, 8.4, ubuntu-22.04): 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.
Full CI checks for all supported PHP versions (highest, 8.4, ubuntu-22.04): 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.
Full CI checks for all supported PHP versions (highest, 8.4, ubuntu-22.04): 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.
Full CI checks for all supported PHP versions (highest, 8.4, ubuntu-22.04): 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.
Full CI checks for all supported PHP versions (highest, 8.4, ubuntu-22.04): 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.
Full CI checks for all supported PHP versions (highest, 8.4, ubuntu-22.04): 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.
Full CI checks for all supported PHP versions (highest, 8.0, ubuntu-22.04)
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
Full CI checks for all supported PHP versions (highest, 8.2, ubuntu-22.04)
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
Full CI checks for all supported PHP versions (highest, 8.1, ubuntu-22.04)
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
Full CI checks for all supported PHP versions (lowest, 8.1, ubuntu-22.04)
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
Full CI checks for all supported PHP versions (highest, 8.4, ubuntu-22.04)
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
Full CI checks for all supported PHP versions (lowest, 8.3, ubuntu-22.04)
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
Full CI checks for all supported PHP versions (highest, 8.3, ubuntu-22.04)
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
Full CI checks for all supported PHP versions (lowest, 8.4, ubuntu-22.04)
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
Full CI checks for all supported PHP versions (lowest, 8.0, ubuntu-22.04)
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
Full CI checks for all supported PHP versions (lowest, 8.2, ubuntu-22.04)
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
Full CI checks for all supported PHP versions (highest, 8.1, ubuntu-22.04)
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/
Full CI checks for all supported PHP versions (highest, 8.0, ubuntu-22.04)
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/
Full CI checks for all supported PHP versions (highest, 8.4, ubuntu-22.04)
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/
Full CI checks for all supported PHP versions (highest, 8.2, ubuntu-22.04)
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/
Full CI checks for all supported PHP versions (lowest, 8.3, ubuntu-22.04)
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/
Full CI checks for all supported PHP versions (lowest, 8.1, ubuntu-22.04)
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/
Full CI checks for all supported PHP versions (highest, 8.3, ubuntu-22.04)
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/
Full CI checks for all supported PHP versions (lowest, 8.0, ubuntu-22.04)
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/
Full CI checks for all supported PHP versions (lowest, 8.2, ubuntu-22.04)
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/
Full CI checks for all supported PHP versions (lowest, 8.4, ubuntu-22.04)
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/