Skip to content

Commit 98b6d48

Browse files
authored
Rollback Twig version. (#58)
1 parent bbec923 commit 98b6d48

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"symfony/translation": "~2.8",
5050
"symfony/yaml": "~2.8",
5151
"symfony/event-dispatcher": "~2.8",
52-
"twig/twig": "^1.23.1"
52+
"twig/twig": "1.23.1"
5353
},
5454
"minimum-stability": "dev",
5555
"prefer-stable": true,

composer.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Utils/ConfigurationManager.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ public function loadConfiguration($applicationDirectory)
6161
foreach ($files as $key => $file) {
6262
if (!file_exists($file)) {
6363
unset($files[$key]);
64+
continue;
65+
}
66+
if (file_get_contents($file)==='') {
67+
unset($files[$key]);
68+
continue;
6469
}
6570
}
6671

0 commit comments

Comments
 (0)