solido/phpstan-rules

PHPStan rules for Solido suite

Installs: 13 498

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:phpstan-extension

0.3.0 2024-06-09 12:49 UTC

This package is auto-updated.

Last update: 2024-06-09 12:49:49 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