respect-validation/library/Mode.php
Henrique Moody b894593135
Rename "negative" to "inverted" mode
The original name was heavily influenced by the fact that we get those
messages when using the "Not" rule; however, that rule inverts the
validation despite the current validation mode. It can be confusing at
times with certain rules, so naming it as "inverted" makes more sense
than "negative".
2024-12-02 22:00:18 +01:00

16 lines
217 B
PHP

<?php
/*
* Copyright (c) Alexandre Gomes Gaigalas <alganet@gmail.com>
* SPDX-License-Identifier: MIT
*/
declare(strict_types=1);
namespace Respect\Validation;
enum Mode
{
case DEFAULT;
case INVERTED;
}