Skip to content

Commit 767a004

Browse files
committed
tests #182 Remove serialize() and unserialize() methods from TestKernel (phansys)
This PR was merged into the 3.x branch. Discussion ---------- |Q |A | |--- |---| |Branch |3.x| |Bug fix? |no | |New feature? |no | |BC breaks? |no | |Deprecations?|no | |Tests pass? |yes| |Fixed tickets|n/a| |License |MIT| |Doc PR |n/a| Commits ------- cd08abd Remove `serialize()` and `unserialize()` methods from `TestKernel`
2 parents 2ced04a + cd08abd commit 767a004

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

Tests/Functional/TestKernel.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,6 @@ public function getLogDir()
8181
return $this->getBaseDir().'log';
8282
}
8383

84-
public function serialize()
85-
{
86-
return serialize($this->useVichUploaderBundle);
87-
}
88-
89-
public function unserialize($str)
90-
{
91-
$this->__construct(unserialize($str));
92-
}
93-
9484
/**
9585
* {@inheritdoc}
9686
*/

phpstan.neon.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
parameters:
2-
level: 0
2+
level: 1
33
paths:
44
- .
55
excludes_analyse:

0 commit comments

Comments
 (0)