Skip to content

Commit

Permalink
Do not use unserialize() magic to create Filter object
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Aug 19, 2020
1 parent 2374b60 commit a857067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests/FilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class FilterTest extends TestCase

protected function setUp(): void
{
$this->filter = unserialize('O:37:"SebastianBergmann\CodeCoverage\Filter":0:{}');
$this->filter = new Filter;

$this->files = [
TEST_FILES_PATH . 'BankAccount.php',
Expand Down

0 comments on commit a857067

Please sign in to comment.