Skip to content

Commit

Permalink
Merge branch '10.5' into 11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jul 28, 2024
2 parents 0a20d21 + 1519750 commit aecc307
Show file tree
Hide file tree
Showing 501 changed files with 1,002 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Event/Dispatcher/CollectingDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Event;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class CollectingDispatcher implements Dispatcher
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Dispatcher/DeferringDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Event;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class DeferringDispatcher implements SubscribableDispatcher
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Dispatcher/DirectDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
use Throwable;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class DirectDispatcher implements SubscribableDispatcher
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Dispatcher/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Event;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This interface is not covered by the backward compatibility promise for PHPUnit
*/
interface Dispatcher
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Dispatcher/SubscribableDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Event;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This interface is not covered by the backward compatibility promise for PHPUnit
*/
interface SubscribableDispatcher extends Dispatcher
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Emitter/DispatchingEmitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
use SebastianBergmann\Exporter\Exporter;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class DispatchingEmitter implements Emitter
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Emitter/Emitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
use PHPUnit\TextUI\Configuration\Configuration;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
interface Emitter
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Exception/NoTestCaseObjectOnCallStackException.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
use RuntimeException;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class NoTestCaseObjectOnCallStackException extends RuntimeException implements Exception
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Facade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
use PHPUnit\Event\Telemetry\Php83GarbageCollectorStatusProvider;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class Facade
Expand Down
2 changes: 2 additions & 0 deletions src/Event/TypeMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
use function sprintf;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class TypeMap
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Value/ComparisonFailureBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
use Throwable;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final readonly class ComparisonFailureBuilder
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Value/Telemetry/GarbageCollectorStatusProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Event\Telemetry;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This interface is not covered by the backward compatibility promise for PHPUnit
*/
interface GarbageCollectorStatusProvider
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Value/Telemetry/MemoryMeter.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Event\Telemetry;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This interface is not covered by the backward compatibility promise for PHPUnit
*/
interface MemoryMeter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
use function gc_status;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*
* @codeCoverageIgnore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
use function gc_status;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final readonly class Php83GarbageCollectorStatusProvider implements GarbageCollectorStatusProvider
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Value/Telemetry/StopWatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Event\Telemetry;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This interface is not covered by the backward compatibility promise for PHPUnit
*/
interface StopWatch
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Value/Telemetry/System.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Event\Telemetry;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final readonly class System
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Value/Telemetry/SystemMemoryMeter.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
use function memory_get_usage;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final readonly class SystemMemoryMeter implements MemoryMeter
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Value/Telemetry/SystemStopWatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
use PHPUnit\Event\InvalidArgumentException;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final readonly class SystemStopWatch implements StopWatch
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Value/Telemetry/SystemStopWatchWithOffset.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
use PHPUnit\Event\InvalidArgumentException;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*
* @codeCoverageIgnore
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Value/Test/TestDoxBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
use PHPUnit\Logging\TestDox\NamePrettifier;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final readonly class TestDoxBuilder
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Value/Test/TestMethodBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
use SebastianBergmann\Exporter\Exporter;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final readonly class TestMethodBuilder
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Value/TestSuite/TestSuiteBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
use ReflectionMethod;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final readonly class TestSuiteBuilder
Expand Down
2 changes: 2 additions & 0 deletions src/Event/Value/ThrowableBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
use PHPUnit\Util\ThrowableToStringMapper;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final readonly class ThrowableBuilder
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/Attributes/IgnorePhpunitDeprecations.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
/**
* @psalm-immutable
*
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/Constraint/Exception/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
use Throwable;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class Exception extends Constraint
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/Constraint/Exception/ExceptionCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
use SebastianBergmann\Exporter\Exporter;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class ExceptionCode extends Constraint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
use SebastianBergmann\Exporter\Exporter;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class ExceptionMessageIsOrContains extends Constraint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
use SebastianBergmann\Exporter\Exporter;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class ExceptionMessageMatchesRegularExpression extends Constraint
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/DataProviderTestSuite.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
use PHPUnit\Metadata\Api\Groups;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class DataProviderTestSuite extends TestSuite
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/Exception/AssertionFailedError.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Framework;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
class AssertionFailedError extends Exception implements SelfDescribing
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/Exception/CodeCoverageException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Framework;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
class CodeCoverageException extends Exception
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/Exception/EmptyStringException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Framework;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class EmptyStringException extends InvalidArgumentException
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/Exception/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
*
* @see http://fabien.potencier.org/article/9/php-serialization-stack-traces-and-exceptions
*
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
class Exception extends RuntimeException implements \PHPUnit\Exception
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/Exception/ExpectationFailedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* SebastianBergmann\Comparator\ComparisonFailure which is used to
* generate diff output of the failed expectations.
*
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class ExpectationFailedException extends AssertionFailedError
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/Exception/GeneratorNotSupportedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
use function sprintf;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class GeneratorNotSupportedException extends InvalidArgumentException
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/Exception/Incomplete/IncompleteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
use Throwable;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
interface IncompleteTest extends Throwable
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/Exception/Incomplete/IncompleteTestError.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Framework;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class IncompleteTestError extends AssertionFailedError implements IncompleteTest
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Framework;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
abstract class InvalidArgumentException extends Exception
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/Exception/InvalidCoversTargetException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Framework;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class InvalidCoversTargetException extends CodeCoverageException
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/Exception/InvalidDataProviderException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Framework;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class InvalidDataProviderException extends Exception
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/Exception/InvalidDependencyException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Framework;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class InvalidDependencyException extends AssertionFailedError implements SkippedTest
Expand Down
2 changes: 2 additions & 0 deletions src/Framework/Exception/NoChildTestSuiteException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Framework;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class NoChildTestSuiteException extends Exception
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace PHPUnit\Framework;

/**
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class ActualValueIsNotAnObjectException extends Exception
Expand Down
Loading

0 comments on commit aecc307

Please sign in to comment.