mirror of
https://github.com/danog/psalm.git
synced 2024-12-04 10:38:49 +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:
parent
1a3d360b14
commit
fffe2b23d6
@ -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());
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user