Skip to content

Commit cfec631

Browse files
committed
bug symfony#38142 [FrameworkBundle] adopt src/.preload.php (nicolas-grekas)
This PR was merged into the 4.4 branch. Discussion ---------- [FrameworkBundle] adopt src/.preload.php | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix symfony#38123 | License | MIT | Doc PR | - The leading dot prevents PSR-4 discovery from considering the file. Commits ------- f4c47eb [FrameworkBundle] adopt src/.preload.php
2 parents afd4027 + f4c47eb commit cfec631

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
174174
$preloadFile = $fs->makePathRelative(\dirname($containerFile, 2), $kernelDir);
175175
$preloadFile .= substr_replace(basename($containerFile), '.preload', -4, 0);
176176
$preloadFile = var_export('/'.$preloadFile, true);
177-
@file_put_contents($kernelDir.'/preload.php', <<<EOPHP
177+
@file_put_contents($kernelDir.'/.preload.php', <<<EOPHP
178178
<?php
179179
180180
if (file_exists(__DIR__.$preloadFile)) {

0 commit comments

Comments
 (0)