8000 Add php_unit_dedicate_assert to PHPCS · symfony/symfony@e913b68 · GitHub
[go: up one dir, main page]

Skip to content

Commit e913b68

Browse files
committed
Add php_unit_dedicate_assert to PHPCS
1 parent 98bfe80 commit e913b68

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