mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
chore: type checks scripts folder
This commit is contained in:
@ -7,6 +7,7 @@ parameters:
|
|||||||
level: max
|
level: max
|
||||||
paths:
|
paths:
|
||||||
- src
|
- src
|
||||||
|
- scripts
|
||||||
|
|
||||||
checkMissingIterableValueType: true
|
checkMissingIterableValueType: true
|
||||||
checkGenericClassInNonGenericObjectType: false
|
checkGenericClassInNonGenericObjectType: false
|
||||||
|
|||||||
@ -15,6 +15,7 @@ $globalsFilePath = implode(DIRECTORY_SEPARATOR, [
|
|||||||
|
|
||||||
$compiledFilePath = implode(DIRECTORY_SEPARATOR, [dirname(__DIR__), 'compiled', 'globals.php']);
|
$compiledFilePath = implode(DIRECTORY_SEPARATOR, [dirname(__DIR__), 'compiled', 'globals.php']);
|
||||||
|
|
||||||
|
/** @phpstan-ignore-next-line */
|
||||||
@unlink($compiledFilePath);
|
@unlink($compiledFilePath);
|
||||||
|
|
||||||
$replace = function ($contents, $string, $by) {
|
$replace = function ($contents, $string, $by) {
|
||||||
|
|||||||
Reference in New Issue
Block a user