tests/Assertions/AssertEmptyTest.php
/**
     * Data provider for assertion with not allowed modifiers test.
     *
     * @return array The data.
     */
Data provider for assertion with not allowed modifiers test.
@return array The data.
Data provider for assertion with not allowed modifiers test . @return array The data .
public function assertionWithNotAllowedModifierDataProvider(): array
    {
        return [
            [ModifiersInterface::CASE_INSENSITIVE, ModifiersInterface::CASE_INSENSITIVE],
            [ModifiersInterface::CASE_INSENSITIVE | ModifiersInterface::NOT, ModifiersInterface::CASE_INSENSITIVE],
            [ModifiersInterface::REGEXP, ModifiersInterface::REGEXP],
            [ModifiersInterface::REGEXP | ModifiersInterface::NOT, ModifiersInterface::REGEXP],
            [ModifiersInterface::REGEXP | ModifiersInterface::CASE_INSENSITIVE, ModifiersInterface::REGEXP | ModifiersInterface::CASE_INSENSITIVE],
            [ModifiersInterface::REGEXP | ModifiersInterface::CASE_INSENSITIVE | ModifiersInterface::NOT, ModifiersInterface::REGEXP | ModifiersInterface::CASE_INSENSITIVE],
        ];
    }
public function assertionWithNotAllowedModifierDataProvider ( ) : array { return [ [ ModifiersInterface :: CASE_INSENSITIVE , ModifiersInterface :: CASE_INSENSITIVE ] , [ ModifiersInterface :: CASE_INSENSITIVE | ModifiersInterface :: NOT , ModifiersInterface :: CASE_INSENSITIVE ] , [ ModifiersInterface :: REGEXP , ModifiersInterface :: REGEXP ] , [ ModifiersInterface :: REGEXP | ModifiersInterface :: NOT , ModifiersInterface :: REGEXP ] , [ ModifiersInterface :: REGEXP | ModifiersInterface :: CASE_INSENSITIVE , ModifiersInterface :: REGEXP | ModifiersInterface :: CASE_INSENSITIVE ] , [ ModifiersInterface :: REGEXP | ModifiersInterface :: CASE_INSENSITIVE | ModifiersInterface :: NOT , ModifiersInterface :: REGEXP | ModifiersInterface :: CASE_INSENSITIVE ] , ] ; }
Data provider for assertion with not allowed modifiers test.
Data provider for assertion with not allowed modifiers test .