Skip to content

Commit

Permalink
revert 804087b of vimeo#10026
Browse files Browse the repository at this point in the history
  • Loading branch information
kkmuffme committed Nov 15, 2023
1 parent 1da9b77 commit 04d6d88
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/Traits/ValidCodeAnalysisTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,6 @@ public function testValidCode(
$codebase->enterServerMode();
$codebase->config->visitPreloadedStubFiles($codebase);

// avoid MethodSignatureMismatch for __unserialize/() when extending DateTime
if (PHP_VERSION_ID >= 8_02_00) {
$this->addStubFile(
'stubOne.phpstub',
'<?php
namespace {
interface DateTimeInterface {
public function __unserialize(mixed[] $data) {}
}
}
',
);
}

$file_path = self::$src_dir_path . 'somefile.php';

$this->addFile($file_path, $code);
Expand Down

0 comments on commit 04d6d88

Please sign in to comment.