mirror of
https://github.com/Respect/Validation.git
synced 2024-06-06 15:52:15 +02:00
Apply "phpstan/phpstan-phpunit" rules
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
This commit is contained in:
parent
d58395626f
commit
d00ed89f3c
|
@ -1,5 +1,6 @@
|
|||
includes:
|
||||
- vendor/phpstan/phpstan-phpunit/extension.neon
|
||||
- vendor/phpstan/phpstan-phpunit/extension.neon
|
||||
- vendor/phpstan/phpstan-phpunit/rules.neon
|
||||
|
||||
parameters:
|
||||
fileExtensions:
|
||||
|
|
|
@ -184,7 +184,7 @@ final class AbstractRelatedTest extends TestCase
|
|||
->setConstructorArgs(['something', $this->createMock(Validatable::class), $mandatory])
|
||||
->getMock();
|
||||
|
||||
self::assertSame($mandatory, $abstractMock->mandatory);
|
||||
self::assertFalse($abstractMock->mandatory);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue