From 451e7961d22d8d25dabf5344be93570ca141385c Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Fri, 28 Apr 2017 07:28:35 +1200 Subject: [PATCH] Add PHPCS configuration for SilverStripe 3.x Based on PSR-2, allowing some exceptions like class and method naming rules and namespaces for every class --- phpcs.xml.dist | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 phpcs.xml.dist diff --git a/phpcs.xml.dist b/phpcs.xml.dist new file mode 100644 index 0000000..7004b66 --- /dev/null +++ b/phpcs.xml.dist @@ -0,0 +1,25 @@ + + + Coding standard for SilverStripe 3.x + + + */vendor/* + */thirdparty/* + ^index.php + + + + + + + + + + + + + + + + +