Permalink
Browse files

Config file for the PHP Coding Standards Fixer for PSR-1 and PSR-2

  • Loading branch information...
vanoudt committed Aug 9, 2016
1 parent 5b075ee commit 917832d796e9e81f20f441a86190774641f8cba5
Showing with 14 additions and 0 deletions.
  1. +14 −0 .php_cs
View
14 .php_cs
@@ -0,0 +1,14 @@
+<?php
+
+$finder = Symfony\CS\Finder\DefaultFinder::create()
+ ->exclude('include/phpword')
+ ->exclude('include/swiftmailer')
+ ->exclude('resources')
+ ->in(__DIR__)
+;
+
+return Symfony\CS\Config\Config::create()
+ ->level(Symfony\CS\FixerInterface::NONE_LEVEL)
+ ->fixers(array('trailing_spaces', 'encoding'))
+ ->finder($finder)
+;

0 comments on commit 917832d

Please sign in to comment.