From 1a24ecd75f1c5822202053b3dac3afeda496833e Mon Sep 17 00:00:00 2001 From: Leo Feyer Date: Wed, 12 Jun 2019 13:23:51 +0200 Subject: [PATCH] Use contao/phpstan version 0.7 --- .gitignore | 3 +++ tests/Functional/RoutingTest.php | 12 ------------ 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 5c288ef7f3..b7305223f9 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,6 @@ # PhpUnit /phpunit.xml + +# Functional tests +/tests/Functional/var/ diff --git a/tests/Functional/RoutingTest.php b/tests/Functional/RoutingTest.php index 2227e28e95..a541e3630d 100644 --- a/tests/Functional/RoutingTest.php +++ b/tests/Functional/RoutingTest.php @@ -19,7 +19,6 @@ use Contao\System; use Contao\TestCase\ContaoDatabaseTrait; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; -use Symfony\Component\Filesystem\Filesystem; class RoutingTest extends WebTestCase { @@ -35,17 +34,6 @@ public static function setUpBeforeClass(): void static::loadFileIntoDatabase(__DIR__.'/app/Resources/contao_test.sql'); } - /** - * {@inheritdoc} - */ - public static function tearDownAfterClass(): void - { - parent::tearDownAfterClass(); - - $fs = new Filesystem(); - $fs->remove(__DIR__.'/var'); - } - /** * {@inheritdoc} */