minor #25553 Add php_unit_dedicate_assert to PHPCS (carusogabriel)
This PR was merged into the 2.7 branch.
Discussion
----------
Add php_unit_dedicate_assert to PHPCS
| Q | A
| ------------- | ---
| Branch? | 2.7
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #25420
| License | MIT
| Doc PR | -
Forgot to add this in #25420 😅
Commits
-------
e913b68
Add php_unit_dedicate_assert to PHPCS
This commit is contained in:
commit
f6fc785262
|
@ -10,6 +10,7 @@ return PhpCsFixer\Config::create()
|
|||
'@Symfony:risky' => true,
|
||||
'array_syntax' => array('syntax' => 'long'),
|
||||
'protected_to_private' => false,
|
||||
'php_unit_dedicate_assert' => array('target' => '3.5'),
|
||||
))
|
||||
->setRiskyAllowed(true)
|
||||
->setFinder(
|
||||
|
|
|
@ -231,7 +231,6 @@ abstract class AbstractIntlDateFormatterTest extends TestCase
|
|||
array('s', 3601, '1'),
|
||||
array('s', 3630, '30'),
|
||||
array('s', 43200, '0'), // 12 hours
|
||||
|
||||
);
|
||||
|
||||
$dateTime = new \DateTime('@0');
|
||||
|
|
|
@ -75,7 +75,7 @@ class PhpMatcherDumperTest extends TestCase
|
|||
->setMethods(array('redirect'))
|
||||
->setConstructorArgs(array(new RequestContext()))
|
||||
->getMock();
|
||||
|
||||
|
||||
$matcher->expects($this->once())->method('redirect')->with('/foo%3Abar/', 'foo');
|
||||
|
||||
$matcher->match('/foo%3Abar');
|
||||
|
|
Reference in New Issue