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: RequiresPhpExtension.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 PHPUnit\Metadata\Version\Requirement; /** * @psalm-immutable * * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit */ final class RequiresPhpExtension extends Metadata { /** * @psalm-var non-empty-string */ private readonly string $extension; private readonly ?Requirement $versionRequirement; /** * @psalm-param 0|1 $level * @psalm-param non-empty-string $extension */ protected function __construct(int $level, string $extension, ?Requirement $versionRequirement) { parent::__construct($level); $this->extension = $extension; $this->versionRequirement = $versionRequirement; } /** * @psalm-assert-if-true RequiresPhpExtension $this */ public function isRequiresPhpExtension(): bool { return true; } /** * @psalm-return non-empty-string */ public function extension(): string { return $this->extension; } /** * @psalm-assert-if-true !null $this->versionRequirement */ public function hasVersionRequirement(): bool { return $this->versionRequirement !== null; } /** * @throws NoVersionRequirementException */ public function versionRequirement(): Requirement { if ($this->versionRequirement === null) { throw new NoVersionRequirementException; } return $this->versionRequirement; } }
Upload File
Create Folder