Skip to content

Commit b8b2bad

Browse files
committed
Remove the special handling for createStub again
We're not using `createStub` at this point (and also not `createMock`, so let's keep the PHP-CS-Fixer configuration simple for now.
1 parent 432f847 commit b8b2bad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

config/php-cs-fixer.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@
7171
'php_unit_mock_short_will_return' => true,
7272
'php_unit_set_up_tear_down_visibility' => true,
7373
'php_unit_test_annotation' => ['style' => 'annotation'],
74-
// `'methods' => ['createStub' => 'this']` is required as long as we are not on PHPUnit 10.x yet
75-
// (where that method was made static).
76-
'php_unit_test_case_static_method_calls' => ['call_type' => 'self', 'methods' => ['createStub' => 'this']],
74+
'php_unit_test_case_static_method_calls' => ['call_type' => 'self'],
7775

7876
// PHPDoc
7977
'no_blank_lines_after_phpdoc' => true,

0 commit comments

Comments
 (0)