OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
firebase
/
vendor
/
ramsey
/
collection
/
tests
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/12/2024 10:33:33 AM
rwxr-xr-x
📄
CollectionManipulationTest.php
26.22 KB
08/12/2024 10:33:33 AM
rw-r--r--
📄
CollectionTest.php
9.2 KB
08/12/2024 10:33:33 AM
rw-r--r--
📄
DoubleEndedQueueTest.php
16.31 KB
08/12/2024 10:33:33 AM
rw-r--r--
📄
GenericArrayTest.php
3.43 KB
08/12/2024 10:33:33 AM
rw-r--r--
📁
Map
-
08/12/2024 10:34:29 AM
rwxr-xr-x
📁
Mock
-
08/12/2024 10:34:29 AM
rwxr-xr-x
📄
QueueTest.php
7.51 KB
08/12/2024 10:33:33 AM
rw-r--r--
📄
SetTest.php
5.9 KB
08/12/2024 10:33:33 AM
rw-r--r--
📄
TestCase.php
415 bytes
08/12/2024 10:33:33 AM
rw-r--r--
📁
Tool
-
08/12/2024 10:36:07 AM
rwxr-xr-x
📄
TypesTest.php
858 bytes
08/12/2024 10:33:33 AM
rw-r--r--
📁
stubs
-
08/12/2024 10:34:29 AM
rwxr-xr-x
📁
types
-
08/12/2024 10:34:30 AM
rwxr-xr-x
Editing: TypesTest.php
Close
<?php declare(strict_types=1); namespace Ramsey\Collection\Test; use Generator; use PHPStan\Testing\TypeInferenceTestCase; use function glob; class TypesTest extends TypeInferenceTestCase { public function typeFileAsserts(): Generator { $typeTests = glob(__DIR__ . '/types/*.php') ?: []; foreach ($typeTests as $typeTest) { yield from $this->gatherAssertTypes($typeTest); } } /** * @dataProvider typeFileAsserts */ public function testFileAsserts(string $assertType, string $file, mixed ...$args): void { $this->assertFileAsserts($assertType, $file, ...$args); } /** * @return string[] */ public static function getAdditionalConfigFiles(): array { return [__DIR__ . '/../phpstan.neon.dist']; } }