test: null instead of NULL

This commit is contained in:
Oliver Davies 2023-11-18 09:37:05 +00:00
parent 13bde5fa26
commit 2d27c2f71b

View file

@ -33,7 +33,7 @@ class ConfigurationValidatorTest extends KernelTestCase
*/ */
public function testTheProjectNameShouldBeAString(mixed $projectName, int $expectedViolationCount): void public function testTheProjectNameShouldBeAString(mixed $projectName, int $expectedViolationCount): void
{ {
if ($projectName === NULL) { if ($projectName === null) {
self::expectException(NotNormalizableValueException::class); self::expectException(NotNormalizableValueException::class);
} }
@ -58,7 +58,7 @@ class ConfigurationValidatorTest extends KernelTestCase
*/ */
public function testTheProjectLanguageShouldBeASupportedLanguage(mixed $language, int $expectedViolationCount): void public function testTheProjectLanguageShouldBeASupportedLanguage(mixed $language, int $expectedViolationCount): void
{ {
if ($language === NULL) { if ($language === null) {
self::expectException(NotNormalizableValueException::class); self::expectException(NotNormalizableValueException::class);
} }