Skip to content

Bump phpstan analysis level from 3 to 4#34

Merged
Progi1984 merged 2 commits into
PHPOffice:developfrom
slayerfx:ci/phpstan-level-4
May 21, 2026
Merged

Bump phpstan analysis level from 3 to 4#34
Progi1984 merged 2 commits into
PHPOffice:developfrom
slayerfx:ci/phpstan-level-4

Conversation

@slayerfx
Copy link
Copy Markdown
Contributor

  • Broaden PHPDoc parameter types for setter methods accepting flexible inputs (intint|string|null in DocumentInformations, DocumentProperties)
  • Broaden PHPDoc return types for nullable getters in Task (getDuration, getStartDate, getEndDate, getProgress — added |null)
  • Fix Reader/MsProjectMPX::$iParentTaskIdx PHPDoc (was integer, now integer|null)
  • Bump phpstan analysis level from 3 to 4

@Progi1984 Progi1984 added this to the 0.3.0 milestone May 21, 2026
@Progi1984 Progi1984 merged commit c847bdf into PHPOffice:develop May 21, 2026
27 checks passed
@slayerfx slayerfx deleted the ci/phpstan-level-4 branch May 21, 2026 15:04
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