-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathPHPUnitAttribute.php
More file actions
34 lines (21 loc) · 1.26 KB
/
PHPUnitAttribute.php
File metadata and controls
34 lines (21 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
declare(strict_types=1);
namespace Rector\PHPUnit\Enum;
final class PHPUnitAttribute
{
public const string REQUIRES_PHP = 'PHPUnit\Framework\Attributes\RequiresPhp';
public const string REQUIRES_PHPUNIT = 'PHPUnit\Framework\Attributes\RequiresPhpunit';
public const string REQUIRES_OS = 'PHPUnit\Framework\Attributes\RequiresOperatingSystem';
public const string REQUIRES_OS_FAMILY = 'PHPUnit\Framework\Attributes\RequiresOperatingSystemFamily';
public const string REQUIRES_METHOD = 'PHPUnit\Framework\Attributes\RequiresMethod';
public const string REQUIRES_FUNCTION = 'PHPUnit\Framework\Attributes\RequiresFunction';
public const string REQUIRES_PHP_EXTENSION = 'PHPUnit\Framework\Attributes\RequiresPhpExtension';
public const string REQUIRES_SETTING = 'PHPUnit\Framework\Attributes\RequiresSetting';
public const string TEST = 'PHPUnit\Framework\Attributes\Test';
/**
* Since PHPUnit 12.5.2
* @see https://github.com/sebastianbergmann/phpunit/commit/24c208d6a340c3071f28a9b5cce02b9377adfd43
*/
public const string ALLOW_MOCK_OBJECTS_WITHOUT_EXPECTATIONS = 'PHPUnit\Framework\Attributes\AllowMockObjectsWithoutExpectations';
public const string DATA_PROVIDER = 'PHPUnit\Framework\Attributes\DataProvider';
}