Skip to content

Commit

Permalink
Fix tests on 32 bit
Browse files Browse the repository at this point in the history
  • Loading branch information
herndlm authored and ondrejmirtes committed Jan 29, 2022
1 parent 72d5a84 commit e6e2797
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -4,6 +4,7 @@

use PHPStan\Rules\Rule;
use PHPStan\Testing\RuleTestCase;
use const PHP_INT_SIZE;
use const PHP_VERSION_ID;

/**
Expand Down Expand Up @@ -461,6 +462,9 @@ public function testBug3357(): void

public function testBug4848(): void
{
if (PHP_INT_SIZE !== 8) {
$this->markTestSkipped('Test requires 64-bit platform.');
}
$this->checkAlwaysTrueStrictComparison = true;
$this->analyse([__DIR__ . '/data/bug-4848.php'], [
[
Expand Down

0 comments on commit e6e2797

Please sign in to comment.