Skip to content

Commit 9a9c3d1

Browse files
committed
minor symfony#23277 Fix undefined variable $filesystem (NVasse)
This PR was merged into the 2.8 branch. Discussion ---------- Fix undefined variable $filesystem | Q | A | ------------- | --- | Branch? | >= 2.8 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #... <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | symfony/symfony-docs#... <!--highly recommended for new features--> <!-- - Bug fixes must be submitted against the lowest branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the 3.4, legacy code removals go to the master branch. - Please fill in this template according to the PR you're about to submit. - Replace this comment by a description of what your PR is solving. --> Commits ------- 0724ebc Fix undefined variable $filesystem
2 parents b4aa027 + 0724ebc commit 9a9c3d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
154154
// remove the assets of the bundles that no longer exist
155155
foreach (new \FilesystemIterator($bundlesDir) as $dir) {
156156
if (!in_array($dir, $validAssetDirs)) {
157-
$filesystem->remove($dir);
157+
$this->filesystem->remove($dir);
158158
}
159159
}
160160

0 commit comments

Comments
 (0)