Enabling and disabling the Code Sniffer for Spryks
Edit on GitHubBefore writing files into a project, the Code Sniffer fixes all the code style issues and imports the missing namespaces. For this reason, use FQCNs everywhere (templates, arguments, etc.).
However, we recommend checking the raw generated code without any post-processing first. Commands are also executed much faster with such code.
To check how the generated files look without running the Code Sniffer, disable the Code Sniffer by prefixing the console command with TESTING=true
:
TESTING=true php vendor/spryker-sdk/spryk-src/bin/spryk <Spryk name> <Spryk arguments>
Thank you!
For submitting the form