Skip to content

Commit

Permalink
[TASK] Update the development tools
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverklee committed Dec 31, 2024
1 parent 6a3f240 commit ac9e389
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .phive/phars.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="composer-normalize" version="^2.42.0" installed="2.44.0" location="./.phive/composer-normalize" copy="false"/>
<phar name="php-cs-fixer" version="^3.58.1" installed="3.64.0" location="./.phive/php-cs-fixer" copy="false"/>
<phar name="composer-normalize" version="^2.42.0" installed="2.45.0" location="./.phive/composer-normalize" copy="false"/>
<phar name="php-cs-fixer" version="^3.58.1" installed="3.66.0" location="./.phive/php-cs-fixer" copy="false"/>
<phar name="phpmd" version="^2.15.0" installed="2.15.0" location="./.phive/phpmd" copy="false"/>
</phive>
4 changes: 3 additions & 1 deletion config/php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@
'php_unit_mock_short_will_return' => true,
'php_unit_set_up_tear_down_visibility' => true,
'php_unit_test_annotation' => ['style' => 'annotation'],
'php_unit_test_case_static_method_calls' => ['call_type' => 'self'],
// `'methods' => ['createStub' => 'this']` is required as long as we are not on PHPUnit 10.x yet
// (where that method was made static).
'php_unit_test_case_static_method_calls' => ['call_type' => 'self', 'methods' => ['createStub' => 'this']],

// PHPDoc
'no_blank_lines_after_phpdoc' => true,
Expand Down

0 comments on commit ac9e389

Please sign in to comment.