X7ROOT File Manager
Current Path:
/opt/cpanel/ea-wappspector/vendor/phpunit/phpunit/src/Metadata
opt
/
cpanel
/
ea-wappspector
/
vendor
/
phpunit
/
phpunit
/
src
/
Metadata
/
??
..
??
After.php
(583 B)
??
AfterClass.php
(598 B)
??
Api
??
BackupGlobals.php
(919 B)
??
BackupStaticProperties.php
(946 B)
??
Before.php
(586 B)
??
BeforeClass.php
(601 B)
??
Covers.php
(1.02 KB)
??
CoversClass.php
(1.29 KB)
??
CoversDefaultClass.php
(1.07 KB)
??
CoversFunction.php
(1.3 KB)
??
CoversNothing.php
(607 B)
??
DataProvider.php
(1.39 KB)
??
DependsOnClass.php
(1.43 KB)
??
DependsOnMethod.php
(1.77 KB)
??
DoesNotPerformAssertions.php
(640 B)
??
Exception
??
ExcludeGlobalVariableFromBackup.php
(1.18 KB)
??
ExcludeStaticPropertyFromBackup.php
(1.46 KB)
??
Group.php
(1.04 KB)
??
IgnoreClassForCodeCoverage.php
(1.16 KB)
??
IgnoreDeprecations.php
(622 B)
??
IgnoreFunctionForCodeCoverage.php
(1.21 KB)
??
IgnoreMethodForCodeCoverage.php
(1.5 KB)
??
Metadata.php
(20.7 KB)
??
MetadataCollection.php
(14.01 KB)
??
MetadataCollectionIterator.php
(1.19 KB)
??
Parser
??
PostCondition.php
(607 B)
??
PreCondition.php
(604 B)
??
PreserveGlobalState.php
(937 B)
??
RequiresFunction.php
(1.09 KB)
??
RequiresMethod.php
(1.39 KB)
??
RequiresOperatingSystem.php
(1.13 KB)
??
RequiresOperatingSystemFamily.php
(1.19 KB)
??
RequiresPhp.php
(1.02 KB)
??
RequiresPhpExtension.php
(1.74 KB)
??
RequiresPhpunit.php
(1.03 KB)
??
RequiresSetting.php
(1.36 KB)
??
RunClassInSeparateProcess.php
(643 B)
??
RunInSeparateProcess.php
(628 B)
??
RunTestsInSeparateProcesses.php
(649 B)
??
Test.php
(580 B)
??
TestDox.php
(1.01 KB)
??
TestWith.php
(889 B)
??
Uses.php
(1.02 KB)
??
UsesClass.php
(1.29 KB)
??
UsesDefaultClass.php
(1.06 KB)
??
UsesFunction.php
(1.3 KB)
??
Version
??
WithoutErrorHandler.php
(625 B)
Editing: MetadataCollectionIterator.php
<?php declare(strict_types=1); /* * This file is part of PHPUnit. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\Metadata; use function count; use Iterator; /** * @template-implements Iterator<int, Metadata> * * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit */ final class MetadataCollectionIterator implements Iterator { /** * @psalm-var list<Metadata> */ private readonly array $metadata; private int $position = 0; public function __construct(MetadataCollection $metadata) { $this->metadata = $metadata->asArray(); } public function rewind(): void { $this->position = 0; } public function valid(): bool { return $this->position < count($this->metadata); } public function key(): int { return $this->position; } public function current(): Metadata { return $this->metadata[$this->position]; } public function next(): void { $this->position++; } }
Upload File
Create Folder