Skip to content

Conversation

@f3l1x
Copy link
Member

@f3l1x f3l1x commented Dec 25, 2025

  • Remove unused Processor::process() method with @phpstan-ignore-line
  • Fix DataApiObject: use self:: for private method, use ReflectionNamedType
  • Refactor ValueFormatter to use match statement instead of dynamic call
  • Fix Payment.php: explicit boolean check for array condition
  • Fix Utils.php: explicit boolean check in ternary operator
  • Upgrade PHPStan level from 1 to 2 in Makefile
  • Update phpstan.neon: remove ValueFormatter ignore, document remaining ignores

Resolves #15

- Remove unused Processor::process() method with @phpstan-ignore-line
- Fix DataApiObject: use self:: for private method, use ReflectionNamedType
- Refactor ValueFormatter to use match statement instead of dynamic call
- Fix Payment.php: explicit boolean check for array condition
- Fix Utils.php: explicit boolean check in ternary operator
- Upgrade PHPStan level from 1 to 2 in Makefile
- Update phpstan.neon: remove ValueFormatter ignore, document remaining ignores

Resolves #15
@f3l1x f3l1x requested a review from trejjam December 25, 2025 19:22
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.

Fix PhpStan L2 errors

3 participants