diff --git "a/fim_phpunit.jsonl" "b/fim_phpunit.jsonl" new file mode 100644--- /dev/null +++ "b/fim_phpunit.jsonl" @@ -0,0 +1,1501 @@ +{"prefix": "\n ->in(__DIR__ . '/tests/unit')\n // DeprecatedPhpFeatureTest.php must not use declare(strict_types=1);\n ->notName('DeprecatedPhpFeatureTest.php')\n // UseBaselineTest.php must not use declare(strict_types=1);\n ->notName('UseBaselineTest.php')\n // Issue5795Test.php contains required whitespace that would be cleaned up\n ->notName('Issue5795Test.php')\n // Hook methods that should be protected must be public in TestAttributeOnHookMethodsTest.php\n ->notName('TestAttributeOnHookMethodsTe", "suffix": ";\n ->notPath('error-handler/_files/php-deprecation/src/FirstPartyClass.php')\n ->notPath('error-handler/_files/php-deprecation/tests/PhpDeprecationTest.php')\n ->notName('*.phpt');\n\n$config = new PhpCsFixer\\Config;\n$config->setFinder($finder)\n ->", "middle": "st.php')\n // InvokableConstraintAndPipeOperatorTest.php uses PHP 8.5 syntax\n ->notName('InvokableConstraintAndPipeOperatorTest.php')\n // FirstPartyClass.php and PhpDeprecationTest.php must not use declare(strict_types=1)", "meta": {"filepath": ".php-cs-fixer.dist.php", "language": "php", "file_size": 14150, "cut_index": 921, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util;\n\nuse PHPUnit\\TextUI\\Configuration\\Registry as ConfigurationRegistry;\nuse SebastianBergmann\\Comparator\\Factory as ComparatorFactory;\nuse SebastianBergmann\\Diff\\Differ;\nuse SebastianBergmann\\Diff\\Output\\StrictUnifiedDiffOutputBuilder;\n\n/**\n * @no-named-arguments", "suffix": "* @param non-empty-string $header\n */\n public static function build(string $header = \"--- Expected\\n+++ Actual\\n\"): Differ\n {\n $contextLines = ConfigurationRegistry::get()->diffContext();\n\n return new Differ(\n new StrictU", "middle": " Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class DifferBuilder\n{\n /**\n ", "meta": {"filepath": "src/Util/DifferBuilder.php", "language": "php", "file_size": 1640, "cut_index": 537, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util;\n\nuse PHPUnit\\TextUI\\Configuration\\Registry as ConfigurationRegistry;\nuse SebastianBergmann\\Exporter\\Exporter as OriginalExporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class Expo", "suffix": "value),\n );\n }\n\n /**\n * @param array $data\n */\n public static function shortenedRecursiveExport(array $data): string\n {\n return Sanitizer::sanitizeBidirectionalControlCharacters(\n self::exporter()->shorte", "middle": "rter\n{\n private static ?OriginalExporter $exporter = null;\n\n public static function export(mixed $value): string\n {\n return Sanitizer::sanitizeBidirectionalControlCharacters(\n self::exporter()->export($", "meta": {"filepath": "src/Util/Exporter.php", "language": "php", "file_size": 1604, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Glo", "suffix": "mpty-string}>\n */\n private array $skippedGlobals;\n\n /**\n * @param list $skippedGlobals\n */\n public function __construct(string $globalsString, array $skippedGlobals)\n {\n ", "middle": "balStateResult\n{\n /**\n * @param list $skippedGlobals\n */\n private string $globalsString;\n\n /**\n * @var list\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util;\n\nuse const DEBUG_BACKTRACE_IGNORE_ARGS;\nuse const DEBUG_BACKTRACE_PROVIDE_OBJECT;\nuse function debug_backtrace;\nuse function str_starts_with;\nuse PHPUnit\\Event\\Code\\NoTestCaseObjectOnCallStackException;\nuse PHPUnit\\Framework\\TestCase;\nuse PHPUnit\\Metadata\\Pars", "suffix": "PHPUnit\n */\nfinal readonly class Test\n{\n /**\n * @throws NoTestCaseObjectOnCallStackException\n */\n public static function currentTestCase(): TestCase\n {\n foreach (debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT | DEBUG_BACKTRACE_IGNOR", "middle": "er\\Registry;\nuse ReflectionMethod;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for ", "meta": {"filepath": "src/Util/Test.php", "language": "php", "file_size": 1707, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util;\n\nuse const ENT_QUOTES;\nuse function assert;\nuse function htmlspecialchars;\nuse function mb_convert_encoding;\nuse function ord;\nuse function preg_replace;\nuse function strlen;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n ", "suffix": "d, excluding the surrogate blocks, FFFE,\n * and FFFF (not even as character reference).\n *\n * @see https://www.w3.org/TR/xml/#charsets\n */\n public static function prepareString(string $string): string\n {\n $result = preg_replace", "middle": "*\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Xml\n{\n /**\n * Escapes a string for the use in XML documents.\n *\n * Any Unicode character is allowe", "meta": {"filepath": "src/Util/Xml/Xml.php", "language": "php", "file_size": 2290, "cut_index": 563, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework;\n\nuse function assert;\nuse function class_exists;\nuse function count;\nuse function explode;\nuse PHPUnit\\Framework\\TestSize\\TestSize;\nuse PHPUnit\\Metadata\\Api\\Groups;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * ", "suffix": "ncies = [];\n\n /**\n * @var ?non-empty-list\n */\n private ?array $providedTests = null;\n\n /**\n * @param list $dependencies\n */\n public function setDependencies(array $dependencies", "middle": "@internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class DataProviderTestSuite extends TestSuite\n{\n /**\n * @var list\n */\n private array $depende", "meta": {"filepath": "src/Framework/DataProviderTestSuite.php", "language": "php", "file_size": 2318, "cut_index": 563, "middle_length": 229}} +{"prefix": "hrowableException;\nuse PHPUnit\\Metadata\\Api\\Dependencies;\nuse PHPUnit\\Metadata\\Api\\Groups;\nuse PHPUnit\\Metadata\\Api\\HookMethods;\nuse PHPUnit\\Metadata\\Api\\Requirements;\nuse PHPUnit\\Metadata\\MetadataCollection;\nuse PHPUnit\\Runner\\Exception as RunnerException;\nuse PHPUnit\\Runner\\Filter\\Factory;\nuse PHPUnit\\Runner\\Phpt\\TestCase as PhptTestCase;\nuse PHPUnit\\Runner\\TestSuiteLoader;\nuse PHPUnit\\TestRunner\\TestResult\\Facade as TestResultFacade;\nuse PHPUnit\\Util\\Filter;\nuse PHPUnit\\Util\\Reflection;\nuse PHPUnit\\Util\\", "suffix": "plements IteratorAggregate\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nc", "middle": "Test as TestUtil;\nuse ReflectionClass;\nuse ReflectionMethod;\nuse SebastianBergmann\\CodeCoverage\\InvalidArgumentException;\nuse SebastianBergmann\\CodeCoverage\\UnintentionallyCoveredCodeException;\nuse Throwable;\n\n/**\n * @template-im", "meta": {"filepath": "src/Framework/TestSuite.php", "language": "php", "file_size": 21431, "cut_index": 1331, "middle_length": 229}} +{"prefix": "php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfin", "suffix": "wnNativeTypeException extends InvalidArgumentException\n{\n public function __construct(string $type)\n {\n parent::__construct(\n sprintf(\n 'Native type \"%s\" is not known',\n $type,\n ),\n );", "middle": "al class Unkno", "meta": {"filepath": "src/Framework/Exception/UnknownNativeTypeException.php", "language": "php", "file_size": 793, "cut_index": 514, "middle_length": 14}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]\nfinal readonly class CoversClass\n{\n /**", "suffix": " $className;\n\n /**\n * @param class-string $className\n */\n public function __construct(string $className)\n {\n $this->className = $className;\n }\n\n /**\n * @return class-string\n */\n public function className(): string\n ", "middle": "\n * @var class-string\n */\n private string", "meta": {"filepath": "src/Framework/Attributes/CoversClass.php", "language": "php", "file_size": 901, "cut_index": 547, "middle_length": 52}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readonly class DataProvid", "suffix": "nEmpty;\n\n /**\n * @param class-string $className\n * @param non-empty-string $methodName\n */\n public function __construct(string $className, string $methodName, bool $validateArgumentCount = true, bool $skipWhenEmpty = false)\n {\n ", "middle": "erExternal\n{\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @var non-empty-string\n */\n private string $methodName;\n private bool $validateArgumentCount;\n private bool $skipWhe", "meta": {"filepath": "src/Framework/Attributes/DataProviderExternal.php", "language": "php", "file_size": 1713, "cut_index": 537, "middle_length": 229}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readonly class DependsUsingShallowClone\n{\n /**\n * @var non-empty-string\n */\n pri", "suffix": "empty-string $methodName\n */\n public function __construct(string $methodName)\n {\n $this->methodName = $methodName;\n }\n\n /**\n * @return non-empty-string\n */\n public function methodName(): string\n {\n return $this->", "middle": "vate string $methodName;\n\n /**\n * @param non-", "meta": {"filepath": "src/Framework/Attributes/DependsUsingShallowClone.php", "language": "php", "file_size": 934, "cut_index": 606, "middle_length": 52}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\Util;\n\nuse const DIRECTORY_SEPARATOR;\nuse const PHP_EOL;\nuse function array_key_exists;\nuse function array_map;\nuse function array_walk;\nuse function assert;\nuse function count;\nuse function explode;\nuse function implode;\nuse function max;\nuse function min;\nuse function preg_replace;\nuse function preg_replace_callback;\nuse function preg_split;\nuse function sprintf;\nuse function str_pad;\nuse function strlen;\nuse function strtr;\nuse function t", "suffix": "{\n /**\n * @var non-empty-array\n */\n private const array WHITESPACE_MAP = [\n ' ' => '·',\n \"\\t\" => '⇥',\n ];\n\n /**\n * @var non-empty-array\n */\n ", "middle": "rim;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class Color\n", "meta": {"filepath": "src/Util/Color.php", "language": "php", "file_size": 5918, "cut_index": 716, "middle_length": 229}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\Util;\n\nuse const PHP_OS_FAMILY;\nuse function array_any;\nuse function assert;\nuse function class_exists;\nuse function defined;\nuse function dirname;\nuse function is_dir;\nuse function realpath;\nuse function str_starts_with;\nuse function sys_get_temp_dir;\nuse Composer\\Autoload\\ClassLoader;\nuse DeepCopy\\DeepCopy;\nuse PharIo\\Manifest\\Manifest;\nuse PharIo\\Version\\Version as PharIoVersion;\nuse PhpParser\\Parser;\nuse PHPUnit\\Framework\\TestCase;\nuse R", "suffix": "\\Diff\\Diff;\nuse SebastianBergmann\\Environment\\Runtime;\nuse SebastianBergmann\\Exporter\\Exporter;\nuse SebastianBergmann\\FileIterator\\Facade as FileIteratorFacade;\nuse SebastianBergmann\\GlobalState\\Snapshot;\nuse SebastianBergmann\\Invoker\\Invoker;\nuse Sebastia", "middle": "eflectionClass;\nuse SebastianBergmann\\CliParser\\Parser as CliParser;\nuse SebastianBergmann\\CodeCoverage\\CodeCoverage;\nuse SebastianBergmann\\Comparator\\Comparator;\nuse SebastianBergmann\\Complexity\\Calculator;\nuse SebastianBergmann", "meta": {"filepath": "src/Util/ExcludeList.php", "language": "php", "file_size": 5875, "cut_index": 716, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util;\n\nuse const DIRECTORY_SEPARATOR;\nuse function basename;\nuse function dirname;\nuse function is_dir;\nuse function mkdir;\nuse function realpath;\nuse function str_starts_with;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward ", "suffix": "ol\n {\n return !(!is_dir($directory) && !@mkdir($directory, 0o777, true) && !is_dir($directory));\n }\n\n /**\n * @param non-empty-string $path\n *\n * @return false|non-empty-string\n */\n public static function resolveStreamOrFi", "middle": "compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Filesystem\n{\n public static function createDirectory(string $directory): bo", "meta": {"filepath": "src/Util/Filesystem.php", "language": "php", "file_size": 1364, "cut_index": 524, "middle_length": 229}} +{"prefix": ";\nuse function defined;\nuse function get_defined_constants;\nuse function get_included_files;\nuse function in_array;\nuse function ini_get_all;\nuse function is_array;\nuse function is_file;\nuse function is_scalar;\nuse function is_string;\nuse function preg_match;\nuse function serialize;\nuse function sprintf;\nuse function str_ends_with;\nuse function str_starts_with;\nuse function strtr;\nuse function var_export;\nuse Closure;\nuse Throwable;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward", "suffix": " private const array SUPER_GLOBAL_ARRAYS = [\n '_ENV',\n '_POST',\n '_GET',\n '_COOKIE',\n '_SERVER',\n '_FILES',\n '_REQUEST',\n ];\n\n /**\n * Keys in $_SERVER that are populated by the SAPI in the child p", "middle": " compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class GlobalState\n{\n /**\n * @var non-empty-list\n */\n ", "meta": {"filepath": "src/Util/GlobalState.php", "language": "php", "file_size": 12616, "cut_index": 921, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util;\n\nuse const JSON_ERROR_NONE;\nuse const JSON_PRETTY_PRINT;\nuse const JSON_UNESCAPED_SLASHES;\nuse const JSON_UNESCAPED_UNICODE;\nuse const SORT_STRING;\nuse function assert;\nuse function is_array;\nuse function is_object;\nuse function is_scalar;\nuse function json_decode;\nuse function json_encode;\nuse function json_last_error;\nuse function ks", "suffix": "ss Json\n{\n /**\n * @throws InvalidJsonException\n */\n public static function prettify(string $json): string\n {\n $decodedJson = json_decode($json, false);\n\n if (json_last_error() !== JSON_ERROR_NONE) {\n throw new Inva", "middle": "ort;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly cla", "meta": {"filepath": "src/Util/Json.php", "language": "php", "file_size": 3360, "cut_index": 614, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util;\n\nuse function array_merge;\nuse function array_reverse;\nuse function assert;\nuse PHPUnit\\Framework\\Assert;\nuse PHPUnit\\Framework\\TestCase;\nuse ReflectionClass;\nuse ReflectionException;\nuse ReflectionMethod;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This ", "suffix": "{file: non-empty-string, line: non-negative-int}\n */\n public static function sourceLocationFor(string $className, string $methodName): array\n {\n try {\n $reflector = new ReflectionMethod($className, $methodName);\n\n $fi", "middle": "class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Reflection\n{\n /**\n * @param class-string $className\n * @param non-empty-string $methodName\n *\n * @return array", "meta": {"filepath": "src/Util/Reflection.php", "language": "php", "file_size": 3159, "cut_index": 614, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util;\n\nuse function array_any;\nuse function array_unshift;\nuse function defined;\nuse function in_array;\nuse function is_array;\nuse function is_file;\nuse function is_string;\nuse function realpath;\nuse function sprintf;\nuse function str_starts_with;\nuse PHPUnit\\Framework\\Exception;\nuse PHPUnit\\Framework\\PhptAssertionFailedError;\nuse Throwable;", "suffix": "ilter\n{\n /**\n * @throws Exception\n */\n public static function stackTraceFromThrowableAsString(Throwable $t, bool $unwrap = true): string\n {\n if ($t instanceof PhptAssertionFailedError) {\n $stackTrace = $t->syntheticTrace(", "middle": "\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class F", "meta": {"filepath": "src/Util/Filter.php", "language": "php", "file_size": 4566, "cut_index": 614, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util;\n\nuse function mb_ord;\nuse function preg_replace_callback;\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward", "suffix": "es for U+202A-U+202E and U+2066-U+2069 directly so that\n * the function is safe to call on strings that are not valid UTF-8.\n *\n * @see https://github.com/sebastianbergmann/phpunit/issues/6605\n */\n public static function sanitizeBidirect", "middle": " compatibility promise for PHPUnit\n */\nfinal readonly class Sanitizer\n{\n /**\n * Replaces Unicode bidirectional formatting characters with their visible \\u{NNNN} escape sequence.\n *\n * Matches the UTF-8 byte sequenc", "meta": {"filepath": "src/Util/Sanitizer.php", "language": "php", "file_size": 1395, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util;\n\nuse function trim;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Framework\\PhptAssertionFailedError;\nuse PHPUnit\\Framework\\SelfDescribing;\nuse PHPUnit\\Runner\\ErrorException;\nuse Throwable;\n\n/**\n * @no-named-arguments Parameter nam", "suffix": " function map(Throwable $t): string\n {\n if ($t instanceof ErrorException) {\n return $t->getMessage();\n }\n\n if ($t instanceof SelfDescribing) {\n $buffer = $t->toString();\n\n if ($t instanceof Expectati", "middle": "es are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ThrowableToStringMapper\n{\n public static", "meta": {"filepath": "src/Util/ThrowableToStringMapper.php", "language": "php", "file_size": 1465, "cut_index": 524, "middle_length": 229}} +{"prefix": " declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util;\n\nuse function sprintf;\nuse RuntimeException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for P", "suffix": "ends RuntimeException implements Exception\n{\n public function __construct(string $directory)\n {\n parent::__construct(\n sprintf(\n '\"%s\" is not a directory',\n $directory,\n ),\n );\n }\n}", "middle": "HPUnit\n */\nfinal class InvalidDirectoryException ext", "meta": {"filepath": "src/Util/Exception/InvalidDirectoryException.php", "language": "php", "file_size": 826, "cut_index": 517, "middle_length": 52}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util\\Xml;\n\nuse const LIBXML_NONET;\nuse function assert;\nuse function error_reporting;\nuse function file_get_contents;\nuse function libxml_get_errors;\nuse function libxml_use_internal_errors;\nuse function sprintf;\nuse function trim;\nuse DOMDocument;\nuse DOMNode;\nuse DOMXPath;\n\n/**\n * @no-named-arguments Parameter names are not covered by the ", "suffix": "ion loadFile(string $filename, bool $ignoreComments = false): DOMDocument\n {\n $reporting = error_reporting(0);\n $contents = file_get_contents($filename);\n\n error_reporting($reporting);\n\n if ($contents === false) {\n ", "middle": "backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Loader\n{\n /**\n * @throws XmlException\n */\n public funct", "meta": {"filepath": "src/Util/Xml/Loader.php", "language": "php", "file_size": 3160, "cut_index": 614, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util;\n\nuse function in_array;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class VersionComparisonOperator\n{\n /**\n * @var '!='|'<'|'<='|'<>'|'='|'=='|'>'|'>='", "suffix": "/\n public function __construct(string $operator)\n {\n $this->ensureOperatorIsValid($operator);\n\n $this->operator = $operator;\n }\n\n /**\n * @return '!='|'<'|'<='|'<>'|'='|'=='|'>'|'>='|'eq'|'ge'|'gt'|'le'|'lt'|'ne'\n */\n pu", "middle": "|'eq'|'ge'|'gt'|'le'|'lt'|'ne'\n */\n private string $operator;\n\n /**\n * @param '!='|'<'|'<='|'<>'|'='|'=='|'>'|'>='|'eq'|'ge'|'gt'|'le'|'lt'|'ne' $operator\n *\n * @throws InvalidVersionOperatorException\n *", "meta": {"filepath": "src/Util/VersionComparisonOperator.php", "language": "php", "file_size": 1543, "cut_index": 537, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util\\PHP;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Job\n{\n /**\n * @var non-empty-string\n */\n private string $code;\n\n /**\n ", "suffix": "ments;\n\n /**\n * @var ?non-empty-string\n */\n private ?string $input;\n private bool $redirectErrors;\n private bool $requiresXdebug;\n\n /**\n * @param non-empty-string $code\n * @param list $phpSettings\n ", "middle": " * @var list\n */\n private array $phpSettings;\n\n /**\n * @var array\n */\n private array $environmentVariables;\n\n /**\n * @var list\n */\n private array $argu", "meta": {"filepath": "src/Util/PHP/Job.php", "language": "php", "file_size": 3386, "cut_index": 614, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util\\PHP;\n\nuse PHPUnit\\Event\\Facade;\nuse PHPUnit\\Framework\\Test;\nuse PHPUnit\\Framework\\TestRunner\\ChildProcessResultProcessor;\nuse PHPUnit\\Runner\\CodeCoverage;\nuse PHPUnit\\TestRunner\\TestResult\\PassedTests;\n\n/**\n * @no-named-arguments Parameter names are not covered", "suffix": " public static function run(Job $job): Result\n {\n return self::runner()->run($job);\n }\n\n /**\n * @param non-empty-string $processResultFile\n * @param ?non-empty-string $processResultNonce\n */\n public static function runTestJo", "middle": " by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class JobRunnerRegistry\n{\n private static ?JobRunner $runner = null;\n\n ", "meta": {"filepath": "src/Util/PHP/JobRunnerRegistry.php", "language": "php", "file_size": 1757, "cut_index": 537, "middle_length": 229}} +{"prefix": " non-empty-list $keysToBeConsidered\n *\n * @throws Exception\n * @throws ExpectationFailedException\n */\n final public static function assertArrayIsEqualToArrayOnlyConsideringListOfKeys(array $expected, array $actual, array $keysToBeConsidered, string $message = ''): void\n {\n $filteredExpected = [];\n\n foreach ($keysToBeConsidered as $key) {\n if (isset($expected[$key])) {\n $filteredExpected[$key] = $expected[$key];\n }\n }\n", "suffix": "ilteredExpected, $filteredActual, $message);\n }\n\n /**\n * Asserts that two arrays are equal while ignoring a list of keys.\n *\n * @param array $expected\n * @param array $actual\n * @param non-e", "middle": "\n $filteredActual = [];\n\n foreach ($keysToBeConsidered as $key) {\n if (isset($actual[$key])) {\n $filteredActual[$key] = $actual[$key];\n }\n }\n\n self::assertEquals($f", "meta": {"filepath": "src/Framework/Assert.php", "language": "php", "file_size": 99264, "cut_index": 3790, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util\\PHP;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Result\n{\n private s", "suffix": "ic function __construct(string $stdout, string $stderr)\n {\n $this->stdout = $stdout;\n $this->stderr = $stderr;\n }\n\n public function stdout(): string\n {\n return $this->stdout;\n }\n\n public function stderr(): string\n ", "middle": "tring $stdout;\n private string $stderr;\n\n publ", "meta": {"filepath": "src/Util/PHP/Result.php", "language": "php", "file_size": 895, "cut_index": 547, "middle_length": 52}} +{"prefix": "ict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Util;\n\nuse function sprintf;\nuse RuntimeException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nf", "suffix": "untimeException implements Exception\n{\n public function __construct(string $operator)\n {\n parent::__construct(\n sprintf(\n '\"%s\" is not a valid version_compare() operator',\n $operator,\n ),\n ", "middle": "inal class InvalidVersionOperatorException extends R", "meta": {"filepath": "src/Util/Exception/InvalidVersionOperatorException.php", "language": "php", "file_size": 853, "cut_index": 529, "middle_length": 52}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework;\n\nuse function array_filter;\nuse function array_map;\nuse function array_values;\nuse function assert;\nuse function class_exists;\nuse function count;\nuse function explode;\nuse function in_array;\nuse function str_contains;\nuse PHPUnit\\Metadata\\DependsOnClass;\nuse PHPUnit\\Metadata\\DependsOnMethod;\nuse PHPUnit\\Util\\Test as TestUtil;\nuse ReflectionClass;\nuse Stringable;\n\n/**\n * @no-named-arguments Parameter names are not covered by the b", "suffix": " = '';\n private string $methodName = '';\n private readonly bool $shallowClone;\n private readonly bool $deepClone;\n\n public static function invalid(): self\n {\n return new self(\n '',\n '',\n false,\n ", "middle": "ackward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ExecutionOrderDependency implements Stringable\n{\n private string $className ", "meta": {"filepath": "src/Framework/ExecutionOrderDependency.php", "language": "php", "file_size": 5894, "cut_index": 716, "middle_length": 229}} +{"prefix": "i\\DataProvider;\nuse PHPUnit\\Metadata\\Api\\Groups;\nuse PHPUnit\\Metadata\\Api\\ProvidedData;\nuse PHPUnit\\Metadata\\Api\\Requirements;\nuse PHPUnit\\Metadata\\BackupGlobals;\nuse PHPUnit\\Metadata\\BackupStaticProperties;\nuse PHPUnit\\Metadata\\ExcludeGlobalVariableFromBackup;\nuse PHPUnit\\Metadata\\ExcludeStaticPropertyFromBackup;\nuse PHPUnit\\Metadata\\Parser\\Registry as MetadataRegistry;\nuse PHPUnit\\Metadata\\PreserveGlobalState;\nuse PHPUnit\\Runner\\ErrorHandler;\nuse PHPUnit\\Runner\\Filter\\MethodNameFilterCompiler;\nuse PHPUnit", "suffix": " by the backward compatibility promise for PHPUnit\n *\n * @phpstan-type BackupSettings array{backupGlobals: ?true, backupGlobalsExcludeList: list, backupStaticProperties: ?true, backupStaticPropertiesExcludeList: array\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nenum NativeType: string\n{\n case Array = 'array';\n case Bool = 'bool';\n case Callable = 'callable';\n case ClosedRes", "suffix": " = 'float';\n case Int = 'int';\n case Iterable = 'iterable';\n case Null = 'null';\n case Numeric = 'numeric';\n case Object = 'object';\n case Resource = 'resource';\n case Scalar = 's", "middle": "ource = 'resource (closed)';\n case Float ", "meta": {"filepath": "src/Framework/NativeType.php", "language": "php", "file_size": 901, "cut_index": 547, "middle_length": 52}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework;\n\nuse function assert;\nuse RecursiveIterator;\n\n/**\n * @template-implements RecursiveIterator\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward", "suffix": "te int $position = 0;\n\n public function __construct(TestSuite $testSuite)\n {\n $this->tests = $testSuite->tests();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n }\n\n public function valid(): bool\n {\n ", "middle": " compatibility promise for PHPUnit\n */\nfinal class TestSuiteIterator implements RecursiveIterator\n{\n /**\n * @var list\n */\n private readonly array $tests;\n\n /**\n * @var non-negative-int\n */\n priva", "meta": {"filepath": "src/Framework/TestSuiteIterator.php", "language": "php", "file_size": 2025, "cut_index": 563, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework;\n\nuse Exception;\nuse SebastianBergmann\\Comparator\\ComparisonFailure;\n\n/**\n * Exception for expectations which failed their check.\n *\n * The exception contains the error message and optionally a\n * SebastianBergmann\\Comparator\\ComparisonF", "suffix": "tends AssertionFailedError\n{\n protected ?ComparisonFailure $comparisonFailure = null;\n\n public function __construct(string $message, ?ComparisonFailure $comparisonFailure = null, ?Exception $previous = null)\n {\n $this->comparisonFailure = $", "middle": "ailure which is used to\n * generate diff output of the failed expectations.\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ExpectationFailedException ex", "meta": {"filepath": "src/Framework/Exception/ExpectationFailedException.php", "language": "php", "file_size": 1201, "cut_index": 518, "middle_length": 229}} +{"prefix": "\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework;\n\nuse Throwable;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal cl", "suffix": "$e->getMessage(),\n $e->getCode(),\n $e,\n );\n $exception->providerLabel = $providerLabel;\n\n return $exception;\n }\n\n public function getProviderLabel(): ?string\n {\n return $this->providerLabel;\n }\n", "middle": "ass InvalidDataProviderException extends Exception\n{\n private ?string $providerLabel = null;\n\n public static function forException(Throwable $e, string $providerLabel): self\n {\n $exception = new self(\n ", "meta": {"filepath": "src/Framework/Exception/InvalidDataProviderException.php", "language": "php", "file_size": 999, "cut_index": 512, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class PhptAssertionFailedE", "suffix": " private readonly array $syntheticTrace;\n private readonly string $diff;\n\n /**\n * @param list $trace\n */\n public function __construct(string $message, int $code, st", "middle": "rror extends AssertionFailedError\n{\n private readonly string $syntheticFile;\n private readonly int $syntheticLine;\n\n /**\n * @var list\n */\n ", "meta": {"filepath": "src/Framework/Exception/PhptAssertionFailedError.php", "language": "php", "file_size": 1756, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework;\n\nuse function array_keys;\nuse function get_object_vars;\nuse function is_int;\nuse function sprintf;\nuse RuntimeException;\nuse Throwable;\n\n/**\n * Base class for all PHPUnit Framework exceptions.\n *\n * Ensures that exceptions thrown during a test run do not leave stray\n * references ", "suffix": "om being\n * destructed (until test results are eventually printed), so memory cannot be\n * freed up.\n *\n * With enabled process isolation, test results are serialized in the child\n * process and unserialized in the parent process. The stack trace of Except", "middle": "behind.\n *\n * Every Exception contains a stack trace. Each stack frame contains the 'args'\n * of the called function. The function arguments can contain references to\n * instantiated objects. The references prevent the objects fr", "meta": {"filepath": "src/Framework/Exception/Exception.php", "language": "php", "file_size": 2922, "cut_index": 563, "middle_length": 229}} +{"prefix": "es=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class UnknownClassO", "suffix": "ption extends InvalidArgumentException\n{\n public function __construct(string $name)\n {\n parent::__construct(\n sprintf(\n 'Class or interface \"%s\" does not exist',\n $name,\n ),\n );\n }\n", "middle": "rInterfaceExce", "meta": {"filepath": "src/Framework/Exception/UnknownClassOrInterfaceException.php", "language": "php", "file_size": 808, "cut_index": 536, "middle_length": 14}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class GeneratorNotSupportedException exten", "suffix": "tion fromParameterName(string $parameterName): self\n {\n return new self(\n sprintf(\n 'Passing an argument of type Generator for the %s parameter is not supported',\n $parameterName,\n ),\n );", "middle": "ds InvalidArgumentException\n{\n public static func", "meta": {"filepath": "src/Framework/Exception/GeneratorNotSupportedException.php", "language": "php", "file_size": 876, "cut_index": 559, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ComparisonMethodDoesNotD", "suffix": " public function __construct(string $className, string $methodName)\n {\n parent::__construct(\n sprintf(\n 'Comparison method %s::%s() does not declare bool return type.',\n $className,\n $metho", "middle": "eclareBoolReturnTypeException extends Exception\n{\n ", "meta": {"filepath": "src/Framework/Exception/ObjectEquals/ComparisonMethodDoesNotDeclareBoolReturnTypeException.php", "language": "php", "file_size": 896, "cut_index": 547, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ComparisonMethodDoesNotD", "suffix": " public function __construct(string $className, string $methodName)\n {\n parent::__construct(\n sprintf(\n 'Parameter of comparison method %s::%s() does not have a declared type.',\n $className,\n ", "middle": "eclareParameterTypeException extends Exception\n{\n ", "meta": {"filepath": "src/Framework/Exception/ObjectEquals/ComparisonMethodDoesNotDeclareParameterTypeException.php", "language": "php", "file_size": 904, "cut_index": 547, "middle_length": 52}} +{"prefix": "ict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class Compar", "suffix": " public function __construct(string $className, string $methodName)\n {\n parent::__construct(\n sprintf(\n 'Comparison method %s::%s() does not exist.',\n $className,\n $methodName,\n ", "middle": "isonMethodDoesNotExistException extends Exception\n{\n", "meta": {"filepath": "src/Framework/Exception/ObjectEquals/ComparisonMethodDoesNotExistException.php", "language": "php", "file_size": 861, "cut_index": 529, "middle_length": 52}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD)]\nfinal readonly class AfterClass\n{\n /**\n * @var non-negative-int\n */\n ", "suffix": "-negative-int $priority\n */\n public function __construct(int $priority = 0)\n {\n $this->priority = $priority;\n }\n\n /**\n * @return non-negative-int\n */\n public function priority(): int\n {\n return $this->priority;\n ", "middle": " private int $priority;\n\n /**\n * @param non", "meta": {"filepath": "src/Framework/Attributes/AfterClass.php", "language": "php", "file_size": 874, "cut_index": 559, "middle_length": 52}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD)]\nfinal readonly class Before\n{\n /**\n * @var non-negative-int\n */\n p", "suffix": "ative-int $priority\n */\n public function __construct(int $priority = 0)\n {\n $this->priority = $priority;\n }\n\n /**\n * @return non-negative-int\n */\n public function priority(): int\n {\n return $this->priority;\n }", "middle": "rivate int $priority;\n\n /**\n * @param non-neg", "meta": {"filepath": "src/Framework/Attributes/Before.php", "language": "php", "file_size": 870, "cut_index": 559, "middle_length": 52}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ComparisonMethodDoesNotAcceptParameterTypeException extends Exception\n{\n public ", "suffix": "odName, string $type)\n {\n parent::__construct(\n sprintf(\n '%s is not an accepted argument type for comparison method %s::%s().',\n $type,\n $className,\n $methodName,\n ", "middle": "function __construct(string $className, string $meth", "meta": {"filepath": "src/Framework/Exception/ObjectEquals/ComparisonMethodDoesNotAcceptParameterTypeException.php", "language": "php", "file_size": 937, "cut_index": 606, "middle_length": 52}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD)]\nfinal readonly class After\n{\n /**\n * @var non-negative-int\n */\n pr", "suffix": "tive-int $priority\n */\n public function __construct(int $priority = 0)\n {\n $this->priority = $priority;\n }\n\n /**\n * @return non-negative-int\n */\n public function priority(): int\n {\n return $this->priority;\n }\n", "middle": "ivate int $priority;\n\n /**\n * @param non-nega", "meta": {"filepath": "src/Framework/Attributes/After.php", "language": "php", "file_size": 869, "cut_index": 559, "middle_length": 52}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD)]\nfinal readonly class BeforeClass\n{\n /**\n * @var non-negative-int\n */\n", "suffix": "n-negative-int $priority\n */\n public function __construct(int $priority = 0)\n {\n $this->priority = $priority;\n }\n\n /**\n * @return non-negative-int\n */\n public function priority(): int\n {\n return $this->priority;\n", "middle": " private int $priority;\n\n /**\n * @param no", "meta": {"filepath": "src/Framework/Attributes/BeforeClass.php", "language": "php", "file_size": 875, "cut_index": 559, "middle_length": 52}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]\nfinal readonly class CoversClassesThatExtendClass\n{\n /**\n * @var class-string\n */\n priv", "suffix": "string $className\n */\n public function __construct(string $className)\n {\n $this->className = $className;\n }\n\n /**\n * @return class-string\n */\n public function className(): string\n {\n return $this->className;\n ", "middle": "ate string $className;\n\n /**\n * @param class-", "meta": {"filepath": "src/Framework/Attributes/CoversClassesThatExtendClass.php", "language": "php", "file_size": 918, "cut_index": 606, "middle_length": 52}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]\nfinal readonly class CoversClassesThatImplementInterface\n{\n /**\n * @va", "suffix": "Name;\n\n /**\n * @param class-string $interfaceName\n */\n public function __construct(string $interfaceName)\n {\n $this->interfaceName = $interfaceName;\n }\n\n /**\n * @return class-string\n */\n public function interfaceNam", "middle": "r class-string\n */\n private string $interface", "meta": {"filepath": "src/Framework/Attributes/CoversClassesThatImplementInterface.php", "language": "php", "file_size": 953, "cut_index": 582, "middle_length": 52}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]\nfinal readonl", "suffix": "* @param non-empty-string $methodName\n */\n public function __construct(string $className, string $methodName)\n {\n $this->className = $className;\n $this->methodName = $methodName;\n }\n\n /**\n * @return class-string\n */\n ", "middle": "y class CoversMethod\n{\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @var non-empty-string\n */\n private string $methodName;\n\n /**\n * @param class-string $className\n ", "meta": {"filepath": "src/Framework/Attributes/CoversMethod.php", "language": "php", "file_size": 1225, "cut_index": 518, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]\nfinal readonly class CoversTrait\n{\n /**", "suffix": " $traitName;\n\n /**\n * @param trait-string $traitName\n */\n public function __construct(string $traitName)\n {\n $this->traitName = $traitName;\n }\n\n /**\n * @return trait-string\n */\n public function traitName(): string\n ", "middle": "\n * @var trait-string\n */\n private string", "meta": {"filepath": "src/Framework/Attributes/CoversTrait.php", "language": "php", "file_size": 901, "cut_index": 547, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ComparisonMethodDoesNotD", "suffix": "\n{\n public function __construct(string $className, string $methodName)\n {\n parent::__construct(\n sprintf(\n 'Comparison method %s::%s() does not declare exactly one parameter.',\n $className,\n ", "middle": "eclareExactlyOneParameterException extends Exception", "meta": {"filepath": "src/Framework/Exception/ObjectEquals/ComparisonMethodDoesNotDeclareExactlyOneParameterException.php", "language": "php", "file_size": 906, "cut_index": 547, "middle_length": 52}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]\nfinal readonly class CoversNamespace\n{\n /**\n * @var non-empty-string\n */\n private strin", "suffix": "g $namespace\n */\n public function __construct(string $namespace)\n {\n $this->namespace = $namespace;\n }\n\n /**\n * @return non-empty-string\n */\n public function namespace(): string\n {\n return $this->namespace;\n }", "middle": "g $namespace;\n\n /**\n * @param non-empty-strin", "meta": {"filepath": "src/Framework/Attributes/CoversNamespace.php", "language": "php", "file_size": 917, "cut_index": 606, "middle_length": 52}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]\nfinal readonly class CoversFunction\n{\n /**\n * @var non-empty-string\n */\n private string", "suffix": "ing $functionName\n */\n public function __construct(string $functionName)\n {\n $this->functionName = $functionName;\n }\n\n /**\n * @return non-empty-string\n */\n public function functionName(): string\n {\n return $this-", "middle": " $functionName;\n\n /**\n * @param non-empty-str", "meta": {"filepath": "src/Framework/Attributes/CoversFunction.php", "language": "php", "file_size": 937, "cut_index": 606, "middle_length": 52}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readonly class Depends\n{\n /**\n * @var non-empty-string\n */\n private string $meth", "suffix": "hodName\n */\n public function __construct(string $methodName)\n {\n $this->methodName = $methodName;\n }\n\n /**\n * @return non-empty-string\n */\n public function methodName(): string\n {\n return $this->methodName;\n }", "middle": "odName;\n\n /**\n * @param non-empty-string $met", "meta": {"filepath": "src/Framework/Attributes/Depends.php", "language": "php", "file_size": 917, "cut_index": 606, "middle_length": 52}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\nuse Closure;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATA", "suffix": "losure = $closure;\n $this->validateArgumentCount = $validateArgumentCount;\n }\n\n public function closure(): Closure\n {\n return $this->closure;\n }\n\n public function validateArgumentCount(): bool\n {\n return", "middle": "BLE)]\nfinal readonly class DataProviderClosure\n{\n private Closure $closure;\n private bool $validateArgumentCount;\n\n public function __construct(Closure $closure, bool $validateArgumentCount = true)\n {\n $this->c", "meta": {"filepath": "src/Framework/Attributes/DataProviderClosure.php", "language": "php", "file_size": 1037, "cut_index": 513, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readon", "suffix": " $className\n * @param non-empty-string $methodName\n */\n public function __construct(string $className, string $methodName)\n {\n $this->className = $className;\n $this->methodName = $methodName;\n }\n\n /**\n * @return clas", "middle": "ly class DependsExternalUsingDeepClone\n{\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @var non-empty-string\n */\n private string $methodName;\n\n /**\n * @param class-string ", "meta": {"filepath": "src/Framework/Attributes/DependsExternalUsingDeepClone.php", "language": "php", "file_size": 1243, "cut_index": 518, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readonly class DependsOnClass\n{\n ", "suffix": "ring $className;\n\n /**\n * @param class-string $className\n */\n public function __construct(string $className)\n {\n $this->className = $className;\n }\n\n /**\n * @return class-string\n */\n public function className(): stri", "middle": " /**\n * @var class-string\n */\n private st", "meta": {"filepath": "src/Framework/Attributes/DependsOnClass.php", "language": "php", "file_size": 905, "cut_index": 547, "middle_length": 52}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readonly class DependsOnClassUsingShallowClone\n{\n /**\n * @var class-string\n */\n ", "suffix": "ass-string $className\n */\n public function __construct(string $className)\n {\n $this->className = $className;\n }\n\n /**\n * @return class-string\n */\n public function className(): string\n {\n return $this->className;\n", "middle": "private string $className;\n\n /**\n * @param cl", "meta": {"filepath": "src/Framework/Attributes/DependsOnClassUsingShallowClone.php", "language": "php", "file_size": 922, "cut_index": 606, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readonly cla", "suffix": " public function __construct(string $methodName, bool $validateArgumentCount = true, bool $skipWhenEmpty = false)\n {\n $this->methodName = $methodName;\n $this->validateArgumentCount = $validateArgumentCount;\n $this->ski", "middle": "ss DataProvider\n{\n /**\n * @var non-empty-string\n */\n private string $methodName;\n private bool $validateArgumentCount;\n private bool $skipWhenEmpty;\n\n /**\n * @param non-empty-string $methodName\n */\n", "meta": {"filepath": "src/Framework/Attributes/DataProvider.php", "language": "php", "file_size": 1390, "cut_index": 524, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readon", "suffix": " $className\n * @param non-empty-string $methodName\n */\n public function __construct(string $className, string $methodName)\n {\n $this->className = $className;\n $this->methodName = $methodName;\n }\n\n /**\n * @return c", "middle": "ly class DependsExternalUsingShallowClone\n{\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @var non-empty-string\n */\n private string $methodName;\n\n /**\n * @param class-string", "meta": {"filepath": "src/Framework/Attributes/DependsExternalUsingShallowClone.php", "language": "php", "file_size": 1246, "cut_index": 518, "middle_length": 229}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readonly class DependsUsingDeepClone\n{\n /**\n * @var non-empty-string\n */\n privat", "suffix": "ty-string $methodName\n */\n public function __construct(string $methodName)\n {\n $this->methodName = $methodName;\n }\n\n /**\n * @return non-empty-string\n */\n public function methodName(): string\n {\n return $this->met", "middle": "e string $methodName;\n\n /**\n * @param non-emp", "meta": {"filepath": "src/Framework/Attributes/DependsUsingDeepClone.php", "language": "php", "file_size": 931, "cut_index": 606, "middle_length": 52}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readon", "suffix": " * @param non-empty-string $methodName\n */\n public function __construct(string $className, string $methodName)\n {\n $this->className = $className;\n $this->methodName = $methodName;\n }\n\n /**\n * @return class-string\n ", "middle": "ly class DependsExternal\n{\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @var non-empty-string\n */\n private string $methodName;\n\n /**\n * @param class-string $className\n ", "meta": {"filepath": "src/Framework/Attributes/DependsExternal.php", "language": "php", "file_size": 1229, "cut_index": 518, "middle_length": 229}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readonly class DependsOnClassUsingDeepClone\n{\n /**\n * @var class-string\n */\n pri", "suffix": "-string $className\n */\n public function __construct(string $className)\n {\n $this->className = $className;\n }\n\n /**\n * @return class-string\n */\n public function className(): string\n {\n return $this->className;\n ", "middle": "vate string $className;\n\n /**\n * @param class", "meta": {"filepath": "src/Framework/Attributes/DependsOnClassUsingDeepClone.php", "language": "php", "file_size": 919, "cut_index": 606, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readonly ", "suffix": " */\n private string $text;\n\n /**\n * @param non-empty-string $text\n */\n public function __construct(string $text)\n {\n $this->text = $text;\n }\n\n /**\n * @return non-empty-string\n */\n public function text(): stri", "middle": "class Ticket\n{\n /**\n * @var non-empty-string\n", "meta": {"filepath": "src/Framework/Attributes/Ticket.php", "language": "php", "file_size": 900, "cut_index": 547, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestStatus;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Risky exte", "suffix": "{\n return true;\n }\n\n public function asInt(): int\n {\n return 5;\n }\n\n public function asString(): string\n {\n return 'risky';\n }\n\n /**\n * @return non-negative-int\n */\n public function sortWeight(): int\n", "middle": "nds Known\n{\n public function isRisky(): true\n ", "meta": {"filepath": "src/Framework/TestStatus/Risky.php", "language": "php", "file_size": 887, "cut_index": 547, "middle_length": 52}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_array;\nuse Closure;\nuse ReflectionFunction;\n\n/**\n * @template CallbackInput of mixed\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class Callback extends C", "suffix": "allback)\n {\n $this->callback = $callback;\n }\n\n /**\n * Returns a string representation of the constraint.\n */\n public function toString(): string\n {\n return 'is accepted by specified callback';\n }\n\n public function", "middle": "onstraint\n{\n /**\n * @var callable(CallbackInput): bool\n */\n private readonly mixed $callback;\n\n /**\n * @param callable(CallbackInput $input): bool $callback\n */\n public function __construct(callable $c", "meta": {"filepath": "src/Framework/Constraint/Callback.php", "language": "php", "file_size": 1545, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEA", "suffix": "* @param class-string $className\n * @param non-empty-string $propertyName\n */\n public function __construct(string $className, string $propertyName)\n {\n $this->className = $className;\n $this->propertyName = $propertyName;\n", "middle": "TABLE)]\nfinal readonly class ExcludeStaticPropertyFromBackup\n{\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @var non-empty-string\n */\n private string $propertyName;\n\n /**\n ", "meta": {"filepath": "src/Framework/Attributes/ExcludeStaticPropertyFromBackup.php", "language": "php", "file_size": 1287, "cut_index": 524, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readonly ", "suffix": " */\n private string $name;\n\n /**\n * @param non-empty-string $name\n */\n public function __construct(string $name)\n {\n $this->name = $name;\n }\n\n /**\n * @return non-empty-string\n */\n public function name(): strin", "middle": "class Group\n{\n /**\n * @var non-empty-string\n ", "meta": {"filepath": "src/Framework/Attributes/Group.php", "language": "php", "file_size": 899, "cut_index": 547, "middle_length": 52}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD)]\nfinal readonly class PostCondition\n{\n /**\n * @var non-negative-int\n *", "suffix": "non-negative-int $priority\n */\n public function __construct(int $priority = 0)\n {\n $this->priority = $priority;\n }\n\n /**\n * @return non-negative-int\n */\n public function priority(): int\n {\n return $this->priority", "middle": "/\n private int $priority;\n\n /**\n * @param ", "meta": {"filepath": "src/Framework/Attributes/PostCondition.php", "language": "php", "file_size": 877, "cut_index": 559, "middle_length": 52}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readonly class RequiresFunction\n{\n /**\n ", "suffix": "g $functionName;\n\n /**\n * @param non-empty-string $functionName\n */\n public function __construct(string $functionName)\n {\n $this->functionName = $functionName;\n }\n\n /**\n * @return non-empty-string\n */\n public functi", "middle": " * @var non-empty-string\n */\n private strin", "meta": {"filepath": "src/Framework/Attributes/RequiresFunction.php", "language": "php", "file_size": 966, "cut_index": 582, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEA", "suffix": " /**\n * @param non-empty-string $environmentVariableName\n * @param ?non-empty-string $value\n */\n public function __construct(string $environmentVariableName, null|string $value = null)\n {\n $this->environmentVariableName = $envi", "middle": "TABLE)]\nfinal readonly class RequiresEnvironmentVariable\n{\n /**\n * @var non-empty-string\n */\n private string $environmentVariableName;\n\n /**\n * @var ?non-empty-string\n */\n private null|string $value;\n\n", "meta": {"filepath": "src/Framework/Attributes/RequiresEnvironmentVariable.php", "language": "php", "file_size": 1381, "cut_index": 524, "middle_length": 229}} +{"prefix": "\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribu", "suffix": " public function __construct(string $globalVariableName)\n {\n $this->globalVariableName = $globalVariableName;\n }\n\n /**\n * @return non-empty-string\n */\n public function globalVariableName(): string\n {\n return $this->gl", "middle": "te::IS_REPEATABLE)]\nfinal readonly class ExcludeGlobalVariableFromBackup\n{\n /**\n * @var non-empty-string\n */\n private string $globalVariableName;\n\n /**\n * @param non-empty-string $globalVariableName\n */\n ", "meta": {"filepath": "src/Framework/Attributes/ExcludeGlobalVariableFromBackup.php", "language": "php", "file_size": 1023, "cut_index": 512, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD)]\nfinal readonly class IgnorePhpunitWarnings\n{\n /** @var null|non-empty-string */\n private ?string ", "suffix": "ty-string $messagePattern\n */\n public function __construct(null|string $messagePattern = null)\n {\n $this->messagePattern = $messagePattern;\n }\n\n /**\n * @return null|non-empty-string\n */\n public function messagePattern(): ?", "middle": "$messagePattern;\n\n /**\n * @param null|non-emp", "meta": {"filepath": "src/Framework/Attributes/IgnorePhpunitWarnings.php", "language": "php", "file_size": 949, "cut_index": 582, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEA", "suffix": "ng $className\n * @param non-empty-string $methodName\n */\n public function __construct(string $className, string $methodName)\n {\n $this->className = $className;\n $this->methodName = $methodName;\n }\n\n /**\n * @return", "middle": "TABLE)]\nfinal readonly class RequiresMethod\n{\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @var non-empty-string\n */\n private string $methodName;\n\n /**\n * @param class-stri", "meta": {"filepath": "src/Framework/Attributes/RequiresMethod.php", "language": "php", "file_size": 1254, "cut_index": 524, "middle_length": 229}} +{"prefix": "\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribu", "suffix": "onstruct(null|string $messagePattern = null)\n {\n $this->messagePattern = $messagePattern;\n }\n\n /**\n * @return null|non-empty-string\n */\n public function messagePattern(): ?string\n {\n return $this->messagePattern;\n }\n", "middle": "te::IS_REPEATABLE)]\nfinal readonly class IgnoreDeprecations\n{\n /** @var null|non-empty-string */\n private ?string $messagePattern;\n\n /**\n * @param null|non-empty-string $messagePattern\n */\n public function __c", "meta": {"filepath": "src/Framework/Attributes/IgnoreDeprecations.php", "language": "php", "file_size": 999, "cut_index": 512, "middle_length": 229}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD)]\nfinal readonly class PreCondition\n{\n /**\n * @var non-negative-int\n */", "suffix": "on-negative-int $priority\n */\n public function __construct(int $priority = 0)\n {\n $this->priority = $priority;\n }\n\n /**\n * @return non-negative-int\n */\n public function priority(): int\n {\n return $this->priority;", "middle": "\n private int $priority;\n\n /**\n * @param n", "meta": {"filepath": "src/Framework/Attributes/PreCondition.php", "language": "php", "file_size": 876, "cut_index": 559, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class LogicalAnd extends BinaryOperator\n{\n public static function fromConstraints(mixed ...$constraints): se", "suffix": "precedence.\n *\n * @see https://www.php.net/manual/en/language.operators.precedence.php\n */\n public function precedence(): int\n {\n return 22;\n }\n\n /**\n * Evaluates the constraint for parameter $other. Returns true if the\n ", "middle": "lf\n {\n return new self(...$constraints);\n }\n\n /**\n * Returns the name of this operator.\n */\n public function operator(): string\n {\n return 'and';\n }\n\n /**\n * Returns this operator's ", "meta": {"filepath": "src/Framework/Constraint/Operator/LogicalAnd.php", "language": "php", "file_size": 1348, "cut_index": 524, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]\nfinal readonly class RequiresOperatingSystem\n{\n /**\n * @var non-empty-", "suffix": ";\n\n /**\n * @param non-empty-string $regularExpression\n */\n public function __construct(string $regularExpression)\n {\n $this->regularExpression = $regularExpression;\n }\n\n /**\n * @return non-empty-string\n */\n public f", "middle": "string\n */\n private string $regularExpression", "meta": {"filepath": "src/Framework/Attributes/RequiresOperatingSystem.php", "language": "php", "file_size": 981, "cut_index": 582, "middle_length": 52}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]\nfinal readonly class RequiresPhp\n{\n /**\n * @var non-empty-string\n ", "suffix": " * @param non-empty-string $versionRequirement\n */\n public function __construct(string $versionRequirement)\n {\n $this->versionRequirement = $versionRequirement;\n }\n\n /**\n * @return non-empty-string\n */\n public function", "middle": "*/\n private string $versionRequirement;\n\n /**\n", "meta": {"filepath": "src/Framework/Attributes/RequiresPhp.php", "language": "php", "file_size": 976, "cut_index": 582, "middle_length": 52}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]\nfinal readonly class RequiresPhpunit\n{\n /**\n * @var non-empty-string\n ", "suffix": "/**\n * @param non-empty-string $versionRequirement\n */\n public function __construct(string $versionRequirement)\n {\n $this->versionRequirement = $versionRequirement;\n }\n\n /**\n * @return non-empty-string\n */\n public func", "middle": " */\n private string $versionRequirement;\n\n ", "meta": {"filepath": "src/Framework/Attributes/RequiresPhpunit.php", "language": "php", "file_size": 980, "cut_index": 582, "middle_length": 52}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\nuse PHPUnit\\Runner\\Extension\\Extension;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLA", "suffix": "g $extensionClass\n */\n public function __construct(string $extensionClass)\n {\n $this->extensionClass = $extensionClass;\n }\n\n /**\n * @return class-string\n */\n public function extensionClass(): string\n ", "middle": "SS | Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readonly class RequiresPhpunitExtension\n{\n /**\n * @var class-string\n */\n private string $extensionClass;\n\n /**\n * @param class-strin", "meta": {"filepath": "src/Framework/Attributes/RequiresPhpunitExtension.php", "language": "php", "file_size": 1049, "cut_index": 513, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD)]\nfinal readonly class TestDoxFormatter\n{\n /**\n * @var non-empt", "suffix": " /**\n * @param non-empty-string $methodName\n */\n public function __construct(string $methodName)\n {\n $this->methodName = $methodName;\n }\n\n /**\n * @return non-empty-string\n */\n public function methodName(): string\n ", "middle": "y-string\n */\n private string $methodName;\n\n ", "meta": {"filepath": "src/Framework/Attributes/TestDoxFormatter.php", "language": "php", "file_size": 899, "cut_index": 547, "middle_length": 52}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readon", "suffix": "ty-string $name\n */\n public function __construct(array $data, ?string $name = null)\n {\n $this->data = $data;\n $this->name = $name;\n }\n\n /**\n * @return array\n */\n public function data(): array\n {\n re", "middle": "ly class TestWith\n{\n /**\n * @var array\n */\n private array $data;\n\n /**\n * @var ?non-empty-string\n */\n private ?string $name;\n\n /**\n * @param array $data\n * @param ?non-emp", "meta": {"filepath": "src/Framework/Attributes/TestWith.php", "language": "php", "file_size": 1155, "cut_index": 518, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]\nfinal readon", "suffix": " ?non-empty-string $name\n */\n public function __construct(string $json, ?string $name = null)\n {\n $this->json = $json;\n $this->name = $name;\n }\n\n /**\n * @return non-empty-string\n */\n public function json(): string\n ", "middle": "ly class TestWithJson\n{\n /**\n * @var non-empty-string\n */\n private string $json;\n\n /**\n * @var ?non-empty-string\n */\n private ?string $name;\n\n /**\n * @param non-empty-string $json\n * @param", "meta": {"filepath": "src/Framework/Attributes/TestWithJson.php", "language": "php", "file_size": 1170, "cut_index": 518, "middle_length": 229}} +{"prefix": "\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]\nfinal r", "suffix": "nstruct(string $operatingSystemFamily)\n {\n $this->operatingSystemFamily = $operatingSystemFamily;\n }\n\n /**\n * @return non-empty-string\n */\n public function operatingSystemFamily(): string\n {\n return $this->operatingSyst", "middle": "eadonly class RequiresOperatingSystemFamily\n{\n /**\n * @var non-empty-string\n */\n private string $operatingSystemFamily;\n\n /**\n * @param non-empty-string $operatingSystemFamily\n */\n public function __co", "meta": {"filepath": "src/Framework/Attributes/RequiresOperatingSystemFamily.php", "language": "php", "file_size": 1015, "cut_index": 512, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS", "suffix": "pty-string $setting\n * @param non-empty-string $value\n */\n public function __construct(string $setting, string $value)\n {\n $this->setting = $setting;\n $this->value = $value;\n }\n\n /**\n * @return non-empty-string\n ", "middle": "_REPEATABLE)]\nfinal readonly class RequiresSetting\n{\n /**\n * @var non-empty-string\n */\n private string $setting;\n\n /**\n * @var non-empty-string\n */\n private string $value;\n\n /**\n * @param non-em", "meta": {"filepath": "src/Framework/Attributes/RequiresSetting.php", "language": "php", "file_size": 1215, "cut_index": 518, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_METHOD)]\nfinal readonly class TestDoxFormatterEx", "suffix": "mpty-string $methodName\n */\n public function __construct(string $className, string $methodName)\n {\n $this->className = $className;\n $this->methodName = $methodName;\n }\n\n /**\n * @return class-string\n */\n public func", "middle": "ternal\n{\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @var non-empty-string\n */\n private string $methodName;\n\n /**\n * @param class-string $className\n * @param non-e", "meta": {"filepath": "src/Framework/Attributes/TestDoxFormatterExternal.php", "language": "php", "file_size": 1211, "cut_index": 518, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEA", "suffix": " * @param non-empty-string $extension\n * @param null|non-empty-string $versionRequirement\n */\n public function __construct(string $extension, ?string $versionRequirement = null)\n {\n $this->extension = $extension;\n ", "middle": "TABLE)]\nfinal readonly class RequiresPhpExtension\n{\n /**\n * @var non-empty-string\n */\n private string $extension;\n\n /**\n * @var null|non-empty-string\n */\n private ?string $versionRequirement;\n\n /**\n", "meta": {"filepath": "src/Framework/Attributes/RequiresPhpExtension.php", "language": "php", "file_size": 1362, "cut_index": 524, "middle_length": 229}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]\nfinal readonly class TestDox\n{\n /**\n * @var non", "suffix": " /**\n * @param non-empty-string $text\n */\n public function __construct(string $text)\n {\n $this->text = $text;\n }\n\n /**\n * @return non-empty-string\n */\n public function text(): string\n {\n return $this->text;\n ", "middle": "-empty-string\n */\n private string $text;\n\n ", "meta": {"filepath": "src/Framework/Attributes/TestDox.php", "language": "php", "file_size": 874, "cut_index": 559, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]\nfinal readonly class UsesClass\n{\n /**\n ", "suffix": "className;\n\n /**\n * @param class-string $className\n */\n public function __construct(string $className)\n {\n $this->className = $className;\n }\n\n /**\n * @return class-string\n */\n public function className(): string\n ", "middle": " * @var class-string\n */\n private string $", "meta": {"filepath": "src/Framework/Attributes/UsesClass.php", "language": "php", "file_size": 899, "cut_index": 547, "middle_length": 52}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]\nfinal readonly class UsesFunction\n{\n /**\n * @var non-empty-string\n */\n private string $", "suffix": "g $functionName\n */\n public function __construct(string $functionName)\n {\n $this->functionName = $functionName;\n }\n\n /**\n * @return non-empty-string\n */\n public function functionName(): string\n {\n return $this->f", "middle": "functionName;\n\n /**\n * @param non-empty-strin", "meta": {"filepath": "src/Framework/Attributes/UsesFunction.php", "language": "php", "file_size": 935, "cut_index": 606, "middle_length": 52}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]\nfinal readonly class UsesNamespace\n{\n /**\n * @var non-empty-string\n */\n private string ", "suffix": "$namespace\n */\n public function __construct(string $namespace)\n {\n $this->namespace = $namespace;\n }\n\n /**\n * @return non-empty-string\n */\n public function namespace(): string\n {\n return $this->namespace;\n }\n}", "middle": "$namespace;\n\n /**\n * @param non-empty-string ", "meta": {"filepath": "src/Framework/Attributes/UsesNamespace.php", "language": "php", "file_size": 915, "cut_index": 606, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEA", "suffix": "/**\n * @param non-empty-string $environmentVariableName\n * @param ?non-empty-string $value\n */\n public function __construct(string $environmentVariableName, null|string $value = null)\n {\n $this->environmentVariableName = $environm", "middle": "TABLE)]\nfinal readonly class WithEnvironmentVariable\n{\n /**\n * @var non-empty-string\n */\n private string $environmentVariableName;\n\n /**\n * @var ?non-empty-string\n */\n private null|string $value;\n\n ", "meta": {"filepath": "src/Framework/Attributes/WithEnvironmentVariable.php", "language": "php", "file_size": 1377, "cut_index": 524, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestStatus;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Error exte", "suffix": "{\n return true;\n }\n\n public function asInt(): int\n {\n return 8;\n }\n\n public function asString(): string\n {\n return 'error';\n }\n\n /**\n * @return non-negative-int\n */\n public function sortWeight(): int\n", "middle": "nds Known\n{\n public function isError(): true\n ", "meta": {"filepath": "src/Framework/TestStatus/Error.php", "language": "php", "file_size": 887, "cut_index": 547, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestStatus;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Incomplete", "suffix": " true\n {\n return true;\n }\n\n public function asInt(): int\n {\n return 2;\n }\n\n public function asString(): string\n {\n return 'incomplete';\n }\n\n /**\n * @return non-negative-int\n */\n public function sor", "middle": " extends Known\n{\n public function isIncomplete():", "meta": {"filepath": "src/Framework/TestStatus/Incomplete.php", "language": "php", "file_size": 902, "cut_index": 547, "middle_length": 52}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]\nfinal readonly class UsesClassesThatExtendClass\n{\n /**\n * @var class-string\n */\n privat", "suffix": "ring $className\n */\n public function __construct(string $className)\n {\n $this->className = $className;\n }\n\n /**\n * @return class-string\n */\n public function className(): string\n {\n return $this->className;\n }\n", "middle": "e string $className;\n\n /**\n * @param class-st", "meta": {"filepath": "src/Framework/Attributes/UsesClassesThatExtendClass.php", "language": "php", "file_size": 916, "cut_index": 606, "middle_length": 52}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]\nfinal readonly class UsesClassesThatImplementInterface\n{\n /**\n * @var ", "suffix": "me;\n\n /**\n * @param class-string $interfaceName\n */\n public function __construct(string $interfaceName)\n {\n $this->interfaceName = $interfaceName;\n }\n\n /**\n * @return class-string\n */\n public function interfaceName(", "middle": "class-string\n */\n private string $interfaceNa", "meta": {"filepath": "src/Framework/Attributes/UsesClassesThatImplementInterface.php", "language": "php", "file_size": 951, "cut_index": 582, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]\nfinal readonly class UsesTrait\n{\n /**\n ", "suffix": "traitName;\n\n /**\n * @param trait-string $traitName\n */\n public function __construct(string $traitName)\n {\n $this->traitName = $traitName;\n }\n\n /**\n * @return trait-string\n */\n public function traitName(): string\n ", "middle": " * @var trait-string\n */\n private string $", "meta": {"filepath": "src/Framework/Attributes/UsesTrait.php", "language": "php", "file_size": 899, "cut_index": 547, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestStatus;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Failure ex", "suffix": " {\n return true;\n }\n\n public function asInt(): int\n {\n return 7;\n }\n\n public function asString(): string\n {\n return 'failure';\n }\n\n /**\n * @return non-negative-int\n */\n public function sortWeight()", "middle": "tends Known\n{\n public function isFailure(): true\n", "meta": {"filepath": "src/Framework/TestStatus/Failure.php", "language": "php", "file_size": 893, "cut_index": 547, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestStatus;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Deprecatio", "suffix": "): true\n {\n return true;\n }\n\n public function asInt(): int\n {\n return 4;\n }\n\n public function asString(): string\n {\n return 'deprecation';\n }\n\n /**\n * @return non-negative-int\n */\n public function ", "middle": "n extends Known\n{\n public function isDeprecation(", "meta": {"filepath": "src/Framework/TestStatus/Deprecation.php", "language": "php", "file_size": 905, "cut_index": 547, "middle_length": 52}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Attributes;\n\nuse Attribute;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\n#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]\nfinal readonl", "suffix": "@param non-empty-string $methodName\n */\n public function __construct(string $className, string $methodName)\n {\n $this->className = $className;\n $this->methodName = $methodName;\n }\n\n /**\n * @return class-string\n */\n ", "middle": "y class UsesMethod\n{\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @var non-empty-string\n */\n private string $methodName;\n\n /**\n * @param class-string $className\n * ", "meta": {"filepath": "src/Framework/Attributes/UsesMethod.php", "language": "php", "file_size": 1223, "cut_index": 518, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestStatus;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Success ex", "suffix": " {\n return true;\n }\n\n public function asInt(): int\n {\n return 0;\n }\n\n public function asString(): string\n {\n return 'success';\n }\n\n /**\n * @return non-negative-int\n */\n public function sortWeight()", "middle": "tends Known\n{\n public function isSuccess(): true\n", "meta": {"filepath": "src/Framework/TestStatus/Success.php", "language": "php", "file_size": 893, "cut_index": 547, "middle_length": 52}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestStatus;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nabstract readonly class TestStatus\n{\n private string $message;\n\n public static function from", "suffix": " 4 => self::deprecation(),\n 5 => self::risky(),\n 6 => self::warning(),\n 7 => self::failure(),\n 8 => self::error(),\n default => self::unknown(),\n };\n }\n\n pu", "middle": "(int $status): self\n {\n return match ($status) {\n 0 => self::success(),\n 1 => self::skipped(),\n 2 => self::incomplete(),\n 3 => self::notice(),\n ", "meta": {"filepath": "src/Framework/TestStatus/TestStatus.php", "language": "php", "file_size": 4421, "cut_index": 614, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestStatus;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Warning ex", "suffix": " {\n return true;\n }\n\n public function asInt(): int\n {\n return 6;\n }\n\n public function asString(): string\n {\n return 'warning';\n }\n\n /**\n * @return non-negative-int\n */\n public function sortWeight()", "middle": "tends Known\n{\n public function isWarning(): true\n", "meta": {"filepath": "src/Framework/TestStatus/Warning.php", "language": "php", "file_size": 893, "cut_index": 547, "middle_length": 52}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestRunner;\n\nuse function array_reverse;\nuse function class_exists;\nuse function count;\nuse function explode;\nuse PHPUnit\\Runner\\ErrorHandler;\nuse PHPUnit\\Runner\\IssueTriggerResolver\\Resolver;\nuse PHPUnit\\TextUI\\Configuration\\Configuration;\n\n/**\n * @internal This class is not cover", "suffix": "'functions' => [],\n 'methods' => [],\n ];\n\n foreach ($configuration->source()->deprecationTriggers()['functions'] as $function) {\n $deprecationTriggers['functions'][] = $function;\n }\n\n foreach ($configurat", "middle": "ed by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ErrorHandlerBootstrapper\n{\n public static function bootstrap(Configuration $configuration): void\n {\n $deprecationTriggers = [\n ", "meta": {"filepath": "src/Framework/TestRunner/ErrorHandlerBootstrapper.php", "language": "php", "file_size": 2022, "cut_index": 563, "middle_length": 229}} +{"prefix": "tion assert;\nuse function extension_loaded;\nuse function sprintf;\nuse function xdebug_is_debugger_active;\nuse AssertionError;\nuse PHPUnit\\Event\\Facade;\nuse PHPUnit\\Framework\\Assert;\nuse PHPUnit\\Framework\\AssertionFailedError;\nuse PHPUnit\\Framework\\IncompleteTestError;\nuse PHPUnit\\Framework\\SkippedTest;\nuse PHPUnit\\Framework\\TestCase;\nuse PHPUnit\\Metadata\\Api\\CodeCoverage as CodeCoverageMetadataApi;\nuse PHPUnit\\Metadata\\Parser\\Registry as MetadataRegistry;\nuse PHPUnit\\Runner\\CodeCoverage;\nuse PHPUnit\\Runner\\", "suffix": ";\nuse SebastianBergmann\\CodeCoverage\\InvalidArgumentException;\nuse SebastianBergmann\\CodeCoverage\\Test\\Target\\TargetCollection;\nuse SebastianBergmann\\CodeCoverage\\UnintentionallyCoveredCodeException;\nuse SebastianBergmann\\Invoker\\Invoker;\nuse SebastianBerg", "middle": "ErrorHandler;\nuse PHPUnit\\Runner\\Exception;\nuse PHPUnit\\TextUI\\Configuration\\Configuration;\nuse PHPUnit\\TextUI\\Configuration\\Registry as ConfigurationRegistry;\nuse SebastianBergmann\\CodeCoverage\\Exception as CodeCoverageException", "meta": {"filepath": "src/Framework/TestRunner/TestRunner.php", "language": "php", "file_size": 13828, "cut_index": 921, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestStatus;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Notice ext", "suffix": " {\n return true;\n }\n\n public function asInt(): int\n {\n return 3;\n }\n\n public function asString(): string\n {\n return 'notice';\n }\n\n /**\n * @return non-negative-int\n */\n public function sortWeight(): i", "middle": "ends Known\n{\n public function isNotice(): true\n ", "meta": {"filepath": "src/Framework/TestStatus/Notice.php", "language": "php", "file_size": 890, "cut_index": 547, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestStatus;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Skipped ex", "suffix": " {\n return true;\n }\n\n public function asInt(): int\n {\n return 1;\n }\n\n public function asString(): string\n {\n return 'skipped';\n }\n\n /**\n * @return non-negative-int\n */\n public function sortWeight()", "middle": "tends Known\n{\n public function isSkipped(): true\n", "meta": {"filepath": "src/Framework/TestStatus/Skipped.php", "language": "php", "file_size": 893, "cut_index": 547, "middle_length": 52}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestRunner;\n\nuse const STDOUT;\nuse function ini_set;\nuse function rewind;\nuse function stream_get_contents;\nuse PHPUnit\\Framework\\TestCase;\n\n/**\n * @internal This class is not covered by the backward compatibility promise for PHPUni", "suffix": " }\n\n ini_set('xdebug.scream', '0');\n\n // Not every STDOUT target stream is rewindable\n $hasRewound = @rewind(STDOUT);\n\n if ($hasRewound && $stdout = @stream_get_contents(STDOUT)) {\n $output = $stdout . $output;\n ", "middle": "t\n */\nfinal readonly class ChildProcessOutputCollector\n{\n public static function collect(TestCase $test): string\n {\n $output = '';\n\n if (!$test->expectsOutput()) {\n $output = $test->output();\n ", "meta": {"filepath": "src/Framework/TestRunner/ChildProcessOutputCollector.php", "language": "php", "file_size": 1036, "cut_index": 513, "middle_length": 229}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestRunner;\n\nuse function assert;\nuse function bin2hex;\nuse function defined;\nuse function get_include_path;\nuse function hrtime;\nuse function random_bytes;\nuse function serialize;\nuse function sprintf;\nuse function sys_get_temp_dir;\nuse function tempnam;\nuse function unlink;\nuse function var_export;\nuse PHPUnit\\Event\\Facade as EventFacade;\nuse PHPUnit\\Event\\NoPreviousThrowableException;\nuse PHPUnit\\Framework\\Exception;\nuse PHPUnit", "suffix": "\\Util\\GlobalState;\nuse PHPUnit\\Util\\PHP\\Job;\nuse PHPUnit\\Util\\PHP\\JobRunnerRegistry;\nuse ReflectionClass;\nuse SebastianBergmann\\Template\\InvalidArgumentException;\nuse SebastianBergmann\\Template\\Template;\n\n/**\n * @no-named-arguments Parameter names are not ", "middle": "\\Framework\\ProcessIsolationException;\nuse PHPUnit\\Framework\\TestCase;\nuse PHPUnit\\Runner\\CodeCoverage;\nuse PHPUnit\\TextUI\\Configuration\\Registry as ConfigurationRegistry;\nuse PHPUnit\\TextUI\\Configuration\\SourceMapper;\nuse PHPUnit", "meta": {"filepath": "src/Framework/TestRunner/SeparateProcessTestRunner.php", "language": "php", "file_size": 8148, "cut_index": 716, "middle_length": 229}} +{"prefix": "tion\n * @throws ExpectationFailedException\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @see Assert::assertArrayIsEqualToArrayOnlyConsideringListOfKeys\n */\n function assertArrayIsEqualToArrayOnlyConsideringListOfKeys(array $expected, array $actual, array $keysToBeConsidered, string $message = ''): void\n {\n Assert::assertArrayIsEqualToArrayOnlyConsideringListOfKeys($expected, $actual, $keysToBeConsidered", "suffix": " $expected\n * @param array $actual\n * @param non-empty-list $keysToBeIgnored\n *\n * @throws Exception\n * @throws ExpectationFailedException\n *\n * @no-named-arguments Parameter names are not ", "middle": ", $message);\n }\n}\n\nif (!function_exists('PHPUnit\\Framework\\assertArrayIsEqualToArrayIgnoringListOfKeys')) {\n /**\n * Asserts that two arrays are equal while ignoring a list of keys.\n *\n * @param array ", "meta": {"filepath": "src/Framework/Assert/Functions.php", "language": "php", "file_size": 124567, "cut_index": 3790, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestStatus;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Unknown ex", "suffix": "true\n {\n return true;\n }\n\n public function asInt(): int\n {\n return -1;\n }\n\n public function asString(): string\n {\n return 'unknown';\n }\n\n /**\n * @return non-negative-int\n */\n public function sortWe", "middle": "tends TestStatus\n{\n public function isUnknown(): ", "meta": {"filepath": "src/Framework/TestStatus/Unknown.php", "language": "php", "file_size": 899, "cut_index": 547, "middle_length": 52}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestRunner;\n\nuse function assert;\nuse function hash_equals;\nuse function is_int;\nuse function property_exists;\nuse function strlen;\nuse function substr;\nuse function trim;\nuse function unserialize;\nuse PHPUnit\\Event\\Code\\TestMethodBuilder;\nuse PHPUnit\\Event\\Code\\ThrowableBuilder;\nuse PHPUnit\\Event\\Emitter;\nuse PHPUnit\\Event\\EventCollection;\nuse PHPUnit\\Event\\Facade;\nuse PHPUnit\\Framework\\AssertionFailedError;\nuse PHPUnit\\Framework\\", "suffix": "**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ChildProcessResultProcessor\n{\n private Facade $eventFacade;\n private Emitter $emitter;\n private PassedTests $passe", "middle": "Exception;\nuse PHPUnit\\Framework\\Test;\nuse PHPUnit\\Framework\\TestCase;\nuse PHPUnit\\Runner\\CodeCoverage;\nuse PHPUnit\\TestRunner\\TestResult\\Facade as TestResultFacade;\nuse PHPUnit\\TestRunner\\TestResult\\PassedTests;\nuse stdClass;\n\n/", "meta": {"filepath": "src/Framework/TestRunner/ChildProcessResultProcessor.php", "language": "php", "file_size": 5278, "cut_index": 716, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_array;\nuse function is_float;\nuse function is_int;\nuse function is_nan;\nuse function is_object;\nuse PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PH", "suffix": "gated description when this constraint is wrapped in a\n * LogicalNot operator. The guard ensures that LogicalAnd, LogicalOr, and\n * LogicalXor keep using the affirmative toString().\n */\n protected function toStringInContext(Operator $operato", "middle": "PUnit\n */\nfinal class IsNan extends Constraint\n{\n /**\n * Returns a string representation of the constraint.\n */\n public function toString(): string\n {\n return 'is nan';\n }\n\n /**\n * Returns the ne", "meta": {"filepath": "src/Framework/Constraint/Math/IsNan.php", "language": "php", "file_size": 1855, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class IsAnything extends Constraint\n{\n /**\n * Evaluates the constraint for parameter $other.\n *\n ", "suffix": "an value instead: true in case of success, false in case of a\n * failure.\n *\n * @throws void\n */\n public function evaluate(mixed $other, string $description = '', bool $returnResult = false): ?bool\n {\n return $returnResult ? tr", "middle": " * If $returnResult is set to false (the default), an exception is thrown\n * in case of a failure. null is returned otherwise.\n *\n * If $returnResult is true, the result of the evaluation is returned as\n * a boole", "meta": {"filepath": "src/Framework/Constraint/IsAnything.php", "language": "php", "file_size": 1313, "cut_index": 524, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_string;\nuse function json_decode;\nuse function sprintf;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Util\\InvalidJsonException;\nuse PHPUnit\\Util\\Json;\nuse SebastianBergmann\\Comparator\\ComparisonFailure;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatib", "suffix": "tring representation of the object.\n */\n public function toString(): string\n {\n return sprintf(\n 'matches JSON string \"%s\"',\n $this->value,\n );\n }\n\n /**\n * Returns the negated description when this co", "middle": "ility promise for PHPUnit\n */\nfinal class JsonMatches extends Constraint\n{\n private readonly string $value;\n\n public function __construct(string $value)\n {\n $this->value = $value;\n }\n\n /**\n * Returns a s", "meta": {"filepath": "src/Framework/Constraint/JsonMatches.php", "language": "php", "file_size": 3429, "cut_index": 614, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_string;\nuse function preg_last_error_msg;\nuse function preg_match;\nuse function sprintf;\nuse PHPUnit\\Framework\\Exception as FrameworkException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit", "suffix": "sentation of the constraint.\n */\n public function toString(): string\n {\n return sprintf(\n 'matches PCRE pattern \"%s\"',\n $this->pattern,\n );\n }\n\n /**\n * Returns the negated description when this constr", "middle": "\n */\nfinal class RegularExpression extends Constraint\n{\n private readonly string $pattern;\n\n public function __construct(string $pattern)\n {\n $this->pattern = $pattern;\n }\n\n /**\n * Returns a string repre", "meta": {"filepath": "src/Framework/Constraint/String/RegularExpression.php", "language": "php", "file_size": 2232, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_string;\nuse function str_ends_with;\nuse PHPUnit\\Framework\\EmptyStringException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class StringEndsWith extend", "suffix": "on;\n }\n\n $this->suffix = $suffix;\n }\n\n /**\n * Returns a string representation of the constraint.\n */\n public function toString(): string\n {\n return 'ends with \"' . $this->suffix . '\"';\n }\n\n /**\n * Returns ", "middle": "s Constraint\n{\n private readonly string $suffix;\n\n /**\n * @throws EmptyStringException\n */\n public function __construct(string $suffix)\n {\n if ($suffix === '') {\n throw new EmptyStringExcepti", "meta": {"filepath": "src/Framework/Constraint/String/StringEndsWith.php", "language": "php", "file_size": 1867, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function assert;\nuse function is_string;\nuse function preg_replace;\nuse function sprintf;\nuse function trim;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class StringEqualsStringIgnoringWhit", "suffix": "ation of the constraint.\n */\n public function toString(): string\n {\n return 'is equal to ' . $this->valueAsString();\n }\n\n /**\n * Returns the negated description when this constraint is wrapped in a\n * LogicalNot operator. Aut", "middle": "espace extends Constraint\n{\n private readonly string $string;\n\n public function __construct(string $string)\n {\n $this->string = $this->normalizeWhitespace($string);\n }\n\n /**\n * Returns a string represent", "meta": {"filepath": "src/Framework/Constraint/String/StringEqualsStringIgnoringWhitespace.php", "language": "php", "file_size": 2197, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_string;\nuse function str_starts_with;\nuse PHPUnit\\Framework\\EmptyStringException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class StringStartsWith ex", "suffix": "eption;\n }\n\n $this->prefix = $prefix;\n }\n\n /**\n * Returns a string representation of the constraint.\n */\n public function toString(): string\n {\n return 'starts with \"' . $this->prefix . '\"';\n }\n\n /**\n * Re", "middle": "tends Constraint\n{\n private readonly string $prefix;\n\n /**\n * @throws EmptyStringException\n */\n public function __construct(string $prefix)\n {\n if ($prefix === '') {\n throw new EmptyStringExc", "meta": {"filepath": "src/Framework/Constraint/String/StringStartsWith.php", "language": "php", "file_size": 1877, "cut_index": 537, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_array;\nuse function is_float;\nuse function is_infinite;\nuse function is_int;\nuse function is_object;\nuse PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise f", "suffix": " Returns the negated description when this constraint is wrapped in a\n * LogicalNot operator. The guard ensures that LogicalAnd, LogicalOr, and\n * LogicalXor keep using the affirmative toString().\n */\n protected function toStringInContext(Op", "middle": "or PHPUnit\n */\nfinal class IsInfinite extends Constraint\n{\n /**\n * Returns a string representation of the constraint.\n */\n public function toString(): string\n {\n return 'is infinite';\n }\n\n /**\n *", "meta": {"filepath": "src/Framework/Constraint/Math/IsInfinite.php", "language": "php", "file_size": 1880, "cut_index": 537, "middle_length": 229}} +{"prefix": "unction str_replace;\nuse function strpos;\nuse function strtolower;\nuse function substr;\nuse Countable;\nuse PHPUnit\\Event\\Code\\NoTestCaseObjectOnCallStackException;\nuse PHPUnit\\Event\\Code\\TestMethodBuilder;\nuse PHPUnit\\Event\\Facade as EventFacade;\nuse PHPUnit\\Framework\\Assert;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Framework\\SelfDescribing;\nuse PHPUnit\\Util\\Exporter;\nuse ReflectionObject;\nuse SebastianBergmann\\Comparator\\ComparisonFailure;\nuse SebastianBergmann\\Comparator\\Factory as Co", "suffix": "\n * @param A $actual\n *\n * @return A\n */\n final public function __invoke(mixed $actual): mixed\n {\n Assert::assertThat($actual, $this);\n\n return $actual;\n }\n\n /**\n * Evaluates the constraint for parameter $other", "middle": "mparatorFactory;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nabstract class Constraint implements Countable, SelfDescribing\n{\n /**\n * @template A\n *", "meta": {"filepath": "src/Framework/Constraint/Constraint.php", "language": "php", "file_size": 10574, "cut_index": 921, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse const JSON_ERROR_CTRL_CHAR;\nuse const JSON_ERROR_DEPTH;\nuse const JSON_ERROR_NONE;\nuse const JSON_ERROR_STATE_MISMATCH;\nuse const JSON_ERROR_SYNTAX;\nuse const JSON_ERROR_UTF8;\nuse function is_string;\nuse function json_decode;\nuse function json_last_error;\nuse function json_validate;\nuse function sprintf;\n\n/**\n * @n", "suffix": "function toString(): string\n {\n return 'is valid JSON';\n }\n\n /**\n * Returns the negated description when this constraint is wrapped in a\n * LogicalNot operator. The guard ensures that LogicalAnd, LogicalOr, and\n * LogicalXor kee", "middle": "o-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class IsJson extends Constraint\n{\n /**\n * Returns a string representation of the constraint.\n */\n public ", "meta": {"filepath": "src/Framework/Constraint/String/IsJson.php", "language": "php", "file_size": 4175, "cut_index": 614, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_string;\nuse function sprintf;\nuse function strtr;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class StringEqualsStringIgnoringLineEndings extends Constraint\n{\n private readon", "suffix": "unction toString(): string\n {\n return 'is equal to ' . $this->valueAsString();\n }\n\n /**\n * Returns the negated description when this constraint is wrapped in a\n * LogicalNot operator. Authoring the negation here keeps the expected v", "middle": "ly string $string;\n\n public function __construct(string $string)\n {\n $this->string = $this->normalizeLineEndings($string);\n }\n\n /**\n * Returns a string representation of the constraint.\n */\n public f", "meta": {"filepath": "src/Framework/Constraint/String/StringEqualsStringIgnoringLineEndings.php", "language": "php", "file_size": 2169, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_array;\nuse function is_finite;\nuse function is_float;\nuse function is_int;\nuse function is_object;\nuse PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for", "suffix": "ns the negated description when this constraint is wrapped in a\n * LogicalNot operator. The guard ensures that LogicalAnd, LogicalOr, and\n * LogicalXor keep using the affirmative toString().\n */\n protected function toStringInContext(Operator", "middle": " PHPUnit\n */\nfinal class IsFinite extends Constraint\n{\n /**\n * Returns a string representation of the constraint.\n */\n public function toString(): string\n {\n return 'is finite';\n }\n\n /**\n * Retur", "meta": {"filepath": "src/Framework/Constraint/Math/IsFinite.php", "language": "php", "file_size": 1870, "cut_index": 537, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function gettype;\nuse function is_array;\nuse function is_bool;\nuse function is_callable;\nuse function is_float;\nuse function is_int;\nuse function is_iterable;\nuse function is_numeric;\nuse function is_object;\nuse function is_scalar;\nuse function is_string;\nuse function sprintf;\nuse PHPUnit\\Framework\\NativeType;\n\n/**", "suffix": "ype $type)\n {\n $this->type = $type;\n }\n\n /**\n * Returns a string representation of the constraint.\n */\n public function toString(): string\n {\n return sprintf(\n 'is of type %s',\n $this->type->value,", "middle": "\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class IsType extends Constraint\n{\n private readonly NativeType $type;\n\n public function __construct(NativeT", "meta": {"filepath": "src/Framework/Constraint/Type/IsType.php", "language": "php", "file_size": 3140, "cut_index": 614, "middle_length": 229}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function get_debug_type;\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward ", "suffix": " parent::__construct(\n sprintf(\n 'Method %s may not return value of type %s, its declared return type is \"%s\"',\n $method->name(),\n get_debug_type($value),\n $method->returnTypeDeclarati", "middle": "compatibility promise for PHPUnit\n */\nfinal class IncompatibleReturnValueException extends \\PHPUnit\\Framework\\Exception implements Exception\n{\n public function __construct(ConfigurableMethod $method, mixed $value)\n {\n ", "meta": {"filepath": "src/Framework/MockObject/Exception/IncompatibleReturnValueException.php", "language": "php", "file_size": 1038, "cut_index": 513, "middle_length": 229}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_string;\nuse function mb_detect_encoding;\nuse function mb_stripos;\nuse function mb_strtolower;\nuse function sprintf;\nuse function str_contains;\nuse function strlen;\nuse function strtr;\nuse PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class StringContains extends Constraint\n{\n private readonly string $need", "suffix": "ings) {\n $needle = $this->normalizeLineEndings($needle);\n }\n\n $this->needle = $needle;\n $this->ignoreCase = $ignoreCase;\n $this->ignoreLineEndings = $ignoreLineEndings;\n }\n\n /**\n * Returns ", "middle": "le;\n private readonly bool $ignoreCase;\n private readonly bool $ignoreLineEndings;\n\n public function __construct(string $needle, bool $ignoreCase = false, bool $ignoreLineEndings = false)\n {\n if ($ignoreLineEnd", "meta": {"filepath": "src/Framework/Constraint/String/StringContains.php", "language": "php", "file_size": 5294, "cut_index": 716, "middle_length": 229}} +{"prefix": "de;\nuse function implode;\nuse function is_string;\nuse function preg_last_error_msg;\nuse function preg_match;\nuse function preg_quote;\nuse function preg_replace;\nuse function sprintf;\nuse function str_replace;\nuse function strlen;\nuse function strpos;\nuse function strtr;\nuse function substr;\nuse PHPUnit\\Framework\\Exception as FrameworkException;\nuse PHPUnit\\Util\\DifferBuilder;\nuse SebastianBergmann\\Diff\\Differ;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise ", "suffix": "$formatDescription;\n }\n\n public function toString(): string\n {\n return 'matches format description:' . PHP_EOL . $this->formatDescription;\n }\n\n /**\n * Returns the negated description when this constraint is wrapped in a\n * Log", "middle": "for PHPUnit\n */\nfinal class StringMatchesFormatDescription extends Constraint\n{\n private readonly string $formatDescription;\n\n public function __construct(string $formatDescription)\n {\n $this->formatDescription = ", "meta": {"filepath": "src/Framework/Constraint/String/StringMatchesFormatDescription.php", "language": "php", "file_size": 9254, "cut_index": 921, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function gettype;\nuse function is_object;\nuse function is_scalar;\nuse function sprintf;\nuse ReflectionObject;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ObjectHasProperty extends Constraint\n{\n private readonly string $propertyName", "suffix": " {\n return sprintf(\n 'has property \"%s\"',\n $this->propertyName,\n );\n }\n\n /**\n * Returns the negated description when this constraint is wrapped in a\n * LogicalNot operator. The guard ensures that LogicalA", "middle": ";\n\n public function __construct(string $propertyName)\n {\n $this->propertyName = $propertyName;\n }\n\n /**\n * Returns a string representation of the constraint.\n */\n public function toString(): string\n ", "meta": {"filepath": "src/Framework/Constraint/Object/ObjectHasProperty.php", "language": "php", "file_size": 3215, "cut_index": 614, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function array_key_exists;\nuse function is_array;\nuse function is_int;\nuse function is_string;\nuse ArrayAccess;\nuse PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ", "suffix": "public function toString(): string\n {\n return 'has the key ' . Exporter::export($this->key);\n }\n\n /**\n * Evaluates the constraint for parameter $other. Returns true if the\n * constraint is met, false otherwise.\n */\n protected", "middle": "ArrayHasKey extends Constraint\n{\n private readonly mixed $key;\n\n public function __construct(mixed $key)\n {\n $this->key = $key;\n }\n\n /**\n * Returns a string representation of the constraint.\n */\n ", "meta": {"filepath": "src/Framework/Constraint/Array/ArrayHasKey.php", "language": "php", "file_size": 2606, "cut_index": 563, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function sprintf;\nuse PHPUnit\\Util\\Filter;\nuse Throwable;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nf", "suffix": "ion of the constraint.\n */\n public function toString(): string\n {\n return sprintf(\n 'exception of type \"%s\"',\n $this->className,\n );\n }\n\n /**\n * Evaluates the constraint for parameter $other. Returns ", "middle": "inal class Exception extends Constraint\n{\n private readonly string $className;\n\n public function __construct(string $className)\n {\n $this->className = $className;\n }\n\n /**\n * Returns a string representat", "meta": {"filepath": "src/Framework/Constraint/Exception/Exception.php", "language": "php", "file_size": 2086, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_string;\nuse function sprintf;\nuse PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward co", "suffix": "= $expectedMessage;\n }\n\n public function toString(): string\n {\n if ($this->expectedMessage === '') {\n return 'exception message is empty';\n }\n\n return 'exception message is ' . Exporter::export($this->expectedMessag", "middle": "mpatibility promise for PHPUnit\n */\nfinal class ExceptionMessageIs extends Constraint\n{\n private readonly string $expectedMessage;\n\n public function __construct(string $expectedMessage)\n {\n $this->expectedMessage ", "meta": {"filepath": "src/Framework/Constraint/Exception/ExceptionMessageIs.php", "language": "php", "file_size": 1957, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_string;\nuse function preg_match;\nuse function sprintf;\nuse Exception;\nuse PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by t", "suffix": "n)\n {\n $this->regularExpression = $regularExpression;\n }\n\n public function toString(): string\n {\n return 'exception message matches ' . Exporter::export($this->regularExpression);\n }\n\n /**\n * Evaluates the constraint for", "middle": "he backward compatibility promise for PHPUnit\n */\nfinal class ExceptionMessageMatchesRegularExpression extends Constraint\n{\n private readonly string $regularExpression;\n\n public function __construct(string $regularExpressio", "meta": {"filepath": "src/Framework/Constraint/Exception/ExceptionMessageMatchesRegularExpression.php", "language": "php", "file_size": 2293, "cut_index": 563, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function array_map;\nuse function count;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nabstract class BinaryOperator extends Operator\n{\n /**\n * @var list\n */\n private readonly array $constraints;\n\n protected function __c", "suffix": "*/\n final public function arity(): int\n {\n return count($this->constraints);\n }\n\n /**\n * Returns a string representation of the constraint.\n */\n public function toString(): string\n {\n $reduced = $this->reduce();\n\n ", "middle": "onstruct(mixed ...$constraints)\n {\n $this->constraints = array_map(\n $this->checkConstraint(...),\n $constraints,\n );\n }\n\n /**\n * Returns the number of operands (constraints).\n ", "meta": {"filepath": "src/Framework/Constraint/Operator/BinaryOperator.php", "language": "php", "file_size": 3251, "cut_index": 614, "middle_length": 229}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function explode;\nuse function gettype;\nuse function is_array;\nuse function is_object;\nuse function is_string;\nuse function sprintf;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Util\\Exporter;\nuse SebastianBergmann\\Comparator\\ComparisonFailure;\nuse UnitEnum;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class IsIdentical exte", "suffix": "Result is set to false (the default), an exception is thrown\n * in case of a failure. null is returned otherwise.\n *\n * If $returnResult is true, the result of the evaluation is returned as\n * a boolean value instead: true in case of succes", "middle": "nds Constraint\n{\n private readonly mixed $value;\n\n public function __construct(mixed $value)\n {\n $this->value = $value;\n }\n\n /**\n * Evaluates the constraint for parameter $other.\n *\n * If $return", "meta": {"filepath": "src/Framework/Constraint/IsIdentical.php", "language": "php", "file_size": 5234, "cut_index": 716, "middle_length": 229}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function assert;\nuse function count;\nuse function is_bool;\nuse function is_object;\nuse PHPUnit\\Framework\\ActualValueIsNotAnObjectException;\nuse PHPUnit\\Framework\\ComparisonMethodDoesNotAcceptParameterTypeException;\nuse PHPUnit\\Framework\\ComparisonMethodDoesNotDeclareBoolReturnTypeException;\nuse PHPUnit\\Framework\\ComparisonMethodDoesNotDeclareExactlyOneParameterException;\nuse PHPUnit\\Framework\\ComparisonMethodDoesNo", "suffix": " promise for PHPUnit\n */\nfinal class ObjectEquals extends Constraint\n{\n private readonly object $expected;\n private readonly string $method;\n\n public function __construct(object $object, string $method = 'equals')\n {\n $this->expected = $", "middle": "tDeclareParameterTypeException;\nuse PHPUnit\\Framework\\ComparisonMethodDoesNotExistException;\nuse ReflectionNamedType;\nuse ReflectionObject;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility", "meta": {"filepath": "src/Framework/Constraint/Object/ObjectEquals.php", "language": "php", "file_size": 5462, "cut_index": 716, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function array_is_list;\nuse function is_array;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class IsList extends Constraint\n{\n /**\n * Returns a string representation of the constraint", "suffix": "otected function matches(mixed $other): bool\n {\n if (!is_array($other)) {\n return false;\n }\n\n return array_is_list($other);\n }\n\n /**\n * Returns the description of the failure.\n *\n * The beginning of fail", "middle": ".\n */\n public function toString(): string\n {\n return 'is a list';\n }\n\n /**\n * Evaluates the constraint for parameter $other. Returns true if the\n * constraint is met, false otherwise.\n */\n pr", "meta": {"filepath": "src/Framework/Constraint/Array/IsList.php", "language": "php", "file_size": 2142, "cut_index": 563, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_string;\nuse function sprintf;\nuse function str_contains;\nuse PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward c", "suffix": "tedMessage = $expectedMessage;\n }\n\n public function toString(): string\n {\n if ($this->expectedMessage === '') {\n return 'exception message is empty';\n }\n\n return 'exception message contains ' . Exporter::export($thi", "middle": "ompatibility promise for PHPUnit\n */\nfinal class ExceptionMessageIsOrContains extends Constraint\n{\n private readonly string $expectedMessage;\n\n public function __construct(string $expectedMessage)\n {\n $this->expec", "meta": {"filepath": "src/Framework/Constraint/Exception/ExceptionMessageIsOrContains.php", "language": "php", "file_size": 2107, "cut_index": 563, "middle_length": 229}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function array_key_exists;\nuse function array_values;\nuse function count;\nuse function is_array;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Util\\Exporter;\nuse SebastianBergmann\\Comparator\\ComparisonFailure;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nabstract class ArrayComparison extends Constraint\n{\n /**\n * @var array<", "suffix": "y $expected, bool $keysMatter, bool $orderMatters)\n {\n $this->expected = $expected;\n $this->keysMatter = $keysMatter;\n $this->orderMatters = $orderMatters;\n }\n\n /**\n * Evaluates the constraint for parameter $other.\n ", "middle": "mixed>\n */\n protected readonly array $expected;\n protected readonly bool $keysMatter;\n protected readonly bool $orderMatters;\n\n /**\n * @param array $expected\n */\n public function __construct(arra", "meta": {"filepath": "src/Framework/Constraint/Array/ArrayComparison.php", "language": "php", "file_size": 6950, "cut_index": 716, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_int;\nuse function is_string;\nuse function sprintf;\nuse PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not cover", "suffix": "pectedCode = $expected;\n }\n\n public function toString(): string\n {\n return 'exception code is ' . $this->expectedCode;\n }\n\n /**\n * Evaluates the constraint for parameter $other. Returns true if the\n * constraint is met, false ", "middle": "ed by the backward compatibility promise for PHPUnit\n */\nfinal class ExceptionCode extends Constraint\n{\n private readonly int|string $expectedCode;\n\n public function __construct(int|string $expected)\n {\n $this->ex", "meta": {"filepath": "src/Framework/Constraint/Exception/ExceptionCode.php", "language": "php", "file_size": 1739, "cut_index": 537, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse const PREG_SPLIT_DELIM_CAPTURE;\nuse function array_map;\nuse function assert;\nuse function preg_quote;\nuse function preg_replace;\nuse function preg_split;\nuse PHPUnit\\Framework\\ExpectationFailedException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *", "suffix": ",\n 'has ',\n 'is ',\n 'are ',\n 'matches ',\n 'starts with ',\n 'ends with ',\n 'reference ',\n 'not not ',\n ];\n\n $negatives = [\n 'does not contain ',", "middle": "/\nfinal class LogicalNot extends UnaryOperator\n{\n /**\n * @return non-empty-string\n */\n public static function negate(string $string): string\n {\n $positives = [\n 'contains ',\n 'exists'", "meta": {"filepath": "src/Framework/Constraint/Operator/LogicalNot.php", "language": "php", "file_size": 4157, "cut_index": 614, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class LogicalOr extends BinaryOperator\n{\n public static function fromConstraints(mixed ...$constraints): sel", "suffix": "ecedence.\n *\n * @see https://www.php.net/manual/en/language.operators.precedence.php\n */\n public function precedence(): int\n {\n return 24;\n }\n\n /**\n * Evaluates the constraint for parameter $other. Returns true if the\n ", "middle": "f\n {\n return new self(...$constraints);\n }\n\n /**\n * Returns the name of this operator.\n */\n public function operator(): string\n {\n return 'or';\n }\n\n /**\n * Returns this operator's pr", "meta": {"filepath": "src/Framework/Constraint/Operator/LogicalOr.php", "language": "php", "file_size": 1319, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nabstract class Operator extends Constraint\n{\n /**\n * Returns the name of this operator.\n */\n abstract p", "suffix": " /**\n * Returns the number of operands.\n */\n abstract public function arity(): int;\n\n /**\n * Validates $constraint argument.\n */\n protected function checkConstraint(mixed $constraint): Constraint\n {\n if (!$constraint ins", "middle": "ublic function operator(): string;\n\n /**\n * Returns this operator's precedence.\n *\n * @see https://www.php.net/manual/en/language.operators.precedence.php\n */\n abstract public function precedence(): int;\n\n ", "meta": {"filepath": "src/Framework/Constraint/Operator/Operator.php", "language": "php", "file_size": 1458, "cut_index": 524, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_array;\nuse function sprintf;\nuse PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nabstract class TraversableContains extends Constraint\n{\n private readonly mixed ", "suffix": "urn 'contains ' . Exporter::export($this->value);\n }\n\n /**\n * Returns the negated description when this constraint is wrapped in a\n * LogicalNot operator. The guard ensures that LogicalAnd, LogicalOr, and\n * LogicalXor keep using the affi", "middle": "$value;\n\n public function __construct(mixed $value)\n {\n $this->value = $value;\n }\n\n /**\n * Returns a string representation of the constraint.\n */\n public function toString(): string\n {\n ret", "meta": {"filepath": "src/Framework/Constraint/Traversable/TraversableContains.php", "language": "php", "file_size": 2292, "cut_index": 563, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_iterable;\nuse function is_object;\nuse SplObjectStorage;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class TraversableContainsIdentic", "suffix": " $value = $this->value();\n\n if ($other instanceof SplObjectStorage) {\n if (!is_object($value)) {\n return false;\n }\n\n return $other->offsetExists($value);\n }\n\n if (!is_iterable($other)) {", "middle": "al extends TraversableContains\n{\n /**\n * Evaluates the constraint for parameter $other. Returns true if the\n * constraint is met, false otherwise.\n */\n protected function matches(mixed $other): bool\n {\n ", "meta": {"filepath": "src/Framework/Constraint/Traversable/TraversableContainsIdentical.php", "language": "php", "file_size": 1203, "cut_index": 518, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_array;\nuse function is_object;\nuse PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class IsFalse extends Constraint\n{\n /**\n *", "suffix": " LogicalNot operator. The guard ensures that LogicalAnd, LogicalOr, and\n * LogicalXor keep using the affirmative toString().\n */\n protected function toStringInContext(Operator $operator, mixed $role): string\n {\n if (!$operator instance", "middle": " Returns a string representation of the constraint.\n */\n public function toString(): string\n {\n return 'is false';\n }\n\n /**\n * Returns the negated description when this constraint is wrapped in a\n *", "meta": {"filepath": "src/Framework/Constraint/Boolean/IsFalse.php", "language": "php", "file_size": 1631, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_dir;\nuse function is_string;\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class DirectoryExists extends Constraint\n{\n /**\n * Returns a string represe", "suffix": "tor. The guard ensures that LogicalAnd, LogicalOr, and\n * LogicalXor keep using the affirmative toString().\n */\n protected function toStringInContext(Operator $operator, mixed $role): string\n {\n if (!$operator instanceof LogicalNot) {\n", "middle": "ntation of the constraint.\n */\n public function toString(): string\n {\n return 'directory exists';\n }\n\n /**\n * Returns the negated description when this constraint is wrapped in a\n * LogicalNot opera", "meta": {"filepath": "src/Framework/Constraint/Filesystem/DirectoryExists.php", "language": "php", "file_size": 2369, "cut_index": 563, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_readable;\nuse function is_string;\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class IsReadable extends Constraint\n{\n /**\n * Returns a string represe", "suffix": "The guard ensures that LogicalAnd, LogicalOr, and\n * LogicalXor keep using the affirmative toString().\n */\n protected function toStringInContext(Operator $operator, mixed $role): string\n {\n if (!$operator instanceof LogicalNot) {\n ", "middle": "ntation of the constraint.\n */\n public function toString(): string\n {\n return 'is readable';\n }\n\n /**\n * Returns the negated description when this constraint is wrapped in a\n * LogicalNot operator. ", "meta": {"filepath": "src/Framework/Constraint/Filesystem/IsReadable.php", "language": "php", "file_size": 2346, "cut_index": 563, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function class_exists;\nuse function interface_exists;\nuse function sprintf;\nuse PHPUnit\\Framework\\UnknownClassOrInterfaceException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class IsInsta", "suffix": "rfaceException\n */\n public function __construct(string $name)\n {\n if (class_exists($name)) {\n $this->type = 'class';\n } elseif (interface_exists($name)) {\n $this->type = 'interface';\n } else {\n ", "middle": "nceOf extends Constraint\n{\n /**\n * @var class-string\n */\n private readonly string $name;\n\n /**\n * @var 'class'|'interface'\n */\n private readonly string $type;\n\n /**\n * @throws UnknownClassOrInte", "meta": {"filepath": "src/Framework/Constraint/Type/IsInstanceOf.php", "language": "php", "file_size": 2921, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_array;\nuse function is_object;\nuse PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class IsNull extends Constraint\n{\n /**\n * ", "suffix": "ogicalNot operator. The guard ensures that LogicalAnd, LogicalOr, and\n * LogicalXor keep using the affirmative toString().\n */\n protected function toStringInContext(Operator $operator, mixed $role): string\n {\n if (!$operator instanceof", "middle": "Returns a string representation of the constraint.\n */\n public function toString(): string\n {\n return 'is null';\n }\n\n /**\n * Returns the negated description when this constraint is wrapped in a\n * L", "meta": {"filepath": "src/Framework/Constraint/Type/IsNull.php", "language": "php", "file_size": 1627, "cut_index": 537, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function count;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nabstract class UnaryOperator extends Operator\n{\n private readonly Constraint $constraint;\n\n public function __construct(mixed $constraint)\n {\n $this->constraint = $this->", "suffix": "raint.\n */\n public function toString(): string\n {\n $reduced = $this->reduce();\n\n if ($reduced !== $this) {\n return $reduced->toString();\n }\n\n $constraint = $this->constraint->reduce();\n\n if ($this->co", "middle": "checkConstraint($constraint);\n }\n\n /**\n * Returns the number of operands (constraints).\n */\n public function arity(): int\n {\n return 1;\n }\n\n /**\n * Returns a string representation of the const", "meta": {"filepath": "src/Framework/Constraint/Operator/UnaryOperator.php", "language": "php", "file_size": 3498, "cut_index": 614, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_iterable;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Framework\\NativeType;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class TraversableContainsOnly extends C", "suffix": " /**\n * @param class-string $type\n */\n public static function forClassOrInterface(string $type): self\n {\n return new self(new IsInstanceOf($type), $type);\n }\n\n private function __construct(IsInstanceOf|IsType $constraint, stri", "middle": "onstraint\n{\n private readonly Constraint $constraint;\n private readonly string $type;\n\n public static function forNativeType(NativeType $type): self\n {\n return new self(new IsType($type), $type->value);\n }\n\n", "meta": {"filepath": "src/Framework/Constraint/Traversable/TraversableContainsOnly.php", "language": "php", "file_size": 2843, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_array;\nuse function is_object;\nuse PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class IsTrue extends Constraint\n{\n /**\n * ", "suffix": "ogicalNot operator. The guard ensures that LogicalAnd, LogicalOr, and\n * LogicalXor keep using the affirmative toString().\n */\n protected function toStringInContext(Operator $operator, mixed $role): string\n {\n if (!$operator instanceof", "middle": "Returns a string representation of the constraint.\n */\n public function toString(): string\n {\n return 'is true';\n }\n\n /**\n * Returns the negated description when this constraint is wrapped in a\n * L", "meta": {"filepath": "src/Framework/Constraint/Boolean/IsTrue.php", "language": "php", "file_size": 1627, "cut_index": 537, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function array_reduce;\nuse function array_shift;\nuse function assert;\nuse function is_bool;\nuse PHPUnit\\Framework\\ExpectationFailedException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise", "suffix": "is operator.\n */\n public function operator(): string\n {\n return 'xor';\n }\n\n /**\n * Returns this operator's precedence.\n *\n * @see https://www.php.net/manual/en/language.operators.precedence.php.\n */\n public functio", "middle": " for PHPUnit\n */\nfinal class LogicalXor extends BinaryOperator\n{\n public static function fromConstraints(mixed ...$constraints): self\n {\n return new self(...$constraints);\n }\n\n /**\n * Returns the name of th", "meta": {"filepath": "src/Framework/Constraint/Operator/LogicalXor.php", "language": "php", "file_size": 1786, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_iterable;\nuse function is_object;\nuse SebastianBergmann\\Comparator\\ComparisonFailure;\nuse SplObjectStorage;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPU", "suffix": "n matches(mixed $other): bool\n {\n $value = $this->value();\n\n if ($other instanceof SplObjectStorage) {\n if (!is_object($value)) {\n return false;\n }\n\n return $other->offsetExists($value);\n ", "middle": "nit\n */\nfinal class TraversableContainsEqual extends TraversableContains\n{\n /**\n * Evaluates the constraint for parameter $other. Returns true if the\n * constraint is met, false otherwise.\n */\n protected functio", "meta": {"filepath": "src/Framework/Constraint/Traversable/TraversableContainsEqual.php", "language": "php", "file_size": 1377, "cut_index": 524, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_string;\nuse function is_writable;\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class IsWritable extends Constraint\n{\n /**\n * Returns a string represe", "suffix": "The guard ensures that LogicalAnd, LogicalOr, and\n * LogicalXor keep using the affirmative toString().\n */\n protected function toStringInContext(Operator $operator, mixed $role): string\n {\n if (!$operator instanceof LogicalNot) {\n ", "middle": "ntation of the constraint.\n */\n public function toString(): string\n {\n return 'is writable';\n }\n\n /**\n * Returns the negated description when this constraint is wrapped in a\n * LogicalNot operator. ", "meta": {"filepath": "src/Framework/Constraint/Filesystem/IsWritable.php", "language": "php", "file_size": 2346, "cut_index": 563, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function file_exists;\nuse function is_string;\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class FileExists extends Constraint\n{\n /**\n * Returns a string represe", "suffix": "The guard ensures that LogicalAnd, LogicalOr, and\n * LogicalXor keep using the affirmative toString().\n */\n protected function toStringInContext(Operator $operator, mixed $role): string\n {\n if (!$operator instanceof LogicalNot) {\n ", "middle": "ntation of the constraint.\n */\n public function toString(): string\n {\n return 'file exists';\n }\n\n /**\n * Returns the negated description when this constraint is wrapped in a\n * LogicalNot operator. ", "meta": {"filepath": "src/Framework/Constraint/Filesystem/FileExists.php", "language": "php", "file_size": 2354, "cut_index": 563, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_string;\nuse function sprintf;\nuse function str_contains;\nuse function trim;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Util\\Exporter;\nuse SebastianBergmann\\Comparator\\ComparisonFailure;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise f", "suffix": "ameter $other.\n *\n * If $returnResult is set to false (the default), an exception is thrown\n * in case of a failure. null is returned otherwise.\n *\n * If $returnResult is true, the result of the evaluation is returned as\n * a boolea", "middle": "or PHPUnit\n */\nfinal class IsEqual extends Constraint\n{\n private readonly mixed $value;\n\n public function __construct(mixed $value)\n {\n $this->value = $value;\n }\n\n /**\n * Evaluates the constraint for par", "meta": {"filepath": "src/Framework/Constraint/Equality/IsEqual.php", "language": "php", "file_size": 3113, "cut_index": 614, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_string;\nuse function sprintf;\nuse function str_contains;\nuse function trim;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Util\\Exporter;\nuse SebastianBergmann\\Comparator\\ComparisonFailure;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise f", "suffix": "aint for parameter $other.\n *\n * If $returnResult is set to false (the default), an exception is thrown\n * in case of a failure. null is returned otherwise.\n *\n * If $returnResult is true, the result of the evaluation is returned as\n ", "middle": "or PHPUnit\n */\nfinal class IsEqualIgnoringCase extends Constraint\n{\n private readonly mixed $value;\n\n public function __construct(mixed $value)\n {\n $this->value = $value;\n }\n\n /**\n * Evaluates the constr", "meta": {"filepath": "src/Framework/Constraint/Equality/IsEqualIgnoringCase.php", "language": "php", "file_size": 3143, "cut_index": 614, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function sprintf;\nuse function trim;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Util\\Exporter;\nuse SebastianBergmann\\Comparator\\ComparisonFailure;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class IsEqualWithDelta extends", "suffix": " * Evaluates the constraint for parameter $other.\n *\n * If $returnResult is set to false (the default), an exception is thrown\n * in case of a failure. null is returned otherwise.\n *\n * If $returnResult is true, the result of the eva", "middle": " Constraint\n{\n private readonly mixed $value;\n private readonly float $delta;\n\n public function __construct(mixed $value, float $delta)\n {\n $this->value = $value;\n $this->delta = $delta;\n }\n\n /**\n ", "meta": {"filepath": "src/Framework/Constraint/Equality/IsEqualWithDelta.php", "language": "php", "file_size": 3057, "cut_index": 614, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function count;\nuse function gettype;\nuse function sprintf;\nuse function str_starts_with;\nuse Countable;\nuse EmptyIterator;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class IsEmpty extends", "suffix": "raint is wrapped in a\n * LogicalNot operator. The guard ensures that LogicalAnd, LogicalOr, and\n * LogicalXor keep using the affirmative toString().\n */\n protected function toStringInContext(Operator $operator, mixed $role): string\n {\n ", "middle": " Constraint\n{\n /**\n * Returns a string representation of the constraint.\n */\n public function toString(): string\n {\n return 'is empty';\n }\n\n /**\n * Returns the negated description when this const", "meta": {"filepath": "src/Framework/Constraint/Cardinality/IsEmpty.php", "language": "php", "file_size": 2638, "cut_index": 563, "middle_length": 229}} +{"prefix": "pes=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestSize;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class ", "suffix": " true\n {\n return true;\n }\n\n public function isGreaterThan(TestSize $other): bool\n {\n return !$other->isLarge();\n }\n\n /**\n * @return 'large'\n */\n public function asString(): string\n {\n return 'large';\n ", "middle": "Large extends Known\n{\n public function isLarge():", "meta": {"filepath": "src/Framework/TestSize/Large.php", "language": "php", "file_size": 848, "cut_index": 535, "middle_length": 52}} +{"prefix": "ict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestSize;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly ", "suffix": "edium(): true\n {\n return true;\n }\n\n public function isGreaterThan(TestSize $other): bool\n {\n return $other->isSmall();\n }\n\n /**\n * @return 'medium'\n */\n public function asString(): string\n {\n return 'med", "middle": "class Medium extends Known\n{\n public function isM", "meta": {"filepath": "src/Framework/TestSize/Medium.php", "language": "php", "file_size": 851, "cut_index": 529, "middle_length": 52}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse SebastianBergmann\\Type\\Type;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Configura", "suffix": "e int $numberOfParameters;\n private Type $returnType;\n\n /**\n * @param non-empty-string $name\n * @param array $defaultParameterValues\n * @param non-negative-int $numberOfParameters\n */\n public function __construct(stri", "middle": "bleMethod\n{\n /**\n * @var non-empty-string\n */\n private string $name;\n\n /**\n * @var array\n */\n private array $defaultParameterValues;\n\n /**\n * @var non-negative-int\n */\n privat", "meta": {"filepath": "src/Framework/MockObject/ConfigurableMethod.php", "language": "php", "file_size": 2059, "cut_index": 563, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function array_merge;\nuse PHPUnit\\Framework\\MockObject\\Generator\\Generator;\nuse PHPUnit\\Framework\\MockObject\\Generator\\ReflectionException;\nuse ReflectionClass;\n\n/**\n * @template T of object\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nabstract clas", "suffix": "dsArray = false;\n\n /**\n * @var array\n */\n protected array $constructorArgs = [];\n protected bool $originalConstructor = true;\n protected bool $originalClone = true;\n protected bool $returnValueGeneration = true;", "middle": "s TestDoubleBuilder\n{\n /**\n * @var class-string\n */\n protected readonly string $type;\n\n /**\n * @var list\n */\n protected array $methods = [];\n protected bool $emptyMetho", "meta": {"filepath": "src/Framework/MockObject/TestDoubleBuilder.php", "language": "php", "file_size": 4397, "cut_index": 614, "middle_length": 229}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class CannotUseOnlyMethodsException extends \\PHPUnit\\Framework\\Exception imple", "suffix": "ring $type, string $methodName)\n {\n parent::__construct(\n sprintf(\n 'Trying to configure method \"%s\" with onlyMethods(), but it does not exist in class \"%s\"',\n $methodName,\n $type,\n ", "middle": "ments Exception\n{\n public function __construct(st", "meta": {"filepath": "src/Framework/MockObject/Exception/CannotUseOnlyMethodsException.php", "language": "php", "file_size": 939, "cut_index": 606, "middle_length": 52}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function is_string;\nuse function sprintf;\nuse function str_contains;\nuse function trim;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Util\\Exporter;\nuse SebastianBergmann\\Comparator\\ComparisonFailure;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise f", "suffix": "traint for parameter $other.\n *\n * If $returnResult is set to false (the default), an exception is thrown\n * in case of a failure. null is returned otherwise.\n *\n * If $returnResult is true, the result of the evaluation is returned as\n ", "middle": "or PHPUnit\n */\nfinal class IsEqualCanonicalizing extends Constraint\n{\n private readonly mixed $value;\n\n public function __construct(mixed $value)\n {\n $this->value = $value;\n }\n\n /**\n * Evaluates the cons", "meta": {"filepath": "src/Framework/Constraint/Equality/IsEqualCanonicalizing.php", "language": "php", "file_size": 3138, "cut_index": 614, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class GreaterThan extends Constraint\n{\n private readonly mixed $value;\n\n public function _", "suffix": "ter::export($this->value);\n }\n\n /**\n * Returns the negated description when this constraint is wrapped in a\n * LogicalNot operator. The guard ensures that LogicalAnd, LogicalOr, and\n * LogicalXor keep using the affirmative toString().\n ", "middle": "_construct(mixed $value)\n {\n $this->value = $value;\n }\n\n /**\n * Returns a string representation of the constraint.\n */\n public function toString(): string\n {\n return 'is greater than ' . Expor", "meta": {"filepath": "src/Framework/Constraint/Cardinality/GreaterThan.php", "language": "php", "file_size": 1512, "cut_index": 537, "middle_length": 229}} +{"prefix": "clare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestSize;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal ", "suffix": "tion isSmall(): true\n {\n return true;\n }\n\n public function isGreaterThan(TestSize $other): bool\n {\n return false;\n }\n\n /**\n * @return 'small'\n */\n public function asString(): string\n {\n return 'small';\n ", "middle": "readonly class Small extends Known\n{\n public func", "meta": {"filepath": "src/Framework/TestSize/Small.php", "language": "php", "file_size": 835, "cut_index": 520, "middle_length": 52}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function assert;\nuse PHPUnit\\Framework\\InvalidArgumentException;\nuse PHPUnit\\Framework\\MockObject\\Generator\\ClassIsAnonymousException;\nuse PHPUnit\\Framework\\MockObject\\Generator\\ClassIsEnumerationException;\nuse PHPUnit\\Framework\\MockObject\\Generator\\ClassIsFinalExc", "suffix": "\\Framework\\MockObject\\Generator\\NameAlreadyInUseException;\nuse PHPUnit\\Framework\\MockObject\\Generator\\ReflectionException;\nuse PHPUnit\\Framework\\MockObject\\Generator\\RuntimeException;\nuse PHPUnit\\Framework\\MockObject\\Generator\\UnknownTypeException;\nuse PHP", "middle": "eption;\nuse PHPUnit\\Framework\\MockObject\\Generator\\DuplicateMethodException;\nuse PHPUnit\\Framework\\MockObject\\Generator\\InvalidClassNameException;\nuse PHPUnit\\Framework\\MockObject\\Generator\\InvalidMethodNameException;\nuse PHPUnit", "meta": {"filepath": "src/Framework/MockObject/MockBuilder.php", "language": "php", "file_size": 2796, "cut_index": 563, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse function count;\nuse function is_countable;\nuse function iterator_count;\nuse function sprintf;\nuse EmptyIterator;\nuse Generator;\nuse Iterator;\nuse IteratorAggregate;\nuse PHPUnit\\Framework\\Exception;\nuse PHPUnit\\Framework\\GeneratorNotSupportedException;\nuse SebastianBergmann\\RecursionContext\\Context;\nuse Traversable;", "suffix": "pected)\n {\n $this->expectedCount = $expected;\n }\n\n public function toString(): string\n {\n return sprintf(\n 'count matches %d',\n $this->expectedCount,\n );\n }\n\n /**\n * Returns the negated descr", "middle": "\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nclass Count extends Constraint\n{\n private readonly int $expectedCount;\n\n public function __construct(int $ex", "meta": {"filepath": "src/Framework/Constraint/Cardinality/Count.php", "language": "php", "file_size": 4652, "cut_index": 614, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\TestSize;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nabstract readonly class", "suffix": " return new Medium;\n }\n\n public static function large(): self\n {\n return new Large;\n }\n\n /**\n * @phpstan-assert-if-true Known $this\n */\n public function isKnown(): bool\n {\n return false;\n }\n\n /**\n * @p", "middle": " TestSize\n{\n public static function unknown(): self\n {\n return new Unknown;\n }\n\n public static function small(): self\n {\n return new Small;\n }\n\n public static function medium(): self\n {\n ", "meta": {"filepath": "src/Framework/TestSize/TestSize.php", "language": "php", "file_size": 1648, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\Constraint;\n\nuse PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class LessThan extends Constraint\n{\n private readonly mixed $value;\n\n public ", "suffix": ". Exporter::export($this->value);\n }\n\n /**\n * Returns the negated description when this constraint is wrapped in a\n * LogicalNot operator. The guard ensures that LogicalAnd, LogicalOr, and\n * LogicalXor keep using the affirmative toString", "middle": "function __construct(mixed $value)\n {\n $this->value = $value;\n }\n\n /**\n * Returns a string representation of the constraint.\n */\n public function toString(): string\n {\n return 'is less than ' ", "meta": {"filepath": "src/Framework/Constraint/Cardinality/LessThan.php", "language": "php", "file_size": 1503, "cut_index": 524, "middle_length": 229}} +{"prefix": "pes=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class M", "suffix": "amework\\Exception implements Exception\n{\n public function __construct(string $id)\n {\n parent::__construct(\n sprintf(\n 'Matcher with id <%s> is already registered',\n $id,\n ),\n );\n }\n", "middle": "atcherAlreadyRegisteredException extends \\PHPUnit\\Fr", "meta": {"filepath": "src/Framework/MockObject/Exception/MatcherAlreadyRegisteredException.php", "language": "php", "file_size": 845, "cut_index": 535, "middle_length": 52}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n", "suffix": " sprintf(\n 'Parameters for method \"%s\" are already configured for another matcher. ' .\n 'with() configures an expectation (the method must be called with the specified arguments), ' .\n 'it does not select a", "middle": " */\nfinal class MethodParametersAlreadyConfiguredForAnotherMatcherException extends \\PHPUnit\\Framework\\Exception implements Exception\n{\n public function __construct(string $methodName)\n {\n parent::__construct(\n ", "meta": {"filepath": "src/Framework/MockObject/Exception/MethodParametersAlreadyConfiguredForAnotherMatcherException.php", "language": "php", "file_size": 1190, "cut_index": 518, "middle_length": 229}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function sprintf;\nuse RuntimeException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class NeverReturningMethodException extends RuntimeException implements Exception\n{\n /**\n * @param class-string $className\n * @param ", "suffix": "tion __construct(string $className, string $methodName)\n {\n parent::__construct(\n sprintf(\n 'Method %s::%s() is declared to never return',\n $className,\n $methodName,\n ),\n )", "middle": "non-empty-string $methodName\n */\n public func", "meta": {"filepath": "src/Framework/MockObject/Exception/NeverReturningMethodException.php", "language": "php", "file_size": 924, "cut_index": 606, "middle_length": 52}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHP", "suffix": "arent::__construct(\n sprintf(\n 'Not enough parameter sets configured, only %d parameter sets given for %s::%s()',\n $numberOfConfiguredParameterSets,\n $invocation->className(),\n $invocat", "middle": "Unit\n */\nfinal class NoMoreParameterSetsConfiguredException extends \\PHPUnit\\Framework\\Exception implements Exception\n{\n public function __construct(Invocation $invocation, int $numberOfConfiguredParameterSets)\n {\n p", "meta": {"filepath": "src/Framework/MockObject/Exception/NoMoreParameterSetsConfiguredException.php", "language": "php", "file_size": 1051, "cut_index": 513, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Generator;\n\nuse function class_exists;\nuse PHPUnit\\Framework\\MockObject\\ConfigurableMethod;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered b", "suffix": "eMethod>\n */\n private array $configurableMethods;\n\n /**\n * @param class-string $mockName\n * @param list $configurableMethods\n */\n public function __construct(string $classCode, string $mockName, arra", "middle": "y the backward compatibility promise for PHPUnit\n */\nfinal readonly class DoubledClass\n{\n private string $classCode;\n\n /**\n * @var class-string\n */\n private string $mockName;\n\n /**\n * @var list\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Generator;\n\nuse function array_key_exists;\nuse function array_values;\nuse function strtolower;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This ", "suffix": "ubledMethod ...$methods): void\n {\n foreach ($methods as $method) {\n $this->methods[strtolower($method->methodName())] = $method;\n }\n }\n\n /**\n * @return list\n */\n public function asArray(): array\n ", "middle": "class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class DoubledMethodSet\n{\n /**\n * @var array\n */\n private array $methods = [];\n\n public function addMethods(Do", "meta": {"filepath": "src/Framework/MockObject/Generator/DoubledMethodSet.php", "language": "php", "file_size": 1204, "cut_index": 518, "middle_length": 229}} +{"prefix": "\nuse Exception;\nuse Iterator;\nuse IteratorAggregate;\nuse PHPUnit\\Framework\\MockObject\\ConfigurableMethod;\nuse PHPUnit\\Framework\\MockObject\\DoubledCloneMethod;\nuse PHPUnit\\Framework\\MockObject\\Method;\nuse PHPUnit\\Framework\\MockObject\\MockObject;\nuse PHPUnit\\Framework\\MockObject\\MockObjectApi;\nuse PHPUnit\\Framework\\MockObject\\MockObjectInternal;\nuse PHPUnit\\Framework\\MockObject\\ProxiedCloneMethod;\nuse PHPUnit\\Framework\\MockObject\\Stub;\nuse PHPUnit\\Framework\\MockObject\\StubApi;\nuse PHPUnit\\Framework\\MockObject", "suffix": "\nuse Throwable;\nuse Traversable;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class Gener", "middle": "\\StubInternal;\nuse PHPUnit\\Framework\\MockObject\\TestDoubleState;\nuse PropertyHookType;\nuse ReflectionClass;\nuse ReflectionMethod;\nuse ReflectionObject;\nuse SebastianBergmann\\Type\\ReflectionMapper;\nuse SebastianBergmann\\Type\\Type;", "meta": {"filepath": "src/Framework/MockObject/Generator/Generator.php", "language": "php", "file_size": 28188, "cut_index": 1331, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function assert;\nuse PHPUnit\\Framework\\MockObject\\Generator\\ClassIsAnonymousException;\nuse PHPUnit\\Framework\\MockObject\\Generator\\ClassIsEnumerationException;\nuse PHPUnit\\Framework\\MockObject\\Generator\\ClassIsFinalException;\nuse PHPUnit\\Framework\\MockObject\\Generat", "suffix": "Exception;\nuse PHPUnit\\Framework\\MockObject\\Generator\\ReflectionException;\nuse PHPUnit\\Framework\\MockObject\\Generator\\RuntimeException;\nuse PHPUnit\\Framework\\MockObject\\Generator\\UnknownTypeException;\n\n/**\n * @template StubbedType of object\n *\n * @template", "middle": "or\\DuplicateMethodException;\nuse PHPUnit\\Framework\\MockObject\\Generator\\InvalidClassNameException;\nuse PHPUnit\\Framework\\MockObject\\Generator\\InvalidMethodNameException;\nuse PHPUnit\\Framework\\MockObject\\Generator\\NameAlreadyInUse", "meta": {"filepath": "src/Framework/MockObject/TestStubBuilder.php", "language": "php", "file_size": 2388, "cut_index": 563, "middle_length": 229}} +{"prefix": "ict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal c", "suffix": "Framework\\Exception implements Exception\n{\n public function __construct(string $id)\n {\n parent::__construct(\n sprintf(\n 'No builder found for match builder identification <%s>',\n $id,\n ),\n ", "middle": "lass MatchBuilderNotFoundException extends \\PHPUnit\\", "meta": {"filepath": "src/Framework/MockObject/Exception/MatchBuilderNotFoundException.php", "language": "php", "file_size": 853, "cut_index": 529, "middle_length": 52}} +{"prefix": "\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PH", "suffix": "rent::__construct(\n sprintf(\n 'Only %d return values have been configured for %s::%s()',\n $numberOfConfiguredReturnValues,\n $invocation->className(),\n $invocation->methodName(),\n ", "middle": "PUnit\n */\nfinal class NoMoreReturnValuesConfiguredException extends \\PHPUnit\\Framework\\Exception implements Exception\n{\n public function __construct(Invocation $invocation, int $numberOfConfiguredReturnValues)\n {\n pa", "meta": {"filepath": "src/Framework/MockObject/Exception/NoMoreReturnValuesConfiguredException.php", "language": "php", "file_size": 1024, "cut_index": 512, "middle_length": 229}} +{"prefix": "n implode;\nuse function is_object;\nuse function is_string;\nuse function preg_match;\nuse function preg_replace;\nuse function str_contains;\nuse function strlen;\nuse function strpos;\nuse function substr;\nuse function substr_count;\nuse function trim;\nuse function var_export;\nuse ReflectionMethod;\nuse ReflectionParameter;\nuse SebastianBergmann\\Type\\ReflectionMapper;\nuse SebastianBergmann\\Type\\Type;\nuse SebastianBergmann\\Type\\UnknownType;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward", "suffix": "private readonly string $className;\n\n /**\n * @var non-empty-string\n */\n private readonly string $methodName;\n private readonly string $modifier;\n private readonly string $argumentsForDeclaration;\n private readonly string $argumentsFo", "middle": " compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class DoubledMethod\n{\n use TemplateLoader;\n\n /**\n * @var class-string\n */\n ", "meta": {"filepath": "src/Framework/MockObject/Generator/DoubledMethod.php", "language": "php", "file_size": 12060, "cut_index": 921, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Generator;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class HookedPropertyGener", "suffix": "each ($properties as $property) {\n $code .= sprintf(\n <<<'EOT'\n\n public %s $%s {\nEOT,\n $property->type()->asString(),\n $property->name(),\n );\n\n if ($property->shouldGenerateGe", "middle": "ator\n{\n /**\n * @param class-string $className\n * @param list $properties\n */\n public function generate(string $className, array $properties): string\n {\n $code = '';\n\n for", "meta": {"filepath": "src/Framework/MockObject/Generator/HookedPropertyGenerator.php", "language": "php", "file_size": 2200, "cut_index": 563, "middle_length": 229}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class MethodCannotBeConfiguredException extends \\PHPUnit\\Framework\\Exception i", "suffix": "t(string $method)\n {\n parent::__construct(\n sprintf(\n 'Trying to configure method \"%s\" which cannot be configured because it does not exist, has not been specified, is final, or is static',\n $method,\n ", "middle": "mplements Exception\n{\n public function __construc", "meta": {"filepath": "src/Framework/MockObject/Exception/MethodCannotBeConfiguredException.php", "language": "php", "file_size": 943, "cut_index": 606, "middle_length": 52}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Generator;\n\nuse SebastianBergmann\\Type\\Type;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class", "suffix": " /**\n * @param non-empty-string $name\n */\n public function __construct(string $name, Type $type, bool $getHook, bool $setHook, bool $virtual, ?Type $setterType)\n {\n $this->name = $name;\n $this->type = $type;\n ", "middle": " HookedProperty\n{\n /**\n * @var non-empty-string\n */\n private string $name;\n private Type $type;\n private bool $getHook;\n private bool $setHook;\n private bool $virtual;\n private ?Type $setterType;\n\n ", "meta": {"filepath": "src/Framework/MockObject/Generator/HookedProperty.php", "language": "php", "file_size": 2106, "cut_index": 563, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ReturnValueNotConfiguredException extends \\PHPUn", "suffix": "blic function __construct(Invocation $invocation)\n {\n parent::__construct(\n sprintf(\n 'No return value is configured for %s::%s() and return value generation is disabled',\n $invocation->className(),\n ", "middle": "it\\Framework\\Exception implements Exception\n{\n pu", "meta": {"filepath": "src/Framework/MockObject/Exception/ReturnValueNotConfiguredException.php", "language": "php", "file_size": 961, "cut_index": 582, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Stub;\n\nuse PHPUnit\\Framework\\MockObject\\Invocation;\nuse Throwable;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promis", "suffix": "lements Stub\n{\n private Throwable $exception;\n\n public function __construct(Throwable $exception)\n {\n $this->exception = $exception;\n }\n\n /**\n * @throws Throwable\n */\n public function invoke(Invocation $invocation): never\n ", "middle": "e for PHPUnit\n */\nfinal readonly class Exception imp", "meta": {"filepath": "src/Framework/MockObject/Runtime/Stub/Exception.php", "language": "php", "file_size": 900, "cut_index": 547, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Rule;\n\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Framework\\MockObject\\Invocation as BaseInvocation;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *", "suffix": "once';\n }\n\n /**\n * Verifies that the current expectation is valid. If everything is OK the\n * code should just return, if not it must throw an exception.\n *\n * @throws ExpectationFailedException\n */\n public function verify(): v", "middle": "\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class InvokedAtLeastOnce extends InvocationOrder\n{\n public function toString(): string\n {\n return 'invoked at least ", "meta": {"filepath": "src/Framework/MockObject/Runtime/Rule/InvokedAtLeastOnce.php", "language": "php", "file_size": 1348, "cut_index": 524, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI;\n\nuse function mt_srand;\nuse PHPUnit\\Event;\nuse PHPUnit\\Framework\\TestSuite;\nuse PHPUnit\\Runner\\ResultCache\\ResultCache;\nuse PHPUnit\\Runner\\TestSuiteSorter;\nuse PHPUnit\\TextUI\\Configuration\\Configuration;\nuse Throwable;\n\n/**\n * @no-named-arguments Parameter names are not covered by th", "suffix": "tion run(Configuration $configuration, ResultCache $resultCache, TestSuite $suite): void\n {\n try {\n Event\\Facade::emitter()->testRunnerStarted();\n\n if ($configuration->executionOrder() === TestSuiteSorter::ORDER_RANDOMIZED) ", "middle": "e backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class TestRunner\n{\n /**\n * @throws RuntimeException\n */\n public func", "meta": {"filepath": "src/TextUI/TestRunner.php", "language": "php", "file_size": 2538, "cut_index": 563, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function is_string;\nuse function sprintf;\nuse function strtolower;\nuse PHPUnit\\Framework\\Constraint\\Constraint;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUni", "suffix": "odName)\n {\n $this->methodName = $methodName;\n }\n\n public function methodName(): string\n {\n return $this->methodName;\n }\n\n public function toString(): string\n {\n return sprintf(\n 'is \"%s\"',\n $t", "middle": "t\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class MethodNameConstraint extends Constraint\n{\n private string $methodName;\n\n public function __construct(string $meth", "meta": {"filepath": "src/Framework/MockObject/Runtime/MethodNameConstraint.php", "language": "php", "file_size": 1243, "cut_index": 518, "middle_length": 229}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Generator;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ClassIsEnumerat", "suffix": "plements Exception\n{\n public function __construct(string $className)\n {\n parent::__construct(\n sprintf(\n 'Class \"%s\" is an enumeration and cannot be doubled',\n $className,\n ),\n );\n ", "middle": "ionException extends \\PHPUnit\\Framework\\Exception im", "meta": {"filepath": "src/Framework/MockObject/Generator/Exception/ClassIsEnumerationException.php", "language": "php", "file_size": 871, "cut_index": 559, "middle_length": 52}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Generator;\n\nuse function array_diff_assoc;\nuse function array_unique;\nuse function implode;\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *", "suffix": "thods\n */\n public function __construct(array $methods)\n {\n parent::__construct(\n sprintf(\n 'Cannot double using a method list that contains duplicates: \"%s\" (duplicate: \"%s\")',\n implode(', ', $metho", "middle": "\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class DuplicateMethodException extends \\PHPUnit\\Framework\\Exception implements Exception\n{\n /**\n * @param list $me", "meta": {"filepath": "src/Framework/MockObject/Generator/Exception/DuplicateMethodException.php", "language": "php", "file_size": 1139, "cut_index": 518, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Generator;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class Inv", "suffix": "ception implements Exception\n{\n public function __construct(string $className)\n {\n parent::__construct(\n sprintf(\n 'Cannot use \"%s\" as the name of a test double class because it is not a valid PHP class name',\n ", "middle": "alidClassNameException extends \\PHPUnit\\Framework\\Ex", "meta": {"filepath": "src/Framework/MockObject/Generator/Exception/InvalidClassNameException.php", "language": "php", "file_size": 910, "cut_index": 547, "middle_length": 52}} +{"prefix": "ict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Generator;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n ", "suffix": "PUnit\\Framework\\Exception implements Exception\n{\n public function __construct(string $interfaceName)\n {\n parent::__construct(\n sprintf(\n 'Interface \"%s\" does not exist',\n $interfaceName,\n ),\n", "middle": "*/\nfinal class UnknownInterfaceException extends \\PH", "meta": {"filepath": "src/Framework/MockObject/Generator/Exception/UnknownInterfaceException.php", "language": "php", "file_size": 856, "cut_index": 529, "middle_length": 52}} +{"prefix": "clare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Generator;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for ", "suffix": " \\PHPUnit\\Framework\\Exception implements Exception\n{\n public function __construct(string $type)\n {\n parent::__construct(\n sprintf(\n 'Class or interface \"%s\" does not exist',\n $type,\n ),\n ", "middle": "PHPUnit\n */\nfinal class UnknownTypeException extends", "meta": {"filepath": "src/Framework/MockObject/Generator/Exception/UnknownTypeException.php", "language": "php", "file_size": 842, "cut_index": 520, "middle_length": 52}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function array_any;\nuse function array_unique;\nuse function array_values;\nuse function in_array;\nuse function strtolower;\nuse Exception;\nuse PHPUnit\\Framework\\AssertionFailedError;\nuse PHPUnit\\Framework\\MockObject\\Rule\\InvocationOrder;\nuse PHPUnit\\Framework\\MockObject\\Rule\\InvokedCount;\nuse PHPUnit\\Framework\\MockObject\\Rule\\MethodName;\nuse Throwable;\n\n/**\n * @no-named-arguments Parameter names are not covered by th", "suffix": "ray $matchers = [];\n\n /**\n * @var array\n */\n private array $matcherMap = [];\n\n /**\n * @var list\n */\n private readonly array $configurableMethods;\n\n /**\n * @var class-string\n ", "middle": "e backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class InvocationHandler\n{\n /**\n * @var list\n */\n private ar", "meta": {"filepath": "src/Framework/MockObject/Runtime/InvocationHandler.php", "language": "php", "file_size": 7736, "cut_index": 716, "middle_length": 229}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function sprintf;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Framework\\MockObject\\Rule\\AnyInvokedCount;\nuse PHPUnit\\Framework\\MockObject\\Rule\\AnyParameters;\nuse PHPUnit\\Framework\\MockObject\\Rule\\InvocationOrder;\nuse PHPUnit\\Framework\\MockObject\\Rule\\InvokedAtMostCount;\nuse PHPUnit\\Framework\\MockObject\\Rule\\InvokedCount;\nuse PHPUnit\\Framework\\MockObject\\Rule\\MethodName;\nuse PHPUnit\\Framework\\MockO", "suffix": "@internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class Matcher\n{\n private readonly InvocationOrder $invocationRule;\n\n /**\n * @var class-string\n */\n private readonly string $className;\n\n /**", "middle": "bject\\Rule\\ParametersRule;\nuse PHPUnit\\Framework\\MockObject\\Stub\\Stub;\nuse PHPUnit\\Util\\ThrowableToStringMapper;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * ", "meta": {"filepath": "src/Framework/MockObject/Runtime/Matcher.php", "language": "php", "file_size": 7843, "cut_index": 716, "middle_length": 229}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Generator;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ClassIsAnonymou", "suffix": "ements Exception\n{\n public function __construct(string $className)\n {\n parent::__construct(\n sprintf(\n 'Class \"%s\" is an anonymous class and cannot be doubled',\n $className,\n ),\n );\n ", "middle": "sException extends \\PHPUnit\\Framework\\Exception impl", "meta": {"filepath": "src/Framework/MockObject/Generator/Exception/ClassIsAnonymousException.php", "language": "php", "file_size": 873, "cut_index": 559, "middle_length": 52}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function array_all;\nuse function array_map;\nuse function explode;\nuse function in_array;\nuse function interface_exists;\nuse function sprintf;\nuse function str_contains;\nuse function str_ends_with;\nuse function str_starts_with;\nuse function substr;\nuse PHPUnit\\Framework\\MockObject\\Generator\\Generator;\nuse ReflectionClass;\nuse ReflectionObject;\nuse stdClass;\nuse Throwable;\n\n/**\n * @no-named-arguments Parameter names ", "suffix": "ng $className\n * @param non-empty-string $methodName\n *\n * @throws Exception\n */\n public function generate(string $className, string $methodName, StubInternal $testStub, string $returnType): mixed\n {\n $intersection = false;", "middle": "are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ReturnValueGenerator\n{\n /**\n * @param class-stri", "meta": {"filepath": "src/Framework/MockObject/Runtime/ReturnValueGenerator.php", "language": "php", "file_size": 7962, "cut_index": 716, "middle_length": 229}} +{"prefix": "ict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Generator;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n ", "suffix": "HPUnit\\Framework\\Exception implements Exception\n{\n public function __construct(string $method)\n {\n parent::__construct(\n sprintf(\n 'Cannot double method with invalid name \"%s\"',\n $method,\n ),", "middle": "*/\nfinal class InvalidMethodNameException extends \\P", "meta": {"filepath": "src/Framework/MockObject/Generator/Exception/InvalidMethodNameException.php", "language": "php", "file_size": 857, "cut_index": 529, "middle_length": 52}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function array_flip;\nuse function array_key_exists;\nuse function array_map;\nuse function array_merge;\nuse function array_pop;\nuse function assert;\nuse function count;\nuse function is_string;\nuse function range;\nuse function strtolower;\nuse PHPUnit\\Framework\\Constraint\\Constraint;\nuse PHPUnit\\Framework\\InvalidArgumentException;\nuse PHPUnit\\Framework\\MockObject\\Runtime\\PropertyHook;\nuse PHPUnit\\Framework\\MockObject\\S", "suffix": "nce;\nuse PHPUnit\\Framework\\MockObject\\Stub\\ReturnSelf;\nuse PHPUnit\\Framework\\MockObject\\Stub\\ReturnStub;\nuse PHPUnit\\Framework\\MockObject\\Stub\\ReturnValueMap;\nuse PHPUnit\\Framework\\MockObject\\Stub\\Stub;\nuse Throwable;\n\n/**\n * @no-named-arguments Parameter ", "middle": "tub\\ConsecutiveCalls;\nuse PHPUnit\\Framework\\MockObject\\Stub\\Exception;\nuse PHPUnit\\Framework\\MockObject\\Stub\\ReturnArgument;\nuse PHPUnit\\Framework\\MockObject\\Stub\\ReturnCallback;\nuse PHPUnit\\Framework\\MockObject\\Stub\\ReturnRefere", "meta": {"filepath": "src/Framework/MockObject/Runtime/AbstractInvocationImplementation.php", "language": "php", "file_size": 8821, "cut_index": 716, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse PHPUnit\\Event\\Facade as EventFacade;\nuse PHPUnit\\Framework\\Exception;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class InvocationMockerImplementati", "suffix": "ethodParametersAlreadyConfiguredForAnotherMatcherException\n *\n * @return $this\n */\n public function with(mixed ...$arguments): InvocationMocker\n {\n $this->ensureParametersCanBeConfigured();\n $this->ensureNoOtherMatcherHasPar", "middle": "on extends AbstractInvocationImplementation implements InvocationMocker\n{\n /**\n * @throws Exception\n * @throws MethodNameNotConfiguredException\n * @throws MethodParametersAlreadyConfiguredException\n * @throws M", "meta": {"filepath": "src/Framework/MockObject/Runtime/InvocationMockerImplementation.php", "language": "php", "file_size": 4709, "cut_index": 614, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Stub;\n\nuse function array_shift;\nuse function count;\nuse PHPUnit\\Framework\\MockObject\\Invocation;\nuse PHPUnit\\Framework\\MockObject\\NoMoreReturnValuesConfiguredException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward", "suffix": "e array $stack;\n private int $numberOfConfiguredReturnValues;\n\n /**\n * @param array $stack\n */\n public function __construct(array $stack)\n {\n $this->stack = $stack;\n $this->numberOfConfigure", "middle": " compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ConsecutiveCalls implements Stub\n{\n /**\n * @var array\n */\n privat", "meta": {"filepath": "src/Framework/MockObject/Runtime/Stub/ConsecutiveCalls.php", "language": "php", "file_size": 1574, "cut_index": 537, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Generator;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class Nam", "suffix": "ception implements Exception\n{\n /**\n * @param class-string|trait-string $name\n */\n public function __construct(string $name)\n {\n parent::__construct(\n sprintf(\n 'The name \"%s\" is already in use',\n ", "middle": "eAlreadyInUseException extends \\PHPUnit\\Framework\\Ex", "meta": {"filepath": "src/Framework/MockObject/Generator/Exception/NameAlreadyInUseException.php", "language": "php", "file_size": 902, "cut_index": 547, "middle_length": 52}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Generator;\n\nuse SebastianBergmann\\Template\\Template;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This trait is not covered by the backward compatibility promise for PHPUnit\n */\ntrait TemplateLoader\n{\n /**\n", "suffix": "te static array $templates = [];\n\n private function loadTemplate(string $template): Template\n {\n $filename = __DIR__ . '/templates/' . $template;\n\n if (!isset(self::$templates[$filename])) {\n self::$templates[$filename] = new", "middle": " * @var array\n */\n priva", "meta": {"filepath": "src/Framework/MockObject/Generator/TemplateLoader.php", "language": "php", "file_size": 975, "cut_index": 582, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Stub;\n\nuse PHPUnit\\Framework\\MockObject\\Invocation;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n ", "suffix": "ub\n{\n private int $argumentIndex;\n\n public function __construct(int $argumentIndex)\n {\n $this->argumentIndex = $argumentIndex;\n }\n\n public function invoke(Invocation $invocation): mixed\n {\n return $invocation->parameters()[$", "middle": "*/\nfinal readonly class ReturnArgument implements St", "meta": {"filepath": "src/Framework/MockObject/Runtime/Stub/ReturnArgument.php", "language": "php", "file_size": 893, "cut_index": 547, "middle_length": 52}} +{"prefix": "clare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Stub;\n\nuse PHPUnit\\Framework\\MockObject\\Invocation;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatib", "suffix": "rence implements Stub\n{\n private mixed $reference;\n\n public function __construct(mixed &$reference)\n {\n $this->reference = &$reference;\n }\n\n public function invoke(Invocation $invocation): mixed\n {\n return $this->reference;\n", "middle": "ility promise for PHPUnit\n */\nfinal class ReturnRefe", "meta": {"filepath": "src/Framework/MockObject/Runtime/Stub/ReturnReference.php", "language": "php", "file_size": 836, "cut_index": 520, "middle_length": 52}} +{"prefix": "are(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Stub;\n\nuse PHPUnit\\Framework\\MockObject\\Invocation;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibil", "suffix": "r PHPUnit\n */\nfinal readonly class ReturnStub implements Stub\n{\n private mixed $value;\n\n public function __construct(mixed $value)\n {\n $this->value = $value;\n }\n\n public function invoke(Invocation $invocation): mixed\n {\n ret", "middle": "ity promise fo", "meta": {"filepath": "src/Framework/MockObject/Runtime/Stub/ReturnStub.php", "language": "php", "file_size": 818, "cut_index": 522, "middle_length": 14}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\ninterface InvocationMocker extends InvocationStubber\n{\n /**\n * @return $this\n */\n public function with(mixed ...$arguments): self;\n\n /**\n * @return $this\n */\n public function withParameterSetsInOrder(mixed ...$argum", "suffix": "guments): self;\n\n /**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @return $this\n */\n public function withAnyParameters(): self;\n\n /**\n * @no-named-arguments Par", "middle": "ents): self;\n\n /**\n * @return $this\n */\n public function withParameterSetsInAnyOrder(mixed ...$arguments): self;\n\n /**\n * @return $this\n */\n public function withParameterSetsInPartialOrder(mixed ...$ar", "meta": {"filepath": "src/Framework/MockObject/Runtime/Interface/InvocationMocker.php", "language": "php", "file_size": 1630, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Rule;\n\nuse function count;\nuse PHPUnit\\Framework\\MockObject\\Invocation as BaseInvocation;\nuse PHPUnit\\Framework\\SelfDescribing;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PH", "suffix": "invocations = [];\n\n public function numberOfInvocations(): int\n {\n return count($this->invocations);\n }\n\n public function hasBeenInvoked(): bool\n {\n return count($this->invocations) > 0;\n }\n\n final public function invoked", "middle": "PUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nabstract class InvocationOrder implements SelfDescribing\n{\n /**\n * @var list\n */\n private array $", "meta": {"filepath": "src/Framework/MockObject/Runtime/Rule/InvocationOrder.php", "language": "php", "file_size": 1341, "cut_index": 524, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Rule;\n\nuse function sprintf;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Framework\\MockObject\\Invocation as BaseInvocation;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for P", "suffix": "__construct(int $requiredInvocations)\n {\n $this->requiredInvocations = $requiredInvocations;\n }\n\n public function toString(): string\n {\n return sprintf(\n 'invoked at least %d time%s',\n $this->requiredInvocati", "middle": "HPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class InvokedAtLeastCount extends InvocationOrder\n{\n private readonly int $requiredInvocations;\n\n public function ", "meta": {"filepath": "src/Framework/MockObject/Runtime/Rule/InvokedAtLeastCount.php", "language": "php", "file_size": 1999, "cut_index": 537, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse function array_map;\nuse function implode;\nuse function sprintf;\nuse function str_starts_with;\nuse function strtolower;\nuse function substr;\nuse PHPUnit\\Framework\\SelfDescribing;\nuse PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n ", "suffix": " /**\n * @var non-empty-string\n */\n private string $methodName;\n\n /**\n * @var array\n */\n private array $parameters;\n private string $returnType;\n private bool $isReturnTypeNullable;\n private MockObjectInternal|Stub", "middle": "*\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Invocation implements SelfDescribing\n{\n /**\n * @var class-string\n */\n private string $className;\n\n ", "meta": {"filepath": "src/Framework/MockObject/Runtime/Invocation.php", "language": "php", "file_size": 3482, "cut_index": 614, "middle_length": 229}} +{"prefix": " declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Stub;\n\nuse PHPUnit\\Framework\\MockObject\\Invocation;\nuse PHPUnit\\Framework\\MockObject\\RuntimeException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @inter", "suffix": " is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ReturnSelf implements Stub\n{\n /**\n * @throws RuntimeException\n */\n public function invoke(Invocation $invocation): object\n {\n return $invocation->obje", "middle": "nal This class", "meta": {"filepath": "src/Framework/MockObject/Runtime/Stub/ReturnSelf.php", "language": "php", "file_size": 801, "cut_index": 517, "middle_length": 14}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse PHPUnit\\Framework\\Constraint\\Constraint;\nuse PHPUnit\\Framework\\MockObject\\Runtime\\PropertyHook;\nuse PHPUnit\\Framework\\MockObject\\Stub\\Stub;\nuse Throwable;\n\ninterface InvocationStubber\n{\n /**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n *", "suffix": "e not covered by the backward compatibility promise for PHPUnit\n *\n * @return $this\n */\n public function will(Stub $stub): self;\n\n /**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PH", "middle": " @param Constraint|non-empty-string|PropertyHook $constraint\n *\n * @return $this\n */\n public function method(Constraint|PropertyHook|string $constraint): self;\n\n /**\n * @no-named-arguments Parameter names ar", "meta": {"filepath": "src/Framework/MockObject/Runtime/Interface/InvocationStubber.php", "language": "php", "file_size": 3112, "cut_index": 614, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Rule;\n\nuse Exception;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Framework\\MockObject\\Invocation as BaseInvocation;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n", "suffix": "ameters\n *\n * @throws \\PHPUnit\\Framework\\Exception\n */\n public function __construct(array $parameters, private int $index, private bool $strict)\n {\n $this->parameters = new Parameters($parameters);\n }\n\n /**\n * @throws Exc", "middle": " *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class IndexedParameters implements ParametersRule\n{\n private Parameters $parameters;\n\n /**\n * @param list $par", "meta": {"filepath": "src/Framework/MockObject/Runtime/Rule/IndexedParameters.php", "language": "php", "file_size": 1704, "cut_index": 537, "middle_length": 229}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Stub;\n\nuse function call_user_func_array;\nuse PHPUnit\\Framework\\MockObject\\Invocation;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ReturnCal", "suffix": "\n */\n private $callback;\n\n public function __construct(callable $callback)\n {\n $this->callback = $callback;\n }\n\n public function invoke(Invocation $invocation): mixed\n {\n return call_user_func_array($this->callback, $inv", "middle": "lback implements Stub\n{\n /**\n * @var callable", "meta": {"filepath": "src/Framework/MockObject/Runtime/Stub/ReturnCallback.php", "language": "php", "file_size": 946, "cut_index": 606, "middle_length": 52}} +{"prefix": "ict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Rule;\n\nuse PHPUnit\\Framework\\MockObject\\Invocation as BaseInvocation;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward", "suffix": "nyInvokedCount extends InvocationOrder\n{\n public function toString(): string\n {\n return 'invoked zero or more times';\n }\n\n public function verify(): void\n {\n }\n\n public function matches(BaseInvocation $invocation): bool\n {\n ", "middle": " compatibility promise for PHPUnit\n */\nfinal class A", "meta": {"filepath": "src/Framework/MockObject/Runtime/Rule/AnyInvokedCount.php", "language": "php", "file_size": 864, "cut_index": 529, "middle_length": 52}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Generator;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ClassIsFinalExc", "suffix": "ts Exception\n{\n public function __construct(string $className)\n {\n parent::__construct(\n sprintf(\n 'Class \"%s\" is declared \"final\" and cannot be doubled',\n $className,\n ),\n );\n }\n}\n", "middle": "eption extends \\PHPUnit\\Framework\\Exception implemen", "meta": {"filepath": "src/Framework/MockObject/Generator/Exception/ClassIsFinalException.php", "language": "php", "file_size": 867, "cut_index": 559, "middle_length": 52}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Rule;\n\nuse function sprintf;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Framework\\MockObject\\Invocation as BaseInvocation;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal Thi", "suffix": "cations)\n {\n $this->allowedInvocations = $allowedInvocations;\n }\n\n public function toString(): string\n {\n if ($this->allowedInvocations === 1) {\n return 'invoked at most once';\n }\n\n return sprintf(\n ", "middle": "s class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class InvokedAtMostCount extends InvocationOrder\n{\n private readonly int $allowedInvocations;\n\n public function __construct(int $allowedInvo", "meta": {"filepath": "src/Framework/MockObject/Runtime/Rule/InvokedAtMostCount.php", "language": "php", "file_size": 2031, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Rule;\n\nuse function is_string;\nuse PHPUnit\\Framework\\Constraint\\Constraint;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Framework\\InvalidArgumentException;\nuse PHPUnit\\Framework\\MockObject\\Invocation as BaseInvocation;\nuse PHPU", "suffix": "promise for PHPUnit\n */\nfinal readonly class MethodName\n{\n private Constraint $constraint;\n\n /**\n * @throws InvalidArgumentException\n */\n public function __construct(Constraint|string $constraint)\n {\n if (is_string($constraint)) ", "middle": "nit\\Framework\\MockObject\\MethodNameConstraint;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility ", "meta": {"filepath": "src/Framework/MockObject/Runtime/Rule/MethodName.php", "language": "php", "file_size": 1984, "cut_index": 537, "middle_length": 229}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Rule;\n\nuse function assert;\nuse function count;\nuse function sprintf;\nuse Exception;\nuse PHPUnit\\Framework\\Constraint\\Callback;\nuse PHPUnit\\Framework\\Constraint\\Constraint;\nuse PHPUnit\\Framework\\Constraint\\IsAnything;\nuse PHPUnit\\Framework\\Constraint\\IsEqual;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Framework\\MockObject\\Invocation as BaseInvocation;\nuse PHPUnit\\Util\\Test;\nuse ReflectionException;\nuse", "suffix": "l class Parameters implements ParametersRule\n{\n /**\n * @var list\n */\n private array $parameters = [];\n private ?BaseInvocation $invocation = null;\n private null|bool|ExpectationFailedException $parameterVerificatio", "middle": " ReflectionMethod;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfina", "meta": {"filepath": "src/Framework/MockObject/Runtime/Rule/Parameters.php", "language": "php", "file_size": 5933, "cut_index": 716, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Rule;\n\nuse function array_shift;\nuse function array_values;\nuse function count;\nuse function implode;\nuse function is_array;\nuse function sprintf;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Framework\\MockObject\\Invocation as BaseInvocation;\nuse PHPUnit\\Framework\\MockObject\\NoMoreParameterSetsConfigured", "suffix": "$unapplied = [];\n\n /**\n * @var list\n */\n private array $applied = [];\n private int $numberOfConfiguredParameterSets;\n\n /**\n * @param list $stack\n */\n public function __construct(array $stack)\n {\n ", "middle": "Exception;\n\nfinal class UnorderedParameterSets implements ParametersRule\n{\n /**\n * @var list\n */\n private array $stack = [];\n\n /**\n * @var list\n */\n private array ", "meta": {"filepath": "src/Framework/MockObject/Runtime/Rule/UnorderedParameterSets.php", "language": "php", "file_size": 3877, "cut_index": 614, "middle_length": 229}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse PHPUnit\\Framework\\Constraint\\Constraint;\nuse PHPUnit\\Framework\\MockObject\\Rule\\AnyInvokedCount;\nuse PHPUnit\\Framework\\MockObject\\Runtime\\PropertyHook;\n\n/**\n * @no-named-arguments Parameter names are not covered by t", "suffix": "nHandler;\n\n public function method(Constraint|PropertyHook|string $constraint): InvocationStubber\n {\n return $this\n ->__phpunit_getInvocationHandler()\n ->expects(new AnyInvokedCount)\n ->method($constraint)\n ", "middle": "he backward compatibility promise for PHPUnit\n *\n * @internal This trait is not covered by the backward compatibility promise for PHPUnit\n */\ntrait Method\n{\n abstract public function __phpunit_getInvocationHandler(): Invocatio", "meta": {"filepath": "src/Framework/MockObject/Runtime/Api/Method.php", "language": "php", "file_size": 1055, "cut_index": 513, "middle_length": 229}} +{"prefix": "\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This trait is not covered by the backward compatibility promise for PHPUnit\n */\ntrait StubApi", "suffix": "ic function __phpunit_getInvocationHandler(): InvocationHandler\n {\n return $this->__phpunit_state()->invocationHandler();\n }\n\n public function __phpunit_unsetInvocationMocker(): void\n {\n $this->__phpunit_state()->unsetInvocationHa", "middle": "\n{\n private readonly TestDoubleState $__phpunit_state;\n\n public function __phpunit_state(): TestDoubleState\n {\n return $this->__phpunit_state ?? new TestDoubleState([], static::class, true, false);\n }\n\n publ", "meta": {"filepath": "src/Framework/MockObject/Runtime/Api/StubApi.php", "language": "php", "file_size": 1014, "cut_index": 512, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Runtime;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class PropertyGetHook extends PropertyHook\n{\n /**\n * @return non", "suffix": " *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function asString(): string\n {\n return sprintf(\n '$%s::get',\n $this->propertyName(),\n );\n }\n}\n", "middle": "-empty-string\n", "meta": {"filepath": "src/Framework/MockObject/Runtime/PropertyHook/PropertyGetHook.php", "language": "php", "file_size": 794, "cut_index": 524, "middle_length": 14}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Runtime;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class PropertySetHook extends PropertyHook\n{\n /**\n * @return non", "suffix": " *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function asString(): string\n {\n return sprintf(\n '$%s::set',\n $this->propertyName(),\n );\n }\n}\n", "middle": "-empty-string\n", "meta": {"filepath": "src/Framework/MockObject/Runtime/PropertyHook/PropertySetHook.php", "language": "php", "file_size": 794, "cut_index": 524, "middle_length": 14}} +{"prefix": "tring LEFT_MARGIN = ' ';\n private int $lengthOfLongestOptionName = 0;\n private readonly int $columnsAvailableForDescription;\n private bool $hasColor;\n\n public function __construct(?int $width = null, ?bool $withColor = null)\n {\n if ($width === null) {\n $width = (new Console)->getNumberOfColumns();\n }\n\n if ($withColor === null) {\n $this->hasColor = (new Console)->hasColorSupport();\n } else {\n $this->hasColor = $withColor;\n ", "suffix": " {\n $this->lengthOfLongestOptionName = max($this->lengthOfLongestOptionName, strlen($option['arg']));\n }\n }\n }\n\n $this->columnsAvailableForDescription = $width - $this->lengthOfLongestOptionName - ", "middle": " }\n\n $maxLength = (int) ($width / 2) - 4;\n\n foreach ($this->elements() as $options) {\n foreach ($options as $option) {\n if (isset($option['arg']) && strlen($option['arg']) <= $maxLength)", "meta": {"filepath": "src/TextUI/Help.php", "language": "php", "file_size": 23025, "cut_index": 1331, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Stub;\n\nuse function array_key_exists;\nuse function array_pop;\nuse function count;\nuse function is_array;\nuse function sprintf;\nuse PHPUnit\\Framework\\Constraint\\Constraint;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Framework\\MockObject\\Invocation;\nuse ", "suffix": "final readonly class ReturnValueMap implements Stub\n{\n /**\n * @var array\n */\n private array $valueMap;\n private bool $strict;\n\n /**\n * @param array $valueMap\n */\n public function __construct(array $valueMap, boo", "middle": "PHPUnit\\Util\\Exporter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\n", "meta": {"filepath": "src/Framework/MockObject/Runtime/Stub/ReturnValueMap.php", "language": "php", "file_size": 2829, "cut_index": 563, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Rule;\n\nuse function array_shift;\nuse function count;\nuse function is_array;\nuse function sprintf;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Framework\\MockObject\\Invocation as BaseInvocation;\nuse PHPUnit\\Framework\\MockObject\\NoMoreParameterSetsConfiguredException;\n\n/**\n * @no-named-arguments Parameter ", "suffix": " /**\n * @var list\n */\n private array $stack = [];\n\n /**\n * @var list\n */\n private array $applied = [];\n private int $numberOfConfiguredParameterSets;\n\n /**\n *", "middle": "names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class OrderedParameterSets implements ParametersRule\n{\n", "meta": {"filepath": "src/Framework/MockObject/Runtime/Rule/OrderedParameterSets.php", "language": "php", "file_size": 3050, "cut_index": 614, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Rule;\n\nuse function array_key_exists;\nuse function array_values;\nuse function count;\nuse function is_array;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Framework\\MockObject\\Invocation as BaseInvocation;\nuse PHPUnit\\Framework\\MockObject\\NoMoreParameterSetsConfiguredException;\n\n/**\n * @no-named-arguments ", "suffix": "s ParametersRule\n{\n /**\n * @var list\n */\n private array $stack = [];\n\n /**\n * @var list\n */\n private array $applied = [];\n private ?OrderedParameterSets $ordered =", "middle": "Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class PartiallyOrderedParameterSets implement", "meta": {"filepath": "src/Framework/MockObject/Runtime/Rule/PartiallyOrderedParameterSets.php", "language": "php", "file_size": 4274, "cut_index": 614, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class TestDoubleState\n{\n /**\n * @var list $configurableMethods\n * @param class-string $className\n */\n public function __construct(array $configurableMethods, ", "middle": "bleMethod>\n */\n private readonly array $configurableMethods;\n\n /**\n * @var class-string\n */\n private readonly string $className;\n private readonly bool $generateReturnValues;\n private readonly bool $isM", "meta": {"filepath": "src/Framework/MockObject/Runtime/Api/TestDoubleState.php", "language": "php", "file_size": 2376, "cut_index": 563, "middle_length": 229}} +{"prefix": "eGenerator;\nuse PHPUnit\\Runner\\Baseline\\Reader;\nuse PHPUnit\\Runner\\Baseline\\Writer;\nuse PHPUnit\\Runner\\CodeCoverage;\nuse PHPUnit\\Runner\\CodeCoverageInitializationStatus;\nuse PHPUnit\\Runner\\DeprecationCollector\\Facade as DeprecationCollector;\nuse PHPUnit\\Runner\\DirectoryDoesNotExistException;\nuse PHPUnit\\Runner\\ErrorHandler;\nuse PHPUnit\\Runner\\Extension\\ExtensionBootstrapper;\nuse PHPUnit\\Runner\\Extension\\ExtensionFacade;\nuse PHPUnit\\Runner\\Extension\\PharLoader;\nuse PHPUnit\\Runner\\GarbageCollection\\GarbageCol", "suffix": "nner\\ResultCache\\ResultCache;\nuse PHPUnit\\Runner\\ResultCache\\ResultCacheHandler;\nuse PHPUnit\\Runner\\TestSuiteSorter;\nuse PHPUnit\\Runner\\Version;\nuse PHPUnit\\TestRunner\\IssueFilter;\nuse PHPUnit\\TestRunner\\TestResult\\Facade as TestResultFacade;\nuse PHPUnit\\T", "middle": "lectionHandler;\nuse PHPUnit\\Runner\\IssueTriggerResolver\\Resolver;\nuse PHPUnit\\Runner\\Phpt\\TestCase as PhptTestCase;\nuse PHPUnit\\Runner\\ResultCache\\DefaultResultCache;\nuse PHPUnit\\Runner\\ResultCache\\NullResultCache;\nuse PHPUnit\\Ru", "meta": {"filepath": "src/TextUI/Application.php", "language": "php", "file_size": 35307, "cut_index": 2151, "middle_length": 229}} +{"prefix": " declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage\\Report;\n\nuse PHPUnit\\TextUI\\Configuration\\File;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the ba", "suffix": "bility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class Php\n{\n private File $target;\n\n public function __construct(File $target)\n {\n $this->target = $target;\n }\n\n public function target(): File\n {\n return $this-", "middle": "ckward compati", "meta": {"filepath": "src/TextUI/Configuration/Xml/CodeCoverage/Report/Php.php", "language": "php", "file_size": 804, "cut_index": 517, "middle_length": 14}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Remo", "suffix": "e implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $root = $document->documentElement;\n\n assert($root instanceof DOMElement);\n\n if ($root->hasAttribute('beStrictAboutResourceUsageDuringSmallTests')", "middle": "veBeStrictAboutResourceUsageDuringSmallTestsAttribut", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemoveBeStrictAboutResourceUsageDuringSmallTestsAttribute.php", "language": "php", "file_size": 994, "cut_index": 582, "middle_length": 52}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse SebastianBergmann\\FileFilter\\Filter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility p", "suffix": " return self::$instance;\n }\n\n self::$instance = new self(\n (new FileFilterMapper)->map(\n Registry::get()->source(),\n ),\n );\n\n return self::$instance;\n }\n\n public function __construct", "middle": "romise for PHPUnit\n */\nfinal class SourceFilter\n{\n private static ?self $instance = null;\n private readonly Filter $filter;\n\n public static function instance(): self\n {\n if (self::$instance !== null) {\n ", "meta": {"filepath": "src/TextUI/Configuration/SourceFilter.php", "language": "php", "file_size": 1228, "cut_index": 518, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Runtime;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nabstract readonly class PropertyHook\n{\n /**\n * @var non-empty-string\n */\n private string $prope", "suffix": "n-empty-string $propertyName\n */\n public static function set(string $propertyName): PropertySetHook\n {\n return new PropertySetHook($propertyName);\n }\n\n /**\n * @param non-empty-string $propertyName\n */\n protected function _", "middle": "rtyName;\n\n /**\n * @param non-empty-string $propertyName\n */\n public static function get(string $propertyName): PropertyGetHook\n {\n return new PropertyGetHook($propertyName);\n }\n\n /**\n * @param no", "meta": {"filepath": "src/Framework/MockObject/Runtime/PropertyHook/PropertyHook.php", "language": "php", "file_size": 1440, "cut_index": 524, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI;\n\nuse const FILE_IGNORE_NEW_LINES;\nuse const FILE_SKIP_EMPTY_LINES;\nuse function array_map;\nuse function file;\nuse PHPUnit\\Event;\nuse PHPUnit\\Framework\\TestSuite;\nuse PHPUnit\\Runner\\Filter\\Factory;\nuse PHPUnit\\TextUI\\Configuration\\Configuration;\nuse PHPUnit\\TextUI\\Configuration\\FilterNotConfiguredException;\n\n/**\n * @no-named-arguments", "suffix": " /**\n * @throws Event\\RuntimeException\n * @throws FilterNotConfiguredException\n * @throws RuntimeException\n */\n public function process(Configuration $configuration, TestSuite $suite): void\n {\n $factory = new Factory;\n\n ", "middle": " Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestSuiteFilterProcessor\n{\n ", "meta": {"filepath": "src/TextUI/TestSuiteFilterProcessor.php", "language": "php", "file_size": 4218, "cut_index": 614, "middle_length": 229}} +{"prefix": "pes=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI;\n\nuse function sprintf;\nuse RuntimeException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal", "suffix": "on implements Exception\n{\n public function __construct(string $socket)\n {\n parent::__construct(\n sprintf(\n '\"%s\" does not match \"socket://hostname:port\" format',\n $socket,\n ),\n );\n ", "middle": " class InvalidSocketException extends RuntimeExcepti", "meta": {"filepath": "src/TextUI/Exception/InvalidSocketException.php", "language": "php", "file_size": 847, "cut_index": 535, "middle_length": 52}} +{"prefix": "are(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI;\n\nuse function sprintf;\nuse RuntimeException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPU", "suffix": "class TestFileNotFoundException extends RuntimeException implements Exception\n{\n public function __construct(string $path)\n {\n parent::__construct(\n sprintf(\n 'Test file \"%s\" not found',\n $path,\n ", "middle": "nit\n */\nfinal ", "meta": {"filepath": "src/TextUI/Exception/TestFileNotFoundException.php", "language": "php", "file_size": 819, "cut_index": 522, "middle_length": 14}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse PHPUnit\\TextUI\\CliArguments\\Builder as CliConfigurationBuilder;\nuse PHPUnit\\TextUI\\CliArguments\\Exception as CliConfigurationException;\nuse PHPUnit\\TextUI\\CliArguments\\XmlConfigurationFileFinder;\nuse PHPUnit\\TextUI\\XmlConfiguration\\Default", "suffix": "ise for PHPUnit\n *\n * @codeCoverageIgnore\n */\nfinal readonly class Builder\n{\n /**\n * @param list $argv\n *\n * @throws ConfigurationCannotBeBuiltException\n */\n public function build(array $argv): Configuration\n {\n try ", "middle": "Configuration;\nuse PHPUnit\\TextUI\\XmlConfiguration\\Exception as XmlConfigurationException;\nuse PHPUnit\\TextUI\\XmlConfiguration\\Loader;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility prom", "meta": {"filepath": "src/TextUI/Configuration/Builder.php", "language": "php", "file_size": 1780, "cut_index": 537, "middle_length": 229}} +{"prefix": "* @var non-empty-string\n */\n private string $coverageHtmlColorDanger;\n\n /**\n * @var non-empty-string\n */\n private string $coverageHtmlColorDangerDark;\n\n /**\n * @var non-empty-string\n */\n private string $coverageHtmlColorDangerBar;\n\n /**\n * @var non-empty-string\n */\n private string $coverageHtmlColorDangerBarDark;\n\n /**\n * @var non-empty-string\n */\n private string $coverageHtmlColorBreadcrumbs;\n\n /**\n * @var non-empty-string\n */\n pr", "suffix": ";\n\n /**\n * @var ?non-empty-string\n */\n private ?string $coveragePhp;\n\n /**\n * @var ?non-empty-string\n */\n private ?string $coverageText;\n private bool $coverageTextShowUncoveredFiles;\n private bool $coverageTextShowOnlySum", "middle": "ivate string $coverageHtmlColorBreadcrumbsDark;\n\n /**\n * @var ?non-empty-string\n */\n private ?string $coverageHtmlCustomCssFile;\n\n /**\n * @var ?non-empty-string\n */\n private ?string $coverageOpenClover", "meta": {"filepath": "src/TextUI/Configuration/Configuration.php", "language": "php", "file_size": 70496, "cut_index": 3790, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function realpath;\nuse SebastianBergmann\\FileFilter\\Builder as FilterBuilder;\nuse SebastianBergmann\\FileFilter\\Filter as FileFilter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPU", "suffix": "d(\n $this->directories($source->includeDirectories()),\n $this->files($source->includeFiles()),\n $this->directories($source->excludeDirectories()),\n $this->files($source->excludeFiles()),\n );\n }\n\n /**", "middle": "nit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class FileFilterMapper\n{\n public function map(Source $source): FileFilter\n {\n return (new FilterBuilder)->buil", "meta": {"filepath": "src/TextUI/Configuration/FileFilterMapper.php", "language": "php", "file_size": 1914, "cut_index": 537, "middle_length": 229}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse const PATH_SEPARATOR;\nuse function constant;\nuse function define;\nuse function defined;\nuse function getenv;\nuse function implode;\nuse function ini_get;\nuse function ini_set;\nuse function is_array;\nuse function is_scalar;\nuse function putenv;\nuse function restore_error_handler;\nuse function set_error_handler;\nuse function sprintf;\nuse PHPUnit\\Event\\Facade as EventFacade;\n\n/**\n * @no-named-arguments Parameter names ", "suffix": "onfiguration): void\n {\n $this->handleIncludePaths($configuration->includePaths());\n $this->handleIniSettings($configuration->iniSettings());\n $this->handleConstants($configuration->constants());\n $this->handleGlobalVariables(", "middle": "are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class PhpHandler\n{\n public function handle(Php $c", "meta": {"filepath": "src/TextUI/Configuration/PhpHandler.php", "language": "php", "file_size": 5212, "cut_index": 716, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This trait is not covered by the backward compatibility promise for PHPUnit\n */\ntrait ProxiedCloneMethod\n", "suffix": "unction __clone(): void\n {\n $this->__phpunit_state = clone $this->__phpunit_state;\n\n $this->__phpunit_state()->cloneInvocationHandler();\n\n parent::__clone();\n }\n\n abstract public function __phpunit_state(): TestDoubleState;\n}\n", "middle": "{\n public f", "meta": {"filepath": "src/Framework/MockObject/Runtime/Api/ProxiedCloneMethod.php", "language": "php", "file_size": 794, "cut_index": 524, "middle_length": 14}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject\\Rule;\n\nuse function sprintf;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse PHPUnit\\Framework\\MockObject\\Invocation as BaseInvocation;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal Thi", "suffix": " $this->expectedCount = $expectedCount;\n }\n\n public function isNever(): bool\n {\n return $this->expectedCount === 0;\n }\n\n public function toString(): string\n {\n if ($this->expectedCount === 1) {\n return 'invo", "middle": "s class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class InvokedCount extends InvocationOrder\n{\n private readonly int $expectedCount;\n\n public function __construct(int $expectedCount)\n {\n ", "meta": {"filepath": "src/Framework/MockObject/Runtime/Rule/InvokedCount.php", "language": "php", "file_size": 2870, "cut_index": 563, "middle_length": 229}} +{"prefix": "p declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI;\n\nuse function sprintf;\nuse RuntimeException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise fo", "suffix": "tion extends RuntimeException implements Exception\n{\n public function __construct(string $path)\n {\n parent::__construct(\n sprintf(\n 'Test directory \"%s\" not found',\n $path,\n ),\n );\n ", "middle": "r PHPUnit\n */\nfinal class TestDirectoryNotFoundExcep", "meta": {"filepath": "src/TextUI/Exception/TestDirectoryNotFoundException.php", "language": "php", "file_size": 829, "cut_index": 516, "middle_length": 52}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function array_keys;\nuse function assert;\nuse SebastianBergmann\\CodeCoverage\\Filter;\n\n/**\n * CLI options and XML configuration are static within a single PHPUnit process.\n * It is therefore okay to use a Singleton registry here.\n *\n * @no-", "suffix": "try\n{\n private static ?self $instance = null;\n private ?Filter $filter = null;\n private bool $configured = false;\n\n public static function instance(): self\n {\n if (self::$instance === null) {\n self::$instance =", "middle": "named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class CodeCoverageFilterRegis", "meta": {"filepath": "src/TextUI/Configuration/CodeCoverageFilterRegistry.php", "language": "php", "file_size": 1938, "cut_index": 537, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Framework\\MockObject;\n\nuse PHPUnit\\Framework\\MockObject\\Rule\\InvocationOrder;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This trait is not covered by the backward compatibility promis", "suffix": "ParametersRule(): bool\n {\n return $this->__phpunit_getInvocationHandler()->hasParametersRule();\n }\n\n public function __phpunit_verify(bool $unsetInvocationMocker = true): void\n {\n $this->__phpunit_getInvocationHandler()->verify();", "middle": "e for PHPUnit\n */\ntrait MockObjectApi\n{\n public function __phpunit_hasInvocationCountRule(): bool\n {\n return $this->__phpunit_getInvocationHandler()->hasInvocationCountRule();\n }\n\n public function __phpunit_has", "meta": {"filepath": "src/Framework/MockObject/Runtime/Api/MockObjectApi.php", "language": "php", "file_size": 1514, "cut_index": 537, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function assert;\nuse function file_get_contents;\nuse function file_put_contents;\nuse function serialize;\nuse function unserialize;\nuse PHPUnit\\Event\\Facade as EventFacade;\nuse PHPUnit\\TextUI\\CliArguments\\Configuration as CliConfiguration;\nuse PHPUnit\\TextUI\\CliArguments\\Exception;\nuse PHPUnit\\TextUI\\XmlConfiguratio", "suffix": "* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class Registry\n{\n private static ?Configuration", "middle": "n\\Configuration as XmlConfiguration;\nuse PHPUnit\\Util\\VersionComparisonOperator;\n\n/**\n * CLI options and XML configuration are static within a single PHPUnit process.\n * It is therefore okay to use a Singleton registry here.\n *\n ", "meta": {"filepath": "src/TextUI/Configuration/Registry.php", "language": "php", "file_size": 3700, "cut_index": 614, "middle_length": 229}} +{"prefix": "ict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI;\n\nuse function sprintf;\nuse RuntimeException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */", "suffix": "meException implements Exception\n{\n public function __construct(string $hostname, int $port)\n {\n parent::__construct(\n sprintf(\n 'Cannot open socket %s:%d',\n $hostname,\n $port,\n ", "middle": "\nfinal class CannotOpenSocketException extends Runti", "meta": {"filepath": "src/TextUI/Exception/CannotOpenSocketException.php", "language": "php", "file_size": 861, "cut_index": 529, "middle_length": 52}} +{"prefix": "merge(CliConfiguration $cliConfiguration, XmlConfiguration $xmlConfiguration): Configuration\n {\n $testFilesFile = null;\n\n if ($cliConfiguration->hasTestFilesFile()) {\n $testFilesFile = $cliConfiguration->testFilesFile();\n }\n\n $configurationFile = null;\n\n if ($xmlConfiguration->wasLoadedFromFile()) {\n assert($xmlConfiguration instanceof LoadedFromFileConfiguration);\n\n $configurationFile = $xmlConfiguration->filename();\n }\n\n ", "suffix": "ation->phpunit()->bootstrap();\n }\n\n if ($cliConfiguration->hasCacheResult()) {\n $cacheResult = $cliConfiguration->cacheResult();\n } else {\n $cacheResult = $xmlConfiguration->phpunit()->cacheResult();\n }\n\n ", "middle": "$bootstrap = null;\n\n if ($cliConfiguration->hasBootstrap()) {\n $bootstrap = $cliConfiguration->bootstrap();\n } elseif ($xmlConfiguration->phpunit()->hasBootstrap()) {\n $bootstrap = $xmlConfigur", "meta": {"filepath": "src/TextUI/Configuration/Merger.php", "language": "php", "file_size": 59526, "cut_index": 2151, "middle_length": 229}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI;\n\nuse PHPUnit\\TestRunner\\TestResult\\TestResult;\nuse PHPUnit\\TextUI\\Configuration\\Configuration;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ShellExitCodeCalculator\n{\n private const int SUCCESS_EXIT = 0;\n private const int FAILURE_EXIT = 1;\n p", "suffix": "nPhpunitNotice = false;\n $failOnPhpunitWarning = false;\n $failOnEmptyTestSuite = false;\n $failOnIncomplete = false;\n $failOnNotice = false;\n $failOnRisky = false;\n $fai", "middle": "rivate const int EXCEPTION_EXIT = 2;\n\n public function calculate(Configuration $configuration, TestResult $result): int\n {\n $failOnDeprecation = false;\n $failOnPhpunitDeprecation = false;\n $failO", "meta": {"filepath": "src/TextUI/ShellExitCodeCalculator.php", "language": "php", "file_size": 5339, "cut_index": 716, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse const PHP_EOL;\nuse function in_array;\nuse function is_readable;\nuse function sprintf;\nuse PHPUnit\\Event\\Facade as EventFacade;\nuse Throwable;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @intern", "suffix": "ic function handle(Configuration $configuration): void\n {\n if (!$configuration->hasBootstrap()) {\n return;\n }\n\n $this->load($configuration->bootstrap());\n\n foreach ($configuration->bootstrapForTestSuite() as $testS", "middle": "al This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class BootstrapLoader\n{\n /**\n * @throws BootstrapScriptDoesNotExistException\n * @throws BootstrapScriptException\n */\n publ", "meta": {"filepath": "src/TextUI/Configuration/BootstrapLoader.php", "language": "php", "file_size": 2635, "cut_index": 563, "middle_length": 229}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse const DIRECTORY_SEPARATOR;\nuse function array_values;\nuse function file_get_contents;\nuse function file_put_contents;\nuse function is_array;\nuse function is_string;\nuse function preg_match;\nuse function realpath;\nuse function serialize;\nuse function str_replace;\nuse function unserialize;\nuse SebastianBergmann\\FileIterator\\Facade as FileIteratorFacade;\nuse SplObjectStorage;\n\n/**\n * @no-named-arguments Parameter name", "suffix": "Source, array>\n */\n private static ?SplObjectStorage $files = null;\n\n public static function saveTo(string $path, Source $source): bool\n {\n $map = (new self)->map($source);\n\n return file_put_contents($path", "middle": "s are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class SourceMapper\n{\n /**\n * @var ?SplObjectStorage<", "meta": {"filepath": "src/TextUI/Configuration/SourceMapper.php", "language": "php", "file_size": 6687, "cut_index": 716, "middle_length": 229}} +{"prefix": "ict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function sprintf;\nuse RuntimeException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise f", "suffix": "stException extends RuntimeException implements Exception\n{\n public function __construct(string $filename)\n {\n parent::__construct(\n sprintf(\n 'Cannot open bootstrap script \"%s\"',\n $filename,\n ", "middle": "or PHPUnit\n */\nfinal class BootstrapScriptDoesNotExi", "meta": {"filepath": "src/TextUI/Configuration/Exception/BootstrapScriptDoesNotExistException.php", "language": "php", "file_size": 861, "cut_index": 529, "middle_length": 52}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse PHPUnit\\Runner\\TestSuiteSorter;\nuse PHPUnit\\TextUI\\Configuration\\ConstantCollection;\nuse PHPUnit\\TextUI\\Configuration\\DirectoryCollection;\nuse PHPUnit\\TextUI\\Configuration\\ExtensionBootstrapCollection;\nuse PHPUnit\\TextUI\\Configuration\\FilterDirectoryCollection;\nuse PHPUnit\\TextUI\\Configuration\\FilterFileCollection;\nuse PHPUnit\\TextUI\\Configuration\\GroupCollection;\nuse PHPUnit\\TextUI\\Configuration\\IniSettingColle", "suffix": "CodeCoverage\\CodeCoverage;\nuse PHPUnit\\TextUI\\XmlConfiguration\\Logging\\Logging;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatib", "middle": "ction;\nuse PHPUnit\\TextUI\\Configuration\\Php;\nuse PHPUnit\\TextUI\\Configuration\\Source;\nuse PHPUnit\\TextUI\\Configuration\\TestSuiteCollection;\nuse PHPUnit\\TextUI\\Configuration\\VariableCollection;\nuse PHPUnit\\TextUI\\XmlConfiguration\\", "meta": {"filepath": "src/TextUI/Configuration/Xml/DefaultConfiguration.php", "language": "php", "file_size": 5123, "cut_index": 716, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function str_replace;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Generator\n{\n ", "suffix": "location}\"\n bootstrap=\"{bootstrap_script}\"\n cacheDirectory=\"{cache_directory}\"\n executionOrder=\"depends,defects\"\n requireCoverageMetadata=\"true\"\n beStrictAboutCoverageMetadata=\"true\"\n beStrictAboutOutputDurin", "middle": " /**\n * @var string\n */\n private const string TEMPLATE = <<<'EOT'\n\n\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse function defined;\nuse function is_file;\nuse function is_string;\nuse function rsort;\nuse function sprintf;\nuse DirectoryIterator;\nuse PHPUnit\\Runner\\Version;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatib", "suffix": "lic function available(): array\n {\n $result = [Version::series()];\n\n foreach ((new DirectoryIterator($this->path() . 'schema')) as $file) {\n if ($file->isDot()) {\n continue;\n }\n\n $version = $", "middle": "ility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class SchemaFinder\n{\n /**\n * @return non-empty-list\n */\n pub", "meta": {"filepath": "src/TextUI/Configuration/Xml/SchemaFinder.php", "language": "php", "file_size": 2042, "cut_index": 563, "middle_length": 229}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse PHPUnit\\Util\\Xml\\XmlException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nabstract readonly class SchemaDetectionResult\n{\n ", "suffix": "DetectionResult $this\n */\n public function detected(): bool\n {\n return false;\n }\n\n /**\n * @throws XmlException\n */\n public function version(): string\n {\n throw new XmlException('No supported schema was detected')", "middle": " /**\n * @phpstan-assert-if-true SuccessfulSchema", "meta": {"filepath": "src/TextUI/Configuration/Xml/SchemaDetector/SchemaDetectionResult.php", "language": "php", "file_size": 924, "cut_index": 606, "middle_length": 52}} +{"prefix": "hp declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n", "suffix": "c function __construct(string $version)\n {\n $this->version = $version;\n }\n\n public function detected(): bool\n {\n return true;\n }\n\n /**\n * @throws void\n *\n * @return non-empty-string\n */\n public function ve", "middle": " */\nfinal readonly class SuccessfulSchemaDetectionResult extends SchemaDetectionResult\n{\n /**\n * @var non-empty-string\n */\n private string $version;\n\n /**\n * @param non-empty-string $version\n */\n publi", "meta": {"filepath": "src/TextUI/Configuration/Xml/SchemaDetector/SuccessfulSchemaDetectionResult.php", "language": "php", "file_size": 1061, "cut_index": 515, "middle_length": 229}} +{"prefix": "es=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage\\Report;\n\nuse PHPUnit\\TextUI\\Configuration\\File;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibilit", "suffix": "PHPUnit\n *\n * @immutable\n */\nfinal readonly class Clover\n{\n private File $target;\n\n public function __construct(File $target)\n {\n $this->target = $target;\n }\n\n public function target(): File\n {\n return $this->target;\n }\n}", "middle": "y promise for ", "meta": {"filepath": "src/TextUI/Configuration/Xml/CodeCoverage/Report/Clover.php", "language": "php", "file_size": 807, "cut_index": 536, "middle_length": 14}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage\\Report;\n\nuse PHPUnit\\TextUI\\Configuration\\File;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the bac", "suffix": "t $threshold\n */\n public function __construct(File $target, int $threshold)\n {\n $this->target = $target;\n $this->threshold = $threshold;\n }\n\n public function target(): File\n {\n return $this->target;\n }\n\n /**", "middle": "kward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class Crap4j\n{\n private File $target;\n\n /**\n * @var non-negative-int\n */\n private int $threshold;\n\n /**\n * @param non-negative-in", "meta": {"filepath": "src/TextUI/Configuration/Xml/CodeCoverage/Report/Crap4j.php", "language": "php", "file_size": 1128, "cut_index": 518, "middle_length": 229}} +{"prefix": "es=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage\\Report;\n\nuse PHPUnit\\TextUI\\Configuration\\File;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibilit", "suffix": "PHPUnit\n *\n * @immutable\n */\nfinal readonly class OpenClover\n{\n private File $target;\n\n public function __construct(File $target)\n {\n $this->target = $target;\n }\n\n public function target(): File\n {\n return $this->target;\n ", "middle": "y promise for ", "meta": {"filepath": "src/TextUI/Configuration/Xml/CodeCoverage/Report/OpenClover.php", "language": "php", "file_size": 811, "cut_index": 536, "middle_length": 14}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse const DIRECTORY_SEPARATOR;\nuse const PHP_EOL;\nuse function assert;\nuse function count;\nuse function dirname;\nuse function file;\nuse function is_dir;\nuse function is_file;\nuse function realpath;\nuse function str_ends_with;\nuse function trim;\nuse PHPUnit\\Event\\Facade as EventFacade;\nuse PHPUnit\\Exception;\nuse PHPUnit\\Framework\\TestSuite;\nuse PHPUnit\\Runner\\TestSuiteLoader;\nuse PHPUnit\\TextUI\\RuntimeException;\nuse PHP", "suffix": "uments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestSuiteBuilder\n{\n /**\n * @throws \\PHPUnit", "middle": "Unit\\TextUI\\TestDirectoryNotFoundException;\nuse PHPUnit\\TextUI\\TestFileNotFoundException;\nuse PHPUnit\\TextUI\\XmlConfiguration\\TestSuiteMapper;\nuse SebastianBergmann\\FileIterator\\Facade as FileIteratorFacade;\n\n/**\n * @no-named-arg", "meta": {"filepath": "src/TextUI/Configuration/TestSuiteBuilder.php", "language": "php", "file_size": 5895, "cut_index": 716, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse PHPUnit\\TextUI\\Configuration\\GroupCollection;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward com", "suffix": "ion $exclude)\n {\n $this->include = $include;\n $this->exclude = $exclude;\n }\n\n public function hasInclude(): bool\n {\n return !$this->include->isEmpty();\n }\n\n public function include(): GroupCollection\n {\n ret", "middle": "patibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class Groups\n{\n private GroupCollection $include;\n private GroupCollection $exclude;\n\n public function __construct(GroupCollection $include, GroupCollect", "meta": {"filepath": "src/TextUI/Configuration/Xml/Groups.php", "language": "php", "file_size": 1217, "cut_index": 518, "middle_length": 229}} +{"prefix": "layDetailsOnAllIssues;\n private bool $displayDetailsOnIncompleteTests;\n private bool $displayDetailsOnSkippedTests;\n private bool $displayDetailsOnTestsThatTriggerDeprecations;\n private bool $displayDetailsOnPhpunitDeprecations;\n private bool $displayDetailsOnPhpunitNotices;\n private bool $displayDetailsOnTestsThatTriggerErrors;\n private bool $displayDetailsOnTestsThatTriggerNotices;\n private bool $displayDetailsOnTestsThatTriggerWarnings;\n private bool $reverseDefectList;\n pri", "suffix": "\n private array $bootstrapForTestSuite;\n private bool $processIsolation;\n private bool $failOnAllIssues;\n private bool $failOnDeprecation;\n private bool $failOnPhpunitDeprecation;\n private bool $failOnPhpunitNotice;\n private bool $fail", "middle": "vate bool $requireCoverageMetadata;\n private bool $requireSealedMockObjects;\n\n /**\n * @var ?non-empty-string\n */\n private ?string $bootstrap;\n\n /**\n * @var array\n */", "meta": {"filepath": "src/TextUI/Configuration/Xml/PHPUnit.php", "language": "php", "file_size": 22312, "cut_index": 1331, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse PHPUnit\\Util\\Xml\\Loader;\nuse PHPUnit\\Util\\Xml\\XmlException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by th", "suffix": " Loader)->loadFile($filename);\n\n $schemaFinder = new SchemaFinder;\n\n foreach ($schemaFinder->available() as $candidate) {\n $schema = (new SchemaFinder)->find($candidate);\n\n if (!(new Validator)->validate($document, $sche", "middle": "e backward compatibility promise for PHPUnit\n */\nfinal readonly class SchemaDetector\n{\n /**\n * @throws XmlException\n */\n public function detect(string $filename): SchemaDetectionResult\n {\n $document = (new", "meta": {"filepath": "src/TextUI/Configuration/Xml/SchemaDetector/SchemaDetector.php", "language": "php", "file_size": 1186, "cut_index": 518, "middle_length": 229}} +{"prefix": "es=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage\\Report;\n\nuse PHPUnit\\TextUI\\Configuration\\File;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibilit", "suffix": "PHPUnit\n *\n * @immutable\n */\nfinal readonly class Cobertura\n{\n private File $target;\n\n public function __construct(File $target)\n {\n $this->target = $target;\n }\n\n public function target(): File\n {\n return $this->target;\n ", "middle": "y promise for ", "meta": {"filepath": "src/TextUI/Configuration/Xml/CodeCoverage/Report/Cobertura.php", "language": "php", "file_size": 810, "cut_index": 536, "middle_length": 14}} +{"prefix": "Exception;\nuse PHPUnit\\TextUI\\Configuration\\NoHtmlCoverageTargetException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class Html\n{\n private ?Directory $target;\n\n /**\n * @var non-negative-int\n */\n private int $lowUpperBound;\n\n /**\n * @var non-negative-int\n */\n private int $highLowerBoun", "suffix": "e string $colorSuccessMedium;\n\n /**\n * @var non-empty-string\n */\n private string $colorSuccessMediumDark;\n\n /**\n * @var non-empty-string\n */\n private string $colorSuccessHigh;\n\n /**\n * @var non-empty-string\n */\n pr", "middle": "d;\n\n /**\n * @var non-empty-string\n */\n private string $colorSuccessLow;\n\n /**\n * @var non-empty-string\n */\n private string $colorSuccessLowDark;\n\n /**\n * @var non-empty-string\n */\n privat", "meta": {"filepath": "src/TextUI/Configuration/Xml/CodeCoverage/Report/Html.php", "language": "php", "file_size": 9341, "cut_index": 921, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse PHPUnit\\TextUI\\Configuration\\ExtensionBootstrapCollection;\nuse PHPUnit\\TextUI\\Configuration\\Php;\nuse PHPUnit\\TextUI\\Configuration\\Source;\nuse PHPUnit\\TextUI\\Configuration\\TestSuiteCollection;\nuse PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage\\CodeCoverage;\nuse PHP", "suffix": "romise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class LoadedFromFileConfiguration extends Configuration\n{\n /**\n * @var non-empty-string\n */\n private string $filename;\n private ValidationResult $validationResult;\n\n /**\n * @par", "middle": "Unit\\TextUI\\XmlConfiguration\\Logging\\Logging;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility p", "meta": {"filepath": "src/TextUI/Configuration/Xml/LoadedFromFileConfiguration.php", "language": "php", "file_size": 2133, "cut_index": 563, "middle_length": 229}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage;\n\nuse PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage\\Report\\Clover;\nuse PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage\\Report\\Cobertura;\nuse PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage\\Report\\Crap4j;\nuse PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage\\Report\\Html;\nuse PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage\\Report\\OpenClover;\nuse PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage\\Report\\Php;\nuse PHPUnit\\TextUI\\X", "suffix": "patibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class CodeCoverage\n{\n private bool $pathCoverage;\n private bool $branchCoverage;\n privat", "middle": "mlConfiguration\\CodeCoverage\\Report\\Text;\nuse PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage\\Report\\Xml;\nuse PHPUnit\\TextUI\\XmlConfiguration\\Exception;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward com", "meta": {"filepath": "src/TextUI/Configuration/Xml/CodeCoverage/CodeCoverage.php", "language": "php", "file_size": 6674, "cut_index": 716, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse PHPUnit\\TextUI\\Configuration\\ExtensionBootstrapCollection;\nuse PHPUnit\\TextUI\\Configuration\\Php;\nuse PHPUnit\\TextUI\\Configuration\\Source;\nuse PHPUnit\\TextUI\\Configuration\\TestSuiteCollection;\nuse PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage\\CodeCoverage;\nuse PHP", "suffix": "romise for PHPUnit\n *\n * @immutable\n */\nabstract readonly class Configuration\n{\n private ExtensionBootstrapCollection $extensions;\n private Source $source;\n private CodeCoverage $codeCoverage;\n private Groups $groups;\n private Logging $loggi", "middle": "Unit\\TextUI\\XmlConfiguration\\Logging\\Logging;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility p", "meta": {"filepath": "src/TextUI/Configuration/Xml/Configuration.php", "language": "php", "file_size": 2712, "cut_index": 563, "middle_length": 229}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse const PHP_VERSION;\nuse function in_array;\nuse function is_dir;\nuse function is_file;\nuse function sprintf;\nuse function str_contains;\nuse function version_compare;\nuse PHPUnit\\Event\\Facade as EventFacade;\nuse PHPUnit\\Framework\\Exception as FrameworkException;\nuse PHPUnit\\Framework\\TestSuite as TestSuiteObject;\nuse PHPUnit\\TextUI\\Configuration\\TestSuiteCollection;\nuse PHPUnit\\TextUI\\RuntimeException;\nuse PHPUnit\\", "suffix": " PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestSuiteMapper\n{\n /**\n * @param non-empty-string $xmlConfigurationFile\n * @param list $include", "middle": "TextUI\\TestDirectoryNotFoundException;\nuse PHPUnit\\TextUI\\TestFileNotFoundException;\nuse SebastianBergmann\\FileIterator\\Facade;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for", "meta": {"filepath": "src/TextUI/Configuration/Xml/TestSuiteMapper.php", "language": "php", "file_size": 5606, "cut_index": 716, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage\\Report;\n\nuse PHPUnit\\TextUI\\Configuration\\File;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the bac", "suffix": "rget, bool $showUncoveredFiles, bool $showOnlySummary)\n {\n $this->target = $target;\n $this->showUncoveredFiles = $showUncoveredFiles;\n $this->showOnlySummary = $showOnlySummary;\n }\n\n public function target(): Fi", "middle": "kward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class Text\n{\n private File $target;\n private bool $showUncoveredFiles;\n private bool $showOnlySummary;\n\n public function __construct(File $ta", "meta": {"filepath": "src/TextUI/Configuration/Xml/CodeCoverage/Report/Text.php", "language": "php", "file_size": 1248, "cut_index": 518, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse function trim;\nuse LibXMLError;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the back", "suffix": "LError> $errors\n */\n public static function fromArray(array $errors): self\n {\n $validationErrors = [];\n\n foreach ($errors as $error) {\n if (!isset($validationErrors[$error->line])) {\n $validationErrors[$err", "middle": "ward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class ValidationResult\n{\n /**\n * @var array>\n */\n private array $validationErrors;\n\n /**\n * @param array\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function version_compare;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class MigrationBuilder\n{\n /**\n * @var non-empty-array>\n */\n private const array AVAILABLE_MIGRATIONS = [\n '8.5' => [\n RemoveLogTypes::class,\n ],\n\n '9.2' => [\n RemoveCacheTokensAttribute::clas", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/MigrationBuilder.php", "language": "php", "file_size": 3655, "cut_index": 614, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse function str_contains;\nuse DOMDocument;\nuse DOMElement;\nuse PHPUnit\\Runner\\Version;\nuse PHPUnit\\Util\\Xml\\Loader as XmlLoader;\nuse PHPUnit\\Util\\Xml\\XmlException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward comp", "suffix": " * @throws XmlException\n */\n public function migrate(string $filename): string\n {\n $origin = (new SchemaDetector)->detect($filename);\n\n if (!$origin->detected()) {\n throw new Exception('The file does not validate against ", "middle": "atibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Migrator\n{\n /**\n * @throws Exception\n * @throws MigrationException\n ", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrator.php", "language": "php", "file_size": 2405, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility prom", "suffix": "$logging instanceof DOMElement) {\n return;\n }\n\n $types = [\n 'junit' => 'junit',\n 'teamcity' => 'teamcity',\n 'testdox-html' => 'testdoxHtml',\n 'testdox-text' => 'testdoxText',\n ", "middle": "ise for PHPUnit\n */\nfinal readonly class ConvertLogTypes implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $logging = $document->getElementsByTagName('logging')->item(0);\n\n if (!", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/ConvertLogTypes.php", "language": "php", "file_size": 1788, "cut_index": 537, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility pr", "suffix": " $logNode): DOMElement\n {\n $ownerDocument = $logNode->ownerDocument;\n\n assert($ownerDocument !== null);\n\n $html = $ownerDocument->createElement('html');\n $html->setAttribute('outputDirectory', $logNode->getAttribute('target')", "middle": "omise for PHPUnit\n */\nfinal readonly class CoverageHtmlToReport extends LogToReportMigration\n{\n protected function forType(): string\n {\n return 'coverage-html';\n }\n\n protected function toReportFormat(DOMElement", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/CoverageHtmlToReport.php", "language": "php", "file_size": 1126, "cut_index": 518, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility pr", "suffix": " $logNode): DOMElement\n {\n $ownerDocument = $logNode->ownerDocument;\n\n assert($ownerDocument !== null);\n\n $text = $ownerDocument->createElement('text');\n $text->setAttribute('outputFile', $logNode->getAttribute('target'));\n\n ", "middle": "omise for PHPUnit\n */\nfinal readonly class CoverageTextToReport extends LogToReportMigration\n{\n protected function forType(): string\n {\n return 'coverage-text';\n }\n\n protected function toReportFormat(DOMElement", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/CoverageTextToReport.php", "language": "php", "file_size": 1127, "cut_index": 518, "middle_length": 229}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class IntroduceCacheDirectoryAttri", "suffix": "ate(DOMDocument $document): void\n {\n $root = $document->documentElement;\n\n assert($root instanceof DOMElement);\n\n if ($root->hasAttribute('cacheDirectory')) {\n return;\n }\n\n $root->setAttribute('cacheDirector", "middle": "bute implements Migration\n{\n public function migr", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/IntroduceCacheDirectoryAttribute.php", "language": "php", "file_size": 945, "cut_index": 606, "middle_length": 52}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse function sprintf;\nuse DOMDocument;\nuse DOMElement;\nuse DOMXPath;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatib", "suffix": "= $document->getElementsByTagName('coverage')->item(0);\n\n if (!$coverage instanceof DOMElement) {\n throw new MigrationException('Unexpected state - No coverage element');\n }\n\n $logNode = $this->findLogNode($document);\n\n ", "middle": "ility promise for PHPUnit\n */\nabstract readonly class LogToReportMigration implements Migration\n{\n /**\n * @throws MigrationException\n */\n public function migrate(DOMDocument $document): void\n {\n $coverage ", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/LogToReportMigration.php", "language": "php", "file_size": 2559, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility prom", "suffix": " 'disableCodeCoverageIgnore' => 'disableCodeCoverageIgnore',\n 'ignoreDeprecatedCodeUnitsFromCodeCoverage' => 'ignoreDeprecatedCodeUnits',\n ];\n\n $root = $document->documentElement;\n\n assert($root inst", "middle": "ise for PHPUnit\n */\nfinal readonly class MoveAttributesFromRootToCoverage implements Migration\n{\n /**\n * @throws MigrationException\n */\n public function migrate(DOMDocument $document): void\n {\n $map = [\n ", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/MoveAttributesFromRootToCoverage.php", "language": "php", "file_size": 1519, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse function in_array;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise", "suffix": "ocument->getElementsByTagName('whitelist')->item(0);\n\n if ($whitelist === null) {\n return;\n }\n\n $excludeNodes = SnapshotNodeList::fromNodeList($whitelist->getElementsByTagName('exclude'));\n\n if ($excludeNodes->count()", "middle": " for PHPUnit\n */\nfinal readonly class MoveWhitelistExcludesToCoverage implements Migration\n{\n /**\n * @throws MigrationException\n */\n public function migrate(DOMDocument $document): void\n {\n $whitelist = $d", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/MoveWhitelistExcludesToCoverage.php", "language": "php", "file_size": 2234, "cut_index": 563, "middle_length": 229}} +{"prefix": "\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration\\CodeCoverage\\Report;\n\nuse PHPUnit\\TextUI\\Configuration\\Directory;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered", "suffix": "ource)\n {\n $this->target = $target;\n $this->includeSource = $includeSource;\n }\n\n public function target(): Directory\n {\n return $this->target;\n }\n\n public function includeSource(): bool\n {\n return $th", "middle": " by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class Xml\n{\n private Directory $target;\n private bool $includeSource;\n\n public function __construct(Directory $target, bool $includeS", "meta": {"filepath": "src/TextUI/Configuration/Xml/CodeCoverage/Report/Xml.php", "language": "php", "file_size": 1024, "cut_index": 512, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse function file_get_contents;\nuse function libxml_clear_errors;\nuse function libxml_get_errors;\nuse function libxml_use_internal_errors;\nuse DOMDocument;\n\n/**\n * @no-named-arguments Parameter names ", "suffix": "cument $document, string $xsdFilename): ValidationResult\n {\n $buffer = file_get_contents($xsdFilename);\n\n assert($buffer !== false);\n\n $originalErrorHandling = libxml_use_internal_errors(true);\n\n $document->schemaValidateSour", "middle": "are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Validator\n{\n public function validate(DOMDo", "meta": {"filepath": "src/TextUI/Configuration/Xml/Validator/Validator.php", "language": "php", "file_size": 1209, "cut_index": 518, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function count;\nuse ArrayIterator;\nuse Countable;\nuse DOMNode;\nuse DOMNodeList;\nuse IteratorAggregate;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @int", "suffix": "* @var list\n */\n private array $nodes = [];\n\n /**\n * @param DOMNodeList $list\n */\n public static function fromNodeList(DOMNodeList $list): self\n {\n $snapshot = new self;\n\n foreach ($list as $node) {\n ", "middle": "ernal This class is not covered by the backward compatibility promise for PHPUnit\n *\n * @template-implements IteratorAggregate\n */\nfinal class SnapshotNodeList implements Countable, IteratorAggregate\n{\n /**\n ", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/SnapshotNodeList.php", "language": "php", "file_size": 1344, "cut_index": 524, "middle_length": 229}} +{"prefix": "\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibil", "suffix": "ment $logNode): DOMElement\n {\n $ownerDocument = $logNode->ownerDocument;\n\n assert($ownerDocument !== null);\n\n $php = $ownerDocument->createElement('php');\n $php->setAttribute('outputFile', $logNode->getAttribute('target'));\n\n", "middle": "ity promise for PHPUnit\n */\nfinal readonly class CoveragePhpToReport extends LogToReportMigration\n{\n protected function forType(): string\n {\n return 'coverage-php';\n }\n\n protected function toReportFormat(DOMEle", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/CoveragePhpToReport.php", "language": "php", "file_size": 1026, "cut_index": 512, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class IntroduceCoverageEle", "suffix": "ate(DOMDocument $document): void\n {\n $coverage = $document->createElement('coverage');\n $documentElement = $document->documentElement;\n\n assert($documentElement !== null);\n\n $documentElement->insertBefore(\n ", "middle": "ment implements Migration\n{\n public function migr", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/IntroduceCoverageElement.php", "language": "php", "file_size": 962, "cut_index": 582, "middle_length": 52}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\nuse DOMNode;\nuse DOMNodeList;\nuse DOMXPath;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is no", "suffix": " $document): void\n {\n $source = $document->getElementsByTagName('source')->item(0);\n\n if ($source !== null) {\n return;\n }\n\n $coverage = $document->getElementsByTagName('coverage')->item(0);\n\n if ($coverage =", "middle": "t covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class MoveCoverageDirectoriesToSource implements Migration\n{\n /**\n * @throws MigrationException\n */\n public function migrate(DOMDocument", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/MoveCoverageDirectoriesToSource.php", "language": "php", "file_size": 1840, "cut_index": 537, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nf", "suffix": "tsByTagName('whitelist')->item(0);\n\n if ($whitelist === null) {\n return;\n }\n\n $coverage = $document->getElementsByTagName('coverage')->item(0);\n\n if (!$coverage instanceof DOMElement) {\n throw new Migration", "middle": "inal readonly class MoveWhitelistIncludesToCoverage implements Migration\n{\n /**\n * @throws MigrationException\n */\n public function migrate(DOMDocument $document): void\n {\n $whitelist = $document->getElemen", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/MoveWhitelistIncludesToCoverage.php", "language": "php", "file_size": 1548, "cut_index": 537, "middle_length": 229}} +{"prefix": "hp declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility", "suffix": "Element $logNode): DOMElement\n {\n $ownerDocument = $logNode->ownerDocument;\n\n assert($ownerDocument !== null);\n\n $crap4j = $ownerDocument->createElement('crap4j');\n $crap4j->setAttribute('outputFile', $logNode->getAttribute('", "middle": " promise for PHPUnit\n */\nfinal readonly class CoverageCrap4jToReport extends LogToReportMigration\n{\n protected function forType(): string\n {\n return 'coverage-crap4j';\n }\n\n protected function toReportFormat(DOM", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/CoverageCrap4jToReport.php", "language": "php", "file_size": 1113, "cut_index": 515, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nf", "suffix": "t->getElementsByTagName('whitelist')->item(0);\n\n if ($whitelist === null) {\n return;\n }\n\n $coverage = $document->getElementsByTagName('coverage')->item(0);\n\n if (!$coverage instanceof DOMElement) {\n throw n", "middle": "inal readonly class MoveAttributesFromFilterWhitelistToCoverage implements Migration\n{\n /**\n * @throws MigrationException\n */\n public function migrate(DOMDocument $document): void\n {\n $whitelist = $documen", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/MoveAttributesFromFilterWhitelistToCoverage.php", "language": "php", "file_size": 1554, "cut_index": 537, "middle_length": 229}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibili", "suffix": "OMElement $logNode): DOMElement\n {\n $ownerDocument = $logNode->ownerDocument;\n\n assert($ownerDocument !== null);\n\n $clover = $ownerDocument->createElement('clover');\n\n $clover->setAttribute('outputFile', $logNode->getAttribut", "middle": "ty promise for PHPUnit\n */\nfinal readonly class CoverageCloverToReport extends LogToReportMigration\n{\n protected function forType(): string\n {\n return 'coverage-clover';\n }\n\n protected function toReportFormat(D", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/CoverageCloverToReport.php", "language": "php", "file_size": 1045, "cut_index": 513, "middle_length": 229}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibili", "suffix": "ent $logNode): DOMElement\n {\n $ownerDocument = $logNode->ownerDocument;\n\n assert($ownerDocument !== null);\n\n $xml = $ownerDocument->createElement('xml');\n $xml->setAttribute('outputDirectory', $logNode->getAttribute('target')", "middle": "ty promise for PHPUnit\n */\nfinal readonly class CoverageXmlToReport extends LogToReportMigration\n{\n protected function forType(): string\n {\n return 'coverage-xml';\n }\n\n protected function toReportFormat(DOMElem", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/CoverageXmlToReport.php", "language": "php", "file_size": 1031, "cut_index": 513, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class FilterDirectory\n{\n /**\n * @var non-empty-string\n */\n private string $path;\n ", "suffix": " */\n public function __construct(string $path, string $prefix, string $suffix, bool $includeInCodeCoverage = true)\n {\n $this->path = $path;\n $this->prefix = $prefix;\n $this->suffix =", "middle": " private string $prefix;\n\n /**\n * @var non-empty-string\n */\n private string $suffix;\n private bool $includeInCodeCoverage;\n\n /**\n * @param non-empty-string $path\n * @param non-empty-string $suffix\n ", "meta": {"filepath": "src/TextUI/Configuration/Value/FilterDirectory.php", "language": "php", "file_size": 1543, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function assert;\nuse Iterator;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @template-implements Iterator\n */\nfinal class TestF", "suffix": "ct(TestFileCollection $files)\n {\n $this->files = $files->asArray();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n }\n\n public function valid(): bool\n {\n return isset($this->files[$this->position]);\n ", "middle": "ileCollectionIterator implements Iterator\n{\n /**\n * @var list\n */\n private readonly array $files;\n\n /**\n * @var non-negative-int\n */\n private int $position = 0;\n\n public function __constru", "meta": {"filepath": "src/TextUI/Configuration/Value/TestFileCollectionIterator.php", "language": "php", "file_size": 1367, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compa", "suffix": "void\n {\n $source = $document->getElementsByTagName('source')->item(0);\n\n if ($source === null) {\n return;\n }\n\n assert($source instanceof DOMElement);\n\n if (!$source->hasAttribute('restrictDeprecations')) {\n ", "middle": "tibility promise for PHPUnit\n */\nfinal readonly class ReplaceRestrictDeprecationsWithIgnoreDeprecations implements Migration\n{\n /**\n * @throws MigrationException\n */\n public function migrate(DOMDocument $document): ", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/ReplaceRestrictDeprecationsWithIgnoreDeprecations.php", "language": "php", "file_size": 1402, "cut_index": 524, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PH", "suffix": "Attribute implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $root = $document->documentElement;\n\n assert($root instanceof DOMElement);\n\n if ($root->hasAttribute('cacheResultFile')) {\n $ro", "middle": "PUnit\n */\nfinal readonly class RemoveCacheResultFile", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemoveCacheResultFileAttribute.php", "language": "php", "file_size": 913, "cut_index": 547, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compa", "suffix": " assert($root instanceof DOMElement);\n\n if ($root->hasAttribute('convertDeprecationsToExceptions')) {\n $root->removeAttribute('convertDeprecationsToExceptions');\n }\n\n if ($root->hasAttribute('convertErrorsToExceptions')) {", "middle": "tibility promise for PHPUnit\n */\nfinal readonly class RemoveConversionToExceptionsAttributes implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $root = $document->documentElement;\n\n ", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemoveConversionToExceptionsAttributes.php", "language": "php", "file_size": 1379, "cut_index": 524, "middle_length": 229}} +{"prefix": "\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility ", "suffix": "e('coverage')->item(0);\n\n if (!$node instanceof DOMElement || $node->parentNode === null) {\n return;\n }\n\n if ($node->hasAttribute('processUncoveredFiles')) {\n $node->removeAttribute('processUncoveredFiles');\n ", "middle": "promise for PHPUnit\n */\nfinal readonly class RemoveCoverageElementProcessUncoveredFilesAttribute implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $node = $document->getElementsByTagNam", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemoveCoverageElementProcessUncoveredFilesAttribute.php", "language": "php", "file_size": 1010, "cut_index": 512, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal reado", "suffix": " public function migrate(DOMDocument $document): void\n {\n $node = $document->getElementsByTagName('listeners')->item(0);\n\n if (!$node instanceof DOMElement || $node->parentNode === null) {\n return;\n }\n\n $node->pare", "middle": "nly class RemoveListeners implements Migration\n{\n ", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemoveListeners.php", "language": "php", "file_size": 891, "cut_index": 547, "middle_length": 52}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward", "suffix": "0);\n\n if (!$logging instanceof DOMElement) {\n return;\n }\n\n foreach (SnapshotNodeList::fromNodeList($logging->getElementsByTagName('log')) as $logNode) {\n assert($logNode instanceof DOMElement);\n\n switch", "middle": " compatibility promise for PHPUnit\n */\nfinal readonly class RemoveLogTypes implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $logging = $document->getElementsByTagName('logging')->item(", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemoveLogTypes.php", "language": "php", "file_size": 1181, "cut_index": 518, "middle_length": 229}} +{"prefix": "\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the ba", "suffix": "assert($root instanceof DOMElement);\n\n if ($root->hasAttribute('printerClass')) {\n $root->removeAttribute('printerClass');\n }\n\n if ($root->hasAttribute('printerFile')) {\n $root->removeAttribute('printerFile');\n ", "middle": "ckward compatibility promise for PHPUnit\n */\nfinal readonly class RemovePrinterAttributes implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $root = $document->documentElement;\n\n ", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemovePrinterAttributes.php", "language": "php", "file_size": 1012, "cut_index": 512, "middle_length": 229}} +{"prefix": "\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the ba", "suffix": "= $document->documentElement;\n\n assert($root instanceof DOMElement);\n\n if ($root->hasAttribute('registerMockObjectsFromTestArgumentsRecursively')) {\n $root->removeAttribute('registerMockObjectsFromTestArgumentsRecursively');\n ", "middle": "ckward compatibility promise for PHPUnit\n */\nfinal readonly class RemoveRegisterMockObjectsFromTestArgumentsRecursivelyAttribute implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $root ", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemoveRegisterMockObjectsFromTestArgumentsRecursivelyAttribute.php", "language": "php", "file_size": 1009, "cut_index": 512, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PH", "suffix": "e implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $root = $document->documentElement;\n\n assert($root instanceof DOMElement);\n\n if ($root->hasAttribute('verbose')) {\n $root->removeAttrib", "middle": "PUnit\n */\nfinal readonly class RemoveVerboseAttribut", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemoveVerboseAttribute.php", "language": "php", "file_size": 889, "cut_index": 547, "middle_length": 52}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward", "suffix": " assert($root instanceof DOMElement);\n\n if ($root->hasAttribute('backupStaticProperties')) {\n return;\n }\n\n if (!$root->hasAttribute('backupStaticAttributes')) {\n return;\n }\n\n $root->setAttribu", "middle": " compatibility promise for PHPUnit\n */\nfinal readonly class RenameBackupStaticAttributesAttribute implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $root = $document->documentElement;\n\n", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RenameBackupStaticAttributesAttribute.php", "language": "php", "file_size": 1146, "cut_index": 518, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse function explode;\nuse function implode;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal Thi", "suffix": " $root = $document->documentElement;\n\n assert($root instanceof DOMElement);\n\n if (!$root->hasAttribute('executionOrder')) {\n return;\n }\n\n $parts = explode(',', $root->getAttribute('executionOrder'));\n $c", "middle": "s class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class RenameExecutionOrderOptionsDurationAndSize implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n ", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RenameExecutionOrderOptionsDurationAndSize.php", "language": "php", "file_size": 1477, "cut_index": 524, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Remo", "suffix": "s Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $root = $document->documentElement;\n\n assert($root instanceof DOMElement);\n\n if ($root->hasAttribute('beStrictAboutTodoAnnotatedTests')) {\n $root-", "middle": "veBeStrictAboutTodoAnnotatedTestsAttribute implement", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemoveBeStrictAboutTodoAnnotatedTestsAttribute.php", "language": "php", "file_size": 961, "cut_index": 582, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PH", "suffix": "ibute implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $root = $document->documentElement;\n\n assert($root instanceof DOMElement);\n\n if ($root->hasAttribute('cacheTokens')) {\n $root->remo", "middle": "PUnit\n */\nfinal readonly class RemoveCacheTokensAttr", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemoveCacheTokensAttribute.php", "language": "php", "file_size": 901, "cut_index": 547, "middle_length": 52}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse function sprintf;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backw", "suffix": "telist = $document->getElementsByTagName('whitelist')->item(0);\n\n if ($whitelist instanceof DOMElement) {\n $this->ensureEmpty($whitelist);\n\n $whitelistParent = $whitelist->parentNode;\n\n assert($whitelistParent !== nu", "middle": "ard compatibility promise for PHPUnit\n */\nfinal readonly class RemoveEmptyFilter implements Migration\n{\n /**\n * @throws MigrationException\n */\n public function migrate(DOMDocument $document): void\n {\n $whi", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemoveEmptyFilter.php", "language": "php", "file_size": 1889, "cut_index": 537, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PH", "suffix": "tribute implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $root = $document->documentElement;\n\n assert($root instanceof DOMElement);\n\n if ($root->hasAttribute('noInteraction')) {\n $root->", "middle": "PUnit\n */\nfinal readonly class RemoveNoInteractionAt", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemoveNoInteractionAttribute.php", "language": "php", "file_size": 907, "cut_index": 547, "middle_length": 52}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the bac", "suffix": " assert($root instanceof DOMElement);\n\n if ($root->hasAttribute('testSuiteLoaderClass')) {\n $root->removeAttribute('testSuiteLoaderClass');\n }\n\n if ($root->hasAttribute('testSuiteLoaderFile')) {\n $root->remo", "middle": "kward compatibility promise for PHPUnit\n */\nfinal readonly class RemoveTestSuiteLoaderAttributes implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $root = $document->documentElement;\n\n ", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemoveTestSuiteLoaderAttributes.php", "language": "php", "file_size": 1052, "cut_index": 513, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward", "suffix": "ment;\n\n assert($root instanceof DOMElement);\n\n if ($root->hasAttribute('beStrictAboutCoverageMetadata')) {\n return;\n }\n\n if (!$root->hasAttribute('beStrictAboutCoversAnnotation')) {\n return;\n }\n\n ", "middle": " compatibility promise for PHPUnit\n */\nfinal readonly class RenameBeStrictAboutCoversAnnotationAttribute implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $root = $document->documentEle", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RenameBeStrictAboutCoversAnnotationAttribute.php", "language": "php", "file_size": 1188, "cut_index": 518, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class RemoveCoverageElementCach", "suffix": "c function migrate(DOMDocument $document): void\n {\n $node = $document->getElementsByTagName('coverage')->item(0);\n\n if (!$node instanceof DOMElement || $node->parentNode === null) {\n return;\n }\n\n if ($node->hasAttr", "middle": "eDirectoryAttribute implements Migration\n{\n publi", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemoveCoverageElementCacheDirectoryAttribute.php", "language": "php", "file_size": 989, "cut_index": 582, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal reado", "suffix": "ation\n{\n public function migrate(DOMDocument $document): void\n {\n $node = $document->getElementsByTagName('testdoxGroups')->item(0);\n\n if (!$node instanceof DOMElement || $node->parentNode === null) {\n return;\n }\n\n ", "middle": "nly class RemoveTestDoxGroupsElement implements Migr", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemoveTestDoxGroupsElement.php", "language": "php", "file_size": 906, "cut_index": 547, "middle_length": 52}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\nuse DOMXPath;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward comp", "suffix": "oveTextElement($document);\n }\n\n private function removeTestDoxElement(DOMDocument $document): void\n {\n $nodes = new DOMXPath($document)->query('logging/testdoxXml');\n\n assert($nodes !== false);\n\n $node = $nodes->item(0);\n\n ", "middle": "atibility promise for PHPUnit\n */\nfinal readonly class RemoveLoggingElements implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $this->removeTestDoxElement($document);\n $this->rem", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RemoveLoggingElements.php", "language": "php", "file_size": 1546, "cut_index": 537, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse DOMDocument;\nuse DOMElement;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward", "suffix": " assert($root instanceof DOMElement);\n\n if ($root->hasAttribute('requireCoverageMetadata')) {\n return;\n }\n\n if (!$root->hasAttribute('forceCoversAnnotation')) {\n return;\n }\n\n $root->setAttribut", "middle": " compatibility promise for PHPUnit\n */\nfinal readonly class RenameForceCoversAnnotationAttribute implements Migration\n{\n public function migrate(DOMDocument $document): void\n {\n $root = $document->documentElement;\n\n ", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/RenameForceCoversAnnotationAttribute.php", "language": "php", "file_size": 1144, "cut_index": 518, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration\\Logging;\n\nuse PHPUnit\\TextUI\\Configuration\\File;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibilit", "suffix": "PHPUnit\n *\n * @immutable\n */\nfinal readonly class Junit\n{\n private File $target;\n\n public function __construct(File $target)\n {\n $this->target = $target;\n }\n\n public function target(): File\n {\n return $this->target;\n }\n}\n", "middle": "y promise for ", "meta": {"filepath": "src/TextUI/Configuration/Xml/Logging/Junit.php", "language": "php", "file_size": 794, "cut_index": 524, "middle_length": 14}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration\\Logging;\n\nuse PHPUnit\\TextUI\\XmlConfiguration\\Exception;\nuse PHPUnit\\TextUI\\XmlConfiguration\\Logging\\TestDox\\Html as TestDoxHtml;\nuse PHPUnit\\TextUI\\XmlConfiguration\\Logging\\TestDox\\Text as TestDoxText;\n\n/**\n * @no-named-arguments Parameter names are not covered by th", "suffix": "Otr $otr;\n private ?TeamCity $teamCity;\n private ?TestDoxHtml $testDoxHtml;\n private ?TestDoxText $testDoxText;\n\n public function __construct(?Junit $junit, ?Otr $otr, ?TeamCity $teamCity, ?TestDoxHtml $testDoxHtml, ?TestDoxText $testDoxText)\n ", "middle": "e backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class Logging\n{\n private ?Junit $junit;\n private ?", "meta": {"filepath": "src/TextUI/Configuration/Xml/Logging/Logging.php", "language": "php", "file_size": 2992, "cut_index": 563, "middle_length": 229}} +{"prefix": " declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration\\Logging;\n\nuse PHPUnit\\TextUI\\Configuration\\File;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compa", "suffix": "se for PHPUnit\n *\n * @immutable\n */\nfinal readonly class TeamCity\n{\n private File $target;\n\n public function __construct(File $target)\n {\n $this->target = $target;\n }\n\n public function target(): File\n {\n return $this->target", "middle": "tibility promi", "meta": {"filepath": "src/TextUI/Configuration/Xml/Logging/TeamCity.php", "language": "php", "file_size": 797, "cut_index": 517, "middle_length": 14}} +{"prefix": " declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration\\Logging\\TestDox;\n\nuse PHPUnit\\TextUI\\Configuration\\File;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backwa", "suffix": "ty promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class Text\n{\n private File $target;\n\n public function __construct(File $target)\n {\n $this->target = $target;\n }\n\n public function target(): File\n {\n return $this->ta", "middle": "rd compatibili", "meta": {"filepath": "src/TextUI/Configuration/Xml/Logging/TestDox/Text.php", "language": "php", "file_size": 801, "cut_index": 517, "middle_length": 14}} +{"prefix": "stopOnError;\n private ?int $stopOnFailure;\n private ?int $stopOnIncomplete;\n private ?int $stopOnNotice;\n private ?int $stopOnRisky;\n private ?int $stopOnSkipped;\n private ?int $stopOnWarning;\n private ?string $filter;\n private ?string $excludeFilter;\n private ?string $generateBaseline;\n private ?string $useBaseline;\n private bool $ignoreBaseline;\n private bool $generateConfiguration;\n private bool $migrateConfiguration;\n private bool $validateConfiguration;\n\n /*", "suffix": "string>\n */\n private ?array $testsUsing;\n\n /**\n * @var ?non-empty-list\n */\n private ?array $testsRequiringPhpExtension;\n private bool $help;\n private ?string $includePath;\n\n /**\n * @var ?non-empty-array\n */\n private ?array $groups;\n\n /**\n * @var ?non-empty-list\n */\n private ?array $testsCovering;\n\n /**\n * @var ?non-empty-list\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class Constant\n{\n /**\n * @var non-empty-string\n */\n private string $name;\n private bool|string $value;\n\n /**\n * @param ", "suffix": "_construct(string $name, bool|string $value)\n {\n $this->name = $name;\n $this->value = $value;\n }\n\n /**\n * @return non-empty-string\n */\n public function name(): string\n {\n return $this->name;\n }\n\n public fu", "middle": "non-empty-string $name\n */\n public function _", "meta": {"filepath": "src/TextUI/Configuration/Value/Constant.php", "language": "php", "file_size": 961, "cut_index": 582, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function assert;\nuse Iterator;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @template-implements Iterator\n */\nfinal class Const", "suffix": "struct(ConstantCollection $constants)\n {\n $this->constants = $constants->asArray();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n }\n\n public function valid(): bool\n {\n return isset($this->constants[", "middle": "antCollectionIterator implements Iterator\n{\n /**\n * @var list\n */\n private readonly array $constants;\n\n /**\n * @var non-negative-int\n */\n private int $position = 0;\n\n public function __con", "meta": {"filepath": "src/TextUI/Configuration/Value/ConstantCollectionIterator.php", "language": "php", "file_size": 1395, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function count;\nuse Countable;\nuse IteratorAggregate;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n *\n * @template-implements IteratorAggregate<", "suffix": "> $directories\n */\n public static function fromArray(array $directories): self\n {\n return new self(...$directories);\n }\n\n private function __construct(Directory ...$directories)\n {\n $this->directories = $directories;\n }\n", "middle": "non-negative-int, Directory>\n */\nfinal readonly class DirectoryCollection implements Countable, IteratorAggregate\n{\n /**\n * @var list\n */\n private array $directories;\n\n /**\n * @param list\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class ExtensionBootstrap\n{\n /**\n * @var non-empty-string\n */\n pri", "suffix": "ction __construct(string $className, array $parameters)\n {\n $this->className = $className;\n $this->parameters = $parameters;\n }\n\n /**\n * @return non-empty-string\n */\n public function className(): string\n {\n retu", "middle": "vate string $className;\n\n /**\n * @var array\n */\n private array $parameters;\n\n /**\n * @param non-empty-string $className\n * @param array $parameters\n */\n public fun", "meta": {"filepath": "src/TextUI/Configuration/Value/ExtensionBootstrap.php", "language": "php", "file_size": 1171, "cut_index": 518, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function assert;\nuse Iterator;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @template-implements Iterator\n */\nfinal class Extensio", "suffix": "\n\n public function __construct(ExtensionBootstrapCollection $extensionBootstraps)\n {\n $this->extensionBootstraps = $extensionBootstraps->asArray();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n }\n\n public ", "middle": "nBootstrapCollectionIterator implements Iterator\n{\n /**\n * @var list\n */\n private readonly array $extensionBootstraps;\n\n /**\n * @var non-negative-int\n */\n private int $position = 0;", "meta": {"filepath": "src/TextUI/Configuration/Value/ExtensionBootstrapCollectionIterator.php", "language": "php", "file_size": 1515, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function assert;\nuse Iterator;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @template-implements Iterator\n */\nfinal class FileColle", "suffix": "ction $files)\n {\n $this->files = $files->asArray();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n }\n\n public function valid(): bool\n {\n return isset($this->files[$this->position]);\n }\n\n /**\n ", "middle": "ctionIterator implements Iterator\n{\n /**\n * @var list\n */\n private readonly array $files;\n\n /**\n * @var non-negative-int\n */\n private int $position = 0;\n\n public function __construct(FileColle", "meta": {"filepath": "src/TextUI/Configuration/Value/FileCollectionIterator.php", "language": "php", "file_size": 1347, "cut_index": 524, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration;\n\nuse function assert;\nuse function str_contains;\nuse DOMDocument;\nuse DOMElement;\nuse PHPUnit\\Runner\\Version;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This ", "suffix": "nstance';\n private const string LOCAL_NAME_SCHEMA_LOCATION = 'noNamespaceSchemaLocation';\n\n public function migrate(DOMDocument $document): void\n {\n $root = $document->documentElement;\n\n assert($root instanceof DOMElement);\n\n ", "middle": "class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class UpdateSchemaLocation implements Migration\n{\n private const string NAMESPACE_URI = 'http://www.w3.org/2001/XMLSchema-i", "meta": {"filepath": "src/TextUI/Configuration/Xml/Migration/Migrations/UpdateSchemaLocation.php", "language": "php", "file_size": 1515, "cut_index": 537, "middle_length": 229}} +{"prefix": " declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration\\Logging\\TestDox;\n\nuse PHPUnit\\TextUI\\Configuration\\File;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backwa", "suffix": "ty promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class Html\n{\n private File $target;\n\n public function __construct(File $target)\n {\n $this->target = $target;\n }\n\n public function target(): File\n {\n return $this->ta", "middle": "rd compatibili", "meta": {"filepath": "src/TextUI/Configuration/Xml/Logging/TestDox/Html.php", "language": "php", "file_size": 801, "cut_index": 517, "middle_length": 14}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\CliArguments;\n\nuse function getcwd;\nuse function is_dir;\nuse function is_file;\nuse function realpath;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by th", "suffix": "efaultConfiguration();\n\n if ($configuration->hasConfigurationFile()) {\n if (is_dir($configuration->configurationFile())) {\n $candidate = $this->configurationFileInDirectory($configuration->configurationFile());\n\n ", "middle": "e backward compatibility promise for PHPUnit\n */\nfinal readonly class XmlConfigurationFileFinder\n{\n public function find(Configuration $configuration): false|string\n {\n $useDefaultConfiguration = $configuration->useD", "meta": {"filepath": "src/TextUI/Configuration/Cli/XmlConfigurationFileFinder.php", "language": "php", "file_size": 2018, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class Directory\n{\n /**\n * @var non-empty-string\n */\n private string $pa", "suffix": " * @param non-empty-string $path\n */\n public function __construct(string $path)\n {\n $this->path = $path;\n }\n\n /**\n * @return non-empty-string\n */\n public function path(): string\n {\n return $this->path;\n }\n}", "middle": "th;\n\n /**\n ", "meta": {"filepath": "src/TextUI/Configuration/Value/Directory.php", "language": "php", "file_size": 795, "cut_index": 524, "middle_length": 14}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function assert;\nuse Iterator;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @template-implements Iterator\n */\nfinal class Dire", "suffix": "__construct(DirectoryCollection $directories)\n {\n $this->directories = $directories->asArray();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n }\n\n public function valid(): bool\n {\n return isset($this", "middle": "ctoryCollectionIterator implements Iterator\n{\n /**\n * @var list\n */\n private readonly array $directories;\n\n /**\n * @var non-negative-int\n */\n private int $position = 0;\n\n public function ", "meta": {"filepath": "src/TextUI/Configuration/Value/DirectoryCollectionIterator.php", "language": "php", "file_size": 1414, "cut_index": 524, "middle_length": 229}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\XmlConfiguration\\Logging;\n\nuse PHPUnit\\TextUI\\Configuration\\File;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward c", "suffix": "\n $this->target = $target;\n $this->includeGitInformation = $includeGitInformation;\n }\n\n public function target(): File\n {\n return $this->target;\n }\n\n public function includeGitInformation(): bool\n {\n ", "middle": "ompatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class Otr\n{\n private File $target;\n private bool $includeGitInformation;\n\n public function __construct(File $target, bool $includeGitInformation)\n {", "meta": {"filepath": "src/TextUI/Configuration/Xml/Logging/Otr.php", "language": "php", "file_size": 1048, "cut_index": 513, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function count;\nuse Countable;\nuse IteratorAggregate;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n *\n * @template-implements IteratorAggregate<", "suffix": "stants\n */\n public static function fromArray(array $constants): self\n {\n return new self(...$constants);\n }\n\n private function __construct(Constant ...$constants)\n {\n $this->constants = $constants;\n }\n\n /**\n * @re", "middle": "non-negative-int, Constant>\n */\nfinal readonly class ConstantCollection implements Countable, IteratorAggregate\n{\n /**\n * @var list\n */\n private array $constants;\n\n /**\n * @param list $con", "meta": {"filepath": "src/TextUI/Configuration/Value/ConstantCollection.php", "language": "php", "file_size": 1336, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function count;\nuse Countable;\nuse IteratorAggregate;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n *\n * @template-implements IteratorAggregate<", "suffix": "c static function fromArray(array $files): self\n {\n return new self(...$files);\n }\n\n private function __construct(File ...$files)\n {\n $this->files = $files;\n }\n\n /**\n * @return list\n */\n public function asAr", "middle": "non-negative-int, File>\n */\nfinal readonly class FileCollection implements Countable, IteratorAggregate\n{\n /**\n * @var list\n */\n private array $files;\n\n /**\n * @param list $files\n */\n publi", "meta": {"filepath": "src/TextUI/Configuration/Value/FileCollection.php", "language": "php", "file_size": 1354, "cut_index": 524, "middle_length": 229}} +{"prefix": "php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class File\n{\n /**\n * @var non-empty-string\n */\n private strin", "suffix": "/**\n * @param non-empty-string $path\n */\n public function __construct(string $path)\n {\n $this->path = $path;\n }\n\n /**\n * @return non-empty-string\n */\n public function path(): string\n {\n return $this->path;\n ", "middle": "g $path;\n\n ", "meta": {"filepath": "src/TextUI/Configuration/Value/File.php", "language": "php", "file_size": 790, "cut_index": 514, "middle_length": 14}} +{"prefix": "hp declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class FilterFile\n{\n /**\n * @var non-empty-string\n */\n private ", "suffix": " = $path;\n $this->includeInCodeCoverage = $includeInCodeCoverage;\n }\n\n /**\n * @return non-empty-string\n */\n public function path(): string\n {\n return $this->path;\n }\n\n public function includeInCodeCoverage(): boo", "middle": "string $path;\n private bool $includeInCodeCoverage;\n\n /**\n * @param non-empty-string $path\n */\n public function __construct(string $path, bool $includeInCodeCoverage = true)\n {\n $this->path ", "meta": {"filepath": "src/TextUI/Configuration/Value/FilterFile.php", "language": "php", "file_size": 1061, "cut_index": 515, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function assert;\nuse Iterator;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @template-implements Iterator\n */\nfinal class Fil", "suffix": "onstruct(FilterFileCollection $files)\n {\n $this->files = $files->asArray();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n }\n\n public function valid(): bool\n {\n return isset($this->files[$this->posit", "middle": "terFileCollectionIterator implements Iterator\n{\n /**\n * @var list\n */\n private readonly array $files;\n\n /**\n * @var non-negative-int\n */\n private int $position = 0;\n\n public function __c", "meta": {"filepath": "src/TextUI/Configuration/Value/FilterFileCollectionIterator.php", "language": "php", "file_size": 1377, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse IteratorAggregate;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n *\n * @template-implements IteratorAggregate\n */\nfinal ", "suffix": "s): self\n {\n return new self(...$groups);\n }\n\n private function __construct(Group ...$groups)\n {\n $this->groups = $groups;\n }\n\n /**\n * @return list\n */\n public function asArray(): array\n {\n return", "middle": "readonly class GroupCollection implements IteratorAggregate\n{\n /**\n * @var list\n */\n private array $groups;\n\n /**\n * @param list $groups\n */\n public static function fromArray(array $group", "meta": {"filepath": "src/TextUI/Configuration/Value/GroupCollection.php", "language": "php", "file_size": 1497, "cut_index": 524, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class IniSetting\n{\n /**\n * @var non-empty-string\n */\n private string $name;\n private string $value;\n\n /**\n * @param non", "suffix": "nstruct(string $name, string $value)\n {\n $this->name = $name;\n $this->value = $value;\n }\n\n /**\n * @return non-empty-string\n */\n public function name(): string\n {\n return $this->name;\n }\n\n public function v", "middle": "-empty-string $name\n */\n public function __co", "meta": {"filepath": "src/TextUI/Configuration/Value/IniSetting.php", "language": "php", "file_size": 948, "cut_index": 582, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function assert;\nuse Iterator;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @template-implements Iterator\n */\nfinal class Ini", "suffix": "on __construct(IniSettingCollection $iniSettings)\n {\n $this->iniSettings = $iniSettings->asArray();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n }\n\n public function valid(): bool\n {\n return isset($", "middle": "SettingCollectionIterator implements Iterator\n{\n /**\n * @var list\n */\n private readonly array $iniSettings;\n\n /**\n * @var non-negative-int\n */\n private int $position = 0;\n\n public functi", "meta": {"filepath": "src/TextUI/Configuration/Value/IniSettingCollectionIterator.php", "language": "php", "file_size": 1419, "cut_index": 524, "middle_length": 229}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n *\n * @phpstan-type DeprecationTriggers array{functions: list, methods: list, ignoreUndefinedTriggers: bool}\n */\nfinal readonly class Source\n{\n /**\n * @var non-empty-string\n */\n private ?string $baseline;\n private bool $ignoreBaseline;\n pri", "suffix": "rictNotices;\n private bool $restrictWarnings;\n private bool $ignoreSuppressionOfDeprecations;\n private bool $ignoreSuppressionOfPhpDeprecations;\n private bool $ignoreSuppressionOfErrors;\n private bool $ignoreSuppressionOfNotices;\n private", "middle": "vate FilterDirectoryCollection $includeDirectories;\n private FilterFileCollection $includeFiles;\n private FilterDirectoryCollection $excludeDirectories;\n private FilterFileCollection $excludeFiles;\n private bool $rest", "meta": {"filepath": "src/TextUI/Configuration/Value/Source.php", "language": "php", "file_size": 7257, "cut_index": 716, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function count;\nuse Countable;\nuse IteratorAggregate;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n *\n * @template-implements IteratorAggregate<", "suffix": "st $directories\n */\n public static function fromArray(array $directories): self\n {\n return new self(...$directories);\n }\n\n private function __construct(TestDirectory ...$directories)\n {\n $this->directories = ", "middle": "non-negative-int, TestDirectory>\n */\nfinal readonly class TestDirectoryCollection implements Countable, IteratorAggregate\n{\n /**\n * @var list\n */\n private array $directories;\n\n /**\n * @param li", "meta": {"filepath": "src/TextUI/Configuration/Value/TestDirectoryCollection.php", "language": "php", "file_size": 1480, "cut_index": 524, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse PHPUnit\\Util\\VersionComparisonOperator;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class TestFile\n{\n /**\n * @var non-empty-string", "suffix": "on-empty-string $path\n * @param list $groups\n */\n public function __construct(string $path, string $phpVersion, VersionComparisonOperator $phpVersionOperator, array $groups)\n {\n $this->path = $path", "middle": "\n */\n private string $path;\n private string $phpVersion;\n private VersionComparisonOperator $phpVersionOperator;\n\n /**\n * @var list\n */\n private array $groups;\n\n /**\n * @param n", "meta": {"filepath": "src/TextUI/Configuration/Value/TestFile.php", "language": "php", "file_size": 1651, "cut_index": 537, "middle_length": 229}} +{"prefix": "y-summary-for-coverage-text',\n 'show-uncovered-for-coverage-text',\n 'coverage-xml=',\n 'exclude-source-from-xml-coverage',\n 'path-coverage',\n 'branch-coverage',\n 'disallow-test-output',\n 'display-all-issues',\n 'display-incomplete',\n 'display-skipped',\n 'display-deprecations',\n 'display-phpunit-deprecations',\n 'display-phpunit-notices',\n 'display-errors',\n 'display-notices',\n 'display-warnings',\n 'd", "suffix": "\n 'generate-configuration',\n 'globals-backup',\n 'group=',\n 'covers=',\n 'uses=',\n 'requires-php-extension=',\n 'help',\n 'resolve-dependencies',\n 'ignore-dependencies',\n 'include-path=',\n ", "middle": "efault-time-limit=',\n 'diff-context=',\n 'enforce-time-limit',\n 'exclude-group=',\n 'filter=',\n 'exclude-filter=',\n 'generate-baseline=',\n 'use-baseline=',\n 'ignore-baseline',", "meta": {"filepath": "src/TextUI/Configuration/Cli/Builder.php", "language": "php", "file_size": 46931, "cut_index": 2151, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function assert;\nuse Iterator;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @template-implements Iterator\n */\nfinal clas", "suffix": " public function __construct(FilterDirectoryCollection $directories)\n {\n $this->directories = $directories->asArray();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n }\n\n public function valid(): bool\n {\n ", "middle": "s FilterDirectoryCollectionIterator implements Iterator\n{\n /**\n * @var list\n */\n private readonly array $directories;\n\n /**\n * @var non-negative-int\n */\n private int $position = 0;\n\n ", "meta": {"filepath": "src/TextUI/Configuration/Value/FilterDirectoryCollectionIterator.php", "language": "php", "file_size": 1444, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function count;\nuse Countable;\nuse IteratorAggregate;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n *\n * @template-implements IteratorAggregate<", "suffix": "$files\n */\n public static function fromArray(array $files): self\n {\n return new self(...$files);\n }\n\n private function __construct(FilterFile ...$files)\n {\n $this->files = $files;\n }\n\n /**\n * @return list\n */\nfinal readonly class FilterFileCollection implements Countable, IteratorAggregate\n{\n /**\n * @var list\n */\n private array $files;\n\n /**\n * @param list ", "meta": {"filepath": "src/TextUI/Configuration/Value/FilterFileCollection.php", "language": "php", "file_size": 1402, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function assert;\nuse Iterator;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @template-implements Iterator\n */\nfinal class GroupCol", "suffix": "Collection $groups)\n {\n $this->groups = $groups->asArray();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n }\n\n public function valid(): bool\n {\n return isset($this->groups[$this->position]);\n }\n\n ", "middle": "lectionIterator implements Iterator\n{\n /**\n * @var list\n */\n private readonly array $groups;\n\n /**\n * @var non-negative-int\n */\n private int $position = 0;\n\n public function __construct(Group", "meta": {"filepath": "src/TextUI/Configuration/Value/GroupCollectionIterator.php", "language": "php", "file_size": 1359, "cut_index": 524, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class Php\n{\n private DirectoryCollection $includePaths;\n private IniSettingCollection $iniSettings;\n private ConstantCollection $constants;\n private VariableCollec", "suffix": "leCollection $serverVariables;\n private VariableCollection $filesVariables;\n private VariableCollection $requestVariables;\n\n public function __construct(DirectoryCollection $includePaths, IniSettingCollection $iniSettings, ConstantCollection $cons", "middle": "tion $globalVariables;\n private VariableCollection $envVariables;\n private VariableCollection $postVariables;\n private VariableCollection $getVariables;\n private VariableCollection $cookieVariables;\n private Variab", "meta": {"filepath": "src/TextUI/Configuration/Value/Php.php", "language": "php", "file_size": 3130, "cut_index": 614, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function assert;\nuse Iterator;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @template-implements Iterator\n */\nfinal class ", "suffix": "ic function __construct(TestDirectoryCollection $directories)\n {\n $this->directories = $directories->asArray();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n }\n\n public function valid(): bool\n {\n re", "middle": "TestDirectoryCollectionIterator implements Iterator\n{\n /**\n * @var list\n */\n private readonly array $directories;\n\n /**\n * @var non-negative-int\n */\n private int $position = 0;\n\n publ", "meta": {"filepath": "src/TextUI/Configuration/Value/TestDirectoryCollectionIterator.php", "language": "php", "file_size": 1434, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function count;\nuse Countable;\nuse IteratorAggregate;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n *\n * @template-implements IteratorAggregate<", "suffix": " */\n public static function fromArray(array $files): self\n {\n return new self(...$files);\n }\n\n private function __construct(TestFile ...$files)\n {\n $this->files = $files;\n }\n\n /**\n * @return list\n */\n", "middle": "non-negative-int, TestFile>\n */\nfinal readonly class TestFileCollection implements Countable, IteratorAggregate\n{\n /**\n * @var list\n */\n private array $files;\n\n /**\n * @param list $files\n ", "meta": {"filepath": "src/TextUI/Configuration/Value/TestFileCollection.php", "language": "php", "file_size": 1386, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse IteratorAggregate;\n\n/**\n * @template-implements IteratorAggregate\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutab", "suffix": "$extensionBootstraps\n */\n public static function fromArray(array $extensionBootstraps): self\n {\n return new self(...$extensionBootstraps);\n }\n\n private function __construct(ExtensionBootstrap ...$extensionBootstraps)\n {\n $t", "middle": "le\n */\nfinal readonly class ExtensionBootstrapCollection implements IteratorAggregate\n{\n /**\n * @var list\n */\n private array $extensionBootstraps;\n\n /**\n * @param list ", "meta": {"filepath": "src/TextUI/Configuration/Value/ExtensionBootstrapCollection.php", "language": "php", "file_size": 1364, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function count;\nuse Countable;\nuse IteratorAggregate;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n *\n * @template-implements IteratorAggregate<", "suffix": "ting> $iniSettings\n */\n public static function fromArray(array $iniSettings): self\n {\n return new self(...$iniSettings);\n }\n\n private function __construct(IniSetting ...$iniSettings)\n {\n $this->iniSettings = $iniSettings;\n ", "middle": "non-negative-int, IniSetting>\n */\nfinal readonly class IniSettingCollection implements Countable, IteratorAggregate\n{\n /**\n * @var list\n */\n private array $iniSettings;\n\n /**\n * @param list\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class TestSuite\n{\n /**\n * @var non-empty-string\n */\n private string $na", "suffix": " TestDirectoryCollection $directories, TestFileCollection $files, FileCollection $exclude)\n {\n $this->name = $name;\n $this->directories = $directories;\n $this->files = $files;\n $this->exclude = $exclude;\n ", "middle": "me;\n private TestDirectoryCollection $directories;\n private TestFileCollection $files;\n private FileCollection $exclude;\n\n /**\n * @param non-empty-string $name\n */\n public function __construct(string $name,", "meta": {"filepath": "src/TextUI/Configuration/Value/TestSuite.php", "language": "php", "file_size": 1424, "cut_index": 524, "middle_length": 229}} +{"prefix": "php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class Group\n{\n /**\n * @var non-empty-string\n */\n private stri", "suffix": " /**\n * @param non-empty-string $name\n */\n public function __construct(string $name)\n {\n $this->name = $name;\n }\n\n /**\n * @return non-empty-string\n */\n public function name(): string\n {\n return $this->name;\n ", "middle": "ng $name;\n\n ", "meta": {"filepath": "src/TextUI/Configuration/Value/Group.php", "language": "php", "file_size": 791, "cut_index": 514, "middle_length": 14}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function count;\nuse Countable;\nuse IteratorAggregate;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n *\n * @template-implements IteratorAggregate<", "suffix": "ram list $directories\n */\n public static function fromArray(array $directories): self\n {\n return new self(...$directories);\n }\n\n private function __construct(FilterDirectory ...$directories)\n {\n $this->dire", "middle": "non-negative-int, FilterDirectory>\n */\nfinal readonly class FilterDirectoryCollection implements Countable, IteratorAggregate\n{\n /**\n * @var list\n */\n private array $directories;\n\n /**\n * @pa", "meta": {"filepath": "src/TextUI/Configuration/Value/FilterDirectoryCollection.php", "language": "php", "file_size": 1502, "cut_index": 524, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse PHPUnit\\Util\\VersionComparisonOperator;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class TestDirectory\n{\n /**\n * @var non-empty-string\n */\n private ", "suffix": "ist\n */\n private array $groups;\n\n /**\n * @param non-empty-string $path\n * @param non-empty-string $suffix\n * @param list $groups\n */\n public function __construct(string $path, str", "middle": "string $path;\n private string $prefix;\n\n /**\n * @var non-empty-string\n */\n private string $suffix;\n private string $phpVersion;\n private VersionComparisonOperator $phpVersionOperator;\n\n /**\n * @var l", "meta": {"filepath": "src/TextUI/Configuration/Value/TestDirectory.php", "language": "php", "file_size": 2133, "cut_index": 563, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\BeforeFirstTestMethodErrored;\nuse PHPUnit\\Event\\Test\\BeforeFirstTestMethodErroredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @int", "suffix": "atibility promise for PHPUnit\n */\nfinal readonly class BeforeTestClassMethodErroredSubscriber extends Subscriber implements BeforeFirstTestMethodErroredSubscriber\n{\n public function notify(BeforeFirstTestMethodErrored $event): void\n {\n $this->", "middle": "ernal This class is not covered by the backward comp", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/BeforeTestClassMethodErroredSubscriber.php", "language": "php", "file_size": 906, "cut_index": 547, "middle_length": 52}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Compact\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\AfterLastTestMethodErrored;\nuse PHPUnit\\Event\\Test\\AfterLastTestMethodErroredSubscriber as AfterLastTestMethodErroredSubscriberInterface;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n", "suffix": "kward compatibility promise for PHPUnit\n */\nfinal readonly class AfterLastTestMethodErroredSubscriber extends Subscriber implements AfterLastTestMethodErroredSubscriberInterface\n{\n public function notify(AfterLastTestMethodErrored $event): void\n {\n ", "middle": " *\n * @internal This class is not covered by the bac", "meta": {"filepath": "src/TextUI/Output/Compact/ProgressPrinter/Subscriber/AfterLastTestMethodErroredSubscriber.php", "language": "php", "file_size": 958, "cut_index": 582, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function assert;\nuse Iterator;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @template-implements Iterator\n */\nfinal class Test", "suffix": "_construct(TestSuiteCollection $testSuites)\n {\n $this->testSuites = $testSuites->asArray();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n }\n\n public function valid(): bool\n {\n return isset($this->te", "middle": "SuiteCollectionIterator implements Iterator\n{\n /**\n * @var list\n */\n private readonly array $testSuites;\n\n /**\n * @var non-negative-int\n */\n private int $position = 0;\n\n public function _", "meta": {"filepath": "src/TextUI/Configuration/Value/TestSuiteCollectionIterator.php", "language": "php", "file_size": 1407, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function assert;\nuse Iterator;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @template-implements Iterator\n */\nfinal class Varia", "suffix": "struct(VariableCollection $variables)\n {\n $this->variables = $variables->asArray();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n }\n\n public function valid(): bool\n {\n return isset($this->variables[", "middle": "bleCollectionIterator implements Iterator\n{\n /**\n * @var list\n */\n private readonly array $variables;\n\n /**\n * @var non-negative-int\n */\n private int $position = 0;\n\n public function __con", "meta": {"filepath": "src/TextUI/Configuration/Value/VariableCollectionIterator.php", "language": "php", "file_size": 1395, "cut_index": 524, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Command;\n\nuse function version_compare;\nuse PHPUnit\\Runner\\Version;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class AtLeastVe", "suffix": " $version;\n\n public function __construct(string $version)\n {\n $this->version = $version;\n }\n\n public function execute(): Result\n {\n if (version_compare(Version::id(), $this->version, '>=')) {\n return Result::from();\n", "middle": "rsionCommand implements Command\n{\n private string", "meta": {"filepath": "src/TextUI/Command/Commands/AtLeastVersionCommand.php", "language": "php", "file_size": 959, "cut_index": 582, "middle_length": 52}} +{"prefix": "hp declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n */\nfinal readonly class Variable\n{\n /**\n * @var non-empty-string\n */\n private st", "suffix": " $this->value = $value;\n $this->force = $force;\n }\n\n /**\n * @return non-empty-string\n */\n public function name(): string\n {\n return $this->name;\n }\n\n public function value(): mixed\n {\n return $this->val", "middle": "ring $name;\n private mixed $value;\n private bool $force;\n\n /**\n * @param non-empty-string $name\n */\n public function __construct(string $name, mixed $value, bool $force)\n {\n $this->name = $name;\n ", "meta": {"filepath": "src/TextUI/Configuration/Value/Variable.php", "language": "php", "file_size": 1088, "cut_index": 515, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Command;\n\nuse const PHP_EOL;\nuse const STDIN;\nuse function assert;\nuse function defined;\nuse function fgets;\nuse function file_put_contents;\nuse function getcwd;\nuse function is_file;\nuse function sprintf;\nuse function trim;\nuse PHPUnit\\Runner\\Version;\nuse PHPUnit\\TextUI\\XmlConfiguration\\Generator;\n\n/**\n * @no-named-arguments Paramete", "suffix": "s Command\n{\n public function execute(): Result\n {\n $directory = getcwd();\n\n print 'Generating phpunit.xml in ' . $directory . PHP_EOL . PHP_EOL;\n print 'Bootstrap script (relative to path shown above; default: vendor/autoload.php", "middle": "r names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class GenerateConfigurationCommand implement", "meta": {"filepath": "src/TextUI/Command/Commands/GenerateConfigurationCommand.php", "language": "php", "file_size": 3403, "cut_index": 614, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Command;\n\nuse const PHP_EOL;\nuse function array_unique;\nuse function assert;\nuse function sprintf;\nuse PHPUnit\\Framework\\TestCase;\nuse PHPUnit\\Runner\\Phpt\\TestCase as PhptTestCase;\nuse ReflectionClass;\nuse ReflectionException;\n\n/**\n * @no-named-arguments Para", "suffix": "mmand\n{\n /**\n * @var list\n */\n private array $tests;\n\n /**\n * @param list $tests\n */\n public function __construct(array $tests)\n {\n $this->tests = $tests;\n }\n\n /**\n ", "middle": "meter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ListTestFilesCommand implements Co", "meta": {"filepath": "src/TextUI/Command/Commands/ListTestFilesCommand.php", "language": "php", "file_size": 1732, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Command;\n\nuse const PHP_EOL;\nuse function assert;\nuse function count;\nuse function ksort;\nuse function sprintf;\nuse PHPUnit\\Framework\\TestSuite;\nuse PHPUnit\\TextUI\\Configuration\\Registry;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise", "suffix": "_construct(TestSuite $testSuite)\n {\n $this->testSuite = $testSuite;\n }\n\n public function execute(): Result\n {\n /** @var array $suites */\n $suites = [];\n\n foreach ($this->testSuite->tes", "middle": " for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ListTestSuitesCommand implements Command\n{\n private TestSuite $testSuite;\n\n public function _", "meta": {"filepath": "src/TextUI/Command/Commands/ListTestSuitesCommand.php", "language": "php", "file_size": 2784, "cut_index": 563, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Command;\n\nuse const PHP_EOL;\nuse function assert;\nuse function file_put_contents;\nuse function ksort;\nuse function sprintf;\nuse PHPUnit\\Framework\\TestCase;\nuse PHPUnit\\Runner\\Phpt\\TestCase as PhptTestCase;\nuse ReflectionClass;\nuse XMLWriter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility prom", "suffix": "*/\n private array $tests;\n private string $filename;\n\n /**\n * @param list $tests\n */\n public function __construct(array $tests, string $filename)\n {\n $this->tests = $tests;\n $this->filename = $", "middle": "ise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ListTestsAsXmlCommand implements Command\n{\n /**\n * @var list\n ", "meta": {"filepath": "src/TextUI/Command/Commands/ListTestsAsXmlCommand.php", "language": "php", "file_size": 3975, "cut_index": 614, "middle_length": 229}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Command;\n\nuse PHPUnit\\TextUI\\Help;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ShowHel", "suffix": "ExitCode;\n\n public function __construct(int $shellExitCode)\n {\n $this->shellExitCode = $shellExitCode;\n }\n\n public function execute(): Result\n {\n return Result::from(\n (new Help)->generate(),\n $this->shell", "middle": "pCommand implements Command\n{\n private int $shell", "meta": {"filepath": "src/TextUI/Command/Commands/ShowHelpCommand.php", "language": "php", "file_size": 884, "cut_index": 547, "middle_length": 52}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Command;\n\nuse const PHP_EOL;\nuse function assert;\nuse function realpath;\nuse function sprintf;\nuse PHPUnit\\Runner\\Version;\nuse PHPUnit\\TextUI\\XmlConfiguration\\CannotFindSchemaException;\nuse PHPUnit\\TextUI\\XmlConfiguration\\SchemaFinder;\nuse PHPUnit\\TextUI\\XmlConfiguration\\Validator;\nuse PHPUnit\\Util\\Xml\\Loader as XmlLoader;\nuse PHPUnit", "suffix": "\nfinal readonly class ValidateConfigurationCommand implements Command\n{\n private string $filename;\n\n public function __construct(string $filename)\n {\n $this->filename = $filename;\n }\n\n public function execute(): Result\n {\n t", "middle": "\\Util\\Xml\\XmlException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */", "meta": {"filepath": "src/TextUI/Command/Commands/ValidateConfigurationCommand.php", "language": "php", "file_size": 3151, "cut_index": 614, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Command;\n\nuse const PHP_EOL;\nuse function assert;\nuse function sprintf;\nuse function version_compare;\nuse PHPUnit\\Util\\Http\\Downloader;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not cover", "suffix": "ublic function __construct(Downloader $downloader, int $majorVersionNumber, string $versionId)\n {\n $this->downloader = $downloader;\n $this->majorVersionNumber = $majorVersionNumber;\n $this->versionId = $versionId;\n ", "middle": "ed by the backward compatibility promise for PHPUnit\n */\nfinal readonly class VersionCheckCommand implements Command\n{\n private Downloader $downloader;\n private int $majorVersionNumber;\n private string $versionId;\n\n p", "meta": {"filepath": "src/TextUI/Command/Commands/VersionCheckCommand.php", "language": "php", "file_size": 2452, "cut_index": 563, "middle_length": 229}} +{"prefix": "er;\nuse PHPUnit\\Logging\\TestDox\\TestResultCollection;\nuse PHPUnit\\Runner\\DirectoryDoesNotExistException;\nuse PHPUnit\\TestRunner\\TestResult\\TestResult;\nuse PHPUnit\\TextUI\\CannotOpenSocketException;\nuse PHPUnit\\TextUI\\Configuration\\Configuration;\nuse PHPUnit\\TextUI\\InvalidSocketException;\nuse PHPUnit\\TextUI\\Output\\Compact\\ProgressPrinter\\ProgressPrinter as CompactProgressPrinter;\nuse PHPUnit\\TextUI\\Output\\Compact\\ResultPrinter as CompactResultPrinter;\nuse PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter\\Progress", "suffix": "ltPrinter;\nuse SebastianBergmann\\Timer\\Duration;\nuse SebastianBergmann\\Timer\\ResourceUsageFormatter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by ", "middle": "Printer as DefaultProgressPrinter;\nuse PHPUnit\\TextUI\\Output\\Default\\ResultPrinter as DefaultResultPrinter;\nuse PHPUnit\\TextUI\\Output\\Default\\UnexpectedOutputPrinter;\nuse PHPUnit\\TextUI\\Output\\TestDox\\ResultPrinter as TestDoxResu", "meta": {"filepath": "src/TextUI/Output/Facade.php", "language": "php", "file_size": 11126, "cut_index": 921, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function count;\nuse Countable;\nuse IteratorAggregate;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n *\n * @template-implements IteratorAggregate<", "suffix": " $testSuites\n */\n public static function fromArray(array $testSuites): self\n {\n return new self(...$testSuites);\n }\n\n private function __construct(TestSuite ...$testSuites)\n {\n $this->testSuites = $testSuites;\n }\n\n /*", "middle": "non-negative-int, TestSuite>\n */\nfinal readonly class TestSuiteCollection implements Countable, IteratorAggregate\n{\n /**\n * @var list\n */\n private array $testSuites;\n\n /**\n * @param list", "meta": {"filepath": "src/TextUI/Configuration/Value/TestSuiteCollection.php", "language": "php", "file_size": 1439, "cut_index": 524, "middle_length": 229}} +{"prefix": "t\\Event\\Facade;\nuse PHPUnit\\Event\\Test\\DeprecationTriggered;\nuse PHPUnit\\Event\\Test\\Errored;\nuse PHPUnit\\Event\\Test\\ErrorTriggered;\nuse PHPUnit\\Event\\Test\\NoticeTriggered;\nuse PHPUnit\\Event\\Test\\PhpDeprecationTriggered;\nuse PHPUnit\\Event\\Test\\PhpNoticeTriggered;\nuse PHPUnit\\Event\\Test\\PhpunitWarningTriggered;\nuse PHPUnit\\Event\\Test\\PhpWarningTriggered;\nuse PHPUnit\\Event\\Test\\WarningTriggered;\nuse PHPUnit\\Event\\TestRunner\\ChildProcessErrored;\nuse PHPUnit\\Event\\TestRunner\\ExecutionStarted;\nuse PHPUnit\\Framewo", "suffix": "red by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class ProgressPrinter\n{\n private readonly Printer $printer;\n private readonly bool $colors;\n ", "middle": "rk\\TestStatus\\TestStatus;\nuse PHPUnit\\TextUI\\Configuration\\Source;\nuse PHPUnit\\TextUI\\Configuration\\SourceFilter;\nuse PHPUnit\\TextUI\\Output\\Printer;\nuse PHPUnit\\Util\\Color;\n\n/**\n * @no-named-arguments Parameter names are not cove", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/ProgressPrinter.php", "language": "php", "file_size": 13244, "cut_index": 921, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Configuration;\n\nuse function count;\nuse Countable;\nuse IteratorAggregate;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @immutable\n *\n * @template-implements IteratorAggregate<", "suffix": "iables\n */\n public static function fromArray(array $variables): self\n {\n return new self(...$variables);\n }\n\n private function __construct(Variable ...$variables)\n {\n $this->variables = $variables;\n }\n\n /**\n * @re", "middle": "non-negative-int, Variable>\n */\nfinal readonly class VariableCollection implements Countable, IteratorAggregate\n{\n /**\n * @var list\n */\n private array $variables;\n\n /**\n * @param list $var", "meta": {"filepath": "src/TextUI/Configuration/Value/VariableCollection.php", "language": "php", "file_size": 1336, "cut_index": 524, "middle_length": 229}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Command;\n\nuse const E_ALL;\nuse const PHP_EOL;\nuse function assert;\nuse function extension_loaded;\nuse function in_array;\nuse function ini_get;\nuse function max;\nuse function sprintf;\nuse function strlen;\nuse PHPUnit\\Runner\\Version;\nuse PHPUnit\\Util\\Color;\nuse SebastianBergmann\\Environment\\Console;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is", "suffix": "e = (new Console)->hasColorSupport();\n }\n\n public function execute(): Result\n {\n $lines = [];\n $shellExitCode = 0;\n\n foreach ($this->settings() as $name => $setting) {\n foreach ($setting['requiredExtensions'", "middle": " not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class CheckPhpConfigurationCommand implements Command\n{\n private bool $colorize;\n\n public function __construct()\n {\n $this->coloriz", "meta": {"filepath": "src/TextUI/Command/Commands/CheckPhpConfigurationCommand.php", "language": "php", "file_size": 5258, "cut_index": 716, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Command;\n\nuse const PHP_EOL;\nuse function count;\nuse function ksort;\nuse function sprintf;\nuse function str_starts_with;\nuse PHPUnit\\Framework\\TestCase;\nuse PHPUnit\\Runner\\Phpt\\TestCase as PhptTestCase;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compat", "suffix": "e>\n */\n private array $tests;\n\n /**\n * @param list $tests\n */\n public function __construct(array $tests)\n {\n $this->tests = $tests;\n }\n\n public function execute(): Result\n {\n /** @var ar", "middle": "ibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ListGroupsCommand implements Command\n{\n /**\n * @var list\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Command;\n\nuse const PHP_EOL;\nuse function count;\nuse function sprintf;\nuse function str_replace;\nuse PHPUnit\\Framework\\TestCase;\nuse PHPUnit\\Runner\\Phpt\\TestCase as PhptTestCase;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward comp", "suffix": "TestCase>\n */\n private array $tests;\n\n /**\n * @param list $tests\n */\n public function __construct(array $tests)\n {\n $this->tests = $tests;\n }\n\n public function execute(): Result\n {\n $buf", "middle": "atibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ListTestsAsTextCommand implements Command\n{\n /**\n * @var listnumberOfTestsRun() === 0) {\n $this->printWithColor(\n 'fg-black, bg-yellow',\n 'No tests executed!',\n );\n\n return;\n }\n\n if ($result->wasSuccessful() &&\n ", "middle": "te bool $countPrinted = false;\n\n public function __construct(Printer $printer, bool $colors)\n {\n $this->printer = $printer;\n $this->colors = $colors;\n }\n\n public function print(TestResult $result): void", "meta": {"filepath": "src/TextUI/Output/SummaryPrinter.php", "language": "php", "file_size": 5779, "cut_index": 716, "middle_length": 229}} +{"prefix": "Test\\BeforeFirstTestMethodErrored;\nuse PHPUnit\\Event\\Test\\BeforeFirstTestMethodFailed;\nuse PHPUnit\\Event\\Test\\ConsideredRisky;\nuse PHPUnit\\Event\\Test\\DeprecationTriggered;\nuse PHPUnit\\Event\\Test\\ErrorTriggered;\nuse PHPUnit\\Event\\Test\\NoticeTriggered;\nuse PHPUnit\\Event\\Test\\PhpDeprecationTriggered;\nuse PHPUnit\\Event\\Test\\PhpNoticeTriggered;\nuse PHPUnit\\Event\\Test\\PhpunitDeprecationTriggered;\nuse PHPUnit\\Event\\Test\\PhpunitErrorTriggered;\nuse PHPUnit\\Event\\Test\\PhpunitNoticeTriggered;\nuse PHPUnit\\Event\\Test\\Ph", "suffix": "nner\\TestResult\\TestResult;\nuse PHPUnit\\TextUI\\Output\\Printer;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for", "middle": "punitWarningTriggered;\nuse PHPUnit\\Event\\Test\\PhpWarningTriggered;\nuse PHPUnit\\Event\\Test\\WarningTriggered;\nuse PHPUnit\\Event\\TestRunner\\Issue as TestRunnerIssue;\nuse PHPUnit\\TestRunner\\TestResult\\Issues\\Issue;\nuse PHPUnit\\TestRu", "meta": {"filepath": "src/TextUI/Output/Default/ResultPrinter.php", "language": "php", "file_size": 26657, "cut_index": 1331, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Command;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal re", "suffix": " public static function from(string $output = '', int $shellExitCode = self::SUCCESS): self\n {\n return new self($output, $shellExitCode);\n }\n\n private function __construct(string $output, int $shellExitCode)\n {\n $this->output ", "middle": "adonly class Result\n{\n public const int SUCCESS = 0;\n public const int FAILURE = 1;\n public const int EXCEPTION = 2;\n public const int CRASH = 255;\n private string $output;\n private int $shellExitCode;\n\n", "meta": {"filepath": "src/TextUI/Command/Result.php", "language": "php", "file_size": 1246, "cut_index": 518, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Command;\n\nuse const PHP_EOL;\nuse function copy;\nuse function file_put_contents;\nuse function sprintf;\nuse PHPUnit\\TextUI\\XmlConfiguration\\Migrator;\nuse Throwable;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promis", "suffix": "n __construct(string $filename)\n {\n $this->filename = $filename;\n }\n\n public function execute(): Result\n {\n try {\n $migrated = (new Migrator)->migrate($this->filename);\n\n copy($this->filename, $this->filename", "middle": "e for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class MigrateConfigurationCommand implements Command\n{\n private string $filename;\n\n public functio", "meta": {"filepath": "src/TextUI/Command/Commands/MigrateConfigurationCommand.php", "language": "php", "file_size": 1765, "cut_index": 537, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Command;\n\nuse const PHP_EOL;\nuse function printf;\nuse PHPUnit\\TextUI\\Configuration\\CodeCoverageFilterRegistry;\nuse PHPUnit\\TextUI\\Configuration\\Configuration;\nuse PHPUnit\\TextUI\\Configuration\\NoCoverageCacheDirectoryException;\nuse SebastianBergmann\\CodeCoverage\\StaticAnalysis\\CacheWarmer;\nuse SebastianBergmann\\Timer\\NoActiveTimerExcep", "suffix": "e for PHPUnit\n *\n * @codeCoverageIgnore\n */\nfinal readonly class WarmCodeCoverageCacheCommand implements Command\n{\n private Configuration $configuration;\n private CodeCoverageFilterRegistry $codeCoverageFilterRegistry;\n\n public function __construc", "middle": "tion;\nuse SebastianBergmann\\Timer\\Timer;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promis", "meta": {"filepath": "src/TextUI/Command/Commands/WarmCodeCoverageCacheCommand.php", "language": "php", "file_size": 3123, "cut_index": 614, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Command;\n\nuse const PHP_EOL;\nuse PHPUnit\\Framework\\TestCase;\nuse PHPUnit\\Runner\\Phpt\\TestCase as PhptTestCase;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal Thi", "suffix": " * @param list $tests\n */\n public function __construct(array $tests)\n {\n $this->tests = $tests;\n }\n\n public function execute(): Result\n {\n $buffer = '';\n\n foreach ($this->tests as $test) {\n", "middle": "s class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ListTestIdsCommand implements Command\n{\n /**\n * @var list\n */\n private array $tests;\n\n /**\n", "meta": {"filepath": "src/TextUI/Command/Commands/ListTestIdsCommand.php", "language": "php", "file_size": 1130, "cut_index": 518, "middle_length": 229}} +{"prefix": "clare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\TestRunner\\ChildProcessErrored;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the ", "suffix": " readonly class ChildProcessErroredSubscriber extends Subscriber implements \\PHPUnit\\Event\\TestRunner\\ChildProcessErroredSubscriber\n{\n public function notify(ChildProcessErrored $event): void\n {\n $this->printer()->childProcessErrored($event);\n", "middle": "backward compatibility promise for PHPUnit\n */\nfinal", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/ChildProcessErroredSubscriber.php", "language": "php", "file_size": 836, "cut_index": 520, "middle_length": 52}} +{"prefix": "clare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\ConsideredRisky;\nuse PHPUnit\\Event\\Test\\ConsideredRiskySubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @in", "suffix": "patibility promise for PHPUnit\n */\nfinal readonly class TestConsideredRiskySubscriber extends Subscriber implements ConsideredRiskySubscriber\n{\n public function notify(ConsideredRisky $event): void\n {\n $this->printer()->testConsideredRisky();\n", "middle": "ternal This class is not covered by the backward com", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestConsideredRiskySubscriber.php", "language": "php", "file_size": 836, "cut_index": 520, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\Errored;\nuse PHPUnit\\Event\\Test\\ErroredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is", "suffix": "y the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestErroredSubscriber extends Subscriber implements ErroredSubscriber\n{\n public function notify(Errored $event): void\n {\n $this->printer()->testErrored($event);\n }\n}\n", "middle": " not covered b", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestErroredSubscriber.php", "language": "php", "file_size": 794, "cut_index": 524, "middle_length": 14}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\Finished;\nuse PHPUnit\\Event\\Test\\FinishedSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class ", "suffix": " by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestFinishedSubscriber extends Subscriber implements FinishedSubscriber\n{\n public function notify(Finished $event): void\n {\n $this->printer()->testFinished();\n }\n}\n", "middle": "is not covered", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestFinishedSubscriber.php", "language": "php", "file_size": 794, "cut_index": 524, "middle_length": 14}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\TestRunner\\ExecutionStarted;\nuse PHPUnit\\Event\\TestRunner\\ExecutionStartedSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not ", "suffix": "PUnit\n */\nfinal readonly class TestRunnerExecutionStartedSubscriber extends Subscriber implements ExecutionStartedSubscriber\n{\n public function notify(ExecutionStarted $event): void\n {\n $this->printer()->testRunnerExecutionStarted($event);\n ", "middle": "covered by the backward compatibility promise for PH", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestRunnerExecutionStartedSubscriber.php", "language": "php", "file_size": 872, "cut_index": 559, "middle_length": 52}} +{"prefix": "clare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\TestSuite\\Skipped;\nuse PHPUnit\\Event\\TestSuite\\SkippedSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal", "suffix": "lity promise for PHPUnit\n */\nfinal readonly class TestSuiteSkippedSubscriber extends Subscriber implements SkippedSubscriber\n{\n public function notify(Skipped $event): void\n {\n $this->printer()->testSuiteSkipped($event->testSuite()->count());\n", "middle": " This class is not covered by the backward compatibi", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestSuiteSkippedSubscriber.php", "language": "php", "file_size": 836, "cut_index": 520, "middle_length": 52}} +{"prefix": "clare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\ErrorTriggered;\nuse PHPUnit\\Event\\Test\\ErrorTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @inte", "suffix": "tibility promise for PHPUnit\n */\nfinal readonly class TestTriggeredErrorSubscriber extends Subscriber implements ErrorTriggeredSubscriber\n{\n public function notify(ErrorTriggered $event): void\n {\n $this->printer()->testTriggeredError($event);\n", "middle": "rnal This class is not covered by the backward compa", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestTriggeredErrorSubscriber.php", "language": "php", "file_size": 836, "cut_index": 520, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\PhpDeprecationTriggered;\nuse PHPUnit\\Event\\Test\\PhpDeprecationTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This", "suffix": "promise for PHPUnit\n */\nfinal readonly class TestTriggeredPhpDeprecationSubscriber extends Subscriber implements PhpDeprecationTriggeredSubscriber\n{\n public function notify(PhpDeprecationTriggered $event): void\n {\n $this->printer()->testTrigge", "middle": " class is not covered by the backward compatibility ", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestTriggeredPhpDeprecationSubscriber.php", "language": "php", "file_size": 890, "cut_index": 547, "middle_length": 52}} +{"prefix": "ict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\PhpWarningTriggered;\nuse PHPUnit\\Event\\Test\\PhpWarningTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @int", "suffix": "atibility promise for PHPUnit\n */\nfinal readonly class TestTriggeredPhpWarningSubscriber extends Subscriber implements PhpWarningTriggeredSubscriber\n{\n public function notify(PhpWarningTriggered $event): void\n {\n $this->printer()->testTriggere", "middle": "ernal This class is not covered by the backward comp", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestTriggeredPhpWarningSubscriber.php", "language": "php", "file_size": 866, "cut_index": 529, "middle_length": 52}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\PhpunitNoticeTriggered;\nuse PHPUnit\\Event\\Test\\PhpunitNoticeTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not ", "suffix": "PUnit\n */\nfinal readonly class TestTriggeredPhpunitNoticeSubscriber extends Subscriber implements PhpunitNoticeTriggeredSubscriber\n{\n public function notify(PhpunitNoticeTriggered $event): void\n {\n $this->printer()->testTriggeredPhpunitNotice(", "middle": "covered by the backward compatibility promise for PH", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestTriggeredPhpunitNoticeSubscriber.php", "language": "php", "file_size": 878, "cut_index": 559, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\PhpunitWarningTriggered;\nuse PHPUnit\\Event\\Test\\PhpunitWarningTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This", "suffix": "promise for PHPUnit\n */\nfinal readonly class TestTriggeredPhpunitWarningSubscriber extends Subscriber implements PhpunitWarningTriggeredSubscriber\n{\n public function notify(PhpunitWarningTriggered $event): void\n {\n $this->printer()->testTrigge", "middle": " class is not covered by the backward compatibility ", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestTriggeredPhpunitWarningSubscriber.php", "language": "php", "file_size": 890, "cut_index": 547, "middle_length": 52}} +{"prefix": "on trim;\nuse PHPUnit\\Event\\Test\\PhpunitDeprecationTriggered;\nuse PHPUnit\\Event\\Test\\PhpunitErrorTriggered;\nuse PHPUnit\\Event\\Test\\PhpunitNoticeTriggered;\nuse PHPUnit\\Event\\Test\\PhpunitWarningTriggered;\nuse PHPUnit\\Event\\TestRunner\\ErrorTriggered;\nuse PHPUnit\\Event\\TestRunner\\Issue as TestRunnerIssue;\nuse PHPUnit\\Event\\TestRunner\\PhpDeprecationTriggered;\nuse PHPUnit\\Event\\TestRunner\\PhpNoticeTriggered;\nuse PHPUnit\\Event\\TestRunner\\PhpWarningTriggered;\nuse PHPUnit\\TestRunner\\TestResult\\Issues\\Issue;\nuse PHPUn", "suffix": "e backward compatibility promise for PHPUnit\n */\nfinal readonly class ResultPrinter\n{\n private Printer $printer;\n private Renderer $renderer;\n private bool $displayDetailsOnIncompleteTests;\n private bool $displayDetailsOnSkippedTests;\n priva", "middle": "it\\TestRunner\\TestResult\\TestResult;\nuse PHPUnit\\TextUI\\Output\\Printer;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by th", "meta": {"filepath": "src/TextUI/Output/Compact/ResultPrinter.php", "language": "php", "file_size": 16171, "cut_index": 921, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default;\n\nuse PHPUnit\\Event\\Facade;\nuse PHPUnit\\Event\\Test\\PrintedUnexpectedOutput;\nuse PHPUnit\\Event\\Test\\PrintedUnexpectedOutputSubscriber;\nuse PHPUnit\\TextUI\\Output\\Printer;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal ", "suffix": "intedUnexpectedOutputSubscriber\n{\n private Printer $printer;\n\n public function __construct(Printer $printer, Facade $facade)\n {\n $this->printer = $printer;\n\n $facade->registerSubscriber($this);\n }\n\n public function notify(Print", "middle": "readonly class UnexpectedOutputPrinter implements Pr", "meta": {"filepath": "src/TextUI/Output/Default/UnexpectedOutputPrinter.php", "language": "php", "file_size": 986, "cut_index": 582, "middle_length": 52}} +{"prefix": "php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n *", "suffix": "donly class Subscriber\n{\n private ProgressPrinter $printer;\n\n public function __construct(ProgressPrinter $printer)\n {\n $this->printer = $printer;\n }\n\n protected function printer(): ProgressPrinter\n {\n return $this->printer;", "middle": "/\nabstract rea", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/Subscriber.php", "language": "php", "file_size": 793, "cut_index": 514, "middle_length": 14}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\Prepared;\nuse PHPUnit\\Event\\Test\\PreparedSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class ", "suffix": " by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestPreparedSubscriber extends Subscriber implements PreparedSubscriber\n{\n public function notify(Prepared $event): void\n {\n $this->printer()->testPrepared();\n }\n}\n", "middle": "is not covered", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestPreparedSubscriber.php", "language": "php", "file_size": 794, "cut_index": 524, "middle_length": 14}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\DeprecationTriggered;\nuse PHPUnit\\Event\\Test\\DeprecationTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not cove", "suffix": "t\n */\nfinal readonly class TestTriggeredDeprecationSubscriber extends Subscriber implements DeprecationTriggeredSubscriber\n{\n public function notify(DeprecationTriggered $event): void\n {\n $this->printer()->testTriggeredDeprecation($event);\n ", "middle": "red by the backward compatibility promise for PHPUni", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestTriggeredDeprecationSubscriber.php", "language": "php", "file_size": 872, "cut_index": 559, "middle_length": 52}} +{"prefix": "ict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\PhpNoticeTriggered;\nuse PHPUnit\\Event\\Test\\PhpNoticeTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @inter", "suffix": "ibility promise for PHPUnit\n */\nfinal readonly class TestTriggeredPhpNoticeSubscriber extends Subscriber implements PhpNoticeTriggeredSubscriber\n{\n public function notify(PhpNoticeTriggered $event): void\n {\n $this->printer()->testTriggeredPhpN", "middle": "nal This class is not covered by the backward compat", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestTriggeredPhpNoticeSubscriber.php", "language": "php", "file_size": 860, "cut_index": 529, "middle_length": 52}} +{"prefix": "pes=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\WarningTriggered;\nuse PHPUnit\\Event\\Test\\WarningTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This c", "suffix": "omise for PHPUnit\n */\nfinal readonly class TestTriggeredWarningSubscriber extends Subscriber implements WarningTriggeredSubscriber\n{\n public function notify(WarningTriggered $event): void\n {\n $this->printer()->testTriggeredWarning($event);\n ", "middle": "lass is not covered by the backward compatibility pr", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestTriggeredWarningSubscriber.php", "language": "php", "file_size": 848, "cut_index": 535, "middle_length": 52}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Compact;\n\nuse const PHP_EOL;\nuse function assert;\nuse function trim;\nuse PHPUnit\\Event\\Code\\Test;\nuse PHPUnit\\Event\\Code\\TestMethod;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\TextUI\\Output\\Printer;\n\n/**\n * @no-named-arguments Parameter names are no", "suffix": " function __construct(Printer $printer)\n {\n $this->printer = $printer;\n }\n\n public function nameOfTest(Test $test): string\n {\n if ($test->isTestMethod()) {\n assert($test instanceof TestMethod);\n\n if (!$test->", "middle": "t covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Renderer\n{\n private Printer $printer;\n\n public", "meta": {"filepath": "src/TextUI/Output/Compact/Renderer.php", "language": "php", "file_size": 1940, "cut_index": 537, "middle_length": 229}} +{"prefix": "\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\Failed;\nuse PHPUnit\\Event\\Test\\FailedSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal Thi", "suffix": " covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestFailedSubscriber extends Subscriber implements FailedSubscriber\n{\n public function notify(Failed $event): void\n {\n $this->printer()->testFailed();\n }\n}\n", "middle": "s class is not", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestFailedSubscriber.php", "language": "php", "file_size": 782, "cut_index": 512, "middle_length": 14}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\Skipped;\nuse PHPUnit\\Event\\Test\\SkippedSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This cl", "suffix": "ered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestSkippedSubscriber extends Subscriber implements SkippedSubscriber\n{\n public function notify(Skipped $event): void\n {\n $this->printer()->testSkipped();\n }\n}\n", "middle": "ass is not cov", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestSkippedSubscriber.php", "language": "php", "file_size": 788, "cut_index": 518, "middle_length": 14}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\PhpunitDeprecationTriggered;\nuse PHPUnit\\Event\\Test\\PhpunitDeprecationTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @inter", "suffix": "ibility promise for PHPUnit\n */\nfinal readonly class TestTriggeredPhpunitDeprecationSubscriber extends Subscriber implements PhpunitDeprecationTriggeredSubscriber\n{\n public function notify(PhpunitDeprecationTriggered $event): void\n {\n $this->p", "middle": "nal This class is not covered by the backward compat", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestTriggeredPhpunitDeprecationSubscriber.php", "language": "php", "file_size": 908, "cut_index": 547, "middle_length": 52}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Compact\\ProgressPrinter;\n\nuse const PHP_EOL;\nuse function str_starts_with;\nuse function strlen;\nuse function substr;\nuse function trim;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Facade;\nuse PHPUnit\\Event\\Test\\AfterLastTestMethodErrored;\nuse PHPUnit\\Event\\Test\\AfterLastTestMethodFailed;\nuse PHPUnit\\Event\\Test\\BeforeFir", "suffix": "med-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ProgressPrinter\n{\n private Printer $prin", "middle": "stTestMethodErrored;\nuse PHPUnit\\Event\\Test\\BeforeFirstTestMethodFailed;\nuse PHPUnit\\Event\\Test\\Errored;\nuse PHPUnit\\Event\\Test\\Failed;\nuse PHPUnit\\TextUI\\Output\\Compact\\Renderer;\nuse PHPUnit\\TextUI\\Output\\Printer;\n\n/**\n * @no-na", "meta": {"filepath": "src/TextUI/Output/Compact/ProgressPrinter/ProgressPrinter.php", "language": "php", "file_size": 3517, "cut_index": 614, "middle_length": 229}} +{"prefix": "clare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\NoticeTriggered;\nuse PHPUnit\\Event\\Test\\NoticeTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @in", "suffix": "patibility promise for PHPUnit\n */\nfinal readonly class TestTriggeredNoticeSubscriber extends Subscriber implements NoticeTriggeredSubscriber\n{\n public function notify(NoticeTriggered $event): void\n {\n $this->printer()->testTriggeredNotice($ev", "middle": "ternal This class is not covered by the backward com", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestTriggeredNoticeSubscriber.php", "language": "php", "file_size": 842, "cut_index": 520, "middle_length": 52}} +{"prefix": "clare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Default\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\MarkedIncomplete;\nuse PHPUnit\\Event\\Test\\MarkedIncompleteSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @", "suffix": "ompatibility promise for PHPUnit\n */\nfinal readonly class TestMarkedIncompleteSubscriber extends Subscriber implements MarkedIncompleteSubscriber\n{\n public function notify(MarkedIncomplete $event): void\n {\n $this->printer()->testMarkedIncomple", "middle": "internal This class is not covered by the backward c", "meta": {"filepath": "src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestMarkedIncompleteSubscriber.php", "language": "php", "file_size": 842, "cut_index": 520, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Code;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nabstract readonly class Test\n{\n /**\n * @var non-empty-string\n */\n private string $file;\n\n /**", "suffix": " }\n\n /**\n * @return non-empty-string\n */\n public function file(): string\n {\n return $this->file;\n }\n\n /**\n * @phpstan-assert-if-true TestMethod $this\n */\n public function isTestMethod(): bool\n {\n return ", "middle": "\n * @param non-empty-string $file\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(string $file)\n {\n $this->file = $file;\n ", "meta": {"filepath": "src/Event/Value/Test/Test.php", "language": "php", "file_size": 1338, "cut_index": 524, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Compact\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\AfterLastTestMethodFailed;\nuse PHPUnit\\Event\\Test\\AfterLastTestMethodFailedSubscriber as AfterLastTestMethodFailedSubscriberInterface;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n", "suffix": "rd compatibility promise for PHPUnit\n */\nfinal readonly class AfterLastTestMethodFailedSubscriber extends Subscriber implements AfterLastTestMethodFailedSubscriberInterface\n{\n public function notify(AfterLastTestMethodFailed $event): void\n {\n ", "middle": " * @internal This class is not covered by the backwa", "meta": {"filepath": "src/TextUI/Output/Compact/ProgressPrinter/Subscriber/AfterLastTestMethodFailedSubscriber.php", "language": "php", "file_size": 951, "cut_index": 582, "middle_length": 52}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Compact\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\BeforeFirstTestMethodErrored;\nuse PHPUnit\\Event\\Test\\BeforeFirstTestMethodErroredSubscriber as BeforeFirstTestMethodErroredSubscriberInterface;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PH", "suffix": "he backward compatibility promise for PHPUnit\n */\nfinal readonly class BeforeFirstTestMethodErroredSubscriber extends Subscriber implements BeforeFirstTestMethodErroredSubscriberInterface\n{\n public function notify(BeforeFirstTestMethodErrored $event): v", "middle": "PUnit\n *\n * @internal This class is not covered by t", "meta": {"filepath": "src/TextUI/Output/Compact/ProgressPrinter/Subscriber/BeforeFirstTestMethodErroredSubscriber.php", "language": "php", "file_size": 972, "cut_index": 582, "middle_length": 52}} +{"prefix": "php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Compact\\ProgressPrinter;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n *", "suffix": "donly class Subscriber\n{\n private ProgressPrinter $printer;\n\n public function __construct(ProgressPrinter $printer)\n {\n $this->printer = $printer;\n }\n\n protected function printer(): ProgressPrinter\n {\n return $this->printer;", "middle": "/\nabstract rea", "meta": {"filepath": "src/TextUI/Output/Compact/ProgressPrinter/Subscriber/Subscriber.php", "language": "php", "file_size": 793, "cut_index": 514, "middle_length": 14}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Compact\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\Failed;\nuse PHPUnit\\Event\\Test\\FailedSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This clas", "suffix": "ed by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestFailedSubscriber extends Subscriber implements FailedSubscriber\n{\n public function notify(Failed $event): void\n {\n $this->printer()->testFailed($event);\n }\n}\n", "middle": "s is not cover", "meta": {"filepath": "src/TextUI/Output/Compact/ProgressPrinter/Subscriber/TestFailedSubscriber.php", "language": "php", "file_size": 788, "cut_index": 518, "middle_length": 14}} +{"prefix": "nction preg_match;\nuse function preg_split;\nuse function rtrim;\nuse function sprintf;\nuse function str_starts_with;\nuse function trim;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Test\\AfterLastTestMethodErrored;\nuse PHPUnit\\Event\\Test\\BeforeFirstTestMethodErrored;\nuse PHPUnit\\Framework\\TestStatus\\TestStatus;\nuse PHPUnit\\Logging\\TestDox\\TestResult as TestDoxTestResult;\nuse PHPUnit\\Logging\\TestDox\\TestResultCollection;\nuse PHPUnit\\TestRunner\\TestResult\\TestResult;\nuse PHPUnit\\TextUI\\Output\\Printer;\nus", "suffix": "inal readonly class ResultPrinter\n{\n private Printer $printer;\n private bool $colors;\n private int $columns;\n private bool $printSummary;\n\n public function __construct(Printer $printer, bool $colors, int $columns, bool $printSummary)\n {\n ", "middle": "e PHPUnit\\Util\\Color;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nf", "meta": {"filepath": "src/TextUI/Output/TestDox/ResultPrinter.php", "language": "php", "file_size": 14624, "cut_index": 921, "middle_length": 229}} +{"prefix": " that was distributed with this source code.\n */\nnamespace PHPUnit\\Event;\n\nuse function array_any;\nuse function array_key_exists;\nuse function class_exists;\nuse function class_implements;\nuse function in_array;\nuse function interface_exists;\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class TypeMap\n{\n /**\n * @var ", "suffix": " @throws InvalidEventException\n * @throws InvalidSubscriberException\n * @throws SubscriberTypeAlreadyRegisteredException\n * @throws UnknownEventException\n * @throws UnknownSubscriberException\n */\n public function addMapping(string $s", "middle": "array\n */\n private array $mapping = [];\n\n /**\n * @param class-string $subscriberInterface\n * @param class-string $eventClass\n *\n * @throws EventAlreadyAssignedException\n *", "meta": {"filepath": "src/Event/TypeMap.php", "language": "php", "file_size": 5631, "cut_index": 716, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class DeferringDispatcher implements Subscribab", "suffix": "this->dispatcher = $dispatcher;\n $this->events = new EventCollection;\n }\n\n public function registerTracer(Tracer\\Tracer $tracer): void\n {\n $this->dispatcher->registerTracer($tracer);\n }\n\n public function registerSubscriber(", "middle": "leDispatcher\n{\n private readonly SubscribableDispatcher $dispatcher;\n private EventCollection $events;\n private bool $recording = true;\n\n public function __construct(SubscribableDispatcher $dispatcher)\n {\n $", "meta": {"filepath": "src/Event/Dispatcher/DeferringDispatcher.php", "language": "php", "file_size": 1568, "cut_index": 537, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event;\n\nuse const PHP_EOL;\nuse function array_key_exists;\nuse function dirname;\nuse function sprintf;\nuse function str_starts_with;\nuse Throwable;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PH", "suffix": " * @var list\n */\n private array $tracers = [];\n\n public function __construct(TypeMap $map)\n {\n $this->typeMap = $map;\n }\n\n public function registerTracer(Tracer\\Tracer $tracer): void\n {\n $this->tracers[]", "middle": "PUnit\n */\nfinal class DirectDispatcher implements SubscribableDispatcher\n{\n private readonly TypeMap $typeMap;\n\n /**\n * @var array>\n */\n private array $subscribers = [];\n\n /**\n ", "meta": {"filepath": "src/Event/Dispatcher/DirectDispatcher.php", "language": "php", "file_size": 3779, "cut_index": 614, "middle_length": 229}} +{"prefix": "e PHPUnit\\Event\\Code\\TestMethod;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\TestSuite\\TestSuite;\nuse PHPUnit\\Framework\\TestCase;\nuse PHPUnit\\TextUI\\Configuration\\Configuration;\nuse SebastianBergmann\\Comparator\\Comparator;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This interface is not covered by the backward compatibility promise for PHPUnit\n */\ninterface Emitter\n{\n public function applicationStarted(): void;\n\n ", "suffix": "(string $filename): void;\n\n /**\n * @param non-empty-string $filename\n * @param non-empty-string $name\n * @param non-empty-string $version\n */\n public function testRunnerLoadedExtensionFromPhar(string $filename, string $name, string $v", "middle": " public function testRunnerStarted(): void;\n\n public function testRunnerConfigured(Configuration $configuration): void;\n\n /**\n * @param non-empty-string $filename\n */\n public function testRunnerBootstrapFinished", "meta": {"filepath": "src/Event/Emitter/Emitter.php", "language": "php", "file_size": 14048, "cut_index": 921, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Compact\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\BeforeFirstTestMethodFailed;\nuse PHPUnit\\Event\\Test\\BeforeFirstTestMethodFailedSubscriber as BeforeFirstTestMethodFailedSubscriberInterface;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUn", "suffix": "backward compatibility promise for PHPUnit\n */\nfinal readonly class BeforeFirstTestMethodFailedSubscriber extends Subscriber implements BeforeFirstTestMethodFailedSubscriberInterface\n{\n public function notify(BeforeFirstTestMethodFailed $event): void\n ", "middle": "it\n *\n * @internal This class is not covered by the ", "meta": {"filepath": "src/TextUI/Output/Compact/ProgressPrinter/Subscriber/BeforeFirstTestMethodFailedSubscriber.php", "language": "php", "file_size": 965, "cut_index": 582, "middle_length": 52}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output;\n\nuse function assert;\nuse function count;\nuse function dirname;\nuse function explode;\nuse function fclose;\nuse function fopen;\nuse function fsockopen;\nuse function fwrite;\nuse function str_replace;\nuse function str_starts_with;\nuse PHPUnit\\Runner\\DirectoryDoesNotExistException;\nuse PHPUnit\\TextUI\\CannotOpenSocketException;\nuse", "suffix": "ackward compatibility promise for PHPUnit\n */\nfinal class DefaultPrinter implements Printer\n{\n /**\n * @var closed-resource|resource\n */\n private $stream;\n private readonly bool $isPhpStream;\n private bool $isOpen;\n\n /**\n * @throw", "middle": " PHPUnit\\TextUI\\InvalidSocketException;\nuse PHPUnit\\Util\\Filesystem;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the b", "meta": {"filepath": "src/TextUI/Output/Printer/DefaultPrinter.php", "language": "php", "file_size": 3197, "cut_index": 614, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event;\n\nuse PHPUnit\\Runner\\DeprecationCollector\\Facade as DeprecationCollector;\nuse PHPUnit\\Runner\\DeprecationCollector\\TestTriggeredDeprecationSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n", "suffix": "irectDispatcher;\n\n public function __construct(DirectDispatcher $directDispatcher)\n {\n $this->isolatedDirectDispatcher = $directDispatcher;\n $this->events = new EventCollection;\n\n $this->isolatedDirectDispatcher", "middle": " *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class CollectingDispatcher implements Dispatcher\n{\n private EventCollection $events;\n private DirectDispatcher $isolatedD", "meta": {"filepath": "src/Event/Dispatcher/CollectingDispatcher.php", "language": "php", "file_size": 1548, "cut_index": 537, "middle_length": 229}} +{"prefix": "r $dispatcher;\n private readonly Telemetry\\System $system;\n private readonly Telemetry\\Snapshot $startSnapshot;\n private Telemetry\\Snapshot $previousSnapshot;\n\n public function __construct(Dispatcher $dispatcher, Telemetry\\System $system)\n {\n $this->dispatcher = $dispatcher;\n $this->system = $system;\n\n $this->startSnapshot = $system->snapshot();\n $this->previousSnapshot = $this->startSnapshot;\n }\n\n /**\n * @throws InvalidArgumentException\n * @th", "suffix": "time\\Runtime,\n ),\n );\n }\n\n /**\n * @throws InvalidArgumentException\n * @throws UnknownEventTypeException\n */\n public function testRunnerStarted(): void\n {\n $this->dispatcher->dispatch(\n new TestRun", "middle": "rows UnknownEventTypeException\n */\n public function applicationStarted(): void\n {\n $this->dispatcher->dispatch(\n new Application\\Started(\n $this->telemetryInfo(),\n new Run", "meta": {"filepath": "src/Event/Emitter/DispatchingEmitter.php", "language": "php", "file_size": 46223, "cut_index": 2151, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\TextUI\\Output\\Compact\\ProgressPrinter;\n\nuse PHPUnit\\Event\\Test\\Errored;\nuse PHPUnit\\Event\\Test\\ErroredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is", "suffix": "y the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestErroredSubscriber extends Subscriber implements ErroredSubscriber\n{\n public function notify(Errored $event): void\n {\n $this->printer()->testErrored($event);\n }\n}\n", "middle": " not covered b", "meta": {"filepath": "src/TextUI/Output/Compact/ProgressPrinter/Subscriber/TestErroredSubscriber.php", "language": "php", "file_size": 794, "cut_index": 524, "middle_length": 14}} +{"prefix": "ollectorStatusProvider;\nuse PHPUnit\\Runner\\DeprecationCollector\\Facade as DeprecationCollector;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class Facade\n{\n private static ?self $instance = null;\n private Emitter $emitter;\n private ?TypeMap $typeMap = null;\n private ?DeferringDispatcher $deferringDispatcher ", "suffix": "elf::$instance;\n }\n\n public static function emitter(): Emitter\n {\n return self::instance()->emitter;\n }\n\n public function __construct()\n {\n $this->emitter = $this->createDispatchingEmitter();\n }\n\n /**\n * @throws Ev", "middle": "= null;\n private bool $sealed = false;\n\n public static function instance(): self\n {\n if (self::$instance === null) {\n self::$instance = new self;\n }\n\n return s", "meta": {"filepath": "src/Event/Facade.php", "language": "php", "file_size": 9376, "cut_index": 921, "middle_length": 229}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Finished implemen", "suffix": " {\n $this->telemetryInfo = $telemetryInfo;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->telemetryInfo;\n }\n\n /**\n * @return non-empty-string\n */\n public function asString(): string\n {\n ", "middle": "ts Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo)\n ", "meta": {"filepath": "src/Event/Events/TestRunner/Finished.php", "language": "php", "file_size": 1043, "cut_index": 513, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Code;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ClassMethod\n{\n /**\n * @var class-string\n */\n private string $classNam", "suffix": "the backward compatibility promise for PHPUnit\n */\n public function __construct(string $className, string $methodName)\n {\n $this->className = $className;\n $this->methodName = $methodName;\n }\n\n /**\n * @return class-string\n", "middle": "e;\n\n /**\n * @var non-empty-string\n */\n private string $methodName;\n\n /**\n * @param class-string $className\n * @param non-empty-string $methodName\n *\n * @internal This method is not covered by ", "meta": {"filepath": "src/Event/Value/ClassMethod.php", "language": "php", "file_size": 1234, "cut_index": 518, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Code;\n\nuse function is_bool;\nuse function is_scalar;\nuse function print_r;\nuse PHPUnit\\Framework\\ExpectationFailedException;\nuse Throwable;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @int", "suffix": "eof ExpectationFailedException) {\n return null;\n }\n\n if ($t->getComparisonFailure() === null) {\n return null;\n }\n\n $expectedAsString = $t->getComparisonFailure()->getExpectedAsString();\n\n if ($expect", "middle": "ernal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ComparisonFailureBuilder\n{\n public static function from(Throwable $t): ?ComparisonFailure\n {\n if (!$t instanc", "meta": {"filepath": "src/Event/Value/ComparisonFailureBuilder.php", "language": "php", "file_size": 1901, "cut_index": 537, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Code;\n\nuse PHPUnit\\Event\\NoPreviousThrowableException;\nuse PHPUnit\\Framework\\Exception;\nuse PHPUnit\\Util\\Filter;\nuse PHPUnit\\Util\\ThrowableToStringMapper;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibil", "suffix": "ception\n */\n public static function from(\\Throwable $t): Throwable\n {\n $previous = $t->getPrevious();\n\n if ($previous !== null) {\n $previous = self::from($previous);\n }\n\n return new Throwable(\n $t", "middle": "ity promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ThrowableBuilder\n{\n /**\n * @throws Exception\n * @throws NoPreviousThrowableEx", "meta": {"filepath": "src/Event/Value/ThrowableBuilder.php", "language": "php", "file_size": 1194, "cut_index": 518, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestSuite;\n\nuse function assert;\nuse function class_exists;\nuse function count;\nuse function explode;\nuse function method_exists;\nuse PHPUnit\\Event\\Code\\Test;\nuse PHPUnit\\Event\\Code\\TestCollection;\nuse PHPUnit\\Event\\RuntimeException;\nuse PHPUnit\\Framework\\DataProviderTestSuite;\nuse PHPUnit\\Framework\\TestCase;\nuse PHPUnit\\Framework\\Test", "suffix": "it\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestSuiteBuilder\n{\n /**\n * @throws RuntimeException\n */\n public static function from(FrameworkTestSuite $testSuite): TestS", "middle": "Suite as FrameworkTestSuite;\nuse PHPUnit\\Runner\\Phpt\\TestCase as PhptTestCase;\nuse ReflectionClass;\nuse ReflectionMethod;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUn", "meta": {"filepath": "src/Event/Value/TestSuite/TestSuiteBuilder.php", "language": "php", "file_size": 3361, "cut_index": 614, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestSuite;\n\nuse PHPUnit\\Event\\Code\\TestCollection;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestSuiteForTestMethodWithDataProvider extends TestSuite\n", "suffix": "mpty-string $name\n * @param class-string $className\n * @param non-empty-string $methodName\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(string $name", "middle": "{\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @var non-empty-string\n */\n private string $methodName;\n private string $file;\n private int $line;\n\n /**\n * @param non-e", "meta": {"filepath": "src/Event/Value/TestSuite/TestSuiteForTestMethodWithDataProvider.php", "language": "php", "file_size": 1848, "cut_index": 537, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Telemetry;\n\nuse function floor;\nuse function sprintf;\nuse PHPUnit\\Event\\InvalidArgumentException;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Duration\n{\n /** @var non-negative-int */\n private int $seconds;\n\n /** @var non", "suffix": " $seconds,\n $nanoseconds,\n );\n }\n\n /**\n * @throws InvalidArgumentException\n */\n private function __construct(int $seconds, int $nanoseconds)\n {\n $this->ensureNotNegative($seconds, 'seconds');\n $th", "middle": "-negative-int */\n private int $nanoseconds;\n\n /**\n * @throws InvalidArgumentException\n */\n public static function fromSecondsAndNanoseconds(int $seconds, int $nanoseconds): self\n {\n return new self(\n ", "meta": {"filepath": "src/Event/Value/Telemetry/Duration.php", "language": "php", "file_size": 3667, "cut_index": 614, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Telemetry;\n\nuse function sprintf;\nuse PHPUnit\\Event\\InvalidArgumentException;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class HRTime\n{\n /** @var non-negative-int */\n private in", "suffix": "\n return new self(\n $seconds,\n $nanoseconds,\n );\n }\n\n /**\n * @throws InvalidArgumentException\n */\n private function __construct(int $seconds, int $nanoseconds)\n {\n $this->ensureNotNegative($sec", "middle": "t $seconds;\n\n /** @var non-negative-int */\n private int $nanoseconds;\n\n /**\n * @throws InvalidArgumentException\n */\n public static function fromSecondsAndNanoseconds(int $seconds, int $nanoseconds): self\n {", "meta": {"filepath": "src/Event/Value/Telemetry/HRTime.php", "language": "php", "file_size": 2704, "cut_index": 563, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Telemetry;\n\nuse function sprintf;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Info\n{\n private Snapshot $current;\n private Duration $durationSinceStart;\n private MemoryUsage $memorySinceStart;\n private Duration $durati", "suffix": "eSincePrevious;\n private CpuTime $systemCpuTimeSincePrevious;\n private CpuTime $totalCpuTimeSincePrevious;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(", "middle": "onSincePrevious;\n private MemoryUsage $memorySincePrevious;\n private CpuTime $userCpuTimeSinceStart;\n private CpuTime $systemCpuTimeSinceStart;\n private CpuTime $totalCpuTimeSinceStart;\n private CpuTime $userCpuTim", "meta": {"filepath": "src/Event/Value/Telemetry/Info.php", "language": "php", "file_size": 4383, "cut_index": 614, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Telemetry;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class System\n{\n private S", "suffix": "y the backward compatibility promise for PHPUnit\n */\n public function __construct(StopWatch $stopWatch, MemoryMeter $memoryMeter, GarbageCollectorStatusProvider $garbageCollectorStatusProvider, CpuTimeMeter $cpuTimeMeter)\n {\n $this->stopWa", "middle": "topWatch $stopWatch;\n private MemoryMeter $memoryMeter;\n private GarbageCollectorStatusProvider $garbageCollectorStatusProvider;\n private CpuTimeMeter $cpuTimeMeter;\n\n /**\n * @internal This method is not covered b", "meta": {"filepath": "src/Event/Value/Telemetry/System.php", "language": "php", "file_size": 1795, "cut_index": 537, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Telemetry;\n\nuse function gc_status;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */", "suffix": "Status(\n $status['runs'],\n $status['collected'],\n $status['threshold'],\n $status['roots'],\n $status['application_time'],\n $status['collector_time'],\n $status['destructor_time'],\n ", "middle": "\nfinal readonly class SystemGarbageCollectorStatusProvider implements GarbageCollectorStatusProvider\n{\n public function status(): GarbageCollectorStatus\n {\n $status = gc_status();\n\n return new GarbageCollector", "meta": {"filepath": "src/Event/Value/Telemetry/SystemGarbageCollectorStatusProvider.php", "language": "php", "file_size": 1186, "cut_index": 518, "middle_length": 229}} +{"prefix": "php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Telemetry;\n\nuse function hrtime;\nuse PHPUnit\\Event\\InvalidArgumentException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the b", "suffix": "ibility promise for PHPUnit\n */\nfinal readonly class SystemStopWatch implements StopWatch\n{\n /**\n * @throws InvalidArgumentException\n */\n public function current(): HRTime\n {\n return HRTime::fromSecondsAndNanoseconds(...hrtime());\n ", "middle": "ackward compat", "meta": {"filepath": "src/Event/Value/Telemetry/SystemStopWatch.php", "language": "php", "file_size": 791, "cut_index": 514, "middle_length": 14}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Runtime;\n\nuse const PHP_OS;\nuse const PHP_OS_FAMILY;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class OperatingSystem\n{\n private s", "suffix": "is->operatingSystem = PHP_OS;\n $this->operatingSystemFamily = PHP_OS_FAMILY;\n }\n\n public function operatingSystem(): string\n {\n return $this->operatingSystem;\n }\n\n public function operatingSystemFamily(): string\n {\n ", "middle": "tring $operatingSystem;\n private string $operatingSystemFamily;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct()\n {\n $th", "meta": {"filepath": "src/Event/Value/Runtime/OperatingSystem.php", "language": "php", "file_size": 1048, "cut_index": 513, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Runtime;\n\nuse PHPUnit\\Runner\\Version;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class PHPUnit\n{\n private string $versionId;\n private string $releaseSeries;\n\n /**\n * @internal This method i", "suffix": "for PHPUnit\n */\n public function __construct()\n {\n $this->versionId = Version::id();\n $this->releaseSeries = Version::series();\n }\n\n public function versionId(): string\n {\n return $this->versionId;\n }\n\n pub", "middle": "s not covered by the backward compatibility promise ", "meta": {"filepath": "src/Event/Value/Runtime/PHPUnit.php", "language": "php", "file_size": 978, "cut_index": 582, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Runtime;\n\nuse function sprintf;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Runtime\n{\n private OperatingSystem $operatingSystem;\n pri", "suffix": "new OperatingSystem;\n $this->php = new PHP;\n $this->phpunit = new PHPUnit;\n }\n\n public function asString(): string\n {\n $php = $this->php();\n\n return sprintf(\n 'PHPUnit %s using PHP %s (%s)", "middle": "vate PHP $php;\n private PHPUnit $phpunit;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct()\n {\n $this->operatingSystem = ", "meta": {"filepath": "src/Event/Value/Runtime/Runtime.php", "language": "php", "file_size": 1453, "cut_index": 524, "middle_length": 229}} +{"prefix": "hp declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Code;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ComparisonFailure\n{\n private string $expected;\n private string $actual;\n ", "suffix": "$this->expected = $expected;\n $this->actual = $actual;\n $this->diff = $diff;\n }\n\n public function expected(): string\n {\n return $this->expected;\n }\n\n public function actual(): string\n {\n return $this->act", "middle": " private string $diff;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(string $expected, string $actual, string $diff)\n {\n ", "meta": {"filepath": "src/Event/Value/ComparisonFailure.php", "language": "php", "file_size": 1089, "cut_index": 515, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Code;\n\nuse const PHP_EOL;\nuse PHPUnit\\Event\\NoPreviousThrowableException;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Throwable\n{\n /**\n * @var class-string\n */\n pri", "suffix": "ethod is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(string $className, string $message, string $description, string $stackTrace, ?self $previous)\n {\n $this->className = $className;\n ", "middle": "vate string $className;\n private string $message;\n private string $description;\n private string $stackTrace;\n private ?Throwable $previous;\n\n /**\n * @param class-string $className\n *\n * @internal This m", "meta": {"filepath": "src/Event/Value/Throwable.php", "language": "php", "file_size": 2433, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestSuite;\n\nuse PHPUnit\\Event\\Code\\TestCollection;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nabstract readonly class TestSuite\n{\n /**\n * @var non-empty-string\n ", "suffix": "PUnit\n */\n public function __construct(string $name, int $size, TestCollection $tests)\n {\n $this->name = $name;\n $this->count = $size;\n $this->tests = $tests;\n }\n\n /**\n * @return non-empty-string\n */\n public", "middle": "*/\n private string $name;\n private int $count;\n private TestCollection $tests;\n\n /**\n * @param non-empty-string $name\n *\n * @internal This method is not covered by the backward compatibility promise for PH", "meta": {"filepath": "src/Event/Value/TestSuite/TestSuite.php", "language": "php", "file_size": 1735, "cut_index": 537, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Telemetry;\n\nuse function sprintf;\nuse PHPUnit\\Event\\InvalidArgumentException;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class CpuTime\n{\n /** @var non-negative-int */\n private int $seconds;\n\n /** @var non-negative-int */\n ", "suffix": " }\n\n /**\n * @throws InvalidArgumentException\n */\n private function __construct(int $seconds, int $nanoseconds)\n {\n $this->ensureNotNegative($seconds, 'seconds');\n $this->ensureNotNegative($nanoseconds, 'nanoseconds');\n ", "middle": "private int $nanoseconds;\n\n /**\n * @throws InvalidArgumentException\n */\n public static function fromSecondsAndNanoseconds(int $seconds, int $nanoseconds): self\n {\n return new self($seconds, $nanoseconds);\n", "meta": {"filepath": "src/Event/Value/Telemetry/CpuTime.php", "language": "php", "file_size": 3144, "cut_index": 614, "middle_length": 229}} +{"prefix": "ict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class MemoryUsage\n{\n private int $bytes;\n\n public static function fromBytes(int $bytes): ", "suffix": " private function __construct(int $bytes)\n {\n $this->bytes = $bytes;\n }\n\n public function bytes(): int\n {\n return $this->bytes;\n }\n\n public function diff(self $other): self\n {\n return self::fromBytes($this->bytes", "middle": "self\n {\n return new self($bytes);\n }\n\n ", "meta": {"filepath": "src/Event/Value/Telemetry/MemoryUsage.php", "language": "php", "file_size": 864, "cut_index": 529, "middle_length": 52}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Telemetry;\n\nuse function getrusage;\nuse function is_int;\nuse function sprintf;\nuse PHPUnit\\Event\\RuntimeException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward com", "suffix": "ru_utime.tv_sec', 'ru_utime.tv_usec');\n }\n\n /**\n * @throws RuntimeException\n */\n public function systemCpuTime(): CpuTime\n {\n return $this->cpuTime('ru_stime.tv_sec', 'ru_stime.tv_usec');\n }\n\n /**\n * @param 'ru_stime.tv", "middle": "patibility promise for PHPUnit\n */\nfinal readonly class SystemCpuTimeMeter implements CpuTimeMeter\n{\n /**\n * @throws RuntimeException\n */\n public function userCpuTime(): CpuTime\n {\n return $this->cpuTime('", "meta": {"filepath": "src/Event/Value/Telemetry/SystemCpuTimeMeter.php", "language": "php", "file_size": 2517, "cut_index": 563, "middle_length": 229}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Telemetry;\n\nuse function memory_get_peak_usage;\nuse function memory_get_usage;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n ", "suffix": " MemoryMeter\n{\n public function memoryUsage(): MemoryUsage\n {\n return MemoryUsage::fromBytes(memory_get_usage());\n }\n\n public function peakMemoryUsage(): MemoryUsage\n {\n return MemoryUsage::fromBytes(memory_get_peak_usage());\n ", "middle": "*/\nfinal readonly class SystemMemoryMeter implements", "meta": {"filepath": "src/Event/Value/Telemetry/SystemMemoryMeter.php", "language": "php", "file_size": 874, "cut_index": 559, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestSuite;\n\nuse PHPUnit\\Event\\Code\\TestCollection;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestSuiteForTestClass extends TestSuite\n{\n ", "suffix": "ompatibility promise for PHPUnit\n */\n public function __construct(string $name, int $size, TestCollection $tests, string $file, int $line)\n {\n parent::__construct($name, $size, $tests);\n\n $this->className = $name;\n $this->fil", "middle": " /**\n * @var class-string\n */\n private string $className;\n private string $file;\n private int $line;\n\n /**\n * @param class-string $name\n *\n * @internal This method is not covered by the backward c", "meta": {"filepath": "src/Event/Value/TestSuite/TestSuiteForTestClass.php", "language": "php", "file_size": 1423, "cut_index": 524, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Snapshot\n{\n private HRTime $time;\n private MemoryUsage $memoryUsage;\n private MemoryUsage $peakMemoryUsage;\n pr", "suffix": "ompatibility promise for PHPUnit\n */\n public function __construct(HRTime $time, MemoryUsage $memoryUsage, MemoryUsage $peakMemoryUsage, GarbageCollectorStatus $garbageCollectorStatus, CpuTime $userCpuTime, CpuTime $systemCpuTime, CpuTime $totalCpuTi", "middle": "ivate GarbageCollectorStatus $garbageCollectorStatus;\n private CpuTime $userCpuTime;\n private CpuTime $systemCpuTime;\n private CpuTime $totalCpuTime;\n\n /**\n * @internal This method is not covered by the backward c", "meta": {"filepath": "src/Event/Value/Telemetry/Snapshot.php", "language": "php", "file_size": 2136, "cut_index": 563, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Runtime;\n\nuse const PHP_EXTRA_VERSION;\nuse const PHP_MAJOR_VERSION;\nuse const PHP_MINOR_VERSION;\nuse const PHP_RELEASE_VERSION;\nuse const PHP_SAPI;\nuse const PHP_VERSION;\nuse const PHP_VERSION_ID;\nuse function array_merge;\nuse function get_loaded_extensions;\nuse function sort;\n\n/**\n * ", "suffix": "Version;\n private int $minorVersion;\n private int $releaseVersion;\n private string $extraVersion;\n private string $sapi;\n\n /**\n * @var list\n */\n private array $extensions;\n\n /**\n * @internal This method is not cover", "middle": "@immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class PHP\n{\n private string $version;\n private int $versionId;\n private int $major", "meta": {"filepath": "src/Event/Value/Runtime/PHP.php", "language": "php", "file_size": 2428, "cut_index": 563, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class GarbageCollectorStatus\n{\n private int $runs;\n private int $collected;\n private int $threshold;\n private int $ro", "suffix": "e int $bufferSize;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(int $runs, int $collected, int $threshold, int $roots, float $applicationTime, float $collecto", "middle": "ots;\n private float $applicationTime;\n private float $collectorTime;\n private float $destructorTime;\n private float $freeTime;\n private bool $running;\n private bool $protected;\n private bool $full;\n privat", "meta": {"filepath": "src/Event/Value/Telemetry/GarbageCollectorStatus.php", "language": "php", "file_size": 2720, "cut_index": 563, "middle_length": 229}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ChildProcessError", "suffix": "etryInfo)\n {\n $this->telemetryInfo = $telemetryInfo;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->telemetryInfo;\n }\n\n /**\n * @return non-empty-string\n */\n public function asString(): stri", "middle": "ed implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telem", "meta": {"filepath": "src/Event/Events/TestRunner/ChildProcessErrored.php", "language": "php", "file_size": 1055, "cut_index": 513, "middle_length": 229}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ChildProcessStart", "suffix": "etryInfo)\n {\n $this->telemetryInfo = $telemetryInfo;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->telemetryInfo;\n }\n\n /**\n * @return non-empty-string\n */\n public function asString(): stri", "middle": "ed implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telem", "meta": {"filepath": "src/Event/Events/TestRunner/ChildProcessStarted.php", "language": "php", "file_size": 1055, "cut_index": 513, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\nuse PHPUnit\\TextUI\\Configuration\\Configuration;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly cla", "suffix": " public function __construct(Telemetry\\Info $telemetryInfo, Configuration $configuration)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->configuration = $configuration;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n ", "middle": "ss Configured implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Configuration $configuration;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n", "meta": {"filepath": "src/Event/Events/TestRunner/Configured.php", "language": "php", "file_size": 1298, "cut_index": 524, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Telemetry;\n\nuse function hrtime;\nuse PHPUnit\\Event\\InvalidArgumentException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backw", "suffix": "mpatibility promise for PHPUnit\n */\n public function __construct(HRTime $offset)\n {\n $this->offset = $offset;\n }\n\n /**\n * @throws InvalidArgumentException\n */\n public function current(): HRTime\n {\n if ($this->off", "middle": "ard compatibility promise for PHPUnit\n *\n * @codeCoverageIgnore\n */\nfinal class SystemStopWatchWithOffset implements StopWatch\n{\n private ?HRTime $offset;\n\n /**\n * @internal This method is not covered by the backward co", "meta": {"filepath": "src/Event/Value/Telemetry/SystemStopWatchWithOffset.php", "language": "php", "file_size": 1202, "cut_index": 518, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Code;\n\nuse function count;\nuse Countable;\nuse IteratorAggregate;\n\n/**\n * @template-implements IteratorAggregate\n *\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promis", "suffix": "unction fromArray(array $tests): self\n {\n return new self(...$tests);\n }\n\n private function __construct(Test ...$tests)\n {\n $this->tests = $tests;\n }\n\n /**\n * @return list\n */\n public function asArray(): arr", "middle": "e for PHPUnit\n */\nfinal readonly class TestCollection implements Countable, IteratorAggregate\n{\n /**\n * @var list\n */\n private array $tests;\n\n /**\n * @param list $tests\n */\n public static f", "meta": {"filepath": "src/Event/Value/Test/TestCollection.php", "language": "php", "file_size": 1258, "cut_index": 524, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Code;\n\nuse PHPUnit\\Framework\\TestCase;\nuse PHPUnit\\Logging\\TestDox\\NamePrettifier;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibi", "suffix": "tifier();\n\n return new TestDox(\n $prettifier->prettifyTestClassName($testCase::class),\n $prettifier->prettifyTestCase($testCase, false),\n $prettifier->prettifyTestCase($testCase, true),\n );\n }\n\n /**\n ", "middle": "lity promise for PHPUnit\n */\nfinal class TestDoxBuilder\n{\n private static ?NamePrettifier $namePrettifier = null;\n\n public static function fromTestCase(TestCase $testCase): TestDox\n {\n $prettifier = self::namePret", "meta": {"filepath": "src/Event/Value/Test/TestDoxBuilder.php", "language": "php", "file_size": 1751, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Code;\n\nuse function is_numeric;\nuse PHPUnit\\Event\\TestData\\DataFromDataProvider;\nuse PHPUnit\\Event\\TestData\\DataFromTestDependency;\nuse PHPUnit\\Event\\TestData\\TestDataCollection;\nuse PHPUnit\\Framework\\TestCase;\nuse PHPUnit\\Metadata\\Parser\\Registry as MetadataRegistry;\nuse PHPUnit\\Util\\", "suffix": "the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestMethodBuilder\n{\n public static function fromTestCase(TestCase $testCase, bool $useTestCaseForTestDox = true): TestMethod\n {\n $methodName = $testCase->name();\n $", "middle": "Exporter;\nuse PHPUnit\\Util\\Reflection;\nuse PHPUnit\\Util\\Test as TestUtil;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by ", "meta": {"filepath": "src/Event/Value/Test/TestMethodBuilder.php", "language": "php", "file_size": 2710, "cut_index": 563, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestData;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nabstract readonly class TestData\n{\n private string $data;\n\n protected function __construct(string $data)\n {\n $this->data = $data;\n }\n\n public ", "suffix": "data;\n }\n\n /**\n * @phpstan-assert-if-true DataFromDataProvider $this\n */\n public function isFromDataProvider(): bool\n {\n return false;\n }\n\n /**\n * @phpstan-assert-if-true DataFromTestDependency $this\n */\n public ", "middle": "function data(): string\n {\n return $this->", "meta": {"filepath": "src/Event/Value/Test/TestData/TestData.php", "language": "php", "file_size": 964, "cut_index": 582, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestData;\n\nuse function assert;\nuse Iterator;\n\n/**\n * @template-implements Iterator\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class TestDataCol", "suffix": " is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(TestDataCollection $data)\n {\n $this->data = $data->asArray();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n ", "middle": "lectionIterator implements Iterator\n{\n /**\n * @var list\n */\n private readonly array $data;\n\n /**\n * @var non-negative-int\n */\n private int $position = 0;\n\n /**\n * @internal This method", "meta": {"filepath": "src/Event/Value/Test/TestData/TestDataCollectionIterator.php", "language": "php", "file_size": 1464, "cut_index": 524, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Code\\IssueTrigger;\n\nuse function sprintf;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class IssueTrigger\n{\n private ?Code $callee;\n private ?Code $caller;\n\n public static func", "suffix": "caller;\n }\n\n /**\n * An issue is triggered in first-party code or in test code.\n */\n public function isSelf(): bool\n {\n return $this->callee !== null && $this->callee->isFirstPartyOrTest();\n }\n\n /**\n * First-party code t", "middle": "tion from(?Code $callee, ?Code $caller): self\n {\n return new self($callee, $caller);\n }\n\n private function __construct(?Code $callee, ?Code $caller)\n {\n $this->callee = $callee;\n $this->caller = $", "meta": {"filepath": "src/Event/Value/Test/Issue/IssueTrigger.php", "language": "php", "file_size": 2680, "cut_index": 563, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event;\n\nuse function count;\nuse Countable;\nuse IteratorAggregate;\n\n/**\n * @template-implements IteratorAggregate\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfin", "suffix": " {\n $this->events[] = $event;\n }\n }\n\n /**\n * @return list\n */\n public function asArray(): array\n {\n return $this->events;\n }\n\n public function count(): int\n {\n return count($this->events);", "middle": "al class EventCollection implements Countable, IteratorAggregate\n{\n /**\n * @var list\n */\n private array $events = [];\n\n public function add(Event ...$events): void\n {\n foreach ($events as $event)", "meta": {"filepath": "src/Event/Events/EventCollection.php", "language": "php", "file_size": 1314, "cut_index": 524, "middle_length": 229}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class EventFacadeSealed", "suffix": "ryInfo)\n {\n $this->telemetryInfo = $telemetryInfo;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->telemetryInfo;\n }\n\n /**\n * @return non-empty-string\n */\n public function asString(): string", "middle": " implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemet", "meta": {"filepath": "src/Event/Events/TestRunner/EventFacadeSealed.php", "language": "php", "file_size": 1051, "cut_index": 513, "middle_length": 229}} +{"prefix": "hp declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ExecutionAborted im", "suffix": "nfo)\n {\n $this->telemetryInfo = $telemetryInfo;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->telemetryInfo;\n }\n\n /**\n * @return non-empty-string\n */\n public function asString(): string\n ", "middle": "plements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryI", "meta": {"filepath": "src/Event/Events/TestRunner/ExecutionAborted.php", "language": "php", "file_size": 1060, "cut_index": 515, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\nuse PHPUnit\\Event\\TestSuite\\TestSuite;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for ", "suffix": "promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, TestSuite $testSuite)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->testSuite = $testSuite;\n }\n\n public function telemetryInfo(): Tel", "middle": "PHPUnit\n */\nfinal readonly class ExecutionStarted implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private TestSuite $testSuite;\n\n /**\n * @internal This method is not covered by the backward compatibility ", "meta": {"filepath": "src/Event/Events/TestRunner/ExecutionStarted.php", "language": "php", "file_size": 1448, "cut_index": 524, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ExtensionLoadedFromPhar implements Event\n{\n ", "suffix": " */\n private string $version;\n\n /**\n * @param non-empty-string $filename\n * @param non-empty-string $name\n * @param non-empty-string $version\n *\n * @internal This method is not covered by the backward compatibility promise for P", "middle": " private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var non-empty-string\n */\n private string $filename;\n\n /**\n * @var non-empty-string\n */\n private string $name;\n\n /**\n * @var non-empty-string\n ", "meta": {"filepath": "src/Event/Events/TestRunner/ExtensionLoadedFromPhar.php", "language": "php", "file_size": 2083, "cut_index": 563, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ChildProcessFinished impleme", "suffix": "lic function __construct(Telemetry\\Info $telemetryInfo, string $stdout, string $stderr)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->stdout = $stdout;\n $this->stderr = $stderr;\n }\n\n public function telemetr", "middle": "nts Event\n{\n private Telemetry\\Info $telemetryInfo;\n private string $stdout;\n private string $stderr;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n pub", "meta": {"filepath": "src/Event/Events/TestRunner/ChildProcessFinished.php", "language": "php", "file_size": 1385, "cut_index": 524, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @todo This class will be renamed to Ph", "suffix": "**\n * @param non-empty-string $message\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, string $message)\n {\n $this->tel", "middle": "punitDeprecationTriggered in PHPUnit 14\n */\nfinal readonly class DeprecationTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n /", "meta": {"filepath": "src/Event/Events/TestRunner/DeprecationTriggered.php", "language": "php", "file_size": 1557, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Code;\n\nuse function assert;\nuse Iterator;\n\n/**\n * @template-implements Iterator\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class TestCollectionItera", "suffix": " by the backward compatibility promise for PHPUnit\n */\n public function __construct(TestCollection $tests)\n {\n $this->tests = $tests->asArray();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n }\n\n public", "middle": "tor implements Iterator\n{\n /**\n * @var list\n */\n private readonly array $tests;\n\n /**\n * @var non-negative-int\n */\n private int $position = 0;\n\n /**\n * @internal This method is not covered", "meta": {"filepath": "src/Event/Value/Test/TestCollectionIterator.php", "language": "php", "file_size": 1447, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestData;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class DataFromDataProvider extends TestData\n{\n private int|string $dataSetName;\n priv", "suffix": "Output);\n }\n\n protected function __construct(int|string $dataSetName, string $data, string $dataAsStringForResultOutput)\n {\n $this->dataSetName = $dataSetName;\n $this->dataAsStringForResultOutput = $dataAsStringForRes", "middle": "ate string $dataAsStringForResultOutput;\n\n public static function from(int|string $dataSetName, string $data, string $dataAsStringForResultOutput): self\n {\n return new self($dataSetName, $data, $dataAsStringForResult", "meta": {"filepath": "src/Event/Value/Test/TestData/DataFromDataProvider.php", "language": "php", "file_size": 1472, "cut_index": 524, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestData;\n\nuse function count;\nuse Countable;\nuse IteratorAggregate;\n\n/**\n * @template-implements IteratorAggregate\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestDataC", "suffix": "public static function fromArray(array $data): self\n {\n return new self(...$data);\n }\n\n private function __construct(TestData ...$data)\n {\n $fromDataProvider = null;\n\n foreach ($data as $_data) {\n if ($_data->isF", "middle": "ollection implements Countable, IteratorAggregate\n{\n /**\n * @var list\n */\n private array $data;\n private ?DataFromDataProvider $fromDataProvider;\n\n /**\n * @param list $data\n */\n ", "meta": {"filepath": "src/Event/Value/Test/TestData/TestDataCollection.php", "language": "php", "file_size": 2067, "cut_index": 563, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Bootst", "suffix": "method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, string $filename)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->filename = $filename;\n", "middle": "rapFinished implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var non-empty-string\n */\n private string $filename;\n\n /**\n * @param non-empty-string $filename\n *\n * @internal This ", "meta": {"filepath": "src/Event/Events/TestRunner/BootstrapFinished.php", "language": "php", "file_size": 1454, "cut_index": 524, "middle_length": 229}} +{"prefix": "hp declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ExecutionFinished i", "suffix": "Info)\n {\n $this->telemetryInfo = $telemetryInfo;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->telemetryInfo;\n }\n\n /**\n * @return non-empty-string\n */\n public function asString(): string\n ", "middle": "mplements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetry", "meta": {"filepath": "src/Event/Events/TestRunner/ExecutionFinished.php", "language": "php", "file_size": 1062, "cut_index": 515, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse const PHP_EOL;\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Erro", "suffix": " * @var positive-int\n */\n private int $line;\n private bool $suppressed;\n\n /**\n * @param non-empty-string $message\n * @param non-empty-string $file\n * @param positive-int $line\n *\n * @internal This method is not cove", "middle": "rTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n /**\n * @var non-empty-string\n */\n private string $file;\n\n /**\n", "meta": {"filepath": "src/Event/Events/TestRunner/ErrorTriggered.php", "language": "php", "file_size": 2586, "cut_index": 563, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Code;\n\nuse function is_int;\nuse function sprintf;\nuse PHPUnit\\Event\\TestData\\TestDataCollection;\nuse PHPUnit\\Metadata\\MetadataCollection;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestMethod extends Test\n{\n /**\n * @var c", "suffix": " private MetadataCollection $metadata;\n private TestDataCollection $testData;\n\n /**\n * @param class-string $className\n * @param non-empty-string $methodName\n * @param non-empty-string $file\n * @param non-negative-int $line\n ", "middle": "lass-string\n */\n private string $className;\n\n /**\n * @var non-empty-string\n */\n private string $methodName;\n\n /**\n * @var non-negative-int\n */\n private int $line;\n private TestDox $testDox;\n ", "meta": {"filepath": "src/Event/Value/Test/TestMethod.php", "language": "php", "file_size": 3532, "cut_index": 614, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Code\\IssueTrigger;\n\nenum Code: string\n{\n public function isFirstPartyOrTest(): bool\n {\n return $this === self::FirstParty || $this === self::Test;\n }\n\n public function isThirdPartyOrPhpunitOrPhp(): bool\n {\n return $thi", "suffix": "irdParty || $this === self::PHPUnit || $this === self::PHP;\n }\n case FirstParty = 'first-party code';\n case ThirdParty = 'third-party code';\n case Test = 'test code';\n case PHP = 'PHP runtime';\n case PHPUnit = 'PHPUnit';\n}", "middle": "s === self::Th", "meta": {"filepath": "src/Event/Value/Test/Issue/Code.php", "language": "php", "file_size": 795, "cut_index": 524, "middle_length": 14}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ExtensionBootstrapp", "suffix": " * @param class-string $className\n * @param array $parameters\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $tele", "middle": "ed implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @var array\n */\n private array $parameters;\n\n /**\n", "meta": {"filepath": "src/Event/Events/TestRunner/ExtensionBootstrapped.php", "language": "php", "file_size": 1799, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Code;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestDox\n{\n private string $prettifiedClassName;\n private string $prettifiedMethodNa", "suffix": " string $prettifiedMethodName, string $prettifiedAndColorizedMethodName)\n {\n $this->prettifiedClassName = $prettifiedClassName;\n $this->prettifiedMethodName = $prettifiedMethodName;\n $this->prettifiedAndColo", "middle": "me;\n private string $prettifiedAndColorizedMethodName;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(string $prettifiedClassName,", "meta": {"filepath": "src/Event/Value/Test/TestDox.php", "language": "php", "file_size": 1402, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event;\n\nuse function assert;\nuse Iterator;\n\n/**\n * @template-implements Iterator\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class EventCollectionIterator", "suffix": "by the backward compatibility promise for PHPUnit\n */\n public function __construct(EventCollection $events)\n {\n $this->events = $events->asArray();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n }\n\n pub", "middle": " implements Iterator\n{\n /**\n * @var list\n */\n private readonly array $events;\n\n /**\n * @var non-negative-int\n */\n private int $position = 0;\n\n /**\n * @internal This method is not covered ", "meta": {"filepath": "src/Event/Events/EventCollectionIterator.php", "language": "php", "file_size": 1454, "cut_index": 524, "middle_length": 229}} +{"prefix": "hp declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class GarbageCollectionDi", "suffix": "elemetryInfo)\n {\n $this->telemetryInfo = $telemetryInfo;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->telemetryInfo;\n }\n\n /**\n * @return non-empty-string\n */\n public function asString(): ", "middle": "sabled implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $t", "meta": {"filepath": "src/Event/Events/TestRunner/GarbageCollectionDisabled.php", "language": "php", "file_size": 1079, "cut_index": 515, "middle_length": 229}} +{"prefix": "hp declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class GarbageCollectionTr", "suffix": "telemetryInfo)\n {\n $this->telemetryInfo = $telemetryInfo;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->telemetryInfo;\n }\n\n /**\n * @return non-empty-string\n */\n public function asString():", "middle": "iggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $", "meta": {"filepath": "src/Event/Events/TestRunner/GarbageCollectionTriggered.php", "language": "php", "file_size": 1081, "cut_index": 515, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse const PHP_EOL;\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Code\\IssueTrigger\\IssueTrigger;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class PhpDe", "suffix": " /**\n * @var positive-int\n */\n private int $line;\n private bool $suppressed;\n private bool $ignoredByBaseline;\n private IssueTrigger $trigger;\n\n /**\n * @param non-empty-string $message\n * @param non-empty-string $file\n ", "middle": "precationTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n /**\n * @var non-empty-string\n */\n private string $file;\n\n", "meta": {"filepath": "src/Event/Events/TestRunner/PhpDeprecationTriggered.php", "language": "php", "file_size": 3185, "cut_index": 614, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse const PHP_EOL;\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class PhpW", "suffix": " /**\n * @var positive-int\n */\n private int $line;\n private bool $suppressed;\n private bool $ignoredByBaseline;\n\n /**\n * @param non-empty-string $message\n * @param non-empty-string $file\n * @param positive-int $line\n ", "middle": "arningTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n /**\n * @var non-empty-string\n */\n private string $file;\n\n ", "meta": {"filepath": "src/Event/Events/TestRunner/PhpWarningTriggered.php", "language": "php", "file_size": 2933, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class StaticAnalysisForCo", "suffix": ";\n\n /**\n * @param non-negative-int $cacheHits\n * @param non-negative-int $cacheMisses\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $te", "middle": "deCoverageFinished implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var non-negative-int\n */\n private int $cacheHits;\n\n /**\n * @var non-negative-int\n */\n private int $cacheMisses", "meta": {"filepath": "src/Event/Events/TestRunner/StaticAnalysisForCodeCoverageFinished.php", "language": "php", "file_size": 1874, "cut_index": 537, "middle_length": 229}} +{"prefix": "hp declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class GarbageCollectionEn", "suffix": "lemetryInfo)\n {\n $this->telemetryInfo = $telemetryInfo;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->telemetryInfo;\n }\n\n /**\n * @return non-empty-string\n */\n public function asString(): s", "middle": "abled implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $te", "meta": {"filepath": "src/Event/Events/TestRunner/GarbageCollectionEnabled.php", "language": "php", "file_size": 1077, "cut_index": 515, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse const PHP_EOL;\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class PhpN", "suffix": "/**\n * @var positive-int\n */\n private int $line;\n private bool $suppressed;\n private bool $ignoredByBaseline;\n\n /**\n * @param non-empty-string $message\n * @param non-empty-string $file\n * @param positive-int $line\n *", "middle": "oticeTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n /**\n * @var non-empty-string\n */\n private string $file;\n\n ", "meta": {"filepath": "src/Event/Events/TestRunner/PhpNoticeTriggered.php", "language": "php", "file_size": 2931, "cut_index": 563, "middle_length": 229}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Started implement", "suffix": " {\n $this->telemetryInfo = $telemetryInfo;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->telemetryInfo;\n }\n\n /**\n * @return non-empty-string\n */\n public function asString(): string\n {\n ", "middle": "s Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo)\n ", "meta": {"filepath": "src/Event/Events/TestRunner/Started.php", "language": "php", "file_size": 1041, "cut_index": 513, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @todo This class will be ", "suffix": "red by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, string $message)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->message = $message;\n }\n\n public fu", "middle": "renamed to PhpunitNoticeTriggered in PHPUnit 14\n */\nfinal readonly class NoticeTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private string $message;\n\n /**\n * @internal This method is not cove", "meta": {"filepath": "src/Event/Events/TestRunner/NoticeTriggered.php", "language": "php", "file_size": 1401, "cut_index": 524, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfin", "suffix": " /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod ...$calledMethods)\n {\n $this->teleme", "middle": "al readonly class AfterTestMethodFinished implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\TestMethod $test;\n\n /**\n * @var list\n */\n private array $calledMethods;\n\n ", "meta": {"filepath": "src/Event/Events/Test/HookMethod/AfterTestMethodFinished.php", "language": "php", "file_size": 1892, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Code\\Test;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfi", "suffix": "ing\n */\n private string $file;\n\n /**\n * @var positive-int\n */\n private int $line;\n private bool $suppressed;\n\n /**\n * @param non-empty-string $message\n * @param non-empty-string $file\n * @param positive-int $line\n", "middle": "nal readonly class ErrorTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Test $test;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n /**\n * @var non-empty-str", "meta": {"filepath": "src/Event/Events/Test/Issue/ErrorTriggered.php", "language": "php", "file_size": 2744, "cut_index": 563, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Application;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Runtime\\Runtime;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHP", "suffix": "nit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Runtime $runtime)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->runtime = $runtime;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n ", "middle": "Unit\n */\nfinal readonly class Started implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Runtime $runtime;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPU", "meta": {"filepath": "src/Event/Events/Application/Started.php", "language": "php", "file_size": 1344, "cut_index": 524, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class C", "suffix": " covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod $customTestMethodInvocation)\n {\n $this->telemetryInfo = $teleme", "middle": "ustomTestMethodInvocationUsed implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\TestMethod $test;\n private Code\\ClassMethod $customTestMethodInvocation;\n\n /**\n * @internal This method is not", "meta": {"filepath": "src/Event/Events/Test/CustomTestMethodInvocationUsed.php", "language": "php", "file_size": 1795, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Application;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Finis", "suffix": "__construct(Telemetry\\Info $telemetryInfo, int $shellExitCode)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->shellExitCode = $shellExitCode;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->teleme", "middle": "hed implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private int $shellExitCode;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function ", "meta": {"filepath": "src/Event/Events/Application/Finished.php", "language": "php", "file_size": 1340, "cut_index": 524, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Moc", "suffix": "erfaces\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, array $interfaces)\n {\n $this->telemetryInfo = $telemetryInfo;\n ", "middle": "kObjectForIntersectionOfInterfacesCreated implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var list\n */\n private array $interfaces;\n\n /**\n * @param list $int", "meta": {"filepath": "src/Event/Events/Test/TestDouble/MockObjectForIntersectionOfInterfacesCreated.php", "language": "php", "file_size": 1529, "cut_index": 537, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class PartialMockObjectCreated ", "suffix": "am class-string $className\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, string $className, string ...$methodNames)\n {\n ", "middle": "implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @var list\n */\n private array $methodNames;\n\n /**\n * @par", "meta": {"filepath": "src/Event/Events/Test/TestDouble/PartialMockObjectCreated.php", "language": "php", "file_size": 1735, "cut_index": 537, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Tes", "suffix": "faces\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, array $interfaces)\n {\n $this->telemetryInfo = $telemetryInfo;\n ", "middle": "tStubForIntersectionOfInterfacesCreated implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var list\n */\n private array $interfaces;\n\n /**\n * @param list $inter", "meta": {"filepath": "src/Event/Events/Test/TestDouble/TestStubForIntersectionOfInterfacesCreated.php", "language": "php", "file_size": 1525, "cut_index": 537, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\nuse PHPUnit\\Framework\\TestCase;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PH", "suffix": "ethod $calledMethod;\n\n /**\n * @param class-string $testClassName\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, st", "middle": "PUnit\n */\nfinal readonly class AfterLastTestMethodCalled implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var class-string\n */\n private string $testClassName;\n private Code\\ClassM", "meta": {"filepath": "src/Event/Events/Test/HookMethod/AfterLastTestMethodCalled.php", "language": "php", "file_size": 1863, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\nuse PHPUnit\\Framework\\TestCase;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n ", "suffix": "de\\ClassMethod>\n */\n private array $calledMethods;\n\n /**\n * @param class-string $testClassName\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __constr", "middle": "*/\nfinal readonly class AfterLastTestMethodFinished implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var class-string\n */\n private string $testClassName;\n\n /**\n * @var list\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class StaticAnalysisForCo", "suffix": "try\\Info $telemetryInfo)\n {\n $this->telemetryInfo = $telemetryInfo;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->telemetryInfo;\n }\n\n /**\n * @return non-empty-string\n */\n public function a", "middle": "deCoverageStarted implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Teleme", "meta": {"filepath": "src/Event/Events/TestRunner/StaticAnalysisForCodeCoverageStarted.php", "language": "php", "file_size": 1092, "cut_index": 515, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner\\Issue;\n\nuse const PHP_EOL;\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Code\\IssueTrigger\\IssueTrigger;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @todo This class w", "suffix": "ivate string $message;\n\n /**\n * @var non-empty-string\n */\n private string $file;\n\n /**\n * @var positive-int\n */\n private int $line;\n private bool $suppressed;\n private bool $ignoredByBaseline;\n private IssueTrigger $tri", "middle": "ill be moved to the PHPUnit\\Event\\TestRunner namespace in PHPUnit 14\n */\nfinal readonly class DeprecationTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var non-empty-string\n */\n pr", "meta": {"filepath": "src/Event/Events/TestRunner/Issue/DeprecationTriggered.php", "language": "php", "file_size": 3602, "cut_index": 614, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner\\Issue;\n\nuse const PHP_EOL;\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @todo This class ", "suffix": "te string $message;\n\n /**\n * @var non-empty-string\n */\n private string $file;\n\n /**\n * @var positive-int\n */\n private int $line;\n private bool $suppressed;\n private bool $ignoredByBaseline;\n\n /**\n * @param non-empty", "middle": "will be moved to the PHPUnit\\Event\\TestRunner namespace in PHPUnit 14\n */\nfinal readonly class WarningTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var non-empty-string\n */\n priva", "meta": {"filepath": "src/Event/Events/TestRunner/Issue/WarningTriggered.php", "language": "php", "file_size": 3025, "cut_index": 563, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestSuite;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Finishe", "suffix": "__construct(Telemetry\\Info $telemetryInfo, TestSuite $testSuite)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->testSuite = $testSuite;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->telemetr", "middle": "d implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private TestSuite $testSuite;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function ", "meta": {"filepath": "src/Event/Events/TestSuite/Finished.php", "language": "php", "file_size": 1432, "cut_index": 524, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestSuite;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Skipped implements E", "suffix": "ublic function __construct(Telemetry\\Info $telemetryInfo, TestSuite $testSuite, string $message)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->testSuite = $testSuite;\n $this->message = $message;\n }\n\n public func", "middle": "vent\n{\n private Telemetry\\Info $telemetryInfo;\n private TestSuite $testSuite;\n private string $message;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n p", "meta": {"filepath": "src/Event/Events/TestSuite/Skipped.php", "language": "php", "file_size": 1525, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestSuite;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Started", "suffix": "_construct(Telemetry\\Info $telemetryInfo, TestSuite $testSuite)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->testSuite = $testSuite;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->telemetry", "middle": " implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private TestSuite $testSuite;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function _", "meta": {"filepath": "src/Event/Events/TestSuite/Started.php", "language": "php", "file_size": 1430, "cut_index": 524, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit", "suffix": "**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod $calledMethod, Throwable $throwable)\n {\n ", "middle": "\n */\nfinal readonly class AfterTestMethodFailed implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\TestMethod $test;\n private Code\\ClassMethod $calledMethod;\n private Throwable $throwable;\n\n /", "meta": {"filepath": "src/Event/Events/Test/HookMethod/AfterTestMethodFailed.php", "language": "php", "file_size": 2038, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\nuse SebastianBergmann\\Comparator\\Comparator;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nf", "suffix": "rator> $className\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, string $className)\n {\n $this->telemetryInfo = $telemetry", "middle": "inal readonly class ComparatorRegistered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @param class-string\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class MockObjectCr", "suffix": "t covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, string $className)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->className = $className;\n }\n\n ", "middle": "eated implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @param class-string $className\n *\n * @internal This method is no", "meta": {"filepath": "src/Event/Events/Test/TestDouble/MockObjectCreated.php", "language": "php", "file_size": 1444, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestStubCrea", "suffix": "covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, string $className)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->className = $className;\n }\n\n p", "middle": "ted implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @param class-string $className\n *\n * @internal This method is not ", "meta": {"filepath": "src/Event/Events/Test/TestDouble/TestStubCreated.php", "language": "php", "file_size": 1440, "cut_index": 524, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code\\TestMethod;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPU", "suffix": "formation;\n\n /**\n * @param non-empty-string $additionalInformation\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, TestMethod", "middle": "nit\n */\nfinal readonly class AdditionalInformationProvided implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private TestMethod $test;\n\n /**\n * @var non-empty-string\n */\n private string $additionalIn", "meta": {"filepath": "src/Event/Events/Test/AdditionalInformationProvided.php", "language": "php", "file_size": 1833, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\nuse PHPUnit\\Framework\\TestCase;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward c", "suffix": "me;\n private Code\\ClassMethod $calledMethod;\n private Throwable $throwable;\n\n /**\n * @param class-string $testClassName\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n ", "middle": "ompatibility promise for PHPUnit\n */\nfinal readonly class AfterLastTestMethodFailed implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var class-string\n */\n private string $testClassNa", "meta": {"filepath": "src/Event/Events/Test/HookMethod/AfterLastTestMethodFailed.php", "language": "php", "file_size": 2262, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class A", "suffix": "d compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod $calledMethod)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->test = $test;\n ", "middle": "fterTestMethodCalled implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\TestMethod $test;\n private Code\\ClassMethod $calledMethod;\n\n /**\n * @internal This method is not covered by the backwar", "meta": {"filepath": "src/Event/Events/Test/HookMethod/AfterTestMethodCalled.php", "language": "php", "file_size": 1639, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestSuite;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Filtere", "suffix": "__construct(Telemetry\\Info $telemetryInfo, TestSuite $testSuite)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->testSuite = $testSuite;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->telemetr", "middle": "d implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private TestSuite $testSuite;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function ", "meta": {"filepath": "src/Event/Events/TestSuite/Filtered.php", "language": "php", "file_size": 1390, "cut_index": 524, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestSuite;\n\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Sorted implements Event\n{\n private Tele", "suffix": " for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, int $executionOrder, int $executionOrderDefects, bool $resolveDependencies)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->executionOrder ", "middle": "metry\\Info $telemetryInfo;\n private int $executionOrder;\n private int $executionOrderDefects;\n private bool $resolveDependencies;\n\n /**\n * @internal This method is not covered by the backward compatibility promise", "meta": {"filepath": "src/Event/Events/TestSuite/Sorted.php", "language": "php", "file_size": 1717, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit", "suffix": "/**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod $calledMethod, Throwable $throwable)\n {\n ", "middle": "\n */\nfinal readonly class AfterTestMethodErrored implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\TestMethod $test;\n private Code\\ClassMethod $calledMethod;\n private Throwable $throwable;\n\n ", "meta": {"filepath": "src/Event/Events/Test/HookMethod/AfterTestMethodErrored.php", "language": "php", "file_size": 2040, "cut_index": 563, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\nuse PHPUnit\\Framework\\TestCase;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward c", "suffix": "ame;\n private Code\\ClassMethod $calledMethod;\n private Throwable $throwable;\n\n /**\n * @param class-string $testClassName\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n ", "middle": "ompatibility promise for PHPUnit\n */\nfinal readonly class AfterLastTestMethodErrored implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var class-string\n */\n private string $testClassN", "meta": {"filepath": "src/Event/Events/Test/HookMethod/AfterLastTestMethodErrored.php", "language": "php", "file_size": 2264, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @todo This class will be renamed to Ph", "suffix": "* @param non-empty-string $message\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, string $message)\n {\n $this->telemetryIn", "middle": "punitWarningTriggered in PHPUnit 14\n */\nfinal readonly class WarningTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n /**\n ", "meta": {"filepath": "src/Event/Events/TestRunner/WarningTriggered.php", "language": "php", "file_size": 1545, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestSuite;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Loaded ", "suffix": "construct(Telemetry\\Info $telemetryInfo, TestSuite $testSuite)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->testSuite = $testSuite;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->telemetryI", "middle": "implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private TestSuite $testSuite;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __", "meta": {"filepath": "src/Event/Events/TestSuite/Loaded.php", "language": "php", "file_size": 1386, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly", "suffix": "@internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, string $output)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->output ", "middle": " class PrintedUnexpectedOutput implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var non-empty-string\n */\n private string $output;\n\n /**\n * @param non-empty-string $output\n *\n * ", "meta": {"filepath": "src/Event/Events/Test/PrintedUnexpectedOutput.php", "language": "php", "file_size": 1491, "cut_index": 524, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\TestRunner\\Issue;\n\nuse const PHP_EOL;\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @todo This class ", "suffix": "e string $message;\n\n /**\n * @var non-empty-string\n */\n private string $file;\n\n /**\n * @var positive-int\n */\n private int $line;\n private bool $suppressed;\n private bool $ignoredByBaseline;\n\n /**\n * @param non-empty-", "middle": "will be moved to the PHPUnit\\Event\\TestRunner namespace in PHPUnit 14\n */\nfinal readonly class NoticeTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var non-empty-string\n */\n privat", "meta": {"filepath": "src/Event/Events/TestRunner/Issue/NoticeTriggered.php", "language": "php", "file_size": 3023, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\nuse PHPUnit\\Framework\\TestCase;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PH", "suffix": "sMethod $calledMethod;\n\n /**\n * @param class-string $testClassName\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, ", "middle": "PUnit\n */\nfinal readonly class BeforeFirstTestMethodCalled implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var class-string\n */\n private string $testClassName;\n private Code\\Clas", "meta": {"filepath": "src/Event/Events/Test/HookMethod/BeforeFirstTestMethodCalled.php", "language": "php", "file_size": 1867, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\nuse PHPUnit\\Framework\\TestCase;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n ", "suffix": "ode\\ClassMethod>\n */\n private array $calledMethods;\n\n /**\n * @param class-string $testClassName\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __const", "middle": "*/\nfinal readonly class BeforeFirstTestMethodFinished implements Event\n{\n private Telemetry\\Info$telemetryInfo;\n\n /**\n * @var class-string\n */\n private string $testClassName;\n\n /**\n * @var list\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class B", "suffix": "rd compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod $calledMethod)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->test = $test;\n ", "middle": "eforeTestMethodCalled implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\TestMethod $test;\n private Code\\ClassMethod $calledMethod;\n\n /**\n * @internal This method is not covered by the backwa", "meta": {"filepath": "src/Event/Events/Test/HookMethod/BeforeTestMethodCalled.php", "language": "php", "file_size": 1641, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\nuse PHPUnit\\Framework\\TestCase;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward c", "suffix": "Name;\n private Code\\ClassMethod $calledMethod;\n private Throwable $throwable;\n\n /**\n * @param class-string $testClassName\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n ", "middle": "ompatibility promise for PHPUnit\n */\nfinal readonly class BeforeFirstTestMethodFailed implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var class-string\n */\n private string $testClass", "meta": {"filepath": "src/Event/Events/Test/HookMethod/BeforeFirstTestMethodFailed.php", "language": "php", "file_size": 2266, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class P", "suffix": "compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod $calledMethod)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->test = $test;\n ", "middle": "ostConditionCalled implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\TestMethod $test;\n private Code\\ClassMethod $calledMethod;\n\n /**\n * @internal This method is not covered by the backward ", "meta": {"filepath": "src/Event/Events/Test/HookMethod/PostConditionCalled.php", "language": "php", "file_size": 1641, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit", "suffix": "*\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod $calledMethod, Throwable $throwable)\n {\n ", "middle": "\n */\nfinal readonly class PostConditionErrored implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\TestMethod $test;\n private Code\\ClassMethod $calledMethod;\n private Throwable $throwable;\n\n /*", "meta": {"filepath": "src/Event/Events/Test/HookMethod/PostConditionErrored.php", "language": "php", "file_size": 2042, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfin", "suffix": "**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod ...$calledMethods)\n {\n $this->telemetr", "middle": "al readonly class PostConditionFinished implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\TestMethod $test;\n\n /**\n * @var list\n */\n private array $calledMethods;\n\n /", "meta": {"filepath": "src/Event/Events/Test/HookMethod/PostConditionFinished.php", "language": "php", "file_size": 1894, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit", "suffix": "\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod $calledMethod, Throwable $throwable)\n {\n ", "middle": "\n */\nfinal readonly class PreConditionErrored implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\TestMethod $test;\n private Code\\ClassMethod $calledMethod;\n private Throwable $throwable;\n\n /**", "meta": {"filepath": "src/Event/Events/Test/HookMethod/PreConditionErrored.php", "language": "php", "file_size": 2040, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfin", "suffix": "*\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod ...$calledMethods)\n {\n $this->telemetry", "middle": "al readonly class PreConditionFinished implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\TestMethod $test;\n\n /**\n * @var list\n */\n private array $calledMethods;\n\n /*", "meta": {"filepath": "src/Event/Events/Test/HookMethod/PreConditionFinished.php", "language": "php", "file_size": 1892, "cut_index": 537, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Code\\ClassMethod;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry\\Info;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal", "suffix": "y the backward compatibility promise for PHPUnit\n */\n public function __construct(Info $telemetryInfo, ClassMethod $testMethod, ClassMethod $dataProviderMethod)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->testMethod ", "middle": " readonly class DataProviderMethodCalled implements Event\n{\n private Info $telemetryInfo;\n private ClassMethod $testMethod;\n private ClassMethod $dataProviderMethod;\n\n /**\n * @internal This method is not covered b", "meta": {"filepath": "src/Event/Events/Test/Lifecycle/DataProviderMethodCalled.php", "language": "php", "file_size": 1804, "cut_index": 537, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compati", "suffix": "thod is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\Test $test, Throwable $throwable)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->test ", "middle": "bility promise for PHPUnit\n */\nfinal readonly class PreparationErrored implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\Test $test;\n private Throwable $throwable;\n\n /**\n * @internal This me", "meta": {"filepath": "src/Event/Events/Test/Lifecycle/PreparationErrored.php", "language": "php", "file_size": 1727, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal rea", "suffix": " */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\Test $test)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->test = $test;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $", "middle": "donly class PreparationStarted implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\Test $test;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n ", "meta": {"filepath": "src/Event/Events/Test/Lifecycle/PreparationStarted.php", "language": "php", "file_size": 1328, "cut_index": 524, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse function trim;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by t", "suffix": " This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\Test $test, Throwable $throwable)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->", "middle": "he backward compatibility promise for PHPUnit\n */\nfinal readonly class Errored implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\Test $test;\n private Throwable $throwable;\n\n /**\n * @internal", "meta": {"filepath": "src/Event/Events/Test/Outcome/Errored.php", "language": "php", "file_size": 1729, "cut_index": 537, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse function trim;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by t", "suffix": "@internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\Test $test, Throwable $throwable)\n {\n $this->telemetryInfo = $telemetryInfo;\n ", "middle": "he backward compatibility promise for PHPUnit\n */\nfinal readonly class MarkedIncomplete implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\Test $test;\n private Throwable $throwable;\n\n /**\n * ", "meta": {"filepath": "src/Event/Events/Test/Outcome/MarkedIncomplete.php", "language": "php", "file_size": 1748, "cut_index": 537, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfin", "suffix": "promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\Test $test, string $message)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->test = $test;\n $this->message = $message;", "middle": "al readonly class Skipped implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\Test $test;\n private string $message;\n\n /**\n * @internal This method is not covered by the backward compatibility ", "meta": {"filepath": "src/Event/Events/Test/Outcome/Skipped.php", "language": "php", "file_size": 1638, "cut_index": 537, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Code\\IssueTrigger\\IssueTrigger;\nuse PHPUnit\\Event\\Code\\Test;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfin", "suffix": "y-string\n */\n private string $file;\n\n /**\n * @var positive-int\n */\n private int $line;\n private bool $suppressed;\n private bool $ignoredByBaseline;\n private bool $ignoredByTest;\n private IssueTrigger $trigger;\n\n /**\n ", "middle": "al readonly class DeprecationTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Test $test;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n /**\n * @var non-empt", "meta": {"filepath": "src/Event/Events/Test/Issue/DeprecationTriggered.php", "language": "php", "file_size": 3978, "cut_index": 614, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\nuse PHPUnit\\Framework\\TestCase;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward c", "suffix": "sName;\n private Code\\ClassMethod $calledMethod;\n private Throwable $throwable;\n\n /**\n * @param class-string $testClassName\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n ", "middle": "ompatibility promise for PHPUnit\n */\nfinal readonly class BeforeFirstTestMethodErrored implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n\n /**\n * @var class-string\n */\n private string $testClas", "meta": {"filepath": "src/Event/Events/Test/HookMethod/BeforeFirstTestMethodErrored.php", "language": "php", "file_size": 2268, "cut_index": 563, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit", "suffix": "/**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod $calledMethod, Throwable $throwable)\n {\n ", "middle": "\n */\nfinal readonly class BeforeTestMethodFailed implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\TestMethod $test;\n private Code\\ClassMethod $calledMethod;\n private Throwable $throwable;\n\n ", "meta": {"filepath": "src/Event/Events/Test/HookMethod/BeforeTestMethodFailed.php", "language": "php", "file_size": 2040, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfin", "suffix": " /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod ...$calledMethods)\n {\n $this->telem", "middle": "al readonly class BeforeTestMethodFinished implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\TestMethod $test;\n\n /**\n * @var list\n */\n private array $calledMethods;\n\n ", "meta": {"filepath": "src/Event/Events/Test/HookMethod/BeforeTestMethodFinished.php", "language": "php", "file_size": 1894, "cut_index": 537, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class P", "suffix": "mpatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod $calledMethod)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->test = $test;\n ", "middle": "reConditionCalled implements Event\n{\n private Telemetry\\Info$telemetryInfo;\n private Code\\TestMethod $test;\n private Code\\ClassMethod $calledMethod;\n\n /**\n * @internal This method is not covered by the backward co", "meta": {"filepath": "src/Event/Events/Test/HookMethod/PreConditionCalled.php", "language": "php", "file_size": 1638, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code\\ClassMethod;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly cl", "suffix": "nternal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, ClassMethod $testMethod, ClassMethod ...$calledMethods)\n {\n $this->telemetryInfo = $teleme", "middle": "ass DataProviderMethodFinished implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private ClassMethod $testMethod;\n\n /**\n * @var list\n */\n private array $calledMethods;\n\n /**\n * @i", "meta": {"filepath": "src/Event/Events/Test/Lifecycle/DataProviderMethodFinished.php", "language": "php", "file_size": 2045, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compati", "suffix": "hod is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\Test $test, Throwable $throwable)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->test ", "middle": "bility promise for PHPUnit\n */\nfinal readonly class PreparationFailed implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\Test $test;\n private Throwable $throwable;\n\n /**\n * @internal This met", "meta": {"filepath": "src/Event/Events/Test/Lifecycle/PreparationFailed.php", "language": "php", "file_size": 1725, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal rea", "suffix": "blic function __construct(Telemetry\\Info $telemetryInfo, Code\\Test $test)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->test = $test;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->tele", "middle": "donly class Prepared implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\Test $test;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n pu", "meta": {"filepath": "src/Event/Events/Test/Lifecycle/Prepared.php", "language": "php", "file_size": 1307, "cut_index": 524, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfin", "suffix": "pty-string $message\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\Test $test, string $message)\n {\n $this->telemetry", "middle": "al readonly class ConsideredRisky implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\Test $test;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n /**\n * @param non-em", "meta": {"filepath": "src/Event/Events/Test/Issue/ConsideredRisky.php", "language": "php", "file_size": 1704, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit", "suffix": " /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod $calledMethod, Throwable $throwable)\n {\n ", "middle": "\n */\nfinal readonly class BeforeTestMethodErrored implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\TestMethod $test;\n private Code\\ClassMethod $calledMethod;\n private Throwable $throwable;\n\n ", "meta": {"filepath": "src/Event/Events/Test/HookMethod/BeforeTestMethodErrored.php", "language": "php", "file_size": 2042, "cut_index": 563, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit", "suffix": "\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod $calledMethod, Throwable $throwable)\n {\n ", "middle": "\n */\nfinal readonly class PostConditionFailed implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\TestMethod $test;\n private Code\\ClassMethod $calledMethod;\n private Throwable $throwable;\n\n /**", "meta": {"filepath": "src/Event/Events/Test/HookMethod/PostConditionFailed.php", "language": "php", "file_size": 2040, "cut_index": 563, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class F", "suffix": "t $numberOfAssertionsPerformed\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\Test $test, int $numberOfAssertionsPerformed)\n ", "middle": "inished implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\Test $test;\n\n /**\n * @var non-negative-int\n */\n private int $numberOfAssertionsPerformed;\n\n /**\n * @param non-negative-in", "meta": {"filepath": "src/Event/Events/Test/Lifecycle/Finished.php", "language": "php", "file_size": 1770, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse function trim;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\ComparisonFailure;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are ", "suffix": "e ?ComparisonFailure $comparisonFailure;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\Test $test, Throwable $throwable, ?C", "middle": "not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Failed implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\Test $test;\n private Throwable $throwable;\n privat", "meta": {"filepath": "src/Event/Events/Test/Outcome/Failed.php", "language": "php", "file_size": 2401, "cut_index": 563, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Code\\Throwable;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit", "suffix": " * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Code\\TestMethod $test, Code\\ClassMethod $calledMethod, Throwable $throwable)\n {\n ", "middle": "\n */\nfinal readonly class PreConditionFailed implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\TestMethod $test;\n private Code\\ClassMethod $calledMethod;\n private Throwable $throwable;\n\n /**\n", "meta": {"filepath": "src/Event/Events/Test/HookMethod/PreConditionFailed.php", "language": "php", "file_size": 2038, "cut_index": 563, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse function sprintf;\nuse PHPUnit\\Event\\Code;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal rea", "suffix": "ic function __construct(Telemetry\\Info $telemetryInfo, Code\\Test $test)\n {\n $this->telemetryInfo = $telemetryInfo;\n $this->test = $test;\n }\n\n public function telemetryInfo(): Telemetry\\Info\n {\n return $this->teleme", "middle": "donly class Passed implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Code\\Test $test;\n\n /**\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n publ", "meta": {"filepath": "src/Event/Events/Test/Outcome/Passed.php", "language": "php", "file_size": 1303, "cut_index": 524, "middle_length": 229}} +{"prefix": "are(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class PreserveGlobalState extends Metadata\n{\n private bool $enabled;\n\n protected function", "suffix": "evel $level, bool $enabled)\n {\n parent::__construct($level);\n\n $this->enabled = $enabled;\n }\n\n public function isPreserveGlobalState(): true\n {\n return true;\n }\n\n public function enabled(): bool\n {\n return $", "middle": " __construct(L", "meta": {"filepath": "src/Metadata/PreserveGlobalState.php", "language": "php", "file_size": 815, "cut_index": 522, "middle_length": 14}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Code\\IssueTrigger\\IssueTrigger;\nuse PHPUnit\\Event\\Code\\Test;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfin", "suffix": "mpty-string\n */\n private string $file;\n\n /**\n * @var positive-int\n */\n private int $line;\n private bool $suppressed;\n private bool $ignoredByBaseline;\n private bool $ignoredByTest;\n private IssueTrigger $trigger;\n\n /**\n ", "middle": "al readonly class PhpDeprecationTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Test $test;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n /**\n * @var non-e", "meta": {"filepath": "src/Event/Events/Test/Issue/PhpDeprecationTriggered.php", "language": "php", "file_size": 3660, "cut_index": 614, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Code\\Test;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class PhpNoticeTriggered implements Ev", "suffix": " * @var positive-int\n */\n private int $line;\n private bool $suppressed;\n private bool $ignoredByBaseline;\n\n /**\n * @param non-empty-string $message\n * @param non-empty-string $file\n * @param positive-int $line\n *\n ", "middle": "ent\n{\n private Telemetry\\Info $telemetryInfo;\n private Test $test;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n /**\n * @var non-empty-string\n */\n private string $file;\n\n /**\n", "meta": {"filepath": "src/Event/Events/Test/Issue/PhpNoticeTriggered.php", "language": "php", "file_size": 3093, "cut_index": 614, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Code\\Test;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class PhpWarningTriggered implements E", "suffix": "\n * @var positive-int\n */\n private int $line;\n private bool $suppressed;\n private bool $ignoredByBaseline;\n\n /**\n * @param non-empty-string $message\n * @param non-empty-string $file\n * @param positive-int $line\n *\n ", "middle": "vent\n{\n private Telemetry\\Info $telemetryInfo;\n private Test $test;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n /**\n * @var non-empty-string\n */\n private string $file;\n\n /**", "meta": {"filepath": "src/Event/Events/Test/Issue/PhpWarningTriggered.php", "language": "php", "file_size": 3095, "cut_index": 614, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Code\\Test;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class NoticeTriggered implements Event", "suffix": " * @var positive-int\n */\n private int $line;\n private bool $suppressed;\n private bool $ignoredByBaseline;\n\n /**\n * @param non-empty-string $message\n * @param non-empty-string $file\n * @param positive-int $line\n *\n *", "middle": "\n{\n private Telemetry\\Info $telemetryInfo;\n private Test $test;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n /**\n * @var non-empty-string\n */\n private string $file;\n\n /**\n ", "meta": {"filepath": "src/Event/Events/Test/Issue/NoticeTriggered.php", "language": "php", "file_size": 3086, "cut_index": 614, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Event\\Code\\Test;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *", "suffix": "param non-empty-string $message\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Test $test, string $message)\n {\n $this->te", "middle": "/\nfinal readonly class PhpunitDeprecationTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Test $test;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n /**\n * @", "meta": {"filepath": "src/Event/Events/Test/Issue/PhpunitDeprecationTriggered.php", "language": "php", "file_size": 1811, "cut_index": 537, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse function trim;\nuse PHPUnit\\Event\\Code\\Test;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility pro", "suffix": " /**\n * @param non-empty-string $message\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Test $test, string $message)\n {\n ", "middle": "mise for PHPUnit\n */\nfinal readonly class PhpunitErrorTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Test $test;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n ", "meta": {"filepath": "src/Event/Events/Test/Issue/PhpunitErrorTriggered.php", "language": "php", "file_size": 1824, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Code\\Test;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfi", "suffix": "ByTest;\n\n /**\n * @param non-empty-string $message\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Test $test, string $message", "middle": "nal readonly class PhpunitWarningTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Test $test;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n private bool $ignored", "meta": {"filepath": "src/Event/Events/Test/Issue/PhpunitWarningTriggered.php", "language": "php", "file_size": 2156, "cut_index": 563, "middle_length": 229}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class After extends Metadata\n{\n /**\n * @var non-negative-int\n */\n private int $priority;\n\n /**\n * @param non-negative-int $priority\n */\n protected func", "suffix": " parent::__construct($level);\n\n $this->priority = $priority;\n }\n\n public function isAfter(): true\n {\n return true;\n }\n\n /**\n * @return non-negative-int\n */\n public function priority(): int\n {\n return", "middle": "tion __construct(Level $level, int $priority)\n {\n", "meta": {"filepath": "src/Metadata/After.php", "language": "php", "file_size": 940, "cut_index": 606, "middle_length": 52}} +{"prefix": " declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class BackupGlobals extends Metadata\n{\n private bool $enabled;\n\n protected function ", "suffix": "vel $level, bool $enabled)\n {\n parent::__construct($level);\n\n $this->enabled = $enabled;\n }\n\n public function isBackupGlobals(): true\n {\n return true;\n }\n\n public function enabled(): bool\n {\n return $this->e", "middle": "__construct(Le", "meta": {"filepath": "src/Metadata/BackupGlobals.php", "language": "php", "file_size": 803, "cut_index": 517, "middle_length": 14}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class BackupStaticProperties extends Metadata\n{\n private bool $enabled;\n\n protec", "suffix": ")\n {\n parent::__construct($level);\n\n $this->enabled = $enabled;\n }\n\n public function isBackupStaticProperties(): true\n {\n return true;\n }\n\n public function enabled(): bool\n {\n return $this->enabled;\n }\n}\n", "middle": "ted function __construct(Level $level, bool $enabled", "meta": {"filepath": "src/Metadata/BackupStaticProperties.php", "language": "php", "file_size": 821, "cut_index": 513, "middle_length": 52}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class CoversClass extends Metadata\n{\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @param class-string $className", "suffix": "evel, string $className)\n {\n parent::__construct($level);\n\n $this->className = $className;\n }\n\n public function isCoversClass(): true\n {\n return true;\n }\n\n /**\n * @return class-string\n */\n public function c", "middle": "\n */\n protected function __construct(Level $l", "meta": {"filepath": "src/Metadata/CoversClass.php", "language": "php", "file_size": 956, "cut_index": 582, "middle_length": 52}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class CoversClassesThatImplementInterface extends Metadata\n{\n /**\n * @var class", "suffix": " $this->interfaceName = $interfaceName;\n }\n\n public function isCoversClassesThatImplementInterface(): true\n {\n return true;\n }\n\n /**\n * @return class-string\n */\n public function interfaceName(): string\n {\n ret", "middle": "-string\n */\n private string $interfaceName;\n\n /**\n * @param class-string $interfaceName\n */\n protected function __construct(Level $level, string $interfaceName)\n {\n parent::__construct($level);\n\n ", "meta": {"filepath": "src/Metadata/CoversClassesThatImplementInterface.php", "language": "php", "file_size": 1032, "cut_index": 513, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class CoversMethod extends Metadata\n{\n /**\n * @var class-string\n */\n private string", "suffix": "evel $level, string $className, string $methodName)\n {\n parent::__construct($level);\n\n $this->className = $className;\n $this->methodName = $methodName;\n }\n\n public function isCoversMethod(): true\n {\n return true;\n ", "middle": " $className;\n\n /**\n * @var non-empty-string\n */\n private string $methodName;\n\n /**\n * @param class-string $className\n * @param non-empty-string $methodName\n */\n protected function __construct(L", "meta": {"filepath": "src/Metadata/CoversMethod.php", "language": "php", "file_size": 1281, "cut_index": 524, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class CoversNamespace extends Metadata\n{\n /**\n * @var non-empty-string\n */\n private string $namespace;\n\n /**\n * @param non-empty-strin", "suffix": "uct(Level $level, string $namespace)\n {\n parent::__construct($level);\n\n $this->namespace = $namespace;\n }\n\n public function isCoversNamespace(): true\n {\n return true;\n }\n\n /**\n * @return non-empty-string\n */\n ", "middle": "g $namespace\n */\n protected function __constr", "meta": {"filepath": "src/Metadata/CoversNamespace.php", "language": "php", "file_size": 976, "cut_index": 582, "middle_length": 52}} +{"prefix": "hp declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\nuse Closure;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class DataProviderClosure extends Metadata\n{\n private Closure $closure;", "suffix": "e;\n $this->validateArgumentCount = $validateArgumentCount;\n }\n\n public function isDataProviderClosure(): true\n {\n return true;\n }\n\n public function closure(): Closure\n {\n return $this->closure;\n }\n\n public funct", "middle": "\n private bool $validateArgumentCount;\n\n protected function __construct(Level $level, Closure $closure, bool $validateArgumentCount)\n {\n parent::__construct($level);\n\n $this->closure = $closur", "meta": {"filepath": "src/Metadata/DataProviderClosure.php", "language": "php", "file_size": 1093, "cut_index": 515, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class DependsOnMethod extends Metadata\n{\n /**\n * @var class-string\n */\n private string $classNam", "suffix": "odName\n */\n protected function __construct(Level $level, string $className, string $methodName, bool $deepClone, bool $shallowClone)\n {\n parent::__construct($level);\n\n $this->className = $className;\n $this->methodName = ", "middle": "e;\n\n /**\n * @var non-empty-string\n */\n private string $methodName;\n private bool $deepClone;\n private bool $shallowClone;\n\n /**\n * @param class-string $className\n * @param non-empty-string $meth", "meta": {"filepath": "src/Metadata/DependsOnMethod.php", "language": "php", "file_size": 1650, "cut_index": 537, "middle_length": 229}} +{"prefix": "hp declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ExcludeGlobalVariableFromBackup extends Metadata\n{\n /**\n * @var non-empty-s", "suffix": "uct($level);\n\n $this->globalVariableName = $globalVariableName;\n }\n\n public function isExcludeGlobalVariableFromBackup(): true\n {\n return true;\n }\n\n /**\n * @return non-empty-string\n */\n public function globalVariable", "middle": "tring\n */\n private string $globalVariableName;\n\n /**\n * @param non-empty-string $globalVariableName\n */\n protected function __construct(Level $level, string $globalVariableName)\n {\n parent::__constr", "meta": {"filepath": "src/Metadata/ExcludeGlobalVariableFromBackup.php", "language": "php", "file_size": 1071, "cut_index": 515, "middle_length": 229}} +{"prefix": "\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class IgnoreDeprecations extends Metadata\n{\n /** @var null|non-empty-string */\n ", "suffix": " $this->messagePattern = $messagePattern;\n }\n\n public function isIgnoreDeprecations(): true\n {\n return true;\n }\n\n /**\n * @return null|non-empty-string\n */\n public function messagePattern(): ?string\n {\n return $", "middle": " private ?string $messagePattern;\n\n /**\n * @param null|non-empty-string $messagePattern\n */\n protected function __construct(Level $level, null|string $messagePattern)\n {\n parent::__construct($level);\n\n ", "meta": {"filepath": "src/Metadata/IgnoreDeprecations.php", "language": "php", "file_size": 1027, "cut_index": 512, "middle_length": 229}} +{"prefix": "c static function afterClass(int $priority): AfterClass\n {\n return new AfterClass(Level::METHOD_LEVEL, $priority);\n }\n\n public static function allowMockObjectsWithoutExpectationsOnClass(): AllowMockObjectsWithoutExpectations\n {\n return new AllowMockObjectsWithoutExpectations(Level::CLASS_LEVEL);\n }\n\n public static function allowMockObjectsWithoutExpectationsOnMethod(): AllowMockObjectsWithoutExpectations\n {\n return new AllowMockObjectsWithoutExpectations(Level::METH", "suffix": "nabled): BackupGlobals\n {\n return new BackupGlobals(Level::METHOD_LEVEL, $enabled);\n }\n\n public static function backupStaticPropertiesOnClass(bool $enabled): BackupStaticProperties\n {\n return new BackupStaticProperties(Level::CLAS", "middle": "OD_LEVEL);\n }\n\n public static function backupGlobalsOnClass(bool $enabled): BackupGlobals\n {\n return new BackupGlobals(Level::CLASS_LEVEL, $enabled);\n }\n\n public static function backupGlobalsOnMethod(bool $e", "meta": {"filepath": "src/Metadata/Metadata.php", "language": "php", "file_size": 28085, "cut_index": 1331, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class PostCondition extends Metadata\n{\n /**\n * @var non-negative-int\n */\n private int $priority;\n\n /**\n * @param non-negative-int $pri", "suffix": "el $level, int $priority)\n {\n parent::__construct($level);\n\n $this->priority = $priority;\n }\n\n public function isPostCondition(): true\n {\n return true;\n }\n\n /**\n * @return non-negative-int\n */\n public funct", "middle": "ority\n */\n protected function __construct(Lev", "meta": {"filepath": "src/Metadata/PostCondition.php", "language": "php", "file_size": 956, "cut_index": 582, "middle_length": 52}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class PreCondition extends Metadata\n{\n /**\n * @var non-negative-int\n */\n private int $priority;\n\n /**\n * @param non-negative-int $prio", "suffix": "l $level, int $priority)\n {\n parent::__construct($level);\n\n $this->priority = $priority;\n }\n\n public function isPreCondition(): true\n {\n return true;\n }\n\n /**\n * @return non-negative-int\n */\n public functio", "middle": "rity\n */\n protected function __construct(Leve", "meta": {"filepath": "src/Metadata/PreCondition.php", "language": "php", "file_size": 954, "cut_index": 582, "middle_length": 52}} +{"prefix": "tatic function fromArray(array $metadata): self\n {\n return new self(...$metadata);\n }\n\n private function __construct(Metadata ...$metadata)\n {\n $this->metadata = $metadata;\n }\n\n /**\n * @return list\n */\n public function asArray(): array\n {\n return $this->metadata;\n }\n\n public function count(): int\n {\n return count($this->metadata);\n }\n\n /**\n * @phpstan-assert-if-true 0 $this->count()\n * @phpstan-assert-if-true array{", "suffix": "adata> $this->asArray()\n */\n public function isNotEmpty(): bool\n {\n return $this->count() > 0;\n }\n\n public function getIterator(): MetadataCollectionIterator\n {\n return new MetadataCollectionIterator($this);\n }\n\n publ", "middle": "} $this->asArray()\n */\n public function isEmpty(): bool\n {\n return $this->count() === 0;\n }\n\n /**\n * @phpstan-assert-if-true positive-int $this->count()\n * @phpstan-assert-if-true non-empty-list\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function implode;\nuse function sprintf;\nuse PHPUnit\\Event\\Code\\Test;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class WarningTriggered implements Even", "suffix": " * @var positive-int\n */\n private int $line;\n private bool $suppressed;\n private bool $ignoredByBaseline;\n\n /**\n * @param non-empty-string $message\n * @param non-empty-string $file\n * @param positive-int $line\n *\n ", "middle": "t\n{\n private Telemetry\\Info $telemetryInfo;\n private Test $test;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n /**\n * @var non-empty-string\n */\n private string $file;\n\n /**\n ", "meta": {"filepath": "src/Event/Events/Test/Issue/WarningTriggered.php", "language": "php", "file_size": 3088, "cut_index": 614, "middle_length": 229}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Before extends Metadata\n{\n /**\n * @var non-negative-int\n */\n private int $priority;\n\n /**\n * @param non-negative-int $priority\n */\n protected fun", "suffix": "\n parent::__construct($level);\n\n $this->priority = $priority;\n }\n\n public function isBefore(): true\n {\n return true;\n }\n\n /**\n * @return non-negative-int\n */\n public function priority(): int\n {\n retu", "middle": "ction __construct(Level $level, int $priority)\n {", "meta": {"filepath": "src/Metadata/Before.php", "language": "php", "file_size": 942, "cut_index": 606, "middle_length": 52}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class BeforeClass extends Metadata\n{\n /**\n * @var non-negative-int\n */\n private int $priority;\n\n /**\n * @param non-negative-int $prior", "suffix": " $level, int $priority)\n {\n parent::__construct($level);\n\n $this->priority = $priority;\n }\n\n public function isBeforeClass(): true\n {\n return true;\n }\n\n /**\n * @return non-negative-int\n */\n public function ", "middle": "ity\n */\n protected function __construct(Level", "meta": {"filepath": "src/Metadata/BeforeClass.php", "language": "php", "file_size": 952, "cut_index": 582, "middle_length": 52}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class CoversTrait extends Metadata\n{\n /**\n * @var trait-string\n */\n private string $traitName;\n\n /**\n * @param trait-string $traitName", "suffix": "evel, string $traitName)\n {\n parent::__construct($level);\n\n $this->traitName = $traitName;\n }\n\n public function isCoversTrait(): true\n {\n return true;\n }\n\n /**\n * @return trait-string\n */\n public function t", "middle": "\n */\n protected function __construct(Level $l", "meta": {"filepath": "src/Metadata/CoversTrait.php", "language": "php", "file_size": 956, "cut_index": 582, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class DependsOnClass extends Metadata\n{\n /**\n * @var class-string\n */\n private stri", "suffix": "Clone)\n {\n parent::__construct($level);\n\n $this->className = $className;\n $this->deepClone = $deepClone;\n $this->shallowClone = $shallowClone;\n }\n\n public function isDependsOnClass(): true\n {\n return tru", "middle": "ng $className;\n private bool $deepClone;\n private bool $shallowClone;\n\n /**\n * @param class-string $className\n */\n protected function __construct(Level $level, string $className, bool $deepClone, bool $shallow", "meta": {"filepath": "src/Metadata/DependsOnClass.php", "language": "php", "file_size": 1324, "cut_index": 524, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Group extends Metadata\n{\n /**\n * @var non-empty-string\n */\n private string $groupName;\n\n /**\n * @param non-empty-string $groupNa", "suffix": "$level, string $groupName)\n {\n parent::__construct($level);\n\n $this->groupName = $groupName;\n }\n\n public function isGroup(): true\n {\n return true;\n }\n\n /**\n * @return non-empty-string\n */\n public function g", "middle": "me\n */\n protected function __construct(Level ", "meta": {"filepath": "src/Metadata/Group.php", "language": "php", "file_size": 956, "cut_index": 582, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\nuse function assert;\nuse Iterator;\n\n/**\n * @template-implements Iterator\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal class MetadataCollectio", "suffix": "taCollection $metadata)\n {\n $this->metadata = $metadata->asArray();\n }\n\n public function rewind(): void\n {\n $this->position = 0;\n }\n\n public function valid(): bool\n {\n return isset($this->metadata[$this->position])", "middle": "nIterator implements Iterator\n{\n /**\n * @var list\n */\n private readonly array $metadata;\n\n /**\n * @var non-negative-int\n */\n private int $position = 0;\n\n public function __construct(Metada", "meta": {"filepath": "src/Metadata/MetadataCollectionIterator.php", "language": "php", "file_size": 1376, "cut_index": 524, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class AfterClass extends Metadata\n{\n /**\n * @var non-negative-int\n */\n private int $priority;\n\n /**\n * @param non-negative-int $priori", "suffix": "$level, int $priority)\n {\n parent::__construct($level);\n\n $this->priority = $priority;\n }\n\n public function isAfterClass(): true\n {\n return true;\n }\n\n /**\n * @return non-negative-int\n */\n public function pr", "middle": "ty\n */\n protected function __construct(Level ", "meta": {"filepath": "src/Metadata/AfterClass.php", "language": "php", "file_size": 950, "cut_index": 582, "middle_length": 52}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class CoversClassesThatExtendClass extends Metadata\n{\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @param class-", "suffix": "onstruct(Level $level, string $className)\n {\n parent::__construct($level);\n\n $this->className = $className;\n }\n\n public function isCoversClassesThatExtendClass(): true\n {\n return true;\n }\n\n /**\n * @return class-st", "middle": "string $className\n */\n protected function __c", "meta": {"filepath": "src/Metadata/CoversClassesThatExtendClass.php", "language": "php", "file_size": 990, "cut_index": 582, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class ExcludeStaticPropertyFromBackup extends Metadata\n{\n /**\n * @var class-string\n */", "suffix": " function __construct(Level $level, string $className, string $propertyName)\n {\n parent::__construct($level);\n\n $this->className = $className;\n $this->propertyName = $propertyName;\n }\n\n public function isExcludeStaticProper", "middle": "\n private string $className;\n\n /**\n * @var non-empty-string\n */\n private string $propertyName;\n\n /**\n * @param class-string $className\n * @param non-empty-string $propertyName\n */\n protected", "meta": {"filepath": "src/Metadata/ExcludeStaticPropertyFromBackup.php", "language": "php", "file_size": 1335, "cut_index": 524, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Event\\Test;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse function trim;\nuse PHPUnit\\Event\\Code\\Test;\nuse PHPUnit\\Event\\Event;\nuse PHPUnit\\Event\\Telemetry;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility pro", "suffix": " /**\n * @param non-empty-string $message\n *\n * @internal This method is not covered by the backward compatibility promise for PHPUnit\n */\n public function __construct(Telemetry\\Info $telemetryInfo, Test $test, string $message)\n {\n ", "middle": "mise for PHPUnit\n */\nfinal readonly class PhpunitNoticeTriggered implements Event\n{\n private Telemetry\\Info $telemetryInfo;\n private Test $test;\n\n /**\n * @var non-empty-string\n */\n private string $message;\n\n ", "meta": {"filepath": "src/Event/Events/Test/Issue/PhpunitNoticeTriggered.php", "language": "php", "file_size": 1826, "cut_index": 537, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class RequiresEnvironmentVariable extends Metadata\n{\n /**\n * @var non-empty-string\n */", "suffix": "\n */\n protected function __construct(Level $level, string $environmentVariableName, null|string $value)\n {\n parent::__construct($level);\n\n $this->environmentVariableName = $environmentVariableName;\n $this->value ", "middle": "\n private string $environmentVariableName;\n\n /**\n * @var ?non-empty-string\n */\n private null|string $value;\n\n /**\n * @param non-empty-string $environmentVariableName\n * @param ?non-empty-string $value", "meta": {"filepath": "src/Metadata/RequiresEnvironmentVariable.php", "language": "php", "file_size": 1418, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class RequiresMethod extends Metadata\n{\n /**\n * @var class-string\n */\n private stri", "suffix": "(Level $level, string $className, string $methodName)\n {\n parent::__construct($level);\n\n $this->className = $className;\n $this->methodName = $methodName;\n }\n\n public function isRequiresMethod(): true\n {\n return true", "middle": "ng $className;\n\n /**\n * @var non-empty-string\n */\n private string $methodName;\n\n /**\n * @param class-string $className\n * @param non-empty-string $methodName\n */\n protected function __construct", "meta": {"filepath": "src/Metadata/RequiresMethod.php", "language": "php", "file_size": 1285, "cut_index": 524, "middle_length": 229}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class RequiresOperatingSystem extends Metadata\n{\n /**\n * @var non-empty-string\n", "suffix": " $this->operatingSystem = $operatingSystem;\n }\n\n public function isRequiresOperatingSystem(): true\n {\n return true;\n }\n\n /**\n * @return non-empty-string\n */\n public function operatingSystem(): string\n {\n ret", "middle": " */\n private string $operatingSystem;\n\n /**\n * @param non-empty-string $operatingSystem\n */\n protected function __construct(Level $level, string $operatingSystem)\n {\n parent::__construct($level);\n\n ", "meta": {"filepath": "src/Metadata/RequiresOperatingSystem.php", "language": "php", "file_size": 1034, "cut_index": 513, "middle_length": 229}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\nuse PHPUnit\\Metadata\\Version\\Requirement;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class RequiresPhp extends Metadata\n{\n private Requirement $versionRequirement;\n\n protected function __construct(Level $level, Requ", "suffix": "_construct($level);\n\n $this->versionRequirement = $versionRequirement;\n }\n\n public function isRequiresPhp(): true\n {\n return true;\n }\n\n public function versionRequirement(): Requirement\n {\n return $this->versionRequir", "middle": "irement $versionRequirement)\n {\n parent::_", "meta": {"filepath": "src/Metadata/RequiresPhp.php", "language": "php", "file_size": 929, "cut_index": 606, "middle_length": 52}} +{"prefix": "hp declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\nuse PHPUnit\\Runner\\Extension\\Extension;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class RequiresPhpunitExtension extends Metadata", "suffix": "lass)\n {\n parent::__construct($level);\n\n $this->extensionClass = $extensionClass;\n }\n\n public function isRequiresPhpunitExtension(): true\n {\n return true;\n }\n\n /**\n * @return class-string\n */\n pu", "middle": "\n{\n /**\n * @var class-string\n */\n private string $extensionClass;\n\n /**\n * @param class-string $extensionClass\n */\n protected function __construct(Level $level, string $extensionC", "meta": {"filepath": "src/Metadata/RequiresPhpunitExtension.php", "language": "php", "file_size": 1091, "cut_index": 515, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class RequiresSetting extends Metadata\n{\n /**\n * @var non-empty-string\n */\n p", "suffix": "vel $level, string $setting, string $value)\n {\n parent::__construct($level);\n\n $this->setting = $setting;\n $this->value = $value;\n }\n\n public function isRequiresSetting(): true\n {\n return true;\n }\n\n /**\n ", "middle": "rivate string $setting;\n\n /**\n * @var non-empty-string\n */\n private string $value;\n\n /**\n * @param non-empty-string $setting\n * @param non-empty-string $value\n */\n protected function __construct(Le", "meta": {"filepath": "src/Metadata/RequiresSetting.php", "language": "php", "file_size": 1247, "cut_index": 518, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestDoxFormatter extends Metadata\n{\n /**\n * @var class-string\n */\n private st", "suffix": "ct(Level $level, string $className, string $methodName)\n {\n parent::__construct($level);\n\n $this->className = $className;\n $this->methodName = $methodName;\n }\n\n public function isTestDoxFormatter(): true\n {\n return ", "middle": "ring $className;\n\n /**\n * @var non-empty-string\n */\n private string $methodName;\n\n /**\n * @param class-string $className\n * @param non-empty-string $methodName\n */\n protected function __constru", "meta": {"filepath": "src/Metadata/TestDoxFormatter.php", "language": "php", "file_size": 1289, "cut_index": 524, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class UsesClass extends Metadata\n{\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @param class-string $className\n ", "suffix": "el, string $className)\n {\n parent::__construct($level);\n\n $this->className = $className;\n }\n\n public function isUsesClass(): true\n {\n return true;\n }\n\n /**\n * @return class-string\n */\n public function class", "middle": " */\n protected function __construct(Level $lev", "meta": {"filepath": "src/Metadata/UsesClass.php", "language": "php", "file_size": 952, "cut_index": 582, "middle_length": 52}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class UsesClassesThatImplementInterface extends Metadata\n{\n /**\n * @var class-s", "suffix": " $this->interfaceName = $interfaceName;\n }\n\n public function isUsesClassesThatImplementInterface(): true\n {\n return true;\n }\n\n /**\n * @return class-string\n */\n public function interfaceName(): string\n {\n return ", "middle": "tring\n */\n private string $interfaceName;\n\n /**\n * @param class-string $interfaceName\n */\n protected function __construct(Level $level, string $interfaceName)\n {\n parent::__construct($level);\n\n ", "meta": {"filepath": "src/Metadata/UsesClassesThatImplementInterface.php", "language": "php", "file_size": 1028, "cut_index": 513, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class UsesMethod extends Metadata\n{\n /**\n * @var class-string\n */\n private string $", "suffix": "el $level, string $className, string $methodName)\n {\n parent::__construct($level);\n\n $this->className = $className;\n $this->methodName = $methodName;\n }\n\n public function isUsesMethod(): true\n {\n return true;\n }\n", "middle": "className;\n\n /**\n * @var non-empty-string\n */\n private string $methodName;\n\n /**\n * @param class-string $className\n * @param non-empty-string $methodName\n */\n protected function __construct(Lev", "meta": {"filepath": "src/Metadata/UsesMethod.php", "language": "php", "file_size": 1277, "cut_index": 524, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class UsesTrait extends Metadata\n{\n /**\n * @var trait-string\n */\n private string $traitName;\n\n /**\n * @param trait-string $traitName\n ", "suffix": "el, string $traitName)\n {\n parent::__construct($level);\n\n $this->traitName = $traitName;\n }\n\n public function isUsesTrait(): true\n {\n return true;\n }\n\n /**\n * @return trait-string\n */\n public function trait", "middle": " */\n protected function __construct(Level $lev", "meta": {"filepath": "src/Metadata/UsesTrait.php", "language": "php", "file_size": 952, "cut_index": 582, "middle_length": 52}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata\\Version;\n\nuse function version_compare;\nuse PHPUnit\\Util\\VersionComparisonOperator;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class Co", "suffix": "ersion = $version;\n $this->operator = $operator;\n }\n\n public function isSatisfiedBy(string $version): bool\n {\n return version_compare($version, $this->version, $this->operator->asString());\n }\n\n public function asString(): str", "middle": "mparisonRequirement extends Requirement\n{\n private string $version;\n private VersionComparisonOperator $operator;\n\n public function __construct(string $version, VersionComparisonOperator $operator)\n {\n $this->v", "meta": {"filepath": "src/Metadata/Version/ComparisonRequirement.php", "language": "php", "file_size": 1170, "cut_index": 518, "middle_length": 229}} +{"prefix": "es\\DependsExternalUsingDeepClone;\nuse PHPUnit\\Framework\\Attributes\\DependsExternalUsingShallowClone;\nuse PHPUnit\\Framework\\Attributes\\DependsOnClass;\nuse PHPUnit\\Framework\\Attributes\\DependsOnClassUsingDeepClone;\nuse PHPUnit\\Framework\\Attributes\\DependsOnClassUsingShallowClone;\nuse PHPUnit\\Framework\\Attributes\\DependsUsingDeepClone;\nuse PHPUnit\\Framework\\Attributes\\DependsUsingShallowClone;\nuse PHPUnit\\Framework\\Attributes\\DisableReturnValueGenerationForTestDoubles;\nuse PHPUnit\\Framework\\Attributes\\DoesNotP", "suffix": "Deprecations;\nuse PHPUnit\\Framework\\Attributes\\IgnorePhpunitDeprecations;\nuse PHPUnit\\Framework\\Attributes\\IgnorePhpunitWarnings;\nuse PHPUnit\\Framework\\Attributes\\Large;\nuse PHPUnit\\Framework\\Attributes\\Medium;\nuse PHPUnit\\Framework\\Attributes\\PostConditio", "middle": "erformAssertions;\nuse PHPUnit\\Framework\\Attributes\\ExcludeGlobalVariableFromBackup;\nuse PHPUnit\\Framework\\Attributes\\ExcludeStaticPropertyFromBackup;\nuse PHPUnit\\Framework\\Attributes\\Group;\nuse PHPUnit\\Framework\\Attributes\\Ignore", "meta": {"filepath": "src/Metadata/Parser/AttributeParser.php", "language": "php", "file_size": 38408, "cut_index": 2151, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata\\Version;\n\nuse function preg_match;\nuse PharIo\\Version\\UnsupportedVersionConstraintException;\nuse PharIo\\Version\\VersionConstraintParser;\nuse PHPUnit\\Metadata\\InvalidVersionRequirementException;\nuse PHPUnit\\Util\\InvalidVersionOperatorException;\nuse PHPUnit\\U", "suffix": "ION_COMPARISON = \"/(?P!=|<|<=|<>|=|==|>|>=)?\\s*(?P[\\d\\.-]+(dev|(RC|alpha|beta)[\\d\\.])?)[ \\t]*\\r?$/m\";\n\n /**\n * @throws InvalidVersionOperatorException\n * @throws InvalidVersionRequirementException\n */\n public static fun", "middle": "til\\VersionComparisonOperator;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nabstract readonly class Requirement\n{\n private const string VERS", "meta": {"filepath": "src/Metadata/Version/Requirement.php", "language": "php", "file_size": 1883, "cut_index": 537, "middle_length": 229}} +{"prefix": "art of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata\\Parser;\n\nuse function assert;\nuse function class_exists;\nuse function method_exists;\nuse PHPUnit\\Metadata\\MetadataCollection;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by th", "suffix": "e = [];\n\n /**\n * @var array\n */\n private array $methodCache = [];\n\n /**\n * @var array\n */\n private array $classAndMethodCache = [];\n\n public function", "middle": "e backward compatibility promise for PHPUnit\n */\nfinal class CachingParser implements Parser\n{\n private readonly Parser $reader;\n\n /**\n * @var array\n */\n private array $classCach", "meta": {"filepath": "src/Metadata/Parser/CachingParser.php", "language": "php", "file_size": 2699, "cut_index": 563, "middle_length": 229}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class CoversFunction extends Metadata\n{\n /**\n * @var non-empty-string\n */\n private string $functionName;\n\n /**\n * @param non-empty-str", "suffix": "onstruct(Level $level, string $functionName)\n {\n parent::__construct($level);\n\n $this->functionName = $functionName;\n }\n\n public function isCoversFunction(): true\n {\n return true;\n }\n\n /**\n * @return non-empty-str", "middle": "ing $functionName\n */\n protected function __c", "meta": {"filepath": "src/Metadata/CoversFunction.php", "language": "php", "file_size": 995, "cut_index": 582, "middle_length": 52}} +{"prefix": "\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class RequiresFunction extends Metadata\n{\n /**\n * @var non-empty-string\n *", "suffix": "unctionName = $functionName;\n }\n\n public function isRequiresFunction(): true\n {\n return true;\n }\n\n /**\n * @return non-empty-string\n */\n public function functionName(): string\n {\n return $this->functionName;\n }\n", "middle": "/\n private string $functionName;\n\n /**\n * @param non-empty-string $functionName\n */\n protected function __construct(Level $level, string $functionName)\n {\n parent::__construct($level);\n\n $this->f", "meta": {"filepath": "src/Metadata/RequiresFunction.php", "language": "php", "file_size": 999, "cut_index": 512, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\nuse PHPUnit\\Metadata\\Version\\Requirement;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class RequiresPhpExtension extends Metadata\n{\n /**\n * @var n", "suffix": "Requirement $versionRequirement)\n {\n parent::__construct($level);\n\n $this->extension = $extension;\n $this->versionRequirement = $versionRequirement;\n }\n\n public function isRequiresPhpExtension(): true\n {\n re", "middle": "on-empty-string\n */\n private string $extension;\n private ?Requirement $versionRequirement;\n\n /**\n * @param non-empty-string $extension\n */\n protected function __construct(Level $level, string $extension, ?", "meta": {"filepath": "src/Metadata/RequiresPhpExtension.php", "language": "php", "file_size": 1652, "cut_index": 537, "middle_length": 229}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestDox extends Metadata\n{\n /**\n * @var non-empty-string\n */\n private string $text;\n\n /**\n * @param non-empty-string $text\n */\n protected functio", "suffix": " parent::__construct($level);\n\n $this->text = $text;\n }\n\n public function isTestDox(): true\n {\n return true;\n }\n\n /**\n * @return non-empty-string\n */\n public function text(): string\n {\n return $this->tex", "middle": "n __construct(Level $level, string $text)\n {\n ", "meta": {"filepath": "src/Metadata/TestDox.php", "language": "php", "file_size": 925, "cut_index": 606, "middle_length": 52}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class UsesClassesThatExtendClass extends Metadata\n{\n /**\n * @var class-string\n */\n private string $className;\n\n /**\n * @param class-st", "suffix": "struct(Level $level, string $className)\n {\n parent::__construct($level);\n\n $this->className = $className;\n }\n\n public function isUsesClassesThatExtendClass(): true\n {\n return true;\n }\n\n /**\n * @return class-string", "middle": "ring $className\n */\n protected function __con", "meta": {"filepath": "src/Metadata/UsesClassesThatExtendClass.php", "language": "php", "file_size": 986, "cut_index": 582, "middle_length": 52}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class UsesNamespace extends Metadata\n{\n /**\n * @var non-empty-string\n */\n private string $namespace;\n\n /**\n * @param non-empty-string ", "suffix": "t(Level $level, string $namespace)\n {\n parent::__construct($level);\n\n $this->namespace = $namespace;\n }\n\n public function isUsesNamespace(): true\n {\n return true;\n }\n\n /**\n * @return non-empty-string\n */\n p", "middle": "$namespace\n */\n protected function __construc", "meta": {"filepath": "src/Metadata/UsesNamespace.php", "language": "php", "file_size": 972, "cut_index": 582, "middle_length": 52}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata\\Version;\n\nuse function assert;\nuse function preg_replace;\nuse PharIo\\Version\\Version;\nuse PharIo\\Version\\VersionConstraint;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for P", "suffix": "\n }\n\n public function isSatisfiedBy(string $version): bool\n {\n return $this->constraint->complies(\n new Version($this->sanitize($version)),\n );\n }\n\n public function asString(): string\n {\n return $this->cons", "middle": "HPUnit\n */\nfinal readonly class ConstraintRequirement extends Requirement\n{\n private VersionConstraint $constraint;\n\n public function __construct(VersionConstraint $constraint)\n {\n $this->constraint = $constraint;", "meta": {"filepath": "src/Metadata/Version/ConstraintRequirement.php", "language": "php", "file_size": 1298, "cut_index": 524, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\nuse const PHP_EOL;\nuse function sprintf;\nuse PHPUnit\\Exception;\nuse RuntimeException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by t", "suffix": " * @param non-empty-string $file\n * @param positive-int $line\n * @param non-empty-string $message\n */\n public function __construct(string $attributeName, string $target, string $file, int $line, string $message)\n {\n parent:", "middle": "he backward compatibility promise for PHPUnit\n */\nfinal class InvalidAttributeException extends RuntimeException implements Exception\n{\n /**\n * @param non-empty-string $attributeName\n * @param non-empty-string $target\n", "meta": {"filepath": "src/Metadata/Exception/InvalidAttributeException.php", "language": "php", "file_size": 1292, "cut_index": 524, "middle_length": 229}} +{"prefix": "?php declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class IgnorePhpunitWarnings extends Metadata\n{\n /** @var null|non-empty-string */\n ", "suffix": " $this->messagePattern = $messagePattern;\n }\n\n public function isIgnorePhpunitWarnings(): true\n {\n return true;\n }\n\n /**\n * @return null|non-empty-string\n */\n public function messagePattern(): ?string\n {\n ret", "middle": " private ?string $messagePattern;\n\n /**\n * @param null|non-empty-string $messagePattern\n */\n protected function __construct(Level $level, null|string $messagePattern)\n {\n parent::__construct($level);\n\n ", "meta": {"filepath": "src/Metadata/IgnorePhpunitWarnings.php", "language": "php", "file_size": 1033, "cut_index": 513, "middle_length": 229}} +{"prefix": "hp declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class RequiresOperatingSystemFamily extends Metadata\n{\n /**\n * @var non-empty-str", "suffix": "_construct($level);\n\n $this->operatingSystemFamily = $operatingSystemFamily;\n }\n\n public function isRequiresOperatingSystemFamily(): true\n {\n return true;\n }\n\n /**\n * @return non-empty-string\n */\n public function ope", "middle": "ing\n */\n private string $operatingSystemFamily;\n\n /**\n * @param non-empty-string $operatingSystemFamily\n */\n protected function __construct(Level $level, string $operatingSystemFamily)\n {\n parent::_", "meta": {"filepath": "src/Metadata/RequiresOperatingSystemFamily.php", "language": "php", "file_size": 1088, "cut_index": 515, "middle_length": 229}} +{"prefix": "declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class TestWith extends Metadata\n{\n private mixed $data;\n\n /**\n * @var ?non-empty-", "suffix": " $this->data = $data;\n $this->name = $name;\n }\n\n public function isTestWith(): true\n {\n return true;\n }\n\n public function data(): mixed\n {\n return $this->data;\n }\n\n /**\n * @phpstan-assert-if-true !null $t", "middle": "string\n */\n private ?string $name;\n\n /**\n * @param ?non-empty-string $name\n */\n protected function __construct(Level $level, mixed $data, ?string $name = null)\n {\n parent::__construct($level);\n\n ", "meta": {"filepath": "src/Metadata/TestWith.php", "language": "php", "file_size": 1234, "cut_index": 518, "middle_length": 229}} +{"prefix": "e(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class WithEnvironmentVariable extends Metadata\n{\n /**\n * @var non-empty-string\n */\n ", "suffix": " */\n protected function __construct(Level $level, string $environmentVariableName, null|string $value)\n {\n parent::__construct($level);\n\n $this->environmentVariableName = $environmentVariableName;\n $this->value ", "middle": " private string $environmentVariableName;\n\n /**\n * @var ?non-empty-string\n */\n private null|string $value;\n\n /**\n * @param non-empty-string $environmentVariableName\n * @param ?non-empty-string $value\n ", "meta": {"filepath": "src/Metadata/WithEnvironmentVariable.php", "language": "php", "file_size": 1410, "cut_index": 524, "middle_length": 229}} +{"prefix": "s=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class DataProvider extends Metadata\n{\n /**\n * @var class-string\n */\n private string $className;\n", "suffix": "ring $methodName\n */\n protected function __construct(Level $level, string $className, string $methodName, bool $validateArgumentCount, bool $skipWhenEmpty)\n {\n parent::__construct($level);\n\n $this->className = $className", "middle": "\n /**\n * @var non-empty-string\n */\n private string $methodName;\n private bool $validateArgumentCount;\n private bool $skipWhenEmpty;\n\n /**\n * @param class-string $className\n * @param non-empty-st", "meta": {"filepath": "src/Metadata/DataProvider.php", "language": "php", "file_size": 1745, "cut_index": 537, "middle_length": 229}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\nuse PHPUnit\\Metadata\\Version\\Requirement;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class RequiresPhpunit extends Metadata\n{\n private Requirement $versionRequirement;\n\n protected function __construct(Level $level, ", "suffix": "t::__construct($level);\n\n $this->versionRequirement = $versionRequirement;\n }\n\n public function isRequiresPhpunit(): true\n {\n return true;\n }\n\n public function versionRequirement(): Requirement\n {\n return $this->versi", "middle": "Requirement $versionRequirement)\n {\n paren", "meta": {"filepath": "src/Metadata/RequiresPhpunit.php", "language": "php", "file_size": 937, "cut_index": 606, "middle_length": 52}} +{"prefix": " * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata;\n\n/**\n * @immutable\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class UsesFunction extends Metadata\n{\n /**\n * @var non-empty-string\n */\n private string $functionName;\n\n /**\n * @param non-empty-strin", "suffix": "struct(Level $level, string $functionName)\n {\n parent::__construct($level);\n\n $this->functionName = $functionName;\n }\n\n public function isUsesFunction(): true\n {\n return true;\n }\n\n /**\n * @return non-empty-string\n", "middle": "g $functionName\n */\n protected function __con", "meta": {"filepath": "src/Metadata/UsesFunction.php", "language": "php", "file_size": 991, "cut_index": 582, "middle_length": 52}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata\\Parser;\n\n/**\n * Attribute information is static within a single PHP process.\n * It is therefore okay to use a Singleton registry here.\n *\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for", "suffix": "ic ?Parser $instance = null;\n\n public static function parser(): Parser\n {\n return self::$instance ?? self::$instance = self::build();\n }\n\n private static function build(): Parser\n {\n return new CachingParser(new AttributeParser", "middle": " PHPUnit\n */\nfinal class Registry\n{\n private stat", "meta": {"filepath": "src/Metadata/Parser/Registry.php", "language": "php", "file_size": 925, "cut_index": 606, "middle_length": 52}} +{"prefix": "HPUnit\\Metadata\\Parser\\Registry as MetadataRegistry;\nuse PHPUnit\\Metadata\\TestWith;\nuse PHPUnit\\Util\\Test;\nuse ReflectionMethod;\nuse Throwable;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class DataProvider\n{\n /**\n * @param class-string $className\n * @param non-empty-string $methodName\n *\n * @throws", "suffix": "Method($className, $methodName);\n $dataProvider = $metadataCollection->isDataProvider();\n $dataProviderClosure = $metadataCollection->isDataProviderClosure();\n $testWith = $metadataCollection->isTestWith();\n\n i", "middle": " InvalidDataProviderException\n *\n * @return ?array\n */\n public function providedData(string $className, string $methodName): ?array\n {\n $metadataCollection = MetadataRegistry::parser()->for", "meta": {"filepath": "src/Metadata/Api/DataProvider.php", "language": "php", "file_size": 17940, "cut_index": 1331, "middle_length": 229}} +{"prefix": "hp declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata\\Parser;\n\nuse PHPUnit\\Metadata\\MetadataCollection;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This interface is not covered by the backward compatibility", "suffix": "am non-empty-string $methodName\n */\n public function forMethod(string $className, string $methodName): MetadataCollection;\n\n /**\n * @param class-string $className\n * @param non-empty-string $methodName\n */\n public function forC", "middle": " promise for PHPUnit\n */\ninterface Parser\n{\n /**\n * @param class-string $className\n */\n public function forClass(string $className): MetadataCollection;\n\n /**\n * @param class-string $className\n * @par", "meta": {"filepath": "src/Metadata/Parser/Parser.php", "language": "php", "file_size": 1076, "cut_index": 515, "middle_length": 229}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Metadata\\Api;\n\nuse function array_flip;\nuse function array_key_exists;\nuse function array_unique;\nuse function array_values;\nuse function assert;\nuse function strtolower;\nuse function trim;\nuse PHPUnit\\Framework\\TestSize\\TestSize;\nuse PHPUnit\\Metadata\\CoversClass;\nuse PHPUnit\\Metadata\\CoversFunction;\nuse PHPUnit\\Metadata\\Group;\nuse PHPUnit\\M", "suffix": "ise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal class Groups\n{\n /**\n * @var array>\n */\n private static array $groupCache = [];\n\n /**\n ", "middle": "etadata\\Parser\\Registry;\nuse PHPUnit\\Metadata\\RequiresPhpExtension;\nuse PHPUnit\\Metadata\\UsesClass;\nuse PHPUnit\\Metadata\\UsesFunction;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility prom", "meta": {"filepath": "src/Metadata/Api/Groups.php", "language": "php", "file_size": 3994, "cut_index": 614, "middle_length": 229}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\InvalidArgumentException;\nuse PHPUnit\\Event\\Test\\Failed;\nuse PHPUnit\\Event\\Test\\FailedSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not ", "suffix": "PUnit\n */\nfinal readonly class TestFailedSubscriber extends Subscriber implements FailedSubscriber\n{\n /**\n * @throws InvalidArgumentException\n */\n public function notify(Failed $event): void\n {\n $this->logger()->testFailed($event);\n", "middle": "covered by the backward compatibility promise for PH", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestFailedSubscriber.php", "language": "php", "file_size": 875, "cut_index": 559, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\InvalidArgumentException;\nuse PHPUnit\\Event\\Test\\Finished;\nuse PHPUnit\\Event\\Test\\FinishedSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal Th", "suffix": "y promise for PHPUnit\n */\nfinal readonly class TestFinishedSubscriber extends Subscriber implements FinishedSubscriber\n{\n /**\n * @throws InvalidArgumentException\n */\n public function notify(Finished $event): void\n {\n $this->logger()", "middle": "is class is not covered by the backward compatibilit", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestFinishedSubscriber.php", "language": "php", "file_size": 887, "cut_index": 547, "middle_length": 52}} +{"prefix": "p declare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\Test\\NoticeTriggered;\nuse PHPUnit\\Event\\Test\\NoticeTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal T", "suffix": "ty promise for PHPUnit\n */\nfinal readonly class TestNoticeTriggeredSubscriber extends Subscriber implements NoticeTriggeredSubscriber\n{\n public function notify(NoticeTriggered $event): void\n {\n $this->logger()->testNoticeTriggered($event);\n ", "middle": "his class is not covered by the backward compatibili", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestNoticeTriggeredSubscriber.php", "language": "php", "file_size": 829, "cut_index": 516, "middle_length": 52}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\Test\\PhpDeprecationTriggered;\nuse PHPUnit\\Event\\Test\\PhpDeprecationTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by", "suffix": "final readonly class TestPhpDeprecationTriggeredSubscriber extends Subscriber implements PhpDeprecationTriggeredSubscriber\n{\n public function notify(PhpDeprecationTriggered $event): void\n {\n $this->logger()->testPhpDeprecationTriggered($event)", "middle": " the backward compatibility promise for PHPUnit\n */\n", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestPhpDeprecationTriggeredSubscriber.php", "language": "php", "file_size": 877, "cut_index": 559, "middle_length": 52}} +{"prefix": "pes=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\Test\\PhpNoticeTriggered;\nuse PHPUnit\\Event\\Test\\PhpNoticeTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is ", "suffix": "r PHPUnit\n */\nfinal readonly class TestPhpNoticeTriggeredSubscriber extends Subscriber implements PhpNoticeTriggeredSubscriber\n{\n public function notify(PhpNoticeTriggered $event): void\n {\n $this->logger()->testPhpNoticeTriggered($event);\n ", "middle": "not covered by the backward compatibility promise fo", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestPhpNoticeTriggeredSubscriber.php", "language": "php", "file_size": 847, "cut_index": 535, "middle_length": 52}} +{"prefix": "ict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\Test\\PhpWarningTriggered;\nuse PHPUnit\\Event\\Test\\PhpWarningTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This c", "suffix": "omise for PHPUnit\n */\nfinal readonly class TestPhpWarningTriggeredSubscriber extends Subscriber implements PhpWarningTriggeredSubscriber\n{\n public function notify(PhpWarningTriggered $event): void\n {\n $this->logger()->testPhpWarningTriggered($", "middle": "lass is not covered by the backward compatibility pr", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestPhpWarningTriggeredSubscriber.php", "language": "php", "file_size": 853, "cut_index": 529, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\Test\\PhpunitDeprecationTriggered;\nuse PHPUnit\\Event\\Test\\PhpunitDeprecationTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This cla", "suffix": "ise for PHPUnit\n */\nfinal readonly class TestPhpunitDeprecationTriggeredSubscriber extends Subscriber implements PhpunitDeprecationTriggeredSubscriber\n{\n public function notify(PhpunitDeprecationTriggered $event): void\n {\n $this->logger()->tes", "middle": "ss is not covered by the backward compatibility prom", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestPhpunitDeprecationTriggeredSubscriber.php", "language": "php", "file_size": 901, "cut_index": 547, "middle_length": 52}} +{"prefix": "ict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\Test\\PhpunitErrorTriggered;\nuse PHPUnit\\Event\\Test\\PhpunitErrorTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal Th", "suffix": "y promise for PHPUnit\n */\nfinal readonly class TestPhpunitErrorTriggeredSubscriber extends Subscriber implements PhpunitErrorTriggeredSubscriber\n{\n public function notify(PhpunitErrorTriggered $event): void\n {\n $this->logger()->testPhpunitErro", "middle": "is class is not covered by the backward compatibilit", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestPhpunitErrorTriggeredSubscriber.php", "language": "php", "file_size": 865, "cut_index": 529, "middle_length": 52}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\Test\\PhpunitNoticeTriggered;\nuse PHPUnit\\Event\\Test\\PhpunitNoticeTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by t", "suffix": "nal readonly class TestPhpunitNoticeTriggeredSubscriber extends Subscriber implements PhpunitNoticeTriggeredSubscriber\n{\n public function notify(PhpunitNoticeTriggered $event): void\n {\n $this->logger()->testPhpunitNoticeTriggered($event);\n ", "middle": "he backward compatibility promise for PHPUnit\n */\nfi", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestPhpunitNoticeTriggeredSubscriber.php", "language": "php", "file_size": 871, "cut_index": 559, "middle_length": 52}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\Test\\PhpunitWarningTriggered;\nuse PHPUnit\\Event\\Test\\PhpunitWarningTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by", "suffix": "final readonly class TestPhpunitWarningTriggeredSubscriber extends Subscriber implements PhpunitWarningTriggeredSubscriber\n{\n public function notify(PhpunitWarningTriggered $event): void\n {\n $this->logger()->testPhpunitWarningTriggered($event)", "middle": " the backward compatibility promise for PHPUnit\n */\n", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestPhpunitWarningTriggeredSubscriber.php", "language": "php", "file_size": 877, "cut_index": 559, "middle_length": 52}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\InvalidArgumentException;\nuse PHPUnit\\Event\\Test\\PreparationErrored;\nuse PHPUnit\\Event\\Test\\PreparationErroredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward", "suffix": "y class TestPreparationErroredSubscriber extends Subscriber implements PreparationErroredSubscriber\n{\n /**\n * @throws InvalidArgumentException\n */\n public function notify(PreparationErrored $event): void\n {\n $this->logger()->testPre", "middle": " compatibility promise for PHPUnit\n */\nfinal readonl", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestPreparationErroredSubscriber.php", "language": "php", "file_size": 937, "cut_index": 606, "middle_length": 52}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\InvalidArgumentException;\nuse PHPUnit\\Event\\Test\\PreparationFailed;\nuse PHPUnit\\Event\\Test\\PreparationFailedSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward c", "suffix": "class TestPreparationFailedSubscriber extends Subscriber implements PreparationFailedSubscriber\n{\n /**\n * @throws InvalidArgumentException\n */\n public function notify(PreparationFailed $event): void\n {\n $this->logger()->testPrepared", "middle": "ompatibility promise for PHPUnit\n */\nfinal readonly ", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestPreparationFailedSubscriber.php", "language": "php", "file_size": 932, "cut_index": 606, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\InvalidArgumentException;\nuse PHPUnit\\Event\\Test\\Prepared;\nuse PHPUnit\\Event\\Test\\PreparedSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal Th", "suffix": "y promise for PHPUnit\n */\nfinal readonly class TestPreparedSubscriber extends Subscriber implements PreparedSubscriber\n{\n /**\n * @throws InvalidArgumentException\n */\n public function notify(Prepared $event): void\n {\n $this->logger()", "middle": "is class is not covered by the backward compatibilit", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestPreparedSubscriber.php", "language": "php", "file_size": 887, "cut_index": 547, "middle_length": 52}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\Test\\PrintedUnexpectedOutput;\nuse PHPUnit\\Event\\Test\\PrintedUnexpectedOutputSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by", "suffix": "final readonly class TestPrintedUnexpectedOutputSubscriber extends Subscriber implements PrintedUnexpectedOutputSubscriber\n{\n public function notify(PrintedUnexpectedOutput $event): void\n {\n $this->logger()->testPrintedUnexpectedOutput($event)", "middle": " the backward compatibility promise for PHPUnit\n */\n", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestPrintedUnexpectedOutputSubscriber.php", "language": "php", "file_size": 877, "cut_index": 559, "middle_length": 52}} +{"prefix": "n \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\InvalidArgumentException;\nuse PHPUnit\\Event\\TestRunner\\ExecutionFinished;\nuse PHPUnit\\Event\\TestRunner\\ExecutionFinishedSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by th", "suffix": "al readonly class TestRunnerFinishedSubscriber extends Subscriber implements ExecutionFinishedSubscriber\n{\n /**\n * @throws InvalidArgumentException\n */\n public function notify(ExecutionFinished $event): void\n {\n $this->logger()->tes", "middle": "e backward compatibility promise for PHPUnit\n */\nfin", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestRunnerFinishedSubscriber.php", "language": "php", "file_size": 941, "cut_index": 606, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\Application\\Started;\nuse PHPUnit\\Event\\Application\\StartedSubscriber;\nuse PHPUnit\\Event\\InvalidArgumentException;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * ", "suffix": "compatibility promise for PHPUnit\n */\nfinal readonly class TestRunnerStartedSubscriber extends Subscriber implements StartedSubscriber\n{\n /**\n * @throws InvalidArgumentException\n */\n public function notify(Started $event): void\n {\n ", "middle": "@internal This class is not covered by the backward ", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestRunnerStartedSubscriber.php", "language": "php", "file_size": 901, "cut_index": 547, "middle_length": 52}} +{"prefix": "is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\InvalidArgumentException;\nuse PHPUnit\\Event\\Test\\Skipped;\nuse PHPUnit\\Event\\Test\\SkippedSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is no", "suffix": "PHPUnit\n */\nfinal readonly class TestSkippedSubscriber extends Subscriber implements SkippedSubscriber\n{\n /**\n * @throws InvalidArgumentException\n */\n public function notify(Skipped $event): void\n {\n $this->logger()->testSkipped($ev", "middle": "t covered by the backward compatibility promise for ", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestSkippedSubscriber.php", "language": "php", "file_size": 881, "cut_index": 559, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\InvalidArgumentException;\nuse PHPUnit\\Event\\TestSuite\\Finished;\nuse PHPUnit\\Event\\TestSuite\\FinishedSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @i", "suffix": "mpatibility promise for PHPUnit\n */\nfinal readonly class TestSuiteFinishedSubscriber extends Subscriber implements FinishedSubscriber\n{\n /**\n * @throws InvalidArgumentException\n */\n public function notify(Finished $event): void\n {\n ", "middle": "nternal This class is not covered by the backward co", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestSuiteFinishedSubscriber.php", "language": "php", "file_size": 907, "cut_index": 547, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\InvalidArgumentException;\nuse PHPUnit\\Event\\TestSuite\\Skipped;\nuse PHPUnit\\Event\\TestSuite\\SkippedSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @int", "suffix": "atibility promise for PHPUnit\n */\nfinal readonly class TestSuiteSkippedSubscriber extends Subscriber implements SkippedSubscriber\n{\n /**\n * @throws InvalidArgumentException\n */\n public function notify(Skipped $event): void\n {\n $this", "middle": "ernal This class is not covered by the backward comp", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestSuiteSkippedSubscriber.php", "language": "php", "file_size": 901, "cut_index": 547, "middle_length": 52}} +{"prefix": "* This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\InvalidArgumentException;\nuse PHPUnit\\Event\\TestSuite\\Started;\nuse PHPUnit\\Event\\TestSuite\\StartedSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @int", "suffix": "atibility promise for PHPUnit\n */\nfinal readonly class TestSuiteStartedSubscriber extends Subscriber implements StartedSubscriber\n{\n /**\n * @throws InvalidArgumentException\n */\n public function notify(Started $event): void\n {\n $this", "middle": "ernal This class is not covered by the backward comp", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestSuiteStartedSubscriber.php", "language": "php", "file_size": 901, "cut_index": 547, "middle_length": 52}} +{"prefix": "clare(strict_types=1);\n/*\n * This file is part of PHPUnit.\n *\n * (c) Sebastian Bergmann \n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\OpenTestReporting;\n\nuse PHPUnit\\Event\\Test\\WarningTriggered;\nuse PHPUnit\\Event\\Test\\WarningTriggeredSubscriber;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal Thi", "suffix": " promise for PHPUnit\n */\nfinal readonly class TestWarningTriggeredSubscriber extends Subscriber implements WarningTriggeredSubscriber\n{\n public function notify(WarningTriggered $event): void\n {\n $this->logger()->testWarningTriggered($event);\n ", "middle": "s class is not covered by the backward compatibility", "meta": {"filepath": "src/Logging/OpenTestReporting/Subscriber/TestWarningTriggeredSubscriber.php", "language": "php", "file_size": 835, "cut_index": 520, "middle_length": 52}} +{"prefix": "tian@phpunit.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */\nnamespace PHPUnit\\Logging\\TestDox;\n\nuse function sprintf;\n\n/**\n * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit\n *\n * @internal This class is not covered by the backward compatibility promise for PHPUnit\n */\nfinal readonly class HtmlRenderer\n{\n private const string PAGE_HEADER = <<<'EOT'\n\n\n \n \n Test Documentation\n