Skip to content

Commit 432f847

Browse files
committed
[TASK] Update the development tools
1 parent 9aba886 commit 432f847

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.phive/phars.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="composer-normalize" version="^2.44.0" installed="2.44.0" location="./.phive/composer-normalize" copy="false"/>
4-
<phar name="php-cs-fixer" version="^3.59.3" installed="3.64.0" location="./.phive/php-cs-fixer" copy="false"/>
3+
<phar name="composer-normalize" version="^2.44.0" installed="2.45.0" location="./.phive/composer-normalize" copy="false"/>
4+
<phar name="php-cs-fixer" version="^3.59.3" installed="3.66.0" location="./.phive/php-cs-fixer" copy="false"/>
55
</phive>

config/php-cs-fixer.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@
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-
'php_unit_test_case_static_method_calls' => ['call_type' => 'self'],
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']],
7577

7678
// PHPDoc
7779
'no_blank_lines_after_phpdoc' => true,

0 commit comments

Comments
 (0)