Skip to content

Update konradmichalik/phpstan-typo3-preset to ^0.4 and run new checks #260

Description

@konradmichalik

Summary

konradmichalik/phpstan-typo3-preset was released in 0.4.0, adding ergebnis/phpstan-rules (declareStrictTypes, finalInAbstractClass) and widening the tomasvotruba/cognitive-complexity constraint. Tests/CGL/composer.json currently pins the preset below ^0.4, which does not resolve 0.4.0 since caret ranges on 0.x versions only allow patch updates.

Tasks

  • Bump konradmichalik/phpstan-typo3-preset in Tests/CGL/composer.json to ^0.4
  • Run composer update in Tests/CGL (no lock file there, so a fresh install picks up the new version)
  • Run composer sca:php and fix or baseline any new findings, in particular missing declare(strict_types=1) flagged by ergebnis.declareStrictTypes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions