Skip to content

Bump phpstan analysis level from 2 to 3#33

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

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

Conversation

@slayerfx
Copy link
Copy Markdown
Contributor

  • Bump phpstan analysis level from 2 to 3
  • Fix PhpProject::getActiveTask() PHPDoc return type (TaskTask|null)
  • Fix Reader::canRead() PHPDoc return type in GanttProject and MsProjectMPX (PHPProjectbool)
  • Fix Task::$resourceCollection PHPDoc (integer[]Resource[])
  • Fix DocumentProperties::$customProperties PHPDoc with array shape
  • Fix XMLReader::getElements() and getElement() PHPDoc return types
  • Fix XmlDocument tests PHPDocs and add instanceof \DOMElement check in getElement()

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