From cd08abd0dcb485680c7e433ddaf82818e614a22d Mon Sep 17 00:00:00 2001 From: Javier Spagnoletti Date: Sat, 29 Aug 2020 19:50:36 -0300 Subject: [PATCH] Remove `serialize()` and `unserialize()` methods from `TestKernel` --- Tests/Functional/TestKernel.php | 10 ---------- phpstan.neon.dist | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/Tests/Functional/TestKernel.php b/Tests/Functional/TestKernel.php index be7a2298..bd913f2f 100644 --- a/Tests/Functional/TestKernel.php +++ b/Tests/Functional/TestKernel.php @@ -81,16 +81,6 @@ public function getLogDir() return $this->getBaseDir().'log'; } - public function serialize() - { - return serialize($this->useVichUploaderBundle); - } - - public function unserialize($str) - { - $this->__construct(unserialize($str)); - } - /** * {@inheritdoc} */ diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 48d0a080..4fb614bb 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,5 +1,5 @@ parameters: - level: 0 + level: 1 paths: - . excludes_analyse: