Skip to content

Commit fe1882c

Browse files
committed
Fix preload generation when project is installed in root folder
1 parent bfe697b commit fe1882c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public function dump(array $options = [])
209209

210210
if (3 <= $i) {
211211
$regex = '';
212-
$lastOptionalDir = $i > 8 ? $i - 5 : 3;
212+
$lastOptionalDir = $i > 8 ? $i - 5 : $i - 3;
213213
$this->targetDirMaxMatches = $i - $lastOptionalDir;
214214

215215
while (--$i >= $lastOptionalDir) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy