Skip to content

Commit

Permalink
Added Symfony 5 support (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
vudaltsov authored and Toflar committed Dec 23, 2019
1 parent aecbaae commit 3a758d1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/vendor/
/composer.lock
/phpunit.xml
/.phpunit.result.cache
/tests/Fixtures/cache
/tests/Fixtures/logs
/var
/var
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
"require": {
"php": "^7.1",
"doctrine/orm": "^2.6.3",
"symfony/property-access": "^3.4 || ^4.1",
"symfony/property-info": "^3.4 || ^4.1",
"symfony/serializer": "^3.4 || ^4.1"
"symfony/property-access": "^3.4 || ^4.1 || ^5.0",
"symfony/property-info": "^3.4 || ^4.1 || ^5.0",
"symfony/serializer": "^3.4 || ^4.1 || ^5.0"
},
"require-dev": {
"doctrine/doctrine-bundle": "^1.8",
"symfony/finder": "^3.4 || ^4.1",
"symfony/framework-bundle": "^3.4 || ^4.1",
"symfony/phpunit-bridge": "^4.3"
"symfony/finder": "^3.4 || ^4.1 || ^5.0",
"symfony/framework-bundle": "^3.4 || ^4.1 || ^5.0",
"symfony/phpunit-bridge": "^5.0"
},
"suggest": {
"symfony/framework-bundle": "To use the provided bundle.",
Expand Down
2 changes: 1 addition & 1 deletion tests/AbstractKernelTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ abstract class AbstractKernelTestCase extends KernelTestCase
*/
protected $application;

protected function setUp()
protected function setUp(): void
{
$this->bootKernel();

Expand Down
2 changes: 1 addition & 1 deletion tests/FunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
class FunctionalTest extends AbstractKernelTestCase
{
protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down

0 comments on commit 3a758d1

Please sign in to comment.