1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 09:19:40 +01:00

Remove sample test case

As spotted by @orklah (thanks to them) the test was not
specifying the targeted php version (8.0) so fail was
expected.
This commit is contained in:
Manuel VACELET 2021-10-05 15:17:39 +02:00
parent 1a3d360b14
commit fffe2b23d6

View File

@ -1,30 +0,0 @@
<?php
declare(strict_types=1);
namespace Psalm\Tests;
use Psalm\Context;
class SomeTest extends TestCase
{
public function testStuff()
{
$this->addFile(
'somefile.php',
'<?php
class A
{
}
$reflected_class = new ReflectionClass(A::class);
$reflected_class->getReflectionConstants(1);
'
);
$this->analyzeFile('somefile.php', new Context());
}
}