Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit cf47c03

Browse files
committed
Made it possible to change the Symfony version locally
1 parent a925b32 commit cf47c03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vendor/vendors.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212

1313
set_time_limit(0);
1414

15+
if (isset($argv[1])) {
16+
$_SERVER['SYMFONY_VERSION'] = $argv[1];
17+
}
18+
1519
$vendorDir = __DIR__;
1620
$deps = array(
1721
array('symfony', 'http://github.com/symfony/symfony', isset($_SERVER['SYMFONY_VERSION']) ? $_SERVER['SYMFONY_VERSION'] : 'origin/master'),

0 commit comments

Comments
 (0)