1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
This commit is contained in:
Alessandro Lai 2021-09-09 16:04:12 +02:00 committed by Alessandro
parent 1aba202a5a
commit 55cbbd4fe7
No known key found for this signature in database
GPG Key ID: 5D9C513BE4F5798D

20
tests/CoreStubsTest.php Normal file
View File

@ -0,0 +1,20 @@
<?php
namespace Psalm\Tests;
class CoreStubsTest extends TestCase
{
use Traits\ValidCodeAnalysisTestTrait;
/**
* @return iterable<string,array{string,assertions?:array<string,string>,error_levels?:string[]}>
*/
public function providerValidCodeParse(): iterable
{
yield 'RecursiveArrayIterator::CHILD_ARRAYS_ONLY (#6464)' => [
'<?php
new RecursiveArrayIterator([], RecursiveArrayIterator::CHILD_ARRAYS_ONLY);'
];
}
}