Skip to content

Comments

Prepare codebase for major release#206

Merged
lchrusciel merged 2 commits intomasterfrom
claude/prepare-major-release-dcex2
Jan 12, 2026
Merged

Prepare codebase for major release#206
lchrusciel merged 2 commits intomasterfrom
claude/prepare-major-release-dcex2

Conversation

@lchrusciel
Copy link
Owner

  • Convert all property docblocks to typed properties
  • Add return types to all methods (e.g., get(): ?object)
  • Add parameter types (e.g., prettifyJson(string|false $content))
  • Upgrade PHPStan level from 5 to 8
  • Update ECS configuration from PHP 7.1 to PHP 8.2 standards
  • Add proper generic type annotations for Doctrine Collections
  • Modernize test files to comply with PHPStan level 8

BREAKING: Requires PHP 8.2+ due to union types and typed properties

Q A
Bug fix? no
New feature? no
BC breaks? no
Related tickets fixes #X, partially #Y, mentioned in #Z
License MIT

- Convert all property docblocks to typed properties
- Add return types to all methods (e.g., get(): ?object)
- Add parameter types (e.g., prettifyJson(string|false $content))
- Upgrade PHPStan level from 5 to 8
- Update ECS configuration from PHP 7.1 to PHP 8.2 standards
- Add proper generic type annotations for Doctrine Collections
- Modernize test files to comply with PHPStan level 8

BREAKING: Requires PHP 8.2+ due to union types and typed properties
The ignore patterns were not matching any errors, causing PHPStan to
fail with "unmatched ignored error" errors.
@lchrusciel lchrusciel merged commit 0aa0a8d into master Jan 12, 2026
28 checks passed
@lchrusciel lchrusciel deleted the claude/prepare-major-release-dcex2 branch January 16, 2026 14:49
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.

2 participants