Skip to content
Discussion options

You must be logged in to vote

Hi, the AST printer is independent on coding standard. For custom coding standard, it's better to use your favorite CS tool.

We use ECS as easy to setup and use:

# ecs.php
use Symplify\EasyCodingStandard\Config\ECSConfig;

return ECSConfig::configure()
    ->withPaths([
        __DIR__ . '/src',
    ])
    ->withPreparedSets(psr12: true);

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by interduo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants