File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1357,7 +1357,7 @@ Choose from the list of available rules:
13571357 - ``target `` (``'5.4' ``, ``'5.5' ``, ``'newest' ``): target version of PHPUnit; defaults to
13581358 ``'newest' ``
13591359
1360- * **php_unit_mock_short_will_return **
1360+ * **php_unit_mock_short_will_return ** [@Symfony:risky, @PhpCsFixer:risky]
13611361
13621362 Usage of PHPUnit's mock e.g. ``->will($this->returnValue(..)) `` must be
13631363 replaced by its shorter equivalent such as ``->willReturn(...) ``.
Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ final class RuleSet implements RuleSetInterface
199199 'use_escape_sequences_in_strings ' => false ,
200200 ],
201201 'php_unit_construct ' => true ,
202+ 'php_unit_mock_short_will_return ' => true ,
202203 'psr4 ' => true ,
203204 'self_accessor ' => true ,
204205 'set_type_to_cast ' => true ,
You can’t perform that action at this time.
0 commit comments