Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd91b02

Browse files
committed
spaces
1 parent b177eb8 commit fd91b02

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

build/build-preload.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ private function findPhpDocParserFiles(string $vendorDir): array
253253
*/
254254
private function createPreloadFileContent(array $fileInfos, bool $append = false): string
255255
{
256-
$preloadFileContent = $append ? '' : self::PRELOAD_FILE_TEMPLATE;
256+
$preloadFileContent = $append ? '' : self::PRELOAD_FILE_TEMPLATE . PHP_EOL . PHP_EOL;
257257

258258
foreach ($fileInfos as $fileInfo) {
259259
$realPath = $fileInfo->getRealPath();
@@ -272,7 +272,7 @@ private function createPreloadFileContent(array $fileInfos, bool $append = false
272272
*/
273273
private function createPreloadFileContentForSplitPackage(array $fileInfos, bool $append = false): string
274274
{
275-
$preloadFileContent = $append ? '' : self::PRELOAD_FILE_TEMPLATE;
275+
$preloadFileContent = $append ? '' : self::PRELOAD_FILE_TEMPLATE . PHP_EOL . PHP_EOL;
276276

277277
foreach ($fileInfos as $fileInfo) {
278278
$realPath = $fileInfo->getRealPath();

preload-split-package.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ function isPHPStanTestPreloaded(): bool
2323
}
2424

2525
return interface_exists(Node::class, false);
26-
}require_once __DIR__ . '/../../../vendor/nikic/php-parser/lib/PhpParser/Node.php';
26+
}
27+
28+
require_once __DIR__ . '/../../../vendor/nikic/php-parser/lib/PhpParser/Node.php';
2729
require_once __DIR__ . '/src/Contract/PhpParser/Node/StmtsAwareInterface.php';
2830
require_once __DIR__ . '/../../../vendor/nikic/php-parser/lib/PhpParser/NodeAbstract.php';
2931
require_once __DIR__ . '/../../../vendor/nikic/php-parser/lib/PhpParser/Node/Expr.php';

preload.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ function isPHPStanTestPreloaded(): bool
2323
}
2424

2525
return interface_exists(Node::class, false);
26-
}require_once __DIR__ . '/vendor/nikic/php-parser/lib/PhpParser/Node.php';
26+
}
27+
28+
require_once __DIR__ . '/vendor/nikic/php-parser/lib/PhpParser/Node.php';
2729
require_once __DIR__ . '/src/Contract/PhpParser/Node/StmtsAwareInterface.php';
2830
require_once __DIR__ . '/vendor/nikic/php-parser/lib/PhpParser/NodeAbstract.php';
2931
require_once __DIR__ . '/vendor/nikic/php-parser/lib/PhpParser/Node/Expr.php';

0 commit comments

Comments
 (0)