Вход Регистрация
Файл: vendor/phpunit/phpunit/src/Framework/Assert/Functions.php
Строк: 5232
<?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 PHPUnitFramework;

use function 
func_get_args;
use function 
function_exists;
use 
ArrayAccess;
use 
Countable;
use 
DOMDocument;
use 
DOMElement;
use 
PHPUnitFrameworkConstraintArrayHasKey;
use 
PHPUnitFrameworkConstraintCallback;
use 
PHPUnitFrameworkConstraintClassHasAttribute;
use 
PHPUnitFrameworkConstraintClassHasStaticAttribute;
use 
PHPUnitFrameworkConstraintConstraint;
use 
PHPUnitFrameworkConstraintCount;
use 
PHPUnitFrameworkConstraintDirectoryExists;
use 
PHPUnitFrameworkConstraintFileExists;
use 
PHPUnitFrameworkConstraintGreaterThan;
use 
PHPUnitFrameworkConstraintIsAnything;
use 
PHPUnitFrameworkConstraintIsEmpty;
use 
PHPUnitFrameworkConstraintIsEqual;
use 
PHPUnitFrameworkConstraintIsEqualCanonicalizing;
use 
PHPUnitFrameworkConstraintIsEqualIgnoringCase;
use 
PHPUnitFrameworkConstraintIsEqualWithDelta;
use 
PHPUnitFrameworkConstraintIsFalse;
use 
PHPUnitFrameworkConstraintIsFinite;
use 
PHPUnitFrameworkConstraintIsIdentical;
use 
PHPUnitFrameworkConstraintIsInfinite;
use 
PHPUnitFrameworkConstraintIsInstanceOf;
use 
PHPUnitFrameworkConstraintIsJson;
use 
PHPUnitFrameworkConstraintIsNan;
use 
PHPUnitFrameworkConstraintIsNull;
use 
PHPUnitFrameworkConstraintIsReadable;
use 
PHPUnitFrameworkConstraintIsTrue;
use 
PHPUnitFrameworkConstraintIsType;
use 
PHPUnitFrameworkConstraintIsWritable;
use 
PHPUnitFrameworkConstraintLessThan;
use 
PHPUnitFrameworkConstraintLogicalAnd;
use 
PHPUnitFrameworkConstraintLogicalNot;
use 
PHPUnitFrameworkConstraintLogicalOr;
use 
PHPUnitFrameworkConstraintLogicalXor;
use 
PHPUnitFrameworkConstraintObjectEquals;
use 
PHPUnitFrameworkConstraintObjectHasAttribute;
use 
PHPUnitFrameworkConstraintRegularExpression;
use 
PHPUnitFrameworkConstraintStringContains;
use 
PHPUnitFrameworkConstraintStringEndsWith;
use 
PHPUnitFrameworkConstraintStringMatchesFormatDescription;
use 
PHPUnitFrameworkConstraintStringStartsWith;
use 
PHPUnitFrameworkConstraintTraversableContainsEqual;
use 
PHPUnitFrameworkConstraintTraversableContainsIdentical;
use 
PHPUnitFrameworkConstraintTraversableContainsOnly;
use 
PHPUnitFrameworkMockObjectRuleAnyInvokedCount as AnyInvokedCountMatcher;
use 
PHPUnitFrameworkMockObjectRuleInvokedAtIndex as InvokedAtIndexMatcher;
use 
PHPUnitFrameworkMockObjectRuleInvokedAtLeastCount as InvokedAtLeastCountMatcher;
use 
PHPUnitFrameworkMockObjectRuleInvokedAtLeastOnce as InvokedAtLeastOnceMatcher;
use 
PHPUnitFrameworkMockObjectRuleInvokedAtMostCount as InvokedAtMostCountMatcher;
use 
PHPUnitFrameworkMockObjectRuleInvokedCount as InvokedCountMatcher;
use 
PHPUnitFrameworkMockObjectStubConsecutiveCalls as ConsecutiveCallsStub;
use 
PHPUnitFrameworkMockObjectStubException as ExceptionStub;
use 
PHPUnitFrameworkMockObjectStubReturnArgument as ReturnArgumentStub;
use 
PHPUnitFrameworkMockObjectStubReturnCallback as ReturnCallbackStub;
use 
PHPUnitFrameworkMockObjectStubReturnSelf as ReturnSelfStub;
use 
PHPUnitFrameworkMockObjectStubReturnStub;
use 
PHPUnitFrameworkMockObjectStubReturnValueMap as ReturnValueMapStub;
use 
Throwable;

if (!
function_exists('PHPUnitFrameworkassertArrayHasKey')) {
    
/**
     * Asserts that an array has a specified key.
     *
     * @param int|string        $key
     * @param array|ArrayAccess $array
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertArrayHasKey
     */
    
function assertArrayHasKey($key$arraystring $message ''): void
    
{
        
Assert::assertArrayHasKey(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertArrayNotHasKey')) {
    
/**
     * Asserts that an array does not have a specified key.
     *
     * @param int|string        $key
     * @param array|ArrayAccess $array
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertArrayNotHasKey
     */
    
function assertArrayNotHasKey($key$arraystring $message ''): void
    
{
        
Assert::assertArrayNotHasKey(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertContains')) {
    
/**
     * Asserts that a haystack contains a needle.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertContains
     */
    
function assertContains($needleiterable $haystackstring $message ''): void
    
{
        
Assert::assertContains(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertContainsEquals')) {
    function 
assertContainsEquals($needleiterable $haystackstring $message ''): void
    
{
        
Assert::assertContainsEquals(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotContains')) {
    
/**
     * Asserts that a haystack does not contain a needle.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotContains
     */
    
function assertNotContains($needleiterable $haystackstring $message ''): void
    
{
        
Assert::assertNotContains(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotContainsEquals')) {
    function 
assertNotContainsEquals($needleiterable $haystackstring $message ''): void
    
{
        
Assert::assertNotContainsEquals(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertContainsOnly')) {
    
/**
     * Asserts that a haystack contains only values of a given type.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertContainsOnly
     */
    
function assertContainsOnly(string $typeiterable $haystack, ?bool $isNativeType nullstring $message ''): void
    
{
        
Assert::assertContainsOnly(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertContainsOnlyInstancesOf')) {
    
/**
     * Asserts that a haystack contains only instances of a given class name.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertContainsOnlyInstancesOf
     */
    
function assertContainsOnlyInstancesOf(string $classNameiterable $haystackstring $message ''): void
    
{
        
Assert::assertContainsOnlyInstancesOf(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotContainsOnly')) {
    
/**
     * Asserts that a haystack does not contain only values of a given type.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotContainsOnly
     */
    
function assertNotContainsOnly(string $typeiterable $haystack, ?bool $isNativeType nullstring $message ''): void
    
{
        
Assert::assertNotContainsOnly(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertCount')) {
    
/**
     * Asserts the number of elements of an array, Countable or Traversable.
     *
     * @param Countable|iterable $haystack
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertCount
     */
    
function assertCount(int $expectedCount$haystackstring $message ''): void
    
{
        
Assert::assertCount(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotCount')) {
    
/**
     * Asserts the number of elements of an array, Countable or Traversable.
     *
     * @param Countable|iterable $haystack
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotCount
     */
    
function assertNotCount(int $expectedCount$haystackstring $message ''): void
    
{
        
Assert::assertNotCount(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertEquals')) {
    
/**
     * Asserts that two variables are equal.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertEquals
     */
    
function assertEquals($expected$actualstring $message ''): void
    
{
        
Assert::assertEquals(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertEqualsCanonicalizing')) {
    
/**
     * Asserts that two variables are equal (canonicalizing).
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertEqualsCanonicalizing
     */
    
function assertEqualsCanonicalizing($expected$actualstring $message ''): void
    
{
        
Assert::assertEqualsCanonicalizing(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertEqualsIgnoringCase')) {
    
/**
     * Asserts that two variables are equal (ignoring case).
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertEqualsIgnoringCase
     */
    
function assertEqualsIgnoringCase($expected$actualstring $message ''): void
    
{
        
Assert::assertEqualsIgnoringCase(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertEqualsWithDelta')) {
    
/**
     * Asserts that two variables are equal (with delta).
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertEqualsWithDelta
     */
    
function assertEqualsWithDelta($expected$actualfloat $deltastring $message ''): void
    
{
        
Assert::assertEqualsWithDelta(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotEquals')) {
    
/**
     * Asserts that two variables are not equal.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotEquals
     */
    
function assertNotEquals($expected$actualstring $message ''): void
    
{
        
Assert::assertNotEquals(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotEqualsCanonicalizing')) {
    
/**
     * Asserts that two variables are not equal (canonicalizing).
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotEqualsCanonicalizing
     */
    
function assertNotEqualsCanonicalizing($expected$actualstring $message ''): void
    
{
        
Assert::assertNotEqualsCanonicalizing(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotEqualsIgnoringCase')) {
    
/**
     * Asserts that two variables are not equal (ignoring case).
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotEqualsIgnoringCase
     */
    
function assertNotEqualsIgnoringCase($expected$actualstring $message ''): void
    
{
        
Assert::assertNotEqualsIgnoringCase(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotEqualsWithDelta')) {
    
/**
     * Asserts that two variables are not equal (with delta).
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotEqualsWithDelta
     */
    
function assertNotEqualsWithDelta($expected$actualfloat $deltastring $message ''): void
    
{
        
Assert::assertNotEqualsWithDelta(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertObjectEquals')) {
    
/**
     * @throws ExpectationFailedException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertObjectEquals
     */
    
function assertObjectEquals(object $expectedobject $actualstring $method 'equals'string $message ''): void
    
{
        
Assert::assertObjectEquals(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertEmpty')) {
    
/**
     * Asserts that a variable is empty.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert empty $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertEmpty
     */
    
function assertEmpty($actualstring $message ''): void
    
{
        
Assert::assertEmpty(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotEmpty')) {
    
/**
     * Asserts that a variable is not empty.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert !empty $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotEmpty
     */
    
function assertNotEmpty($actualstring $message ''): void
    
{
        
Assert::assertNotEmpty(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertGreaterThan')) {
    
/**
     * Asserts that a value is greater than another value.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertGreaterThan
     */
    
function assertGreaterThan($expected$actualstring $message ''): void
    
{
        
Assert::assertGreaterThan(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertGreaterThanOrEqual')) {
    
/**
     * Asserts that a value is greater than or equal to another value.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertGreaterThanOrEqual
     */
    
function assertGreaterThanOrEqual($expected$actualstring $message ''): void
    
{
        
Assert::assertGreaterThanOrEqual(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertLessThan')) {
    
/**
     * Asserts that a value is smaller than another value.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertLessThan
     */
    
function assertLessThan($expected$actualstring $message ''): void
    
{
        
Assert::assertLessThan(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertLessThanOrEqual')) {
    
/**
     * Asserts that a value is smaller than or equal to another value.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertLessThanOrEqual
     */
    
function assertLessThanOrEqual($expected$actualstring $message ''): void
    
{
        
Assert::assertLessThanOrEqual(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFileEquals')) {
    
/**
     * Asserts that the contents of one file is equal to the contents of another
     * file.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFileEquals
     */
    
function assertFileEquals(string $expectedstring $actualstring $message ''): void
    
{
        
Assert::assertFileEquals(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFileEqualsCanonicalizing')) {
    
/**
     * Asserts that the contents of one file is equal to the contents of another
     * file (canonicalizing).
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFileEqualsCanonicalizing
     */
    
function assertFileEqualsCanonicalizing(string $expectedstring $actualstring $message ''): void
    
{
        
Assert::assertFileEqualsCanonicalizing(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFileEqualsIgnoringCase')) {
    
/**
     * Asserts that the contents of one file is equal to the contents of another
     * file (ignoring case).
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFileEqualsIgnoringCase
     */
    
function assertFileEqualsIgnoringCase(string $expectedstring $actualstring $message ''): void
    
{
        
Assert::assertFileEqualsIgnoringCase(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFileNotEquals')) {
    
/**
     * Asserts that the contents of one file is not equal to the contents of
     * another file.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFileNotEquals
     */
    
function assertFileNotEquals(string $expectedstring $actualstring $message ''): void
    
{
        
Assert::assertFileNotEquals(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFileNotEqualsCanonicalizing')) {
    
/**
     * Asserts that the contents of one file is not equal to the contents of another
     * file (canonicalizing).
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFileNotEqualsCanonicalizing
     */
    
function assertFileNotEqualsCanonicalizing(string $expectedstring $actualstring $message ''): void
    
{
        
Assert::assertFileNotEqualsCanonicalizing(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFileNotEqualsIgnoringCase')) {
    
/**
     * Asserts that the contents of one file is not equal to the contents of another
     * file (ignoring case).
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFileNotEqualsIgnoringCase
     */
    
function assertFileNotEqualsIgnoringCase(string $expectedstring $actualstring $message ''): void
    
{
        
Assert::assertFileNotEqualsIgnoringCase(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringEqualsFile')) {
    
/**
     * Asserts that the contents of a string is equal
     * to the contents of a file.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringEqualsFile
     */
    
function assertStringEqualsFile(string $expectedFilestring $actualStringstring $message ''): void
    
{
        
Assert::assertStringEqualsFile(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringEqualsFileCanonicalizing')) {
    
/**
     * Asserts that the contents of a string is equal
     * to the contents of a file (canonicalizing).
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringEqualsFileCanonicalizing
     */
    
function assertStringEqualsFileCanonicalizing(string $expectedFilestring $actualStringstring $message ''): void
    
{
        
Assert::assertStringEqualsFileCanonicalizing(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringEqualsFileIgnoringCase')) {
    
/**
     * Asserts that the contents of a string is equal
     * to the contents of a file (ignoring case).
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringEqualsFileIgnoringCase
     */
    
function assertStringEqualsFileIgnoringCase(string $expectedFilestring $actualStringstring $message ''): void
    
{
        
Assert::assertStringEqualsFileIgnoringCase(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringNotEqualsFile')) {
    
/**
     * Asserts that the contents of a string is not equal
     * to the contents of a file.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringNotEqualsFile
     */
    
function assertStringNotEqualsFile(string $expectedFilestring $actualStringstring $message ''): void
    
{
        
Assert::assertStringNotEqualsFile(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringNotEqualsFileCanonicalizing')) {
    
/**
     * Asserts that the contents of a string is not equal
     * to the contents of a file (canonicalizing).
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringNotEqualsFileCanonicalizing
     */
    
function assertStringNotEqualsFileCanonicalizing(string $expectedFilestring $actualStringstring $message ''): void
    
{
        
Assert::assertStringNotEqualsFileCanonicalizing(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringNotEqualsFileIgnoringCase')) {
    
/**
     * Asserts that the contents of a string is not equal
     * to the contents of a file (ignoring case).
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringNotEqualsFileIgnoringCase
     */
    
function assertStringNotEqualsFileIgnoringCase(string $expectedFilestring $actualStringstring $message ''): void
    
{
        
Assert::assertStringNotEqualsFileIgnoringCase(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsReadable')) {
    
/**
     * Asserts that a file/dir is readable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsReadable
     */
    
function assertIsReadable(string $filenamestring $message ''): void
    
{
        
Assert::assertIsReadable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsNotReadable')) {
    
/**
     * Asserts that a file/dir exists and is not readable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsNotReadable
     */
    
function assertIsNotReadable(string $filenamestring $message ''): void
    
{
        
Assert::assertIsNotReadable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotIsReadable')) {
    
/**
     * Asserts that a file/dir exists and is not readable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @codeCoverageIgnore
     *
     * @deprecated https://github.com/sebastianbergmann/phpunit/issues/4062
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotIsReadable
     */
    
function assertNotIsReadable(string $filenamestring $message ''): void
    
{
        
Assert::assertNotIsReadable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsWritable')) {
    
/**
     * Asserts that a file/dir exists and is writable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsWritable
     */
    
function assertIsWritable(string $filenamestring $message ''): void
    
{
        
Assert::assertIsWritable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsNotWritable')) {
    
/**
     * Asserts that a file/dir exists and is not writable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsNotWritable
     */
    
function assertIsNotWritable(string $filenamestring $message ''): void
    
{
        
Assert::assertIsNotWritable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotIsWritable')) {
    
/**
     * Asserts that a file/dir exists and is not writable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @codeCoverageIgnore
     *
     * @deprecated https://github.com/sebastianbergmann/phpunit/issues/4065
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotIsWritable
     */
    
function assertNotIsWritable(string $filenamestring $message ''): void
    
{
        
Assert::assertNotIsWritable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertDirectoryExists')) {
    
/**
     * Asserts that a directory exists.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertDirectoryExists
     */
    
function assertDirectoryExists(string $directorystring $message ''): void
    
{
        
Assert::assertDirectoryExists(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertDirectoryDoesNotExist')) {
    
/**
     * Asserts that a directory does not exist.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertDirectoryDoesNotExist
     */
    
function assertDirectoryDoesNotExist(string $directorystring $message ''): void
    
{
        
Assert::assertDirectoryDoesNotExist(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertDirectoryNotExists')) {
    
/**
     * Asserts that a directory does not exist.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @codeCoverageIgnore
     *
     * @deprecated https://github.com/sebastianbergmann/phpunit/issues/4068
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertDirectoryNotExists
     */
    
function assertDirectoryNotExists(string $directorystring $message ''): void
    
{
        
Assert::assertDirectoryNotExists(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertDirectoryIsReadable')) {
    
/**
     * Asserts that a directory exists and is readable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertDirectoryIsReadable
     */
    
function assertDirectoryIsReadable(string $directorystring $message ''): void
    
{
        
Assert::assertDirectoryIsReadable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertDirectoryIsNotReadable')) {
    
/**
     * Asserts that a directory exists and is not readable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertDirectoryIsNotReadable
     */
    
function assertDirectoryIsNotReadable(string $directorystring $message ''): void
    
{
        
Assert::assertDirectoryIsNotReadable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertDirectoryNotIsReadable')) {
    
/**
     * Asserts that a directory exists and is not readable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @codeCoverageIgnore
     *
     * @deprecated https://github.com/sebastianbergmann/phpunit/issues/4071
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertDirectoryNotIsReadable
     */
    
function assertDirectoryNotIsReadable(string $directorystring $message ''): void
    
{
        
Assert::assertDirectoryNotIsReadable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertDirectoryIsWritable')) {
    
/**
     * Asserts that a directory exists and is writable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertDirectoryIsWritable
     */
    
function assertDirectoryIsWritable(string $directorystring $message ''): void
    
{
        
Assert::assertDirectoryIsWritable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertDirectoryIsNotWritable')) {
    
/**
     * Asserts that a directory exists and is not writable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertDirectoryIsNotWritable
     */
    
function assertDirectoryIsNotWritable(string $directorystring $message ''): void
    
{
        
Assert::assertDirectoryIsNotWritable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertDirectoryNotIsWritable')) {
    
/**
     * Asserts that a directory exists and is not writable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @codeCoverageIgnore
     *
     * @deprecated https://github.com/sebastianbergmann/phpunit/issues/4074
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertDirectoryNotIsWritable
     */
    
function assertDirectoryNotIsWritable(string $directorystring $message ''): void
    
{
        
Assert::assertDirectoryNotIsWritable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFileExists')) {
    
/**
     * Asserts that a file exists.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFileExists
     */
    
function assertFileExists(string $filenamestring $message ''): void
    
{
        
Assert::assertFileExists(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFileDoesNotExist')) {
    
/**
     * Asserts that a file does not exist.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFileDoesNotExist
     */
    
function assertFileDoesNotExist(string $filenamestring $message ''): void
    
{
        
Assert::assertFileDoesNotExist(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFileNotExists')) {
    
/**
     * Asserts that a file does not exist.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @codeCoverageIgnore
     *
     * @deprecated https://github.com/sebastianbergmann/phpunit/issues/4077
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFileNotExists
     */
    
function assertFileNotExists(string $filenamestring $message ''): void
    
{
        
Assert::assertFileNotExists(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFileIsReadable')) {
    
/**
     * Asserts that a file exists and is readable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFileIsReadable
     */
    
function assertFileIsReadable(string $filestring $message ''): void
    
{
        
Assert::assertFileIsReadable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFileIsNotReadable')) {
    
/**
     * Asserts that a file exists and is not readable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFileIsNotReadable
     */
    
function assertFileIsNotReadable(string $filestring $message ''): void
    
{
        
Assert::assertFileIsNotReadable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFileNotIsReadable')) {
    
/**
     * Asserts that a file exists and is not readable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @codeCoverageIgnore
     *
     * @deprecated https://github.com/sebastianbergmann/phpunit/issues/4080
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFileNotIsReadable
     */
    
function assertFileNotIsReadable(string $filestring $message ''): void
    
{
        
Assert::assertFileNotIsReadable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFileIsWritable')) {
    
/**
     * Asserts that a file exists and is writable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFileIsWritable
     */
    
function assertFileIsWritable(string $filestring $message ''): void
    
{
        
Assert::assertFileIsWritable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFileIsNotWritable')) {
    
/**
     * Asserts that a file exists and is not writable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFileIsNotWritable
     */
    
function assertFileIsNotWritable(string $filestring $message ''): void
    
{
        
Assert::assertFileIsNotWritable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFileNotIsWritable')) {
    
/**
     * Asserts that a file exists and is not writable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @codeCoverageIgnore
     *
     * @deprecated https://github.com/sebastianbergmann/phpunit/issues/4083
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFileNotIsWritable
     */
    
function assertFileNotIsWritable(string $filestring $message ''): void
    
{
        
Assert::assertFileNotIsWritable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertTrue')) {
    
/**
     * Asserts that a condition is true.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert true $condition
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertTrue
     */
    
function assertTrue($conditionstring $message ''): void
    
{
        
Assert::assertTrue(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotTrue')) {
    
/**
     * Asserts that a condition is not true.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert !true $condition
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotTrue
     */
    
function assertNotTrue($conditionstring $message ''): void
    
{
        
Assert::assertNotTrue(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFalse')) {
    
/**
     * Asserts that a condition is false.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert false $condition
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFalse
     */
    
function assertFalse($conditionstring $message ''): void
    
{
        
Assert::assertFalse(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotFalse')) {
    
/**
     * Asserts that a condition is not false.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert !false $condition
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotFalse
     */
    
function assertNotFalse($conditionstring $message ''): void
    
{
        
Assert::assertNotFalse(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNull')) {
    
/**
     * Asserts that a variable is null.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert null $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNull
     */
    
function assertNull($actualstring $message ''): void
    
{
        
Assert::assertNull(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotNull')) {
    
/**
     * Asserts that a variable is not null.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert !null $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotNull
     */
    
function assertNotNull($actualstring $message ''): void
    
{
        
Assert::assertNotNull(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertFinite')) {
    
/**
     * Asserts that a variable is finite.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertFinite
     */
    
function assertFinite($actualstring $message ''): void
    
{
        
Assert::assertFinite(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertInfinite')) {
    
/**
     * Asserts that a variable is infinite.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertInfinite
     */
    
function assertInfinite($actualstring $message ''): void
    
{
        
Assert::assertInfinite(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNan')) {
    
/**
     * Asserts that a variable is nan.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNan
     */
    
function assertNan($actualstring $message ''): void
    
{
        
Assert::assertNan(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertClassHasAttribute')) {
    
/**
     * Asserts that a class has a specified attribute.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertClassHasAttribute
     */
    
function assertClassHasAttribute(string $attributeNamestring $classNamestring $message ''): void
    
{
        
Assert::assertClassHasAttribute(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertClassNotHasAttribute')) {
    
/**
     * Asserts that a class does not have a specified attribute.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertClassNotHasAttribute
     */
    
function assertClassNotHasAttribute(string $attributeNamestring $classNamestring $message ''): void
    
{
        
Assert::assertClassNotHasAttribute(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertClassHasStaticAttribute')) {
    
/**
     * Asserts that a class has a specified static attribute.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertClassHasStaticAttribute
     */
    
function assertClassHasStaticAttribute(string $attributeNamestring $classNamestring $message ''): void
    
{
        
Assert::assertClassHasStaticAttribute(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertClassNotHasStaticAttribute')) {
    
/**
     * Asserts that a class does not have a specified static attribute.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertClassNotHasStaticAttribute
     */
    
function assertClassNotHasStaticAttribute(string $attributeNamestring $classNamestring $message ''): void
    
{
        
Assert::assertClassNotHasStaticAttribute(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertObjectHasAttribute')) {
    
/**
     * Asserts that an object has a specified attribute.
     *
     * @param object $object
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertObjectHasAttribute
     */
    
function assertObjectHasAttribute(string $attributeName$objectstring $message ''): void
    
{
        
Assert::assertObjectHasAttribute(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertObjectNotHasAttribute')) {
    
/**
     * Asserts that an object does not have a specified attribute.
     *
     * @param object $object
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertObjectNotHasAttribute
     */
    
function assertObjectNotHasAttribute(string $attributeName$objectstring $message ''): void
    
{
        
Assert::assertObjectNotHasAttribute(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertSame')) {
    
/**
     * Asserts that two variables have the same type and value.
     * Used on objects, it asserts that two variables reference
     * the same object.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-template ExpectedType
     *
     * @psalm-param ExpectedType $expected
     *
     * @psalm-assert =ExpectedType $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertSame
     */
    
function assertSame($expected$actualstring $message ''): void
    
{
        
Assert::assertSame(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotSame')) {
    
/**
     * Asserts that two variables do not have the same type and value.
     * Used on objects, it asserts that two variables do not reference
     * the same object.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotSame
     */
    
function assertNotSame($expected$actualstring $message ''): void
    
{
        
Assert::assertNotSame(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertInstanceOf')) {
    
/**
     * Asserts that a variable is of a given type.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @psalm-template ExpectedType of object
     *
     * @psalm-param class-string<ExpectedType> $expected
     *
     * @psalm-assert =ExpectedType $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertInstanceOf
     */
    
function assertInstanceOf(string $expected$actualstring $message ''): void
    
{
        
Assert::assertInstanceOf(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotInstanceOf')) {
    
/**
     * Asserts that a variable is not of a given type.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @psalm-template ExpectedType of object
     *
     * @psalm-param class-string<ExpectedType> $expected
     *
     * @psalm-assert !ExpectedType $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotInstanceOf
     */
    
function assertNotInstanceOf(string $expected$actualstring $message ''): void
    
{
        
Assert::assertNotInstanceOf(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsArray')) {
    
/**
     * Asserts that a variable is of type array.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert array $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsArray
     */
    
function assertIsArray($actualstring $message ''): void
    
{
        
Assert::assertIsArray(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsBool')) {
    
/**
     * Asserts that a variable is of type bool.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert bool $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsBool
     */
    
function assertIsBool($actualstring $message ''): void
    
{
        
Assert::assertIsBool(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsFloat')) {
    
/**
     * Asserts that a variable is of type float.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert float $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsFloat
     */
    
function assertIsFloat($actualstring $message ''): void
    
{
        
Assert::assertIsFloat(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsInt')) {
    
/**
     * Asserts that a variable is of type int.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert int $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsInt
     */
    
function assertIsInt($actualstring $message ''): void
    
{
        
Assert::assertIsInt(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsNumeric')) {
    
/**
     * Asserts that a variable is of type numeric.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert numeric $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsNumeric
     */
    
function assertIsNumeric($actualstring $message ''): void
    
{
        
Assert::assertIsNumeric(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsObject')) {
    
/**
     * Asserts that a variable is of type object.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert object $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsObject
     */
    
function assertIsObject($actualstring $message ''): void
    
{
        
Assert::assertIsObject(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsResource')) {
    
/**
     * Asserts that a variable is of type resource.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert resource $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsResource
     */
    
function assertIsResource($actualstring $message ''): void
    
{
        
Assert::assertIsResource(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsClosedResource')) {
    
/**
     * Asserts that a variable is of type resource and is closed.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert resource $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsClosedResource
     */
    
function assertIsClosedResource($actualstring $message ''): void
    
{
        
Assert::assertIsClosedResource(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsString')) {
    
/**
     * Asserts that a variable is of type string.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert string $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsString
     */
    
function assertIsString($actualstring $message ''): void
    
{
        
Assert::assertIsString(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsScalar')) {
    
/**
     * Asserts that a variable is of type scalar.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert scalar $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsScalar
     */
    
function assertIsScalar($actualstring $message ''): void
    
{
        
Assert::assertIsScalar(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsCallable')) {
    
/**
     * Asserts that a variable is of type callable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert callable $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsCallable
     */
    
function assertIsCallable($actualstring $message ''): void
    
{
        
Assert::assertIsCallable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsIterable')) {
    
/**
     * Asserts that a variable is of type iterable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert iterable $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsIterable
     */
    
function assertIsIterable($actualstring $message ''): void
    
{
        
Assert::assertIsIterable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsNotArray')) {
    
/**
     * Asserts that a variable is not of type array.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert !array $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsNotArray
     */
    
function assertIsNotArray($actualstring $message ''): void
    
{
        
Assert::assertIsNotArray(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsNotBool')) {
    
/**
     * Asserts that a variable is not of type bool.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert !bool $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsNotBool
     */
    
function assertIsNotBool($actualstring $message ''): void
    
{
        
Assert::assertIsNotBool(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsNotFloat')) {
    
/**
     * Asserts that a variable is not of type float.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert !float $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsNotFloat
     */
    
function assertIsNotFloat($actualstring $message ''): void
    
{
        
Assert::assertIsNotFloat(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsNotInt')) {
    
/**
     * Asserts that a variable is not of type int.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert !int $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsNotInt
     */
    
function assertIsNotInt($actualstring $message ''): void
    
{
        
Assert::assertIsNotInt(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsNotNumeric')) {
    
/**
     * Asserts that a variable is not of type numeric.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert !numeric $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsNotNumeric
     */
    
function assertIsNotNumeric($actualstring $message ''): void
    
{
        
Assert::assertIsNotNumeric(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsNotObject')) {
    
/**
     * Asserts that a variable is not of type object.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert !object $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsNotObject
     */
    
function assertIsNotObject($actualstring $message ''): void
    
{
        
Assert::assertIsNotObject(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsNotResource')) {
    
/**
     * Asserts that a variable is not of type resource.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert !resource $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsNotResource
     */
    
function assertIsNotResource($actualstring $message ''): void
    
{
        
Assert::assertIsNotResource(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsNotClosedResource')) {
    
/**
     * Asserts that a variable is not of type resource.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert !resource $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsNotClosedResource
     */
    
function assertIsNotClosedResource($actualstring $message ''): void
    
{
        
Assert::assertIsNotClosedResource(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsNotString')) {
    
/**
     * Asserts that a variable is not of type string.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert !string $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsNotString
     */
    
function assertIsNotString($actualstring $message ''): void
    
{
        
Assert::assertIsNotString(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsNotScalar')) {
    
/**
     * Asserts that a variable is not of type scalar.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert !scalar $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsNotScalar
     */
    
function assertIsNotScalar($actualstring $message ''): void
    
{
        
Assert::assertIsNotScalar(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsNotCallable')) {
    
/**
     * Asserts that a variable is not of type callable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert !callable $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsNotCallable
     */
    
function assertIsNotCallable($actualstring $message ''): void
    
{
        
Assert::assertIsNotCallable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertIsNotIterable')) {
    
/**
     * Asserts that a variable is not of type iterable.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @psalm-assert !iterable $actual
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertIsNotIterable
     */
    
function assertIsNotIterable($actualstring $message ''): void
    
{
        
Assert::assertIsNotIterable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertMatchesRegularExpression')) {
    
/**
     * Asserts that a string matches a given regular expression.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertMatchesRegularExpression
     */
    
function assertMatchesRegularExpression(string $patternstring $stringstring $message ''): void
    
{
        
Assert::assertMatchesRegularExpression(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertRegExp')) {
    
/**
     * Asserts that a string matches a given regular expression.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @codeCoverageIgnore
     *
     * @deprecated https://github.com/sebastianbergmann/phpunit/issues/4086
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertRegExp
     */
    
function assertRegExp(string $patternstring $stringstring $message ''): void
    
{
        
Assert::assertRegExp(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertDoesNotMatchRegularExpression')) {
    
/**
     * Asserts that a string does not match a given regular expression.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertDoesNotMatchRegularExpression
     */
    
function assertDoesNotMatchRegularExpression(string $patternstring $stringstring $message ''): void
    
{
        
Assert::assertDoesNotMatchRegularExpression(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotRegExp')) {
    
/**
     * Asserts that a string does not match a given regular expression.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @codeCoverageIgnore
     *
     * @deprecated https://github.com/sebastianbergmann/phpunit/issues/4089
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotRegExp
     */
    
function assertNotRegExp(string $patternstring $stringstring $message ''): void
    
{
        
Assert::assertNotRegExp(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertSameSize')) {
    
/**
     * Assert that the size of two arrays (or `Countable` or `Traversable` objects)
     * is the same.
     *
     * @param Countable|iterable $expected
     * @param Countable|iterable $actual
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertSameSize
     */
    
function assertSameSize($expected$actualstring $message ''): void
    
{
        
Assert::assertSameSize(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertNotSameSize')) {
    
/**
     * Assert that the size of two arrays (or `Countable` or `Traversable` objects)
     * is not the same.
     *
     * @param Countable|iterable $expected
     * @param Countable|iterable $actual
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertNotSameSize
     */
    
function assertNotSameSize($expected$actualstring $message ''): void
    
{
        
Assert::assertNotSameSize(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringMatchesFormat')) {
    
/**
     * Asserts that a string matches a given format string.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringMatchesFormat
     */
    
function assertStringMatchesFormat(string $formatstring $stringstring $message ''): void
    
{
        
Assert::assertStringMatchesFormat(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringNotMatchesFormat')) {
    
/**
     * Asserts that a string does not match a given format string.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringNotMatchesFormat
     */
    
function assertStringNotMatchesFormat(string $formatstring $stringstring $message ''): void
    
{
        
Assert::assertStringNotMatchesFormat(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringMatchesFormatFile')) {
    
/**
     * Asserts that a string matches a given format file.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringMatchesFormatFile
     */
    
function assertStringMatchesFormatFile(string $formatFilestring $stringstring $message ''): void
    
{
        
Assert::assertStringMatchesFormatFile(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringNotMatchesFormatFile')) {
    
/**
     * Asserts that a string does not match a given format string.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringNotMatchesFormatFile
     */
    
function assertStringNotMatchesFormatFile(string $formatFilestring $stringstring $message ''): void
    
{
        
Assert::assertStringNotMatchesFormatFile(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringStartsWith')) {
    
/**
     * Asserts that a string starts with a given prefix.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringStartsWith
     */
    
function assertStringStartsWith(string $prefixstring $stringstring $message ''): void
    
{
        
Assert::assertStringStartsWith(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringStartsNotWith')) {
    
/**
     * Asserts that a string starts not with a given prefix.
     *
     * @param string $prefix
     * @param string $string
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringStartsNotWith
     */
    
function assertStringStartsNotWith($prefix$stringstring $message ''): void
    
{
        
Assert::assertStringStartsNotWith(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringContainsString')) {
    
/**
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringContainsString
     */
    
function assertStringContainsString(string $needlestring $haystackstring $message ''): void
    
{
        
Assert::assertStringContainsString(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringContainsStringIgnoringCase')) {
    
/**
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringContainsStringIgnoringCase
     */
    
function assertStringContainsStringIgnoringCase(string $needlestring $haystackstring $message ''): void
    
{
        
Assert::assertStringContainsStringIgnoringCase(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringNotContainsString')) {
    
/**
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringNotContainsString
     */
    
function assertStringNotContainsString(string $needlestring $haystackstring $message ''): void
    
{
        
Assert::assertStringNotContainsString(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringNotContainsStringIgnoringCase')) {
    
/**
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringNotContainsStringIgnoringCase
     */
    
function assertStringNotContainsStringIgnoringCase(string $needlestring $haystackstring $message ''): void
    
{
        
Assert::assertStringNotContainsStringIgnoringCase(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringEndsWith')) {
    
/**
     * Asserts that a string ends with a given suffix.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringEndsWith
     */
    
function assertStringEndsWith(string $suffixstring $stringstring $message ''): void
    
{
        
Assert::assertStringEndsWith(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertStringEndsNotWith')) {
    
/**
     * Asserts that a string ends not with a given suffix.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertStringEndsNotWith
     */
    
function assertStringEndsNotWith(string $suffixstring $stringstring $message ''): void
    
{
        
Assert::assertStringEndsNotWith(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertXmlFileEqualsXmlFile')) {
    
/**
     * Asserts that two XML files are equal.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws Exception
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertXmlFileEqualsXmlFile
     */
    
function assertXmlFileEqualsXmlFile(string $expectedFilestring $actualFilestring $message ''): void
    
{
        
Assert::assertXmlFileEqualsXmlFile(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertXmlFileNotEqualsXmlFile')) {
    
/**
     * Asserts that two XML files are not equal.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws PHPUnitUtilException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertXmlFileNotEqualsXmlFile
     */
    
function assertXmlFileNotEqualsXmlFile(string $expectedFilestring $actualFilestring $message ''): void
    
{
        
Assert::assertXmlFileNotEqualsXmlFile(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertXmlStringEqualsXmlFile')) {
    
/**
     * Asserts that two XML documents are equal.
     *
     * @param DOMDocument|string $actualXml
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws PHPUnitUtilXmlException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertXmlStringEqualsXmlFile
     */
    
function assertXmlStringEqualsXmlFile(string $expectedFile$actualXmlstring $message ''): void
    
{
        
Assert::assertXmlStringEqualsXmlFile(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertXmlStringNotEqualsXmlFile')) {
    
/**
     * Asserts that two XML documents are not equal.
     *
     * @param DOMDocument|string $actualXml
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws PHPUnitUtilXmlException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertXmlStringNotEqualsXmlFile
     */
    
function assertXmlStringNotEqualsXmlFile(string $expectedFile$actualXmlstring $message ''): void
    
{
        
Assert::assertXmlStringNotEqualsXmlFile(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertXmlStringEqualsXmlString')) {
    
/**
     * Asserts that two XML documents are equal.
     *
     * @param DOMDocument|string $expectedXml
     * @param DOMDocument|string $actualXml
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws PHPUnitUtilXmlException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertXmlStringEqualsXmlString
     */
    
function assertXmlStringEqualsXmlString($expectedXml$actualXmlstring $message ''): void
    
{
        
Assert::assertXmlStringEqualsXmlString(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertXmlStringNotEqualsXmlString')) {
    
/**
     * Asserts that two XML documents are not equal.
     *
     * @param DOMDocument|string $expectedXml
     * @param DOMDocument|string $actualXml
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     * @throws PHPUnitUtilXmlException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertXmlStringNotEqualsXmlString
     */
    
function assertXmlStringNotEqualsXmlString($expectedXml$actualXmlstring $message ''): void
    
{
        
Assert::assertXmlStringNotEqualsXmlString(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertEqualXMLStructure')) {
    
/**
     * Asserts that a hierarchy of DOMElements matches.
     *
     * @throws AssertionFailedError
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @codeCoverageIgnore
     *
     * @deprecated https://github.com/sebastianbergmann/phpunit/issues/4091
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertEqualXMLStructure
     */
    
function assertEqualXMLStructure(DOMElement $expectedElementDOMElement $actualElementbool $checkAttributes falsestring $message ''): void
    
{
        
Assert::assertEqualXMLStructure(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertThat')) {
    
/**
     * Evaluates a PHPUnitFrameworkConstraint matcher object.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertThat
     */
    
function assertThat($valueConstraint $constraintstring $message ''): void
    
{
        
Assert::assertThat(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertJson')) {
    
/**
     * Asserts that a string is a valid JSON string.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertJson
     */
    
function assertJson(string $actualJsonstring $message ''): void
    
{
        
Assert::assertJson(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertJsonStringEqualsJsonString')) {
    
/**
     * Asserts that two given JSON encoded objects or arrays are equal.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertJsonStringEqualsJsonString
     */
    
function assertJsonStringEqualsJsonString(string $expectedJsonstring $actualJsonstring $message ''): void
    
{
        
Assert::assertJsonStringEqualsJsonString(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertJsonStringNotEqualsJsonString')) {
    
/**
     * Asserts that two given JSON encoded objects or arrays are not equal.
     *
     * @param string $expectedJson
     * @param string $actualJson
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertJsonStringNotEqualsJsonString
     */
    
function assertJsonStringNotEqualsJsonString($expectedJson$actualJsonstring $message ''): void
    
{
        
Assert::assertJsonStringNotEqualsJsonString(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertJsonStringEqualsJsonFile')) {
    
/**
     * Asserts that the generated JSON encoded object and the content of the given file are equal.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertJsonStringEqualsJsonFile
     */
    
function assertJsonStringEqualsJsonFile(string $expectedFilestring $actualJsonstring $message ''): void
    
{
        
Assert::assertJsonStringEqualsJsonFile(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertJsonStringNotEqualsJsonFile')) {
    
/**
     * Asserts that the generated JSON encoded object and the content of the given file are not equal.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertJsonStringNotEqualsJsonFile
     */
    
function assertJsonStringNotEqualsJsonFile(string $expectedFilestring $actualJsonstring $message ''): void
    
{
        
Assert::assertJsonStringNotEqualsJsonFile(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertJsonFileEqualsJsonFile')) {
    
/**
     * Asserts that two JSON files are equal.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertJsonFileEqualsJsonFile
     */
    
function assertJsonFileEqualsJsonFile(string $expectedFilestring $actualFilestring $message ''): void
    
{
        
Assert::assertJsonFileEqualsJsonFile(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkassertJsonFileNotEqualsJsonFile')) {
    
/**
     * Asserts that two JSON files are not equal.
     *
     * @throws ExpectationFailedException
     * @throws SebastianBergmannRecursionContextInvalidArgumentException
     *
     * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
     *
     * @see Assert::assertJsonFileNotEqualsJsonFile
     */
    
function assertJsonFileNotEqualsJsonFile(string $expectedFilestring $actualFilestring $message ''): void
    
{
        
Assert::assertJsonFileNotEqualsJsonFile(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworklogicalAnd')) {
    function 
logicalAnd(): LogicalAnd
    
{
        return 
Assert::logicalAnd(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworklogicalOr')) {
    function 
logicalOr(): LogicalOr
    
{
        return 
Assert::logicalOr(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworklogicalNot')) {
    function 
logicalNot(Constraint $constraint): LogicalNot
    
{
        return 
Assert::logicalNot(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworklogicalXor')) {
    function 
logicalXor(): LogicalXor
    
{
        return 
Assert::logicalXor(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkanything')) {
    function 
anything(): IsAnything
    
{
        return 
Assert::anything(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkisTrue')) {
    function 
isTrue(): IsTrue
    
{
        return 
Assert::isTrue(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkcallback')) {
    function 
callback(callable $callback): Callback
    
{
        return 
Assert::callback(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkisFalse')) {
    function 
isFalse(): IsFalse
    
{
        return 
Assert::isFalse(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkisJson')) {
    function 
isJson(): IsJson
    
{
        return 
Assert::isJson(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkisNull')) {
    function 
isNull(): IsNull
    
{
        return 
Assert::isNull(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkisFinite')) {
    function 
isFinite(): IsFinite
    
{
        return 
Assert::isFinite(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkisInfinite')) {
    function 
isInfinite(): IsInfinite
    
{
        return 
Assert::isInfinite(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkisNan')) {
    function 
isNan(): IsNan
    
{
        return 
Assert::isNan(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkcontainsEqual')) {
    function 
containsEqual($value): TraversableContainsEqual
    
{
        return 
Assert::containsEqual(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkcontainsIdentical')) {
    function 
containsIdentical($value): TraversableContainsIdentical
    
{
        return 
Assert::containsIdentical(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkcontainsOnly')) {
    function 
containsOnly(string $type): TraversableContainsOnly
    
{
        return 
Assert::containsOnly(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkcontainsOnlyInstancesOf')) {
    function 
containsOnlyInstancesOf(string $className): TraversableContainsOnly
    
{
        return 
Assert::containsOnlyInstancesOf(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkarrayHasKey')) {
    function 
arrayHasKey($key): ArrayHasKey
    
{
        return 
Assert::arrayHasKey(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkequalTo')) {
    function 
equalTo($value): IsEqual
    
{
        return 
Assert::equalTo(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkequalToCanonicalizing')) {
    function 
equalToCanonicalizing($value): IsEqualCanonicalizing
    
{
        return 
Assert::equalToCanonicalizing(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkequalToIgnoringCase')) {
    function 
equalToIgnoringCase($value): IsEqualIgnoringCase
    
{
        return 
Assert::equalToIgnoringCase(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkequalToWithDelta')) {
    function 
equalToWithDelta($valuefloat $delta): IsEqualWithDelta
    
{
        return 
Assert::equalToWithDelta(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkisEmpty')) {
    function 
isEmpty(): IsEmpty
    
{
        return 
Assert::isEmpty(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkisWritable')) {
    function 
isWritable(): IsWritable
    
{
        return 
Assert::isWritable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkisReadable')) {
    function 
isReadable(): IsReadable
    
{
        return 
Assert::isReadable(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkdirectoryExists')) {
    function 
directoryExists(): DirectoryExists
    
{
        return 
Assert::directoryExists(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkfileExists')) {
    function 
fileExists(): FileExists
    
{
        return 
Assert::fileExists(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkgreaterThan')) {
    function 
greaterThan($value): GreaterThan
    
{
        return 
Assert::greaterThan(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkgreaterThanOrEqual')) {
    function 
greaterThanOrEqual($value): LogicalOr
    
{
        return 
Assert::greaterThanOrEqual(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkclassHasAttribute')) {
    function 
classHasAttribute(string $attributeName): ClassHasAttribute
    
{
        return 
Assert::classHasAttribute(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkclassHasStaticAttribute')) {
    function 
classHasStaticAttribute(string $attributeName): ClassHasStaticAttribute
    
{
        return 
Assert::classHasStaticAttribute(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkobjectHasAttribute')) {
    function 
objectHasAttribute($attributeName): ObjectHasAttribute
    
{
        return 
Assert::objectHasAttribute(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkidenticalTo')) {
    function 
identicalTo($value): IsIdentical
    
{
        return 
Assert::identicalTo(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkisInstanceOf')) {
    function 
isInstanceOf(string $className): IsInstanceOf
    
{
        return 
Assert::isInstanceOf(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkisType')) {
    function 
isType(string $type): IsType
    
{
        return 
Assert::isType(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworklessThan')) {
    function 
lessThan($value): LessThan
    
{
        return 
Assert::lessThan(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworklessThanOrEqual')) {
    function 
lessThanOrEqual($value): LogicalOr
    
{
        return 
Assert::lessThanOrEqual(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkmatchesRegularExpression')) {
    function 
matchesRegularExpression(string $pattern): RegularExpression
    
{
        return 
Assert::matchesRegularExpression(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkmatches')) {
    function 
matches(string $string): StringMatchesFormatDescription
    
{
        return 
Assert::matches(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkstringStartsWith')) {
    function 
stringStartsWith($prefix): StringStartsWith
    
{
        return 
Assert::stringStartsWith(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkstringContains')) {
    function 
stringContains(string $stringbool $case true): StringContains
    
{
        return 
Assert::stringContains(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkstringEndsWith')) {
    function 
stringEndsWith(string $suffix): StringEndsWith
    
{
        return 
Assert::stringEndsWith(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkcountOf')) {
    function 
countOf(int $count): Count
    
{
        return 
Assert::countOf(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkobjectEquals')) {
    function 
objectEquals(object $objectstring $method 'equals'): ObjectEquals
    
{
        return 
Assert::objectEquals(...func_get_args());
    }
}

if (!
function_exists('PHPUnitFrameworkany')) {
    
/**
     * Returns a matcher that matches when the method is executed
     * zero or more times.
     */
    
function any(): AnyInvokedCountMatcher
    
{
        return new 
AnyInvokedCountMatcher;
    }
}

if (!
function_exists('PHPUnitFrameworknever')) {
    
/**
     * Returns a matcher that matches when the method is never executed.
     */
    
function never(): InvokedCountMatcher
    
{
        return new 
InvokedCountMatcher(0);
    }
}

if (!
function_exists('PHPUnitFrameworkatLeast')) {
    
/**
     * Returns a matcher that matches when the method is executed
     * at least N times.
     */
    
function atLeast(int $requiredInvocations): InvokedAtLeastCountMatcher
    
{
        return new 
InvokedAtLeastCountMatcher(
            
$requiredInvocations
        
);
    }
}

if (!
function_exists('PHPUnitFrameworkatLeastOnce')) {
    
/**
     * Returns a matcher that matches when the method is executed at least once.
     */
    
function atLeastOnce(): InvokedAtLeastOnceMatcher
    
{
        return new 
InvokedAtLeastOnceMatcher;
    }
}

if (!
function_exists('PHPUnitFrameworkonce')) {
    
/**
     * Returns a matcher that matches when the method is executed exactly once.
     */
    
function once(): InvokedCountMatcher
    
{
        return new 
InvokedCountMatcher(1);
    }
}

if (!
function_exists('PHPUnitFrameworkexactly')) {
    
/**
     * Returns a matcher that matches when the method is executed
     * exactly $count times.
     */
    
function exactly(int $count): InvokedCountMatcher
    
{
        return new 
InvokedCountMatcher($count);
    }
}

if (!
function_exists('PHPUnitFrameworkatMost')) {
    
/**
     * Returns a matcher that matches when the method is executed
     * at most N times.
     */
    
function atMost(int $allowedInvocations): InvokedAtMostCountMatcher
    
{
        return new 
InvokedAtMostCountMatcher($allowedInvocations);
    }
}

if (!
function_exists('PHPUnitFrameworkat')) {
    
/**
     * Returns a matcher that matches when the method is executed
     * at the given index.
     */
    
function at(int $index): InvokedAtIndexMatcher
    
{
        return new 
InvokedAtIndexMatcher($index);
    }
}

if (!
function_exists('PHPUnitFrameworkreturnValue')) {
    function 
returnValue($value): ReturnStub
    
{
        return new 
ReturnStub($value);
    }
}

if (!
function_exists('PHPUnitFrameworkreturnValueMap')) {
    function 
returnValueMap(array $valueMap): ReturnValueMapStub
    
{
        return new 
ReturnValueMapStub($valueMap);
    }
}

if (!
function_exists('PHPUnitFrameworkreturnArgument')) {
    function 
returnArgument(int $argumentIndex): ReturnArgumentStub
    
{
        return new 
ReturnArgumentStub($argumentIndex);
    }
}

if (!
function_exists('PHPUnitFrameworkreturnCallback')) {
    function 
returnCallback($callback): ReturnCallbackStub
    
{
        return new 
ReturnCallbackStub($callback);
    }
}

if (!
function_exists('PHPUnitFrameworkreturnSelf')) {
    
/**
     * Returns the current object.
     *
     * This method is useful when mocking a fluent interface.
     */
    
function returnSelf(): ReturnSelfStub
    
{
        return new 
ReturnSelfStub;
    }
}

if (!
function_exists('PHPUnitFrameworkthrowException')) {
    function 
throwException(Throwable $exception): ExceptionStub
    
{
        return new 
ExceptionStub($exception);
    }
}

if (!
function_exists('PHPUnitFrameworkonConsecutiveCalls')) {
    function 
onConsecutiveCalls(): ConsecutiveCallsStub
    
{
        
$args func_get_args();

        return new 
ConsecutiveCallsStub($args);
    }
}
Онлайн: 0
Реклама