prefix stringlengths 512 512 | suffix stringlengths 256 256 | middle stringlengths 14 229 | meta dict |
|---|---|---|---|
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\TestRunner;
use function sprintf;
use PHPUnit\Event\Ev... | red by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, string $message)
{
$this->telemetryInfo = $telemetryInfo;
$this->message = $message;
}
public fu | renamed to PhpunitNoticeTriggered in PHPUnit 14
*/
final readonly class NoticeTriggered implements Event
{
private Telemetry\Info $telemetryInfo;
private string $message;
/**
* @internal This method is not cove | {
"filepath": "src/Event/Events/TestRunner/NoticeTriggered.php",
"language": "php",
"file_size": 1401,
"cut_index": 524,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Co... | /**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod ...$calledMethods)
{
$this->teleme | al readonly class AfterTestMethodFinished implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\TestMethod $test;
/**
* @var list<Code\ClassMethod>
*/
private array $calledMethods;
| {
"filepath": "src/Event/Events/Test/HookMethod/AfterTestMethodFinished.php",
"language": "php",
"file_size": 1892,
"cut_index": 537,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function implode;
use function sprintf;
use PHPUnit\Event\Code\T... | ing
*/
private string $file;
/**
* @var positive-int
*/
private int $line;
private bool $suppressed;
/**
* @param non-empty-string $message
* @param non-empty-string $file
* @param positive-int $line
| nal readonly class ErrorTriggered implements Event
{
private Telemetry\Info $telemetryInfo;
private Test $test;
/**
* @var non-empty-string
*/
private string $message;
/**
* @var non-empty-str | {
"filepath": "src/Event/Events/Test/Issue/ErrorTriggered.php",
"language": "php",
"file_size": 2744,
"cut_index": 563,
"middle_length": 229
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Application;
use function sprintf;
use PHPUnit\Event\E... | nit
*/
public function __construct(Telemetry\Info $telemetryInfo, Runtime $runtime)
{
$this->telemetryInfo = $telemetryInfo;
$this->runtime = $runtime;
}
public function telemetryInfo(): Telemetry\Info
{
| Unit
*/
final readonly class Started implements Event
{
private Telemetry\Info $telemetryInfo;
private Runtime $runtime;
/**
* @internal This method is not covered by the backward compatibility promise for PHPU | {
"filepath": "src/Event/Events/Application/Started.php",
"language": "php",
"file_size": 1344,
"cut_index": 524,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Eve... | covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $customTestMethodInvocation)
{
$this->telemetryInfo = $teleme | ustomTestMethodInvocationUsed implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\TestMethod $test;
private Code\ClassMethod $customTestMethodInvocation;
/**
* @internal This method is not | {
"filepath": "src/Event/Events/Test/CustomTestMethodInvocationUsed.php",
"language": "php",
"file_size": 1795,
"cut_index": 537,
"middle_length": 229
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Application;
use function sprintf;
use PHPUnit\Event\E... | __construct(Telemetry\Info $telemetryInfo, int $shellExitCode)
{
$this->telemetryInfo = $telemetryInfo;
$this->shellExitCode = $shellExitCode;
}
public function telemetryInfo(): Telemetry\Info
{
return $this->teleme | hed implements Event
{
private Telemetry\Info $telemetryInfo;
private int $shellExitCode;
/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function | {
"filepath": "src/Event/Events/Application/Finished.php",
"language": "php",
"file_size": 1340,
"cut_index": 524,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function implode;
use function sprintf;
use PHPUnit\Event... | erfaces
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, array $interfaces)
{
$this->telemetryInfo = $telemetryInfo;
| kObjectForIntersectionOfInterfacesCreated implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var list<class-string>
*/
private array $interfaces;
/**
* @param list<class-string> $int | {
"filepath": "src/Event/Events/Test/TestDouble/MockObjectForIntersectionOfInterfacesCreated.php",
"language": "php",
"file_size": 1529,
"cut_index": 537,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function sprintf;
use PHPUnit\Event\Event;
use PHPUnit\Ev... | am class-string $className
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, string $className, string ...$methodNames)
{
| implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var class-string
*/
private string $className;
/**
* @var list<string>
*/
private array $methodNames;
/**
* @par | {
"filepath": "src/Event/Events/Test/TestDouble/PartialMockObjectCreated.php",
"language": "php",
"file_size": 1735,
"cut_index": 537,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function implode;
use function sprintf;
use PHPUnit\Event... | faces
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, array $interfaces)
{
$this->telemetryInfo = $telemetryInfo;
| tStubForIntersectionOfInterfacesCreated implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var list<class-string>
*/
private array $interfaces;
/**
* @param list<class-string> $inter | {
"filepath": "src/Event/Events/Test/TestDouble/TestStubForIntersectionOfInterfacesCreated.php",
"language": "php",
"file_size": 1525,
"cut_index": 537,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Eve... | ethod $calledMethod;
/**
* @param class-string<TestCase> $testClassName
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, st | PUnit
*/
final readonly class AfterLastTestMethodCalled implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var class-string<TestCase>
*/
private string $testClassName;
private Code\ClassM | {
"filepath": "src/Event/Events/Test/HookMethod/AfterLastTestMethodCalled.php",
"language": "php",
"file_size": 1863,
"cut_index": 537,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Event\Even... | de\ClassMethod>
*/
private array $calledMethods;
/**
* @param class-string<TestCase> $testClassName
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __constr | */
final readonly class AfterLastTestMethodFinished implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var class-string<TestCase>
*/
private string $testClassName;
/**
* @var list<Co | {
"filepath": "src/Event/Events/Test/HookMethod/AfterLastTestMethodFinished.php",
"language": "php",
"file_size": 2116,
"cut_index": 563,
"middle_length": 229
} |
hp declare(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\TestRunner;
use PHPUnit\Event\Event;
use PHPU... | try\Info $telemetryInfo)
{
$this->telemetryInfo = $telemetryInfo;
}
public function telemetryInfo(): Telemetry\Info
{
return $this->telemetryInfo;
}
/**
* @return non-empty-string
*/
public function a | deCoverageStarted implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Teleme | {
"filepath": "src/Event/Events/TestRunner/StaticAnalysisForCodeCoverageStarted.php",
"language": "php",
"file_size": 1092,
"cut_index": 515,
"middle_length": 229
} |
tian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\TestRunner\Issue;
use const PHP_EOL;
use function implode;
use function sprintf;
use PHPUnit\Event\Code\IssueTrigger\IssueTrigger;
use PHPUnit\E... | ivate string $message;
/**
* @var non-empty-string
*/
private string $file;
/**
* @var positive-int
*/
private int $line;
private bool $suppressed;
private bool $ignoredByBaseline;
private IssueTrigger $tri | ill be moved to the PHPUnit\Event\TestRunner namespace in PHPUnit 14
*/
final readonly class DeprecationTriggered implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var non-empty-string
*/
pr | {
"filepath": "src/Event/Events/TestRunner/Issue/DeprecationTriggered.php",
"language": "php",
"file_size": 3602,
"cut_index": 614,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\TestRunner\Issue;
use const PHP_EOL;
use function implode;
use function sprintf;
use PHPUnit\... | te string $message;
/**
* @var non-empty-string
*/
private string $file;
/**
* @var positive-int
*/
private int $line;
private bool $suppressed;
private bool $ignoredByBaseline;
/**
* @param non-empty | will be moved to the PHPUnit\Event\TestRunner namespace in PHPUnit 14
*/
final readonly class WarningTriggered implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var non-empty-string
*/
priva | {
"filepath": "src/Event/Events/TestRunner/Issue/WarningTriggered.php",
"language": "php",
"file_size": 3025,
"cut_index": 563,
"middle_length": 229
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\TestSuite;
use function sprintf;
use PHPUnit\Event\Eve... | __construct(Telemetry\Info $telemetryInfo, TestSuite $testSuite)
{
$this->telemetryInfo = $telemetryInfo;
$this->testSuite = $testSuite;
}
public function telemetryInfo(): Telemetry\Info
{
return $this->telemetr | d implements Event
{
private Telemetry\Info $telemetryInfo;
private TestSuite $testSuite;
/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function | {
"filepath": "src/Event/Events/TestSuite/Finished.php",
"language": "php",
"file_size": 1432,
"cut_index": 524,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\TestSuite;
use function sprintf;
use PHPUnit\Event\Event;
use PHPUn... | ublic function __construct(Telemetry\Info $telemetryInfo, TestSuite $testSuite, string $message)
{
$this->telemetryInfo = $telemetryInfo;
$this->testSuite = $testSuite;
$this->message = $message;
}
public func | vent
{
private Telemetry\Info $telemetryInfo;
private TestSuite $testSuite;
private string $message;
/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
p | {
"filepath": "src/Event/Events/TestSuite/Skipped.php",
"language": "php",
"file_size": 1525,
"cut_index": 537,
"middle_length": 229
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\TestSuite;
use function sprintf;
use PHPUnit\Event\Eve... | _construct(Telemetry\Info $telemetryInfo, TestSuite $testSuite)
{
$this->telemetryInfo = $telemetryInfo;
$this->testSuite = $testSuite;
}
public function telemetryInfo(): Telemetry\Info
{
return $this->telemetry | implements Event
{
private Telemetry\Info $telemetryInfo;
private TestSuite $testSuite;
/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function _ | {
"filepath": "src/Event/Events/TestSuite/Started.php",
"language": "php",
"file_size": 1430,
"cut_index": 524,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Event\Code... | **
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod, Throwable $throwable)
{
|
*/
final readonly class AfterTestMethodFailed implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\TestMethod $test;
private Code\ClassMethod $calledMethod;
private Throwable $throwable;
/ | {
"filepath": "src/Event/Events/Test/HookMethod/AfterTestMethodFailed.php",
"language": "php",
"file_size": 2038,
"cut_index": 563,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function sprintf;
use PHPUnit\Event\Event;
use PHPUnit\Ev... | rator> $className
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, string $className)
{
$this->telemetryInfo = $telemetry | inal readonly class ComparatorRegistered implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var class-string<Comparator>
*/
private string $className;
/**
* @param class-string<Compa | {
"filepath": "src/Event/Events/Test/ComparatorRegistered.php",
"language": "php",
"file_size": 1530,
"cut_index": 537,
"middle_length": 229
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function sprintf;
use PHPUnit\Event\Event;
u... | t covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, string $className)
{
$this->telemetryInfo = $telemetryInfo;
$this->className = $className;
}
| eated implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var class-string
*/
private string $className;
/**
* @param class-string $className
*
* @internal This method is no | {
"filepath": "src/Event/Events/Test/TestDouble/MockObjectCreated.php",
"language": "php",
"file_size": 1444,
"cut_index": 524,
"middle_length": 229
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function sprintf;
use PHPUnit\Event\Event;
u... | covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, string $className)
{
$this->telemetryInfo = $telemetryInfo;
$this->className = $className;
}
p | ted implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var class-string
*/
private string $className;
/**
* @param class-string $className
*
* @internal This method is not | {
"filepath": "src/Event/Events/Test/TestDouble/TestStubCreated.php",
"language": "php",
"file_size": 1440,
"cut_index": 524,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Co... | formation;
/**
* @param non-empty-string $additionalInformation
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, TestMethod | nit
*/
final readonly class AdditionalInformationProvided implements Event
{
private Telemetry\Info $telemetryInfo;
private TestMethod $test;
/**
* @var non-empty-string
*/
private string $additionalIn | {
"filepath": "src/Event/Events/Test/AdditionalInformationProvided.php",
"language": "php",
"file_size": 1833,
"cut_index": 537,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Event\Code... | me;
private Code\ClassMethod $calledMethod;
private Throwable $throwable;
/**
* @param class-string<TestCase> $testClassName
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
| ompatibility promise for PHPUnit
*/
final readonly class AfterLastTestMethodFailed implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var class-string<TestCase>
*/
private string $testClassNa | {
"filepath": "src/Event/Events/Test/HookMethod/AfterLastTestMethodFailed.php",
"language": "php",
"file_size": 2262,
"cut_index": 563,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Eve... | d compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod)
{
$this->telemetryInfo = $telemetryInfo;
$this->test = $test;
| fterTestMethodCalled implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\TestMethod $test;
private Code\ClassMethod $calledMethod;
/**
* @internal This method is not covered by the backwar | {
"filepath": "src/Event/Events/Test/HookMethod/AfterTestMethodCalled.php",
"language": "php",
"file_size": 1639,
"cut_index": 537,
"middle_length": 229
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\TestSuite;
use function sprintf;
use PHPUnit\Event\Eve... | __construct(Telemetry\Info $telemetryInfo, TestSuite $testSuite)
{
$this->telemetryInfo = $telemetryInfo;
$this->testSuite = $testSuite;
}
public function telemetryInfo(): Telemetry\Info
{
return $this->telemetr | d implements Event
{
private Telemetry\Info $telemetryInfo;
private TestSuite $testSuite;
/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function | {
"filepath": "src/Event/Events/TestSuite/Filtered.php",
"language": "php",
"file_size": 1390,
"cut_index": 524,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\TestSuite;
use PHPUnit\Event\Event;
use PHPUnit\Event\Telemetry;
/... | for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, int $executionOrder, int $executionOrderDefects, bool $resolveDependencies)
{
$this->telemetryInfo = $telemetryInfo;
$this->executionOrder | metry\Info $telemetryInfo;
private int $executionOrder;
private int $executionOrderDefects;
private bool $resolveDependencies;
/**
* @internal This method is not covered by the backward compatibility promise | {
"filepath": "src/Event/Events/TestSuite/Sorted.php",
"language": "php",
"file_size": 1717,
"cut_index": 537,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Event\Code... | /**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod, Throwable $throwable)
{
|
*/
final readonly class AfterTestMethodErrored implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\TestMethod $test;
private Code\ClassMethod $calledMethod;
private Throwable $throwable;
| {
"filepath": "src/Event/Events/Test/HookMethod/AfterTestMethodErrored.php",
"language": "php",
"file_size": 2040,
"cut_index": 563,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Event\Code... | ame;
private Code\ClassMethod $calledMethod;
private Throwable $throwable;
/**
* @param class-string<TestCase> $testClassName
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
| ompatibility promise for PHPUnit
*/
final readonly class AfterLastTestMethodErrored implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var class-string<TestCase>
*/
private string $testClassN | {
"filepath": "src/Event/Events/Test/HookMethod/AfterLastTestMethodErrored.php",
"language": "php",
"file_size": 2264,
"cut_index": 563,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\TestRunner;
use function sprintf;
use PHPUnit\Event\Event;
use PHPU... | * @param non-empty-string $message
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, string $message)
{
$this->telemetryIn | punitWarningTriggered in PHPUnit 14
*/
final readonly class WarningTriggered implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var non-empty-string
*/
private string $message;
/**
| {
"filepath": "src/Event/Events/TestRunner/WarningTriggered.php",
"language": "php",
"file_size": 1545,
"cut_index": 537,
"middle_length": 229
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\TestSuite;
use function sprintf;
use PHPUnit\Event\Eve... | construct(Telemetry\Info $telemetryInfo, TestSuite $testSuite)
{
$this->telemetryInfo = $telemetryInfo;
$this->testSuite = $testSuite;
}
public function telemetryInfo(): Telemetry\Info
{
return $this->telemetryI | implements Event
{
private Telemetry\Info $telemetryInfo;
private TestSuite $testSuite;
/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __ | {
"filepath": "src/Event/Events/TestSuite/Loaded.php",
"language": "php",
"file_size": 1386,
"cut_index": 524,
"middle_length": 229
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHP... | @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, string $output)
{
$this->telemetryInfo = $telemetryInfo;
$this->output | class PrintedUnexpectedOutput implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var non-empty-string
*/
private string $output;
/**
* @param non-empty-string $output
*
* | {
"filepath": "src/Event/Events/Test/PrintedUnexpectedOutput.php",
"language": "php",
"file_size": 1491,
"cut_index": 524,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\TestRunner\Issue;
use const PHP_EOL;
use function implode;
use function sprintf;
use PHPUnit\... | e string $message;
/**
* @var non-empty-string
*/
private string $file;
/**
* @var positive-int
*/
private int $line;
private bool $suppressed;
private bool $ignoredByBaseline;
/**
* @param non-empty- | will be moved to the PHPUnit\Event\TestRunner namespace in PHPUnit 14
*/
final readonly class NoticeTriggered implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var non-empty-string
*/
privat | {
"filepath": "src/Event/Events/TestRunner/Issue/NoticeTriggered.php",
"language": "php",
"file_size": 3023,
"cut_index": 563,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Eve... | sMethod $calledMethod;
/**
* @param class-string<TestCase> $testClassName
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, | PUnit
*/
final readonly class BeforeFirstTestMethodCalled implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var class-string<TestCase>
*/
private string $testClassName;
private Code\Clas | {
"filepath": "src/Event/Events/Test/HookMethod/BeforeFirstTestMethodCalled.php",
"language": "php",
"file_size": 1867,
"cut_index": 537,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Event\Even... | ode\ClassMethod>
*/
private array $calledMethods;
/**
* @param class-string<TestCase> $testClassName
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __const | */
final readonly class BeforeFirstTestMethodFinished implements Event
{
private Telemetry\Info$telemetryInfo;
/**
* @var class-string<TestCase>
*/
private string $testClassName;
/**
* @var list<C | {
"filepath": "src/Event/Events/Test/HookMethod/BeforeFirstTestMethodFinished.php",
"language": "php",
"file_size": 2119,
"cut_index": 563,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Eve... | rd compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod)
{
$this->telemetryInfo = $telemetryInfo;
$this->test = $test;
| eforeTestMethodCalled implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\TestMethod $test;
private Code\ClassMethod $calledMethod;
/**
* @internal This method is not covered by the backwa | {
"filepath": "src/Event/Events/Test/HookMethod/BeforeTestMethodCalled.php",
"language": "php",
"file_size": 1641,
"cut_index": 537,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Event\Code... | Name;
private Code\ClassMethod $calledMethod;
private Throwable $throwable;
/**
* @param class-string<TestCase> $testClassName
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
| ompatibility promise for PHPUnit
*/
final readonly class BeforeFirstTestMethodFailed implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var class-string<TestCase>
*/
private string $testClass | {
"filepath": "src/Event/Events/Test/HookMethod/BeforeFirstTestMethodFailed.php",
"language": "php",
"file_size": 2266,
"cut_index": 563,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Eve... | compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod)
{
$this->telemetryInfo = $telemetryInfo;
$this->test = $test;
| ostConditionCalled implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\TestMethod $test;
private Code\ClassMethod $calledMethod;
/**
* @internal This method is not covered by the backward | {
"filepath": "src/Event/Events/Test/HookMethod/PostConditionCalled.php",
"language": "php",
"file_size": 1641,
"cut_index": 537,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Event\Code... | *
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod, Throwable $throwable)
{
|
*/
final readonly class PostConditionErrored implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\TestMethod $test;
private Code\ClassMethod $calledMethod;
private Throwable $throwable;
/* | {
"filepath": "src/Event/Events/Test/HookMethod/PostConditionErrored.php",
"language": "php",
"file_size": 2042,
"cut_index": 563,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Co... | **
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod ...$calledMethods)
{
$this->telemetr | al readonly class PostConditionFinished implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\TestMethod $test;
/**
* @var list<Code\ClassMethod>
*/
private array $calledMethods;
/ | {
"filepath": "src/Event/Events/Test/HookMethod/PostConditionFinished.php",
"language": "php",
"file_size": 1894,
"cut_index": 537,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Event\Code... |
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod, Throwable $throwable)
{
|
*/
final readonly class PreConditionErrored implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\TestMethod $test;
private Code\ClassMethod $calledMethod;
private Throwable $throwable;
/** | {
"filepath": "src/Event/Events/Test/HookMethod/PreConditionErrored.php",
"language": "php",
"file_size": 2040,
"cut_index": 563,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Co... | *
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod ...$calledMethods)
{
$this->telemetry | al readonly class PreConditionFinished implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\TestMethod $test;
/**
* @var list<Code\ClassMethod>
*/
private array $calledMethods;
/* | {
"filepath": "src/Event/Events/Test/HookMethod/PreConditionFinished.php",
"language": "php",
"file_size": 1892,
"cut_index": 537,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function sprintf;
use PHPUnit\Event\Code\ClassMethod;
use... | y the backward compatibility promise for PHPUnit
*/
public function __construct(Info $telemetryInfo, ClassMethod $testMethod, ClassMethod $dataProviderMethod)
{
$this->telemetryInfo = $telemetryInfo;
$this->testMethod | readonly class DataProviderMethodCalled implements Event
{
private Info $telemetryInfo;
private ClassMethod $testMethod;
private ClassMethod $dataProviderMethod;
/**
* @internal This method is not covered b | {
"filepath": "src/Event/Events/Test/Lifecycle/DataProviderMethodCalled.php",
"language": "php",
"file_size": 1804,
"cut_index": 537,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Co... | thod is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\Test $test, Throwable $throwable)
{
$this->telemetryInfo = $telemetryInfo;
$this->test | bility promise for PHPUnit
*/
final readonly class PreparationErrored implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\Test $test;
private Throwable $throwable;
/**
* @internal This me | {
"filepath": "src/Event/Events/Test/Lifecycle/PreparationErrored.php",
"language": "php",
"file_size": 1727,
"cut_index": 537,
"middle_length": 229
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function sprintf;
use PHPUnit\Event\Code;
us... | */
public function __construct(Telemetry\Info $telemetryInfo, Code\Test $test)
{
$this->telemetryInfo = $telemetryInfo;
$this->test = $test;
}
public function telemetryInfo(): Telemetry\Info
{
return $ | donly class PreparationStarted implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\Test $test;
/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
| {
"filepath": "src/Event/Events/Test/Lifecycle/PreparationStarted.php",
"language": "php",
"file_size": 1328,
"cut_index": 524,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use function trim;
u... | This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\Test $test, Throwable $throwable)
{
$this->telemetryInfo = $telemetryInfo;
$this-> | he backward compatibility promise for PHPUnit
*/
final readonly class Errored implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\Test $test;
private Throwable $throwable;
/**
* @internal | {
"filepath": "src/Event/Events/Test/Outcome/Errored.php",
"language": "php",
"file_size": 1729,
"cut_index": 537,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use function trim;
u... | @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\Test $test, Throwable $throwable)
{
$this->telemetryInfo = $telemetryInfo;
| he backward compatibility promise for PHPUnit
*/
final readonly class MarkedIncomplete implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\Test $test;
private Throwable $throwable;
/**
* | {
"filepath": "src/Event/Events/Test/Outcome/MarkedIncomplete.php",
"language": "php",
"file_size": 1748,
"cut_index": 537,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Co... | promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\Test $test, string $message)
{
$this->telemetryInfo = $telemetryInfo;
$this->test = $test;
$this->message = $message; | al readonly class Skipped implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\Test $test;
private string $message;
/**
* @internal This method is not covered by the backward compatibility | {
"filepath": "src/Event/Events/Test/Outcome/Skipped.php",
"language": "php",
"file_size": 1638,
"cut_index": 537,
"middle_length": 229
} |
tian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function implode;
use function sprintf;
use PHPUnit\Event\Code\IssueTrigger\IssueTrigger;
use PHPUnit\Event\Code\Te... | y-string
*/
private string $file;
/**
* @var positive-int
*/
private int $line;
private bool $suppressed;
private bool $ignoredByBaseline;
private bool $ignoredByTest;
private IssueTrigger $trigger;
/**
| al readonly class DeprecationTriggered implements Event
{
private Telemetry\Info $telemetryInfo;
private Test $test;
/**
* @var non-empty-string
*/
private string $message;
/**
* @var non-empt | {
"filepath": "src/Event/Events/Test/Issue/DeprecationTriggered.php",
"language": "php",
"file_size": 3978,
"cut_index": 614,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Event\Code... | sName;
private Code\ClassMethod $calledMethod;
private Throwable $throwable;
/**
* @param class-string<TestCase> $testClassName
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
| ompatibility promise for PHPUnit
*/
final readonly class BeforeFirstTestMethodErrored implements Event
{
private Telemetry\Info $telemetryInfo;
/**
* @var class-string<TestCase>
*/
private string $testClas | {
"filepath": "src/Event/Events/Test/HookMethod/BeforeFirstTestMethodErrored.php",
"language": "php",
"file_size": 2268,
"cut_index": 563,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Event\Code... | /**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod, Throwable $throwable)
{
|
*/
final readonly class BeforeTestMethodFailed implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\TestMethod $test;
private Code\ClassMethod $calledMethod;
private Throwable $throwable;
| {
"filepath": "src/Event/Events/Test/HookMethod/BeforeTestMethodFailed.php",
"language": "php",
"file_size": 2040,
"cut_index": 563,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Co... | /**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod ...$calledMethods)
{
$this->telem | al readonly class BeforeTestMethodFinished implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\TestMethod $test;
/**
* @var list<Code\ClassMethod>
*/
private array $calledMethods;
| {
"filepath": "src/Event/Events/Test/HookMethod/BeforeTestMethodFinished.php",
"language": "php",
"file_size": 1894,
"cut_index": 537,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Eve... | mpatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod)
{
$this->telemetryInfo = $telemetryInfo;
$this->test = $test;
| reConditionCalled implements Event
{
private Telemetry\Info$telemetryInfo;
private Code\TestMethod $test;
private Code\ClassMethod $calledMethod;
/**
* @internal This method is not covered by the backward co | {
"filepath": "src/Event/Events/Test/HookMethod/PreConditionCalled.php",
"language": "php",
"file_size": 1638,
"cut_index": 537,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Code\ClassMethod;
use PHPUni... | nternal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, ClassMethod $testMethod, ClassMethod ...$calledMethods)
{
$this->telemetryInfo = $teleme | ass DataProviderMethodFinished implements Event
{
private Telemetry\Info $telemetryInfo;
private ClassMethod $testMethod;
/**
* @var list<ClassMethod>
*/
private array $calledMethods;
/**
* @i | {
"filepath": "src/Event/Events/Test/Lifecycle/DataProviderMethodFinished.php",
"language": "php",
"file_size": 2045,
"cut_index": 563,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Co... | hod is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\Test $test, Throwable $throwable)
{
$this->telemetryInfo = $telemetryInfo;
$this->test | bility promise for PHPUnit
*/
final readonly class PreparationFailed implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\Test $test;
private Throwable $throwable;
/**
* @internal This met | {
"filepath": "src/Event/Events/Test/Lifecycle/PreparationFailed.php",
"language": "php",
"file_size": 1725,
"cut_index": 537,
"middle_length": 229
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function sprintf;
use PHPUnit\Event\Code;
us... | blic function __construct(Telemetry\Info $telemetryInfo, Code\Test $test)
{
$this->telemetryInfo = $telemetryInfo;
$this->test = $test;
}
public function telemetryInfo(): Telemetry\Info
{
return $this->tele | donly class Prepared implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\Test $test;
/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
pu | {
"filepath": "src/Event/Events/Test/Lifecycle/Prepared.php",
"language": "php",
"file_size": 1307,
"cut_index": 524,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Co... | pty-string $message
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\Test $test, string $message)
{
$this->telemetry | al readonly class ConsideredRisky implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\Test $test;
/**
* @var non-empty-string
*/
private string $message;
/**
* @param non-em | {
"filepath": "src/Event/Events/Test/Issue/ConsideredRisky.php",
"language": "php",
"file_size": 1704,
"cut_index": 537,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Event\Code... | /**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod, Throwable $throwable)
{
|
*/
final readonly class BeforeTestMethodErrored implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\TestMethod $test;
private Code\ClassMethod $calledMethod;
private Throwable $throwable;
| {
"filepath": "src/Event/Events/Test/HookMethod/BeforeTestMethodErrored.php",
"language": "php",
"file_size": 2042,
"cut_index": 563,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Event\Code... |
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod, Throwable $throwable)
{
|
*/
final readonly class PostConditionFailed implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\TestMethod $test;
private Code\ClassMethod $calledMethod;
private Throwable $throwable;
/** | {
"filepath": "src/Event/Events/Test/HookMethod/PostConditionFailed.php",
"language": "php",
"file_size": 2040,
"cut_index": 563,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Eve... | t $numberOfAssertionsPerformed
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\Test $test, int $numberOfAssertionsPerformed)
| inished implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\Test $test;
/**
* @var non-negative-int
*/
private int $numberOfAssertionsPerformed;
/**
* @param non-negative-in | {
"filepath": "src/Event/Events/Test/Lifecycle/Finished.php",
"language": "php",
"file_size": 1770,
"cut_index": 537,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use function trim;
use PHPUnit\Event\Code;
use... | e ?ComparisonFailure $comparisonFailure;
/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\Test $test, Throwable $throwable, ?C | not covered by the backward compatibility promise for PHPUnit
*/
final readonly class Failed implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\Test $test;
private Throwable $throwable;
privat | {
"filepath": "src/Event/Events/Test/Outcome/Failed.php",
"language": "php",
"file_size": 2401,
"cut_index": 563,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Code;
use PHPUnit\Event\Code... | * @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Code\TestMethod $test, Code\ClassMethod $calledMethod, Throwable $throwable)
{
|
*/
final readonly class PreConditionFailed implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\TestMethod $test;
private Code\ClassMethod $calledMethod;
private Throwable $throwable;
/**
| {
"filepath": "src/Event/Events/Test/HookMethod/PreConditionFailed.php",
"language": "php",
"file_size": 2038,
"cut_index": 563,
"middle_length": 229
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use function sprintf;
use PHPUnit\Event\Code;
us... | ic function __construct(Telemetry\Info $telemetryInfo, Code\Test $test)
{
$this->telemetryInfo = $telemetryInfo;
$this->test = $test;
}
public function telemetryInfo(): Telemetry\Info
{
return $this->teleme | donly class Passed implements Event
{
private Telemetry\Info $telemetryInfo;
private Code\Test $test;
/**
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
publ | {
"filepath": "src/Event/Events/Test/Outcome/Passed.php",
"language": "php",
"file_size": 1303,
"cut_index": 524,
"middle_length": 229
} |
are(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Para... | evel $level, bool $enabled)
{
parent::__construct($level);
$this->enabled = $enabled;
}
public function isPreserveGlobalState(): true
{
return true;
}
public function enabled(): bool
{
return $ | __construct(L | {
"filepath": "src/Metadata/PreserveGlobalState.php",
"language": "php",
"file_size": 815,
"cut_index": 522,
"middle_length": 14
} |
tian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function implode;
use function sprintf;
use PHPUnit\Event\Code\IssueTrigger\IssueTrigger;
use PHPUnit\Event\Code\Te... | mpty-string
*/
private string $file;
/**
* @var positive-int
*/
private int $line;
private bool $suppressed;
private bool $ignoredByBaseline;
private bool $ignoredByTest;
private IssueTrigger $trigger;
/**
| al readonly class PhpDeprecationTriggered implements Event
{
private Telemetry\Info $telemetryInfo;
private Test $test;
/**
* @var non-empty-string
*/
private string $message;
/**
* @var non-e | {
"filepath": "src/Event/Events/Test/Issue/PhpDeprecationTriggered.php",
"language": "php",
"file_size": 3660,
"cut_index": 614,
"middle_length": 229
} |
tian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function implode;
use function sprintf;
use PHPUnit\Event\Code\Test;
use PHPUnit\Event\Event;
use PHPUnit\Event\Tel... | * @var positive-int
*/
private int $line;
private bool $suppressed;
private bool $ignoredByBaseline;
/**
* @param non-empty-string $message
* @param non-empty-string $file
* @param positive-int $line
*
| ent
{
private Telemetry\Info $telemetryInfo;
private Test $test;
/**
* @var non-empty-string
*/
private string $message;
/**
* @var non-empty-string
*/
private string $file;
/**
| {
"filepath": "src/Event/Events/Test/Issue/PhpNoticeTriggered.php",
"language": "php",
"file_size": 3093,
"cut_index": 614,
"middle_length": 229
} |
tian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function implode;
use function sprintf;
use PHPUnit\Event\Code\Test;
use PHPUnit\Event\Event;
use PHPUnit\Event\Tel... |
* @var positive-int
*/
private int $line;
private bool $suppressed;
private bool $ignoredByBaseline;
/**
* @param non-empty-string $message
* @param non-empty-string $file
* @param positive-int $line
*
| vent
{
private Telemetry\Info $telemetryInfo;
private Test $test;
/**
* @var non-empty-string
*/
private string $message;
/**
* @var non-empty-string
*/
private string $file;
/** | {
"filepath": "src/Event/Events/Test/Issue/PhpWarningTriggered.php",
"language": "php",
"file_size": 3095,
"cut_index": 614,
"middle_length": 229
} |
tian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function implode;
use function sprintf;
use PHPUnit\Event\Code\Test;
use PHPUnit\Event\Event;
use PHPUnit\Event\Tel... | * @var positive-int
*/
private int $line;
private bool $suppressed;
private bool $ignoredByBaseline;
/**
* @param non-empty-string $message
* @param non-empty-string $file
* @param positive-int $line
*
* |
{
private Telemetry\Info $telemetryInfo;
private Test $test;
/**
* @var non-empty-string
*/
private string $message;
/**
* @var non-empty-string
*/
private string $file;
/**
| {
"filepath": "src/Event/Events/Test/Issue/NoticeTriggered.php",
"language": "php",
"file_size": 3086,
"cut_index": 614,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use PHPUnit\Event\Co... | param non-empty-string $message
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Test $test, string $message)
{
$this->te | /
final readonly class PhpunitDeprecationTriggered implements Event
{
private Telemetry\Info $telemetryInfo;
private Test $test;
/**
* @var non-empty-string
*/
private string $message;
/**
* @ | {
"filepath": "src/Event/Events/Test/Issue/PhpunitDeprecationTriggered.php",
"language": "php",
"file_size": 1811,
"cut_index": 537,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use function trim;
u... | /**
* @param non-empty-string $message
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Test $test, string $message)
{
| mise for PHPUnit
*/
final readonly class PhpunitErrorTriggered implements Event
{
private Telemetry\Info $telemetryInfo;
private Test $test;
/**
* @var non-empty-string
*/
private string $message;
| {
"filepath": "src/Event/Events/Test/Issue/PhpunitErrorTriggered.php",
"language": "php",
"file_size": 1824,
"cut_index": 537,
"middle_length": 229
} |
art of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function implode;
use function sprintf;
use PHPUnit\Event\Code\T... | ByTest;
/**
* @param non-empty-string $message
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Test $test, string $message | nal readonly class PhpunitWarningTriggered implements Event
{
private Telemetry\Info $telemetryInfo;
private Test $test;
/**
* @var non-empty-string
*/
private string $message;
private bool $ignored | {
"filepath": "src/Event/Events/Test/Issue/PhpunitWarningTriggered.php",
"language": "php",
"file_size": 2156,
"cut_index": 563,
"middle_length": 229
} |
n <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*/
fi... | parent::__construct($level);
$this->priority = $priority;
}
public function isAfter(): true
{
return true;
}
/**
* @return non-negative-int
*/
public function priority(): int
{
return | tion __construct(Level $level, int $priority)
{
| {
"filepath": "src/Metadata/After.php",
"language": "php",
"file_size": 940,
"cut_index": 606,
"middle_length": 52
} |
declare(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments... | vel $level, bool $enabled)
{
parent::__construct($level);
$this->enabled = $enabled;
}
public function isBackupGlobals(): true
{
return true;
}
public function enabled(): bool
{
return $this->e | __construct(Le | {
"filepath": "src/Metadata/BackupGlobals.php",
"language": "php",
"file_size": 803,
"cut_index": 517,
"middle_length": 14
} |
?php declare(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-argum... | )
{
parent::__construct($level);
$this->enabled = $enabled;
}
public function isBackupStaticProperties(): true
{
return true;
}
public function enabled(): bool
{
return $this->enabled;
}
}
| ted function __construct(Level $level, bool $enabled | {
"filepath": "src/Metadata/BackupStaticProperties.php",
"language": "php",
"file_size": 821,
"cut_index": 513,
"middle_length": 52
} |
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parameter names are not covered by the backward compatibility pr... | evel, string $className)
{
parent::__construct($level);
$this->className = $className;
}
public function isCoversClass(): true
{
return true;
}
/**
* @return class-string
*/
public function c |
*/
protected function __construct(Level $l | {
"filepath": "src/Metadata/CoversClass.php",
"language": "php",
"file_size": 956,
"cut_index": 582,
"middle_length": 52
} |
?php declare(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-argum... | $this->interfaceName = $interfaceName;
}
public function isCoversClassesThatImplementInterface(): true
{
return true;
}
/**
* @return class-string
*/
public function interfaceName(): string
{
ret | -string
*/
private string $interfaceName;
/**
* @param class-string $interfaceName
*/
protected function __construct(Level $level, string $interfaceName)
{
parent::__construct($level);
| {
"filepath": "src/Metadata/CoversClassesThatImplementInterface.php",
"language": "php",
"file_size": 1032,
"cut_index": 513,
"middle_length": 229
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parame... | evel $level, string $className, string $methodName)
{
parent::__construct($level);
$this->className = $className;
$this->methodName = $methodName;
}
public function isCoversMethod(): true
{
return true;
| $className;
/**
* @var non-empty-string
*/
private string $methodName;
/**
* @param class-string $className
* @param non-empty-string $methodName
*/
protected function __construct(L | {
"filepath": "src/Metadata/CoversMethod.php",
"language": "php",
"file_size": 1281,
"cut_index": 524,
"middle_length": 229
} |
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parameter names are not covered by the backward compatibility pr... | uct(Level $level, string $namespace)
{
parent::__construct($level);
$this->namespace = $namespace;
}
public function isCoversNamespace(): true
{
return true;
}
/**
* @return non-empty-string
*/
| g $namespace
*/
protected function __constr | {
"filepath": "src/Metadata/CoversNamespace.php",
"language": "php",
"file_size": 976,
"cut_index": 582,
"middle_length": 52
} |
hp declare(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
use Closure;
/**
* @immutable
*
* @no... | e;
$this->validateArgumentCount = $validateArgumentCount;
}
public function isDataProviderClosure(): true
{
return true;
}
public function closure(): Closure
{
return $this->closure;
}
public funct |
private bool $validateArgumentCount;
protected function __construct(Level $level, Closure $closure, bool $validateArgumentCount)
{
parent::__construct($level);
$this->closure = $closur | {
"filepath": "src/Metadata/DataProviderClosure.php",
"language": "php",
"file_size": 1093,
"cut_index": 515,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parameter names are... | odName
*/
protected function __construct(Level $level, string $className, string $methodName, bool $deepClone, bool $shallowClone)
{
parent::__construct($level);
$this->className = $className;
$this->methodName = | e;
/**
* @var non-empty-string
*/
private string $methodName;
private bool $deepClone;
private bool $shallowClone;
/**
* @param class-string $className
* @param non-empty-string $meth | {
"filepath": "src/Metadata/DependsOnMethod.php",
"language": "php",
"file_size": 1650,
"cut_index": 537,
"middle_length": 229
} |
hp declare(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-argumen... | uct($level);
$this->globalVariableName = $globalVariableName;
}
public function isExcludeGlobalVariableFromBackup(): true
{
return true;
}
/**
* @return non-empty-string
*/
public function globalVariable | tring
*/
private string $globalVariableName;
/**
* @param non-empty-string $globalVariableName
*/
protected function __construct(Level $level, string $globalVariableName)
{
parent::__constr | {
"filepath": "src/Metadata/ExcludeGlobalVariableFromBackup.php",
"language": "php",
"file_size": 1071,
"cut_index": 515,
"middle_length": 229
} |
<?php declare(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-argu... | $this->messagePattern = $messagePattern;
}
public function isIgnoreDeprecations(): true
{
return true;
}
/**
* @return null|non-empty-string
*/
public function messagePattern(): ?string
{
return $ | private ?string $messagePattern;
/**
* @param null|non-empty-string $messagePattern
*/
protected function __construct(Level $level, null|string $messagePattern)
{
parent::__construct($level);
| {
"filepath": "src/Metadata/IgnoreDeprecations.php",
"language": "php",
"file_size": 1027,
"cut_index": 512,
"middle_length": 229
} |
c static function afterClass(int $priority): AfterClass
{
return new AfterClass(Level::METHOD_LEVEL, $priority);
}
public static function allowMockObjectsWithoutExpectationsOnClass(): AllowMockObjectsWithoutExpectations
{
return new AllowMockObjectsWithoutExpectations(Level::CLASS_LEVEL... | nabled): BackupGlobals
{
return new BackupGlobals(Level::METHOD_LEVEL, $enabled);
}
public static function backupStaticPropertiesOnClass(bool $enabled): BackupStaticProperties
{
return new BackupStaticProperties(Level::CLAS | OD_LEVEL);
}
public static function backupGlobalsOnClass(bool $enabled): BackupGlobals
{
return new BackupGlobals(Level::CLASS_LEVEL, $enabled);
}
public static function backupGlobalsOnMethod(bool $e | {
"filepath": "src/Metadata/Metadata.php",
"language": "php",
"file_size": 28085,
"cut_index": 1331,
"middle_length": 229
} |
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parameter names are not covered by the backward compatibility pr... | el $level, int $priority)
{
parent::__construct($level);
$this->priority = $priority;
}
public function isPostCondition(): true
{
return true;
}
/**
* @return non-negative-int
*/
public funct | ority
*/
protected function __construct(Lev | {
"filepath": "src/Metadata/PostCondition.php",
"language": "php",
"file_size": 956,
"cut_index": 582,
"middle_length": 52
} |
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parameter names are not covered by the backward compatibility pr... | l $level, int $priority)
{
parent::__construct($level);
$this->priority = $priority;
}
public function isPreCondition(): true
{
return true;
}
/**
* @return non-negative-int
*/
public functio | rity
*/
protected function __construct(Leve | {
"filepath": "src/Metadata/PreCondition.php",
"language": "php",
"file_size": 954,
"cut_index": 582,
"middle_length": 52
} |
tatic function fromArray(array $metadata): self
{
return new self(...$metadata);
}
private function __construct(Metadata ...$metadata)
{
$this->metadata = $metadata;
}
/**
* @return list<Metadata>
*/
public function asArray(): array
{
return $this->met... | adata> $this->asArray()
*/
public function isNotEmpty(): bool
{
return $this->count() > 0;
}
public function getIterator(): MetadataCollectionIterator
{
return new MetadataCollectionIterator($this);
}
publ | } $this->asArray()
*/
public function isEmpty(): bool
{
return $this->count() === 0;
}
/**
* @phpstan-assert-if-true positive-int $this->count()
* @phpstan-assert-if-true non-empty-list<Met | {
"filepath": "src/Metadata/MetadataCollection.php",
"language": "php",
"file_size": 17510,
"cut_index": 1331,
"middle_length": 229
} |
tian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function implode;
use function sprintf;
use PHPUnit\Event\Code\Test;
use PHPUnit\Event\Event;
use PHPUnit\Event\Tel... | * @var positive-int
*/
private int $line;
private bool $suppressed;
private bool $ignoredByBaseline;
/**
* @param non-empty-string $message
* @param non-empty-string $file
* @param positive-int $line
*
| t
{
private Telemetry\Info $telemetryInfo;
private Test $test;
/**
* @var non-empty-string
*/
private string $message;
/**
* @var non-empty-string
*/
private string $file;
/**
| {
"filepath": "src/Event/Events/Test/Issue/WarningTriggered.php",
"language": "php",
"file_size": 3088,
"cut_index": 614,
"middle_length": 229
} |
n <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*/
fi... |
parent::__construct($level);
$this->priority = $priority;
}
public function isBefore(): true
{
return true;
}
/**
* @return non-negative-int
*/
public function priority(): int
{
retu | ction __construct(Level $level, int $priority)
{ | {
"filepath": "src/Metadata/Before.php",
"language": "php",
"file_size": 942,
"cut_index": 606,
"middle_length": 52
} |
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parameter names are not covered by the backward compatibility pr... | $level, int $priority)
{
parent::__construct($level);
$this->priority = $priority;
}
public function isBeforeClass(): true
{
return true;
}
/**
* @return non-negative-int
*/
public function | ity
*/
protected function __construct(Level | {
"filepath": "src/Metadata/BeforeClass.php",
"language": "php",
"file_size": 952,
"cut_index": 582,
"middle_length": 52
} |
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parameter names are not covered by the backward compatibility pr... | evel, string $traitName)
{
parent::__construct($level);
$this->traitName = $traitName;
}
public function isCoversTrait(): true
{
return true;
}
/**
* @return trait-string
*/
public function t |
*/
protected function __construct(Level $l | {
"filepath": "src/Metadata/CoversTrait.php",
"language": "php",
"file_size": 956,
"cut_index": 582,
"middle_length": 52
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parame... | Clone)
{
parent::__construct($level);
$this->className = $className;
$this->deepClone = $deepClone;
$this->shallowClone = $shallowClone;
}
public function isDependsOnClass(): true
{
return tru | ng $className;
private bool $deepClone;
private bool $shallowClone;
/**
* @param class-string $className
*/
protected function __construct(Level $level, string $className, bool $deepClone, bool $shallow | {
"filepath": "src/Metadata/DependsOnClass.php",
"language": "php",
"file_size": 1324,
"cut_index": 524,
"middle_length": 229
} |
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parameter names are not covered by the backward compatibility pr... | $level, string $groupName)
{
parent::__construct($level);
$this->groupName = $groupName;
}
public function isGroup(): true
{
return true;
}
/**
* @return non-empty-string
*/
public function g | me
*/
protected function __construct(Level | {
"filepath": "src/Metadata/Group.php",
"language": "php",
"file_size": 956,
"cut_index": 582,
"middle_length": 52
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
use function assert;
use Iterator;
/**
* @templa... | taCollection $metadata)
{
$this->metadata = $metadata->asArray();
}
public function rewind(): void
{
$this->position = 0;
}
public function valid(): bool
{
return isset($this->metadata[$this->position]) | nIterator implements Iterator
{
/**
* @var list<Metadata>
*/
private readonly array $metadata;
/**
* @var non-negative-int
*/
private int $position = 0;
public function __construct(Metada | {
"filepath": "src/Metadata/MetadataCollectionIterator.php",
"language": "php",
"file_size": 1376,
"cut_index": 524,
"middle_length": 229
} |
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parameter names are not covered by the backward compatibility pr... | $level, int $priority)
{
parent::__construct($level);
$this->priority = $priority;
}
public function isAfterClass(): true
{
return true;
}
/**
* @return non-negative-int
*/
public function pr | ty
*/
protected function __construct(Level | {
"filepath": "src/Metadata/AfterClass.php",
"language": "php",
"file_size": 950,
"cut_index": 582,
"middle_length": 52
} |
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parameter names are not covered by the backward compatibility pr... | onstruct(Level $level, string $className)
{
parent::__construct($level);
$this->className = $className;
}
public function isCoversClassesThatExtendClass(): true
{
return true;
}
/**
* @return class-st | string $className
*/
protected function __c | {
"filepath": "src/Metadata/CoversClassesThatExtendClass.php",
"language": "php",
"file_size": 990,
"cut_index": 582,
"middle_length": 52
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parame... | function __construct(Level $level, string $className, string $propertyName)
{
parent::__construct($level);
$this->className = $className;
$this->propertyName = $propertyName;
}
public function isExcludeStaticProper |
private string $className;
/**
* @var non-empty-string
*/
private string $propertyName;
/**
* @param class-string $className
* @param non-empty-string $propertyName
*/
protected | {
"filepath": "src/Metadata/ExcludeStaticPropertyFromBackup.php",
"language": "php",
"file_size": 1335,
"cut_index": 524,
"middle_length": 229
} |
s=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Event\Test;
use const PHP_EOL;
use function sprintf;
use function trim;
u... | /**
* @param non-empty-string $message
*
* @internal This method is not covered by the backward compatibility promise for PHPUnit
*/
public function __construct(Telemetry\Info $telemetryInfo, Test $test, string $message)
{
| mise for PHPUnit
*/
final readonly class PhpunitNoticeTriggered implements Event
{
private Telemetry\Info $telemetryInfo;
private Test $test;
/**
* @var non-empty-string
*/
private string $message;
| {
"filepath": "src/Event/Events/Test/Issue/PhpunitNoticeTriggered.php",
"language": "php",
"file_size": 1826,
"cut_index": 537,
"middle_length": 229
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parame... |
*/
protected function __construct(Level $level, string $environmentVariableName, null|string $value)
{
parent::__construct($level);
$this->environmentVariableName = $environmentVariableName;
$this->value |
private string $environmentVariableName;
/**
* @var ?non-empty-string
*/
private null|string $value;
/**
* @param non-empty-string $environmentVariableName
* @param ?non-empty-string $value | {
"filepath": "src/Metadata/RequiresEnvironmentVariable.php",
"language": "php",
"file_size": 1418,
"cut_index": 524,
"middle_length": 229
} |
e(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parame... | (Level $level, string $className, string $methodName)
{
parent::__construct($level);
$this->className = $className;
$this->methodName = $methodName;
}
public function isRequiresMethod(): true
{
return true | ng $className;
/**
* @var non-empty-string
*/
private string $methodName;
/**
* @param class-string $className
* @param non-empty-string $methodName
*/
protected function __construct | {
"filepath": "src/Metadata/RequiresMethod.php",
"language": "php",
"file_size": 1285,
"cut_index": 524,
"middle_length": 229
} |
?php declare(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-argum... | $this->operatingSystem = $operatingSystem;
}
public function isRequiresOperatingSystem(): true
{
return true;
}
/**
* @return non-empty-string
*/
public function operatingSystem(): string
{
ret | */
private string $operatingSystem;
/**
* @param non-empty-string $operatingSystem
*/
protected function __construct(Level $level, string $operatingSystem)
{
parent::__construct($level);
| {
"filepath": "src/Metadata/RequiresOperatingSystem.php",
"language": "php",
"file_size": 1034,
"cut_index": 513,
"middle_length": 229
} |
n <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
use PHPUnit\Metadata\Version\Requirement;
/**
* @immutable
*
* @no-named-arguments Parameter names are not covered by the backwa... | _construct($level);
$this->versionRequirement = $versionRequirement;
}
public function isRequiresPhp(): true
{
return true;
}
public function versionRequirement(): Requirement
{
return $this->versionRequir | irement $versionRequirement)
{
parent::_ | {
"filepath": "src/Metadata/RequiresPhp.php",
"language": "php",
"file_size": 929,
"cut_index": 606,
"middle_length": 52
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.