Skip to content

Commit 10e3f15

Browse files
committed
Force static calls in PHPUnit
1 parent 418c753 commit 10e3f15

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ConfigFactory.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,9 @@ public static function create(array $rules = []) : Config
244244
'sort_algorithm' => 'none',
245245
],
246246
'phpdoc_var_without_name' => true,
247+
'php_unit_test_case_static_method_calls' => [
248+
'call_type' => 'self',
249+
],
247250
'return_type_declaration' => [
248251
'space_before' => 'one',
249252
],

0 commit comments

Comments
 (0)