mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-23 02:27:33 +00:00
test: null instead of NULL
This commit is contained in:
parent
13bde5fa26
commit
2d27c2f71b
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue