File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed
Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,16 @@ public function addFiles(array $files): self
7171 return $ this ;
7272 }
7373
74+ /**
75+ * @param list<string> $files
76+ */
77+ public function exclude (array $ files ): self
78+ {
79+ $ this ->getFinder ()->exclude ($ files );
80+
81+ return $ this ;
82+ }
83+
7484 public function getConfig (): ConfigInterface
7585 {
7686 return $ this ->config ->setRules ($ this ->ruleSet ->rules ());
Original file line number Diff line number Diff line change @@ -148,6 +148,9 @@ public function rules(): array
148148 'self_static_accessor ' => true ,
149149 'no_useless_else ' => true ,
150150 'no_useless_return ' => true ,
151+ 'class_definition ' => [
152+ 'space_before_parenthesis ' => false ,
153+ ],
151154
152155 /*
153156 * @PhpCsFixer:risky
Original file line number Diff line number Diff line change @@ -43,6 +43,13 @@ public function rules(): array
4343 */
4444 '@PER-CS2.0 ' => true ,
4545
46+ /*
47+ * @PER-CS2.0 Overrides
48+ */
49+ 'class_definition ' => [
50+ 'space_before_parenthesis ' => false ,
51+ ],
52+
4653 /*
4754 * @Symfony
4855 */
You can’t perform that action at this time.
0 commit comments