solido/phpstan-rules

PHPStan rules for Solido suite

Installs: 4 821

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:phpstan-extension

0.2.1 2021-10-06 08:57 UTC

This package is auto-updated.

Last update: 2022-08-06 11:13:41 UTC


README

This package contains the custom rules to be used in solido-based projects.

Configuration

When using enhanced DTOs, PHPStan should be configured with DTO namespaces:

# phpstan.neon

parameters:
    solido:
        dto_namespaces:
            - My\Application\DTO
            - App\Models
        excluded_interfaces:
            - My\Application\DTO\NonDTOInterface