Skip to content

Commit bf782ec

Browse files
Disable php_unit_mock_short_will_return rule of php-cs
1 parent 326a74c commit bf782ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.php_cs.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ return PhpCsFixer\Config::create()
1818
'native_function_invocation' => ['include' => ['@compiler_optimized'], 'scope' => 'namespaced'],
1919
// Part of future @Symfony ruleset in PHP-CS-Fixer To be removed from the config file once upgrading
2020
'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
21+
// Part of @Symfony:risky in PHP-CS-Fixer 2.15.0. Incompatible with PHPUnit 4 that is required for Symfony 3.4
22+
'php_unit_mock_short_will_return' => false,
2123
])
2224
->setRiskyAllowed(true)
2325
->setFinder(

0 commit comments

Comments
 (0)