Skip to content

Commit dbc514e

Browse files
committed
minor #17872 [CS] PHPUnit dedicate assert fixer acceptance test (SpacePossum)
This PR was merged into the 2.3 branch. Discussion ---------- [CS] PHPUnit dedicate assert fixer acceptance test | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | no | License | MIT The goal of this PR is _not_ to have it merge, but to check with SF community if a new Fixer (PHP-CS-Fixer/PHP-CS-Fixer#1792) should be added to the set of Symfony fixers (at PHP-CS-Fixer). Commits ------- fb141f2 PhpUnitNoDedicateAssertFixer results
2 parents 41afe2a + fb141f2 commit dbc514e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Shell/CommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function testExecute()
146146
$cmd->add('--version');
147147
$result = $cmd->execute();
148148

149-
$this->assertTrue(is_array($result));
149+
$this->assertInternalType('array', $result);
150150
$this->assertNotEmpty($result);
151151
$this->assertRegexp('/PHP|HipHop/', $result[0]);
152152
}

0 commit comments

Comments
 (0)