File tree 1 file changed +2
-15
lines changed
1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -189,25 +189,12 @@ public function _initialize()
189
189
}
190
190
191
191
/**
192
- * Require Symfony's bootstrap.php.cache (only for PHP Version < 7)
193
- *
194
- * @throws ModuleRequireException
192
+ * Require Symfony's bootstrap.php.cache
195
193
*/
196
194
private function initializeSymfonyCache ()
197
195
{
198
196
$ cache = Configuration::projectDir () . $ this ->config ['var_path ' ] . DIRECTORY_SEPARATOR . 'bootstrap.php.cache ' ;
199
- if (PHP_VERSION_ID < 70000 && !file_exists ($ cache )) {
200
- throw new ModuleRequireException (
201
- self ::class,
202
- "Symfony bootstrap file not found in $ cache \n \n" .
203
- "Please specify path to bootstrap file using `var_path` config option \n \n" .
204
- "If you are trying to load bootstrap from a Bundle provide path like: \n \n" .
205
- "modules: \n enabled: \n" .
206
- " - Symfony: \n" .
207
- " var_path: '../../app' \n" .
208
- " app_path: '../../app' "
209
- );
210
- }
197
+
211
198
if (file_exists ($ cache )) {
212
199
require_once $ cache ;
213
200
}
You can’t perform that action at this time.
0 commit comments