chore: type checks scripts folder

This commit is contained in:
Nuno Maduro
2021-06-18 22:09:56 +01:00
parent aeded0a356
commit c773d1cd57
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ parameters:
level: max
paths:
- src
- scripts
checkMissingIterableValueType: true
checkGenericClassInNonGenericObjectType: false

View File

@ -15,6 +15,7 @@ $globalsFilePath = implode(DIRECTORY_SEPARATOR, [
$compiledFilePath = implode(DIRECTORY_SEPARATOR, [dirname(__DIR__), 'compiled', 'globals.php']);
/** @phpstan-ignore-next-line */
@unlink($compiledFilePath);
$replace = function ($contents, $string, $by) {