Skip to content

Commit dcfc8b4

Browse files
No need to support lower PHPUnit versions
1 parent efa10fb commit dcfc8b4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"symfony/framework-bundle": "~2.8|~3.0|~4.0",
3636
"symfony/validator": "~2.8|~3.0|~4.0",
3737
"symfony/yaml": "~2.8|~3.0|~4.0",
38-
"phpunit/phpunit": "^4.8|^6.0",
38+
"phpunit/phpunit": "^6.0",
3939
"symfony/security": "~2.8|~3.0|~4.0"
4040
}
4141
}

features/bootstrap/FeatureContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function iRunTheCommandAndIProvideAsInputOneLine($name, $input)
6161
*/
6262
public function theOutputShouldBe(PyStringNode $expectedOutput)
6363
{
64-
\PHPUnit_Framework_Assert::assertSame(
64+
Assertion::same(
6565
StringUtil::trimLines((string) $expectedOutput),
6666
StringUtil::trimLines($this->getOutput())
6767
);

git-hooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ if [ ! -x "$PHP_CS_FIXER" ]; then
1818
fi
1919

2020
git status --porcelain | grep -e '^[AM]\(.*\).php$' | cut -c 3- | while read line; do
21-
$PHP_CS_FIXER fix --config-file=$PHP_CS_CONFIG --verbose "$line";
21+
$PHP_CS_FIXER fix --config=$PHP_CS_CONFIG --verbose "$line";
2222
git add "$line";
2323
done

0 commit comments

Comments
 (0)