Skip to content

Commit dae385b

Browse files
authored
Update PHPUnit (phiamo#1267)
* Update composer.json * Fix compatibility * Update travis configuration * Remove unused syntaxCheck setting from phpunit.xml.dist
1 parent 68aa353 commit dae385b

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ matrix:
77
include:
88
- php: 7.2
99
- php: 7.3
10+
- php: 7.4
1011

1112
cache:
1213
directories:

Tests/Form/AbstractDivLayoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ abstract class AbstractDivLayoutTest extends FormIntegrationTestCase
4646
/**
4747
* @throws \Twig_Error_Loader
4848
*/
49-
protected function setUp()
49+
protected function setUp(): void
5050
{
5151
// Setup factory for tabs
5252
$this->tabFactory = Forms::createFormFactory();

Tests/Form/TypeTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class TypeTestCase extends KernelTestCase
5151
/**
5252
* Set up.
5353
*/
54-
protected function setUp()
54+
protected function setUp(): void
5555
{
5656
self::bootKernel();
5757
$this->container = self::$kernel->getContainer();

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"twig/twig": "^1.40 || ^2.9"
3131
},
3232
"require-dev": {
33-
"phpunit/phpunit": "^6.0",
33+
"phpunit/phpunit": "^8.5 || ^9.4",
3434
"symfony/security-bundle": "^4.4",
3535
"symfony/translation": "^4.4"
3636
},

phpunit.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
convertWarningsToExceptions="true"
99
processIsolation="false"
1010
stopOnFailure="false"
11-
syntaxCheck="false"
1211
bootstrap="vendor/autoload.php"
1312
>
1413
<testsuites>

0 commit comments

Comments
 (0)