Skip to content

PHPStan & CS-Fixer Rules for Plugin Compatibility Across Shopware Versions #49

@pavel-rossinsky

Description

@pavel-rossinsky

The PHPStan job for a Shopware plugin or app requires a configuration file. I am developing a plugin or app intended to be compatible with Shopware versions 6.4.* through the latest release.

Are there specific sets of mandatory PHPStan rules that my plugin must adhere to for each Shopware version? For example, should I use version-specific config files like 6.4-phpstan.neon.dist for Shopware 6.4.*?

Additionally, does the same principle apply to the configuration of PHP CS Fixer? Are there distinct mandatory rules for code style compliance per Shopware version?

Thanks in advance for your help!

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