Skip to content

fix(ci): resolve PHPStan L9 errors and PHPUnit 12 false-positive warn…#1

Merged
walmir-silva merged 1 commit intomainfrom
develop
Mar 3, 2026
Merged

fix(ci): resolve PHPStan L9 errors and PHPUnit 12 false-positive warn…#1
walmir-silva merged 1 commit intomainfrom
develop

Conversation

@walmir-silva
Copy link
Copy Markdown
Contributor

…ings

  • FileScanner: add typed @param arrays to extractNamespace, extractIdentifier, extractQualifiedName, extractInterfaceList, extractAttribute, isAnonymousClass, and computeCacheKey
  • ReflectionScanner: add @template T + @param ReflectionClass to buildMetadataFromReflection; and @param array to computeCacheKey
  • Workflow: expand phpunit.xml.dist patch to disable failOnWarning and restrictWarnings — PHPUnit 12.5 emits false-positives for classes extending built-ins outside

…ings

- FileScanner: add typed @param arrays to extractNamespace, extractIdentifier,
  extractQualifiedName, extractInterfaceList, extractAttribute, isAnonymousClass,
  and computeCacheKey
- ReflectionScanner: add @template T + @param ReflectionClass<T> to
  buildMetadataFromReflection; and @param array<string> to computeCacheKey
- Workflow: expand phpunit.xml.dist patch to disable failOnWarning and
  restrictWarnings — PHPUnit 12.5 emits false-positives for classes extending
  built-ins outside <source>
@walmir-silva walmir-silva merged commit 5c4d6da into main Mar 3, 2026
12 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant