repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertIsList.php | src/Polyfills/AssertIsList.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
use ReflectionObject;
/**
* Polyfill the Assert::assertIsList() method.
*
* Introduced in PHPUnit 10.0.0.
*
* @link https://github.com/sebastianbergmann/phpunit/pull/4818
*
* @since 2.0.0
*/
trait AssertIsList {
/**
* Asserts that an array is list.
*
... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertObjectNotEquals.php | src/Polyfills/AssertObjectNotEquals.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
use TypeError;
use Yoast\PHPUnitPolyfills\Exceptions\InvalidComparisonMethodException;
use Yoast\PHPUnitPolyfills\Helpers\ComparatorValidator;
/**
* Polyfill the Assert::assertObjectNotEquals() method.
*
* Introduced in PHPUnit 11.2.0.
*
* The polyfill implement... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertArrayWithListKeys_Empty.php | src/Polyfills/AssertArrayWithListKeys_Empty.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
/**
* Empty trait for use with PHPUnit >= 11.0.0 in which the polyfill is not needed.
*
* @since 3.0.0
*/
trait AssertArrayWithListKeys {}
| php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertContainsOnly_Empty.php | src/Polyfills/AssertContainsOnly_Empty.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
/**
* Empty trait for use with PHPUnit >= 11.5.0 in which the polyfill is not needed.
*
* @since 3.1.0
*/
trait AssertContainsOnly {}
| php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertClosedResource.php | src/Polyfills/AssertClosedResource.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
use PHPUnit\SebastianBergmann\Exporter\Exporter as Exporter_In_Phar_Old;
use PHPUnitPHAR\SebastianBergmann\Exporter\Exporter as Exporter_In_Phar;
use SebastianBergmann\Exporter\Exporter;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
/**
* Polyfill the Assert::a... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertObjectProperty_Empty.php | src/Polyfills/AssertObjectProperty_Empty.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
/**
* Empty trait for use with PHPUnit >= 9.6.11 < 10.0.0 and PHPUnit >= 10.1.0 in which this polyfill is not needed.
*
* @since 2.0.0
*/
trait AssertObjectProperty {}
| php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertArrayWithListKeys.php | src/Polyfills/AssertArrayWithListKeys.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
/**
* Polyfill the Assert::assertArrayIsEqualToArrayOnlyConsideringListOfKeys(),
* Assert::assertArrayIsEqualToArrayIgnoringListOfKeys(),
* Assert::assertArrayIsIdenticalToArrayOnlyConsideringListOfKeys(),
* and Assert::assertArrayIsIdenticalToArrayIgnoringListOfK... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertObjectProperty.php | src/Polyfills/AssertObjectProperty.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
use PHPUnit\Framework\Assert;
use ReflectionObject;
use TypeError;
use Yoast\PHPUnitPolyfills\Autoload;
/**
* Polyfill the Assert::assertObjectHasProperty() and Assert::assertObjectNotHasProperty() methods,
* which replace the Assert::assertObjectHasAttribute() and... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertFileEqualsSpecializations.php | src/Polyfills/AssertFileEqualsSpecializations.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
/**
* Polyfill the `Assert::assertFileEqualsCanonicalizing()`, `Assert::assertFileEqualsIgnoringCase()`,
* `Assert::assertStringEqualsFileCanonicalizing()`, `Assert::assertStringEqualsFileIgnoringCase()`,
* `Assert::assertFileNotEqualsCanonicalizing()`, `Assert::as... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertIsList_Empty.php | src/Polyfills/AssertIsList_Empty.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
/**
* Empty trait for use with PHPUnit >= 10.0.0 in which this polyfill is not needed.
*
* @since 2.0.0
*/
trait AssertIsList {}
| php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertContainsOnly.php | src/Polyfills/AssertContainsOnly.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
use PHPUnit\SebastianBergmann\Exporter\Exporter as Exporter_In_Phar_Old;
use PHPUnitPHAR\SebastianBergmann\Exporter\Exporter as Exporter_In_Phar;
use SebastianBergmann\Exporter\Exporter;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
/**
* Polyfill the assertCon... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertFileEqualsSpecializations_Empty.php | src/Polyfills/AssertFileEqualsSpecializations_Empty.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
/**
* Empty trait for use with PHPUnit >= 8.5.0 in which this polyfill is not needed.
*
* @since 0.1.0
*/
trait AssertFileEqualsSpecializations {}
| php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/ExpectUserDeprecation_Empty.php | src/Polyfills/ExpectUserDeprecation_Empty.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
/**
* Empty trait for use with PHPUnit >= 11.0.0 in which this polyfill is not needed.
*
* @since 3.0.0
*/
trait ExpectUserDeprecation {}
| php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertObjectEquals.php | src/Polyfills/AssertObjectEquals.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
use TypeError;
use Yoast\PHPUnitPolyfills\Exceptions\InvalidComparisonMethodException;
use Yoast\PHPUnitPolyfills\Helpers\ComparatorValidator;
/**
* Polyfill the Assert::assertObjectEquals() methods.
*
* Introduced in PHPUnit 9.4.0.
*
* The polyfill implementati... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/ExpectUserDeprecation.php | src/Polyfills/ExpectUserDeprecation.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
use PHPUnit\Framework\Error\Deprecated;
use PHPUnit\Framework\TestCase;
/**
* Polyfill the TestCase::expectUserDeprecationMessage() and the TestCase::expectUserDeprecationMessageMatches() methods.
*
* Introduced in PHPUnit 11.0.0.
*
* Note: PHPUnit 10 is not and... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertObjectEquals_Empty.php | src/Polyfills/AssertObjectEquals_Empty.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
/**
* Empty trait for use with PHPUnit >= 9.4.0 in which this polyfill is not needed.
*
* @since 1.0.0
*/
trait AssertObjectEquals {}
| php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/EqualToSpecializations.php | src/Polyfills/EqualToSpecializations.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
use PHPUnit\Framework\Constraint\IsEqual;
/**
* Polyfill the Assert::equalToCanonicalizing(), Assert::equalToIgnoringCase() and
* Assert::equalToWithDelta(), which replace the use of Assert::equalTo()
* with these optional parameters.
*
* Introduced in PHPUnit 9... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertIgnoringLineEndings_Empty.php | src/Polyfills/AssertIgnoringLineEndings_Empty.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
/**
* Empty trait for use with PHPUnit >= 10.0.0 in which this polyfill is not needed.
*
* @since 2.0.0
*/
trait AssertIgnoringLineEndings {}
| php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/ExpectExceptionMessageMatches.php | src/Polyfills/ExpectExceptionMessageMatches.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
/**
* Polyfill the TestCase::expectExceptionMessageMatches() method, which replaces
* the TestCase::expectExceptionMessageRegExp() method.
*
* Introduced in PHPUnit 8.4.0.
* The `TestCase::expectExceptionMessageRegExp()` method was soft deprecated in PHPUnit 8.4.... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertClosedResource_Empty.php | src/Polyfills/AssertClosedResource_Empty.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
/**
* Empty trait for use with PHPUnit >= 9.3.0 in which the polyfill is not needed.
*
* For consistency, the "should this test be skipped" method is included
* as the PHPUnit native versions of the `assertIs[Not... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertionRenames.php | src/Polyfills/AssertionRenames.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
/**
* Polyfill various assertions renamed for readability.
*
* Introduced in PHPUnit 9.1.0.
* The old names were deprecated in PHPUnit 9.1.0 and (will be) removed in PHPUnit 10.0.0.
*
* @link https://github.com/sebastianbergmann/phpunit/issues/4061
* @link http... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/EqualToSpecializations_Empty.php | src/Polyfills/EqualToSpecializations_Empty.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
/**
* Empty trait for use with PHPUnit >= 9.0.0 in which this polyfill is not needed.
*
* @since 1.0.0
*/
trait EqualToSpecializations {}
| php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertIgnoringLineEndings.php | src/Polyfills/AssertIgnoringLineEndings.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
use PHPUnit\SebastianBergmann\Exporter\Exporter as Exporter_In_Phar_Old;
use PHPUnitPHAR\SebastianBergmann\Exporter\Exporter as Exporter_In_Phar;
use SebastianBergmann\Exporter\Exporter;
/**
* Polyfill the Assert::assertStringEqualsStringIgnoringLineEndings() and th... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/TestCases/XTestCase.php | src/TestCases/XTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\TestCases;
use PHPUnit\Framework\Attributes\After;
use PHPUnit\Framework\Attributes\AfterClass;
use PHPUnit\Framework\Attributes\Before;
use PHPUnit\Framework\Attributes\BeforeClass;
use PHPUnit\Framework\TestCase as PHPUnit_TestCase;
use Yoast\PHPUnitPolyfills\Polyfills\AssertA... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/TestCases/TestCasePHPUnitGte8.php | src/TestCases/TestCasePHPUnitGte8.php | <?php
namespace Yoast\PHPUnitPolyfills\TestCases;
use PHPUnit\Framework\TestCase as PHPUnit_TestCase;
use Yoast\PHPUnitPolyfills\Polyfills\AssertArrayWithListKeys;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
use Yoast\PHPUnitPolyfills\Polyfills\AssertContainsOnly;
use Yoast\PHPUnitPolyfills\Polyfills\A... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/TestCases/TestCasePHPUnitLte7.php | src/TestCases/TestCasePHPUnitLte7.php | <?php
namespace Yoast\PHPUnitPolyfills\TestCases;
use PHPUnit\Framework\TestCase as PHPUnit_TestCase;
use Yoast\PHPUnitPolyfills\Polyfills\AssertArrayWithListKeys;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
use Yoast\PHPUnitPolyfills\Polyfills\AssertContainsOnly;
use Yoast\PHPUnitPolyfills\Polyfills\A... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/bootstrap.php | tests/bootstrap.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests;
if ( \defined( '__PHPUNIT_PHAR__' ) ) {
require_once \dirname( __DIR__ ) . '/phpunitpolyfills-autoload.php';
// phpcs:disable Universal.FunctionDeclarations.NoLongClosures.ExceedsMaximum
\spl_autoload_register(
/**
* Custom PSR-4 based autoloader for test helper ... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Exceptions/InvalidComparisonMethodExceptionTest.php | tests/Exceptions/InvalidComparisonMethodExceptionTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Exceptions;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\TestCase;
use Yoast\PHPUnitPolyfills\Exceptions\InvalidComparisonMethodException;
/**
* Minimal test for the custom exception.
*
* @covers \Yoast\PHPUnitPolyfills\Exceptions\InvalidComparis... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/TestListeners/TestListenerTest.php | tests/TestListeners/TestListenerTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\TestListeners;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use PHPUnit\Framework\TestResult;
use Yoast\PHPUnitPolyfills\TestCases\TestCase;
use Yoast\PHPUnitPolyfills\TestListeners\TestListenerDefaultImplementation;
use Y... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/TestListeners/Fixtures/TestListenerImplementation.php | tests/TestListeners/Fixtures/TestListenerImplementation.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\TestListeners\Fixtures;
use PHPUnit\Framework\TestListener;
use Yoast\PHPUnitPolyfills\TestListeners\TestListenerDefaultImplementation;
/**
* TestListener implementation for testing the TestListener cross-version
* TestListenerDefaultImplementation trait.
*
* @phpcs:d... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/TestListeners/Fixtures/Risky.php | tests/TestListeners/Fixtures/Risky.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\TestListeners\Fixtures;
use PHPUnit\Framework\TestCase;
/**
* Fixture to generate a "risky test" to pass to the test listener.
*/
class Risky extends TestCase {
/**
* Test resulting in a test marked as risky.
*
* @return void
*/
protected function testForList... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/TestListeners/Fixtures/Failure.php | tests/TestListeners/Fixtures/Failure.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\TestListeners\Fixtures;
use PHPUnit\Framework\TestCase;
/**
* Fixture to generate a "failed test" to pass to the test listener.
*/
class Failure extends TestCase {
/**
* Test resulting in a failed test.
*
* @return void
*/
protected function testForListener()... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/TestListeners/Fixtures/Incomplete.php | tests/TestListeners/Fixtures/Incomplete.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\TestListeners\Fixtures;
use PHPUnit\Framework\TestCase;
/**
* Fixture to generate an "incomplete test" to pass to the test listener.
*/
class Incomplete extends TestCase {
/**
* Test resulting in a test marked as incomplete.
*
* @return void
*/
protected func... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/TestListeners/Fixtures/Warning.php | tests/TestListeners/Fixtures/Warning.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\TestListeners\Fixtures;
use PHPUnit\Framework\TestCase;
use PHPUnit\Framework\Warning as PHPUnit_Warning;
/**
* Fixture to generate a test warning to pass to the test listener.
*/
class Warning extends TestCase {
/**
* Test resulting in a warning.
*
* @return vo... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/TestListeners/Fixtures/Success.php | tests/TestListeners/Fixtures/Success.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\TestListeners\Fixtures;
use PHPUnit\Framework\TestCase;
/**
* Fixture to generate a "successfull test" to pass to the test listener.
*/
class Success extends TestCase {
/**
* Test resulting in a successfull test.
*
* @return void
*/
protected function testFor... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/TestListeners/Fixtures/TestError.php | tests/TestListeners/Fixtures/TestError.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\TestListeners\Fixtures;
use Exception;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\TestCase;
/**
* Fixture to generate a test error to pass to the test listener.
*
* @coversNothing
*/
#[CoversNothing]
class TestError extends TestCase {
/**
... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/TestListeners/Fixtures/Skipped.php | tests/TestListeners/Fixtures/Skipped.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\TestListeners\Fixtures;
use PHPUnit\Framework\TestCase;
/**
* Fixture to generate a "skipped test" to pass to the test listener.
*/
class Skipped extends TestCase {
/**
* Test resulting in a test marked as skipped.
*
* @return void
*/
protected function testF... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/ExpectExceptionMessageMatchesTestCase.php | tests/Polyfills/ExpectExceptionMessageMatchesTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use Exception;
use PHPUnit\Framework\TestCase;
use Yoast\PHPUnitPolyfills\Polyfills\ExpectExceptionMessageMatches;
/**
* Availability test for the function polyfilled by the ExpectExceptionMessageMatches trait.
*/
abstract class ExpectExceptionMessageMatchesT... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/EqualToSpecializationsTestCase.php | tests/Polyfills/EqualToSpecializationsTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use PHPUnit\Framework\TestCase;
use Yoast\PHPUnitPolyfills\Polyfills\EqualToSpecializations;
/**
* Availability test for the functions polyfilled by the EqualToSpecializations trait.
*/
abstract class EqualToSpecializationsTestCase extends TestCase {
use Eq... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertArrayWithListKeysTestCase.php | tests/Polyfills/AssertArrayWithListKeysTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use PHPUnit\Framework\AssertionFailedError;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use PHPUnit\Runner\Version as PHPUnit_Version;
use stdClass;
use TypeError;
use Yoast\PHPUnitPolyfills\Polyfills\AssertArrayWithListKeys;
u... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/ExpectUserDeprecationTestCase.php | tests/Polyfills/ExpectUserDeprecationTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use PHPUnit\Framework\Attributes\IgnoreDeprecations;
use PHPUnit\Framework\TestCase;
use Yoast\PHPUnitPolyfills\Polyfills\ExpectUserDeprecation;
/**
* Availability test for the functions polyfilled by the ExpectUserDeprecation trait.
*/
abstract class ExpectU... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertClosedResourceEnchantTestCase.php | tests/Polyfills/AssertClosedResourceEnchantTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
/**
* Functionality test for the functions polyfilled by the AssertClosedResource trait.
*
* Resource type: enchant_broker
* Extension: enchant
*
* @phpcs:disable Generic.PHP.DeprecatedFunctio... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertClosedResourceFinfoTestCase.php | tests/Polyfills/AssertClosedResourceFinfoTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
/**
* Functionality test for the functions polyfilled by the AssertClosedResource trait.
*
* Resource type: finfo
* Extension: finfo
*/
abstract class AssertClosedResourceFinfoTestCase extends ... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertClosedResourceDirTestCase.php | tests/Polyfills/AssertClosedResourceDirTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
/**
* Functionality test for the functions polyfilled by the AssertClosedResource trait.
*
* Resource type: stream
* Extension: standard (Core)
*/
abstract class AssertClosedResourceDirTestCase... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertIsListTestCase.php | tests/Polyfills/AssertIsListTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use PHPUnit\Framework\AssertionFailedError;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use stdClass;
use Yoast\PHPUnitPolyfills\Autoload;
use Yoast\PHPUnitPolyfills\Polyfills\AssertIsList;
use Yoast\PHPUnitPolyfills\Polyfills\... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertClosedResourceXmlParserTestCase.php | tests/Polyfills/AssertClosedResourceXmlParserTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
/**
* Functionality test for the functions polyfilled by the AssertClosedResource trait.
*
* Resource type: xml
* Extension: libxml
*/
abstrac... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertionRenamesTestCase.php | tests/Polyfills/AssertionRenamesTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use PHPUnit\Framework\TestCase;
use Yoast\PHPUnitPolyfills\Polyfills\AssertionRenames;
/**
* Availability test for the functions polyfilled by the AssertionRenames trait.
*/
abstract class AssertionRenamesTestCase extends TestCase {
use AssertionRenames;
... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertObjectNotEqualsTestCase.php | tests/Polyfills/AssertObjectNotEqualsTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use PHPUnit\Framework\AssertionFailedError;
use PHPUnit\Framework\Attributes\RequiresPhp;
use PHPUnit\Framework\ComparisonMethodDoesNotAcceptParameterTypeException;
use PHPUnit\Framework\ComparisonMethodDoesNotDeclareBoolReturnTypeException;
use PHPUnit\Framewor... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertContainsOnlyTestCase.php | tests/Polyfills/AssertContainsOnlyTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use DateTime;
use EmptyIterator;
use PHPUnit\Framework\AssertionFailedError;
use PHPUnit\Framework\Attributes\AfterClass;
use PHPUnit\Framework\Attributes\BeforeClass;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use stdClass;
u... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertClosedResourceZlibTestCase.php | tests/Polyfills/AssertClosedResourceZlibTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
/**
* Functionality test for the functions polyfilled by the AssertClosedResource trait.
*
* Resource type: zlib
* Extension: zlib
*/
abstract class AssertClosedResourceZlibTestCase extends Ass... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertClosedResourceNotResourceTestCase.php | tests/Polyfills/AssertClosedResourceNotResourceTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use PHPUnit\Framework\AssertionFailedError;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use stdClass;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
use Yoast\PHPUnitPolyfills\Polyfills\ExpectExceptionMessageMatches... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertClosedResourceZipTestCase.php | tests/Polyfills/AssertClosedResourceZipTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
/**
* Functionality test for the functions polyfilled by the AssertClosedResource trait.
*
* Resource type: zip
* Extension: zip
*
* Note: the procedural interface of the Zip extension has bee... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertClosedResourceFileTestCase.php | tests/Polyfills/AssertClosedResourceFileTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
/**
* Functionality test for the functions polyfilled by the AssertClosedResource trait.
*
* Resource type: stream
* Extension: standard (Core)
*/
abstract class AssertClosedResourceFileTestCas... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertClosedResourceProcessTestCase.php | tests/Polyfills/AssertClosedResourceProcessTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
/**
* Functionality test for the functions polyfilled by the AssertClosedResource trait.
*
* Resource type: stream
* Extension: standard (Core)
*/
abstract class AssertClosedResourceProcessTest... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertClosedResourceWddxTestCase.php | tests/Polyfills/AssertClosedResourceWddxTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
/**
* Functionality test for the functions polyfilled by the AssertClosedResource trait.
*
* Resource type: wddx
* Extension: wddx
*
* @phpcs:disable PHPCompatibility.Extensions.RemovedExtensi... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertClosedResourceGdTestCase.php | tests/Polyfills/AssertClosedResourceGdTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
/**
* Functionality test for the functions polyfilled by the AssertClosedResource trait.
*
* Resource type: gd
* Extension: gd
*/
abstract class AssertClosedResourceGdTestCase extends AssertClo... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertClosedResourceCurlTestCase.php | tests/Polyfills/AssertClosedResourceCurlTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
/**
* Functionality test for the functions polyfilled by the AssertClosedResource trait.
*
* Resource type: curl
* Extension: curl
*/
abstract class AssertClosedResourceCurlTestCase extends Ass... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertClosedResourceShmopTestCase.php | tests/Polyfills/AssertClosedResourceShmopTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
/**
* Functionality test for the functions polyfilled by the AssertClosedResource trait.
*
* Resource type: shmop
* Extension: shmop
*
* @phpcs:disable Generic.PHP.DeprecatedFunctions.Deprecat... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertFileEqualsSpecializationsTestCase.php | tests/Polyfills/AssertFileEqualsSpecializationsTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use PHPUnit\Framework\TestCase;
use Yoast\PHPUnitPolyfills\Polyfills\AssertFileEqualsSpecializations;
/**
* Availability test for the functions polyfilled by the AssertFileEqualsSpecializations trait.
*/
abstract class AssertFileEqualsSpecializationsTestCase ... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertClosedResourceTestCase.php | tests/Polyfills/AssertClosedResourceTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use PHPUnit\Framework\AssertionFailedError;
use PHPUnit\Framework\TestCase;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
use Yoast\PHPUnitPolyfills\Polyfills\ExpectExceptionMessageMatches;
/**
* Helper functions for the functionality tests for th... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertClosedResourceBzip2TestCase.php | tests/Polyfills/AssertClosedResourceBzip2TestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
/**
* Functionality test for the functions polyfilled by the AssertClosedResource trait.
*
* Resource type: bzip2
* Extension: bz2
*/
abstract class AssertClosedResourceBzip2TestCase extends As... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertIgnoringLineEndingsTestCase.php | tests/Polyfills/AssertIgnoringLineEndingsTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use PHPUnit\Framework\AssertionFailedError;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use PHPUnit\Runner\Version as PHPUnit_Version;
use PHPUnit\SebastianBergmann\Exporter\Exporter as Exporter_In_Phar_Old;
use PHPUnitPHAR\Seb... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertObjectEqualsTestCase.php | tests/Polyfills/AssertObjectEqualsTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use PHPUnit\Framework\AssertionFailedError;
use PHPUnit\Framework\Attributes\RequiresPhp;
use PHPUnit\Framework\ComparisonMethodDoesNotAcceptParameterTypeException;
use PHPUnit\Framework\ComparisonMethodDoesNotDeclareBoolReturnTypeException;
use PHPUnit\Framewor... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/AssertObjectPropertyTestCase.php | tests/Polyfills/AssertObjectPropertyTestCase.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills;
use PHPUnit\Framework\AssertionFailedError;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use PHPUnit\Runner\Version as PHPUnit_Version;
use stdClass;
use TypeError;
use Yoast\PHPUnitPolyfills\Polyfills\AssertObjectProperty;
use ... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/AssertObjectPropertyTest.php | tests/Polyfills/WrappersGte12/AssertObjectPropertyTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Polyfills\AssertObjectProperty;
use Yoast\PHPUnitPolyfills\Tests\Polyfills\AssertObjectPropertyTestCase;
/**
* Test for the... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/AssertObjectNotEqualsTest.php | tests/Polyfills/WrappersGte12/AssertObjectNotEqualsTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ComparatorValidator;
use Yoast\PHPUnitPolyfills\Polyfills\AssertObjectN... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/AssertContainsOnlyTest.php | tests/Polyfills/WrappersGte12/AssertContainsOnlyTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Polyfills\AssertContainsOnly;
use Yoast\PHPUnitPolyfills\Tests\Polyfills\AssertContainsOnlyTestCase;
/**
* Tests for the fu... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/ExpectUserDeprecationTest.php | tests/Polyfills/WrappersGte12/ExpectUserDeprecationTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Polyfills\ExpectUserDeprecation;
use Yoast\PHPUnitPolyfills\Tests\Polyfills\ExpectUserDeprecationTestCase;
/**
* Availabili... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/AssertClosedResourceNotResourceTest.php | tests/Polyfills/WrappersGte12/AssertClosedResourceNotResourceTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResour... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/AssertClosedResourceZlibTest.php | tests/Polyfills/WrappersGte12/AssertClosedResourceZlibTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/AssertClosedResourceBzip2Test.php | tests/Polyfills/WrappersGte12/AssertClosedResourceBzip2Test.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/AssertClosedResourceZipTest.php | tests/Polyfills/WrappersGte12/AssertClosedResourceZipTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/AssertFileEqualsSpecializationsTest.php | tests/Polyfills/WrappersGte12/AssertFileEqualsSpecializationsTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Polyfills\AssertFileEqualsSpecializations;
use Yoast\PHPUnitPolyfills\Tests\Polyfills\AssertFileEqualsSpecializationsTestCase... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/AssertIgnoringLineEndingsTest.php | tests/Polyfills/WrappersGte12/AssertIgnoringLineEndingsTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Polyfills\AssertIgnoringLineEndings;
use Yoast\PHPUnitPolyfills\Tests\Polyfills\AssertIgnoringLineEndingsTestCase;
/**
* Av... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/AssertIsListTest.php | tests/Polyfills/WrappersGte12/AssertIsListTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Polyfills\AssertIsList;
use Yoast\PHPUnitPolyfills\Tests\Polyfills\AssertIsListTestCase;
/**
* Availability test for the fu... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/AssertClosedResourceFileTest.php | tests/Polyfills/WrappersGte12/AssertClosedResourceFileTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResour... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/ExpectExceptionMessageMatchesTest.php | tests/Polyfills/WrappersGte12/ExpectExceptionMessageMatchesTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Polyfills\ExpectExceptionMessageMatches;
use Yoast\PHPUnitPolyfills\Tests\Polyfills\ExpectExceptionMessageMatchesTestCase;
/... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/EqualToSpecializationsTest.php | tests/Polyfills/WrappersGte12/EqualToSpecializationsTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Polyfills\EqualToSpecializations;
use Yoast\PHPUnitPolyfills\Tests\Polyfills\EqualToSpecializationsTestCase;
/**
* Availabi... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/AssertClosedResourceDirTest.php | tests/Polyfills/WrappersGte12/AssertClosedResourceDirTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResour... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/AssertObjectEqualsTest.php | tests/Polyfills/WrappersGte12/AssertObjectEqualsTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ComparatorValidator;
use Yoast\PHPUnitPolyfills\Polyfills\AssertObjectE... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/AssertClosedResourceProcessTest.php | tests/Polyfills/WrappersGte12/AssertClosedResourceProcessTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResour... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/AssertArrayWithListKeysTest.php | tests/Polyfills/WrappersGte12/AssertArrayWithListKeysTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Polyfills\AssertArrayWithListKeys;
use Yoast\PHPUnitPolyfills\Tests\Polyfills\AssertArrayWithListKeysTestCase;
/**
* Availa... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersGte12/AssertionRenamesTest.php | tests/Polyfills/WrappersGte12/AssertionRenamesTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersGte12;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Polyfills\AssertionRenames;
use Yoast\PHPUnitPolyfills\Tests\Polyfills\AssertionRenamesTestCase;
/**
* Availability test fo... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/Fixtures/ValueObjectUnionReturnType.php | tests/Polyfills/Fixtures/ValueObjectUnionReturnType.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\Fixtures;
/**
* Fixture to test the AssertObjectEquals trait.
*
* This `equals*()` method needs to be in this separate fixture as it needs
* a union type declaration (PHP 8.0+).
*/
class ValueObjectUnionReturnType {
/**
* The value.
*
* @var mixed
... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/Fixtures/ValueObject.php | tests/Polyfills/Fixtures/ValueObject.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\Fixtures;
use ClassWhichDoesntExist;
/**
* Fixture to test the AssertObjectEquals trait.
*/
class ValueObject {
/**
* The value.
*
* @var mixed
*/
protected $value;
/**
* Constructor.
*
* @param mixed $value The value.
*/
public function ... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/Fixtures/ObjectWithProperties.php | tests/Polyfills/Fixtures/ObjectWithProperties.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\Fixtures;
/**
* Fixture to test the AssertObjectProperty trait.
*/
class ObjectWithProperties {
/**
* Property for use in the tests.
*
* @var mixed
*/
public $publicNoDefaultValue;
/**
* Property for use in the tests.
*
* @var mixed
*/
pro... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/Fixtures/ChildValueObject.php | tests/Polyfills/Fixtures/ChildValueObject.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\Fixtures;
/**
* Fixture to test the AssertObjectEquals trait.
*/
class ChildValueObject extends ValueObject {
/**
* The value.
*
* @var mixed
*/
protected $value;
/**
* Constructor.
*
* @param mixed $value The value.
*/
public function __c... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/Fixtures/ValueObjectUnion.php | tests/Polyfills/Fixtures/ValueObjectUnion.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\Fixtures;
/**
* Fixture to test the AssertObjectEquals trait.
*/
class ValueObjectUnion {
/**
* The value.
*
* @var mixed
*/
protected $value;
/**
* Constructor.
*
* @param mixed $value The value.
*/
public function __construct( $value ) {... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersLte11/AssertClosedResourceShmopTest.php | tests/Polyfills/WrappersLte11/AssertClosedResourceShmopTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersLte11;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RequiresPhp;
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersLte11/AssertClosedResourceGdTest.php | tests/Polyfills/WrappersLte11/AssertClosedResourceGdTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersLte11;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RequiresPhp;
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersLte11/AssertObjectPropertyTest.php | tests/Polyfills/WrappersLte11/AssertObjectPropertyTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersLte11;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Polyfills\AssertObjectProperty;
use Yoast\PHPUnitPolyfills\Tests\Polyfills\AssertObjectPropertyTestCase;
/**
* Test for the... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersLte11/AssertObjectNotEqualsTest.php | tests/Polyfills/WrappersLte11/AssertObjectNotEqualsTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersLte11;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ComparatorValidator;
use Yoast\PHPUnitPolyfills\Polyfills\AssertObjectNotEquals;
use Yoast\PHPUnitPolyfills\Tests\Pol... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersLte11/AssertClosedResourceCurlTest.php | tests/Polyfills/WrappersLte11/AssertClosedResourceCurlTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersLte11;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RequiresPhp;
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersLte11/AssertContainsOnlyTest.php | tests/Polyfills/WrappersLte11/AssertContainsOnlyTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersLte11;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Polyfills\AssertContainsOnly;
use Yoast\PHPUnitPolyfills\Tests\Polyfills\AssertContainsOnlyTestCase;
/**
* Tests for the fu... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersLte11/ExpectUserDeprecationTest.php | tests/Polyfills/WrappersLte11/ExpectUserDeprecationTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersLte11;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Polyfills\ExpectUserDeprecation;
use Yoast\PHPUnitPolyfills\Tests\Polyfills\ExpectUserDeprecationTestCase;
/**
* Availabili... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersLte11/AssertClosedResourceFinfoTest.php | tests/Polyfills/WrappersLte11/AssertClosedResourceFinfoTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersLte11;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RequiresPhp;
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersLte11/AssertClosedResourceNotResourceTest.php | tests/Polyfills/WrappersLte11/AssertClosedResourceNotResourceTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersLte11;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource;
use Yoast\PHPUnitPolyfills\Tests\Polyfills... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersLte11/AssertClosedResourceZlibTest.php | tests/Polyfills/WrappersLte11/AssertClosedResourceZlibTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersLte11;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClo... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersLte11/AssertClosedResourceBzip2Test.php | tests/Polyfills/WrappersLte11/AssertClosedResourceBzip2Test.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersLte11;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClo... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/tests/Polyfills/WrappersLte11/AssertClosedResourceZipTest.php | tests/Polyfills/WrappersLte11/AssertClosedResourceZipTest.php | <?php
namespace Yoast\PHPUnitPolyfills\Tests\Polyfills\WrappersLte11;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
use PHPUnit\Framework\Attributes\RequiresPhpunit;
use Yoast\PHPUnitPolyfills\Helpers\ResourceHelper;
use Yoast\PHPUnitPolyfills\Polyfills\AssertClo... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.