8000 minor #25553 Add php_unit_dedicate_assert to PHPCS (carusogabriel) · symfony/symfony@f6fc785 · GitHub
[go: up one dir, main page]

Skip to content

Commit f6fc785

Browse files
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
2 parents f99eb65 + e913b68 commit f6fc785

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.php_cs.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ return PhpCsFixer\Config::create()
1010
'@Symfony:risky' => true,
1111
'array_syntax' => array('syntax' => 'long'),
1212
'protected_to_private' => false,
13+
'php_unit_dedicate_assert' => array('target' => '3.5'),
1314
))
1415
->setRiskyAllowed(true)
1516
->setFinder(

src/Symfony/Component/Intl/Tests/DateFormatter/AbstractIntlDateFormatterTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ public function formatProvider()
231231
array('s', 3601, '1'),
232232
array('s', 3630, '30'),
233233
array('s', 43200, '0'), // 12 hours
234-
235234
);
236235

237236
$dateTime = new \DateTime('@0');

src/Symfony/Component/Routing/Tests/Matcher/Dumper/PhpMatcherDumperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function testRedirectPreservesUrlEncoding()
7575
->setMethods(array('redirect'))
7676
->setConstructorArgs(array(new RequestContext()))
7777
->getMock();
78-
78+
7979
$matcher->expects($this->once())->method('redirect')->with('/foo%3Abar/', 'foo');
8080

8181
$matcher->match('/foo%3Abar');

0 commit comments

Comments
 (0)
0