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

Commit 8a246dc

Browse files
committed
allow master branch to install 2.4-dev
1 parent 380038d commit 8a246dc

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

app/check.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,13 @@
2525

2626
echo_title('Mandatory requirements');
2727

28+
$checkPassed = true;
2829
foreach ($symfonyRequirements->getRequirements() as $req) {
30+
/** @var $req Requirement */
2931
echo_requirement($req);
32+
if (!$req->isFulfilled()) {
33+
$checkPassed = false;
34+
}
3035
}
3136

3237
echo_title('Optional recommendations');
@@ -35,6 +40,8 @@
3540
echo_requirement($req);
3641
}
3742

43+
exit($checkPassed ? 0 : 1);
44+
3845
/**
3946
* Prints a Requirement instance
4047
*/

composer.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
},
99
"require": {
1010
"php": ">=5.3.3",
11-
"symfony/symfony": "2.3.*",
11+
"symfony/symfony": "~2.3",
1212
"doctrine/orm": ">=2.2.3,<2.4-dev",
13-
"doctrine/doctrine-bundle": "1.2.*",
14-
"twig/extensions": "1.0.*",
15-
"symfony/assetic-bundle": "2.3.*",
16-
"symfony/swiftmailer-bundle": "2.3.*",
17-
"symfony/monolog-bundle": "2.3.*",
18-
"sensio/distribution-bundle": "2.3.*",
19-
"sensio/framework-extra-bundle": "2.3.*",
20-
"sensio/generator-bundle": "2.3.*",
13+
"doctrine/doctrine-bundle": "~1.2",
14+
"twig/extensions": "~1.0",
15+
"symfony/assetic-bundle": "~2.3",
16+
"symfony/swiftmailer-bundle": "~2.3",
17+
"symfony/monolog-bundle": "~2.3",
18+
"sensio/distribution-bundle": "~2.3",
19+
"sensio/framework-extra-bundle": "~2.3",
20+
"sensio/generator-bundle": "~2.3",
2121
"incenteev/composer-parameter-handler": "~2.0"
2222
},
2323
"scripts": {
@@ -39,7 +39,7 @@
3939
"config": {
4040
"bin-dir": "bin"
4141
},
42-
"minimum-stability": "RC",
42+
"minimum-stability": "dev",
4343
"extra": {
4444
"symfony-app-dir": "app",
4545
"symfony-web-dir": "web",

0 commit comments

Comments
 (0)