Skip to content

Commit 860cc41

Browse files
committed
Add src directory to view paths
1 parent f50e6af commit 860cc41

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
140140
$transPaths[] = $this->defaultTransPath;
141141
}
142142
$viewsPaths = $this->viewsPaths;
143+
$viewsPaths[] = $kernel->getProjectDir().'/src';
143144
if ($this->defaultViewsPath) {
144145
$viewsPaths[] = $this->defaultViewsPath;
145146
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
151151
$transPaths[] = $this->defaultTransPath;
152152
}
153153
$viewsPaths = $this->viewsPaths;
154+
$viewsPaths[] = $kernel->getProjectDir().'/src';
154155
if ($this->defaultViewsPath) {
155156
$viewsPaths[] = $this->defaultViewsPath;
156157
}

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