You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHPDoc documentation for all functions, class properties and constants
*: Exceptions made for where incorrect naming conventions are required by the SilverStripe framework.
PHP Code Sniffer
We enforce that our code meets PSR-2 compatibility by running PHP Code Sniffer checks in our continuous integration environments.
SilverLeague projects will have a phpcs.xml.dist file which specifies the folder paths and PSR-2 as the standard to check. If you want to override this configuration with a custom file you can create phpcs.xml which will take priority, or provide the --standard=/path/to/phpcs.xml argument to phpcs.
Please see the Templates page for an example file template.