diff --git a/app/SymfonyRequirements.php b/app/SymfonyRequirements.php
index 0a5de54..7e7723a 100644
--- a/app/SymfonyRequirements.php
+++ b/app/SymfonyRequirements.php
@@ -168,6 +168,9 @@ public function __construct($cfgName, $evaluation, $approveCfgAbsence = false, $
*/
class RequirementCollection implements IteratorAggregate
{
+ /**
+ * @var Requirement[]
+ */
private $requirements = array();
/**
@@ -265,7 +268,7 @@ public function addCollection(RequirementCollection $collection)
/**
* Returns both requirements and recommendations.
*
- * @return array Array of Requirement instances
+ * @return Requirement[]
*/
public function all()
{
@@ -275,7 +278,7 @@ public function all()
/**
* Returns all mandatory requirements.
*
- * @return array Array of Requirement instances
+ * @return Requirement[]
*/
public function getRequirements()
{
@@ -292,7 +295,7 @@ public function getRequirements()
/**
* Returns the mandatory requirements that were not met.
*
- * @return array Array of Requirement instances
+ * @return Requirement[]
*/
public function getFailedRequirements()
{
@@ -309,7 +312,7 @@ public function getFailedRequirements()
/**
* Returns all optional recommendations.
*
- * @return array Array of Requirement instances
+ * @return Requirement[]
*/
public function getRecommendations()
{
@@ -326,7 +329,7 @@ public function getRecommendations()
/**
* Returns the recommendations that were not met.
*
- * @return array Array of Requirement instances
+ * @return Requirement[]
*/
public function getFailedRecommendations()
{
@@ -376,7 +379,8 @@ public function getPhpIniConfigPath()
*/
class SymfonyRequirements extends RequirementCollection
{
- const REQUIRED_PHP_VERSION = '5.3.3';
+ const LEGACY_REQUIRED_PHP_VERSION = '5.3.3';
+ const REQUIRED_PHP_VERSION = '5.5.9';
/**
* Constructor that initializes the requirements.
@@ -386,16 +390,26 @@ public function __construct()
/* mandatory requirements follow */
$installedPhpVersion = phpversion();
+ $requiredPhpVersion = $this->getPhpRequiredVersion();
- $this->addRequirement(
- version_compare($installedPhpVersion, self::REQUIRED_PHP_VERSION, '>='),
- sprintf('PHP version must be at least %s (%s installed)', self::REQUIRED_PHP_VERSION, $installedPhpVersion),
- sprintf('You are running PHP version "%s", but Symfony needs at least PHP "%s" to run.
- Before using Symfony, upgrade your PHP installation, preferably to the latest version.',
- $installedPhpVersion, self::REQUIRED_PHP_VERSION),
- sprintf('Install PHP %s or newer (installed version is %s)', self::REQUIRED_PHP_VERSION, $installedPhpVersion)
+ $this->addRecommendation(
+ $requiredPhpVersion,
+ 'Vendors should be installed in order to check all requirements.',
+ 'Run the composer install
command.',
+ 'Run the "composer install" command.'
);
+ if (false !== $requiredPhpVersion) {
+ $this->addRequirement(
+ version_compare($installedPhpVersion, $requiredPhpVersion, '>='),
+ sprintf('PHP version must be at least %s (%s installed)', $requiredPhpVersion, $installedPhpVersion),
+ sprintf('You are running PHP version "%s", but Symfony needs at least PHP "%s" to run.
+ Before using Symfony, upgrade your PHP installation, preferably to the latest version.',
+ $installedPhpVersion, $requiredPhpVersion),
+ sprintf('Install PHP %s or newer (installed version is %s)', $requiredPhpVersion, $installedPhpVersion)
+ );
+ }
+
$this->addRequirement(
version_compare($installedPhpVersion, '5.3.16', '!='),
'PHP version must not be 5.3.16 as Symfony won\'t work properly with it',
@@ -433,7 +447,7 @@ public function __construct()
);
}
- if (version_compare($installedPhpVersion, self::REQUIRED_PHP_VERSION, '>=')) {
+ if (false !== $requiredPhpVersion && version_compare($installedPhpVersion, $requiredPhpVersion, '>=')) {
$timezones = array();
foreach (DateTimeZone::listAbbreviations() as $abbreviations) {
foreach ($abbreviations as $abbreviation) {
@@ -689,7 +703,7 @@ function_exists('posix_isatty'),
$this->addRecommendation(
\Symfony\Component\Intl\Intl::getIcuDataVersion() === \Symfony\Component\Intl\Intl::getIcuVersion(),
sprintf('intl ICU version installed on your system (%s) does not match the ICU data bundled with Symfony (%s)', \Symfony\Component\Intl\Intl::getIcuVersion(), \Symfony\Component\Intl\Intl::getIcuDataVersion()),
- 'To avoid internationalization data incosistencies upgrade the symfony/intl component.'
+ 'To avoid internationalization data inconsistencies upgrade the symfony/intl component.'
);
}
}
@@ -725,9 +739,9 @@ function_exists('posix_isatty'),
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
$this->addRecommendation(
- $this->getRealpathCacheSize() > 1000,
- 'realpath_cache_size should be above 1024 in php.ini',
- 'Set "realpath_cache_size" to e.g. "1024" in php.ini* to improve performance on windows.'
+ $this->getRealpathCacheSize() >= 5 * 1024 * 1024,
+ 'realpath_cache_size should be at least 5M in php.ini',
+ 'Setting "realpath_cache_size" to e.g. "5242880" or "5M" in php.ini* may improve performance on Windows significantly in some cases.'
);
}
@@ -778,4 +792,28 @@ protected function getRealpathCacheSize()
return (int) $size;
}
}
+
+ /**
+ * Defines PHP required version from Symfony version.
+ *
+ * @return string|false The PHP required version or false if it could not be guessed
+ */
+ protected function getPhpRequiredVersion()
+ {
+ if (!file_exists($path = __DIR__.'/../composer.lock')) {
+ return false;
+ }
+
+ $composerLock = json_decode(file_get_contents($path), true);
+ foreach ($composerLock['packages'] as $package) {
+ $name = $package['name'];
+ if ('symfony/symfony' !== $name && 'symfony/http-kernel' !== $name) {
+ continue;
+ }
+
+ return (int) $package['version'][1] > 2 ? self::REQUIRED_PHP_VERSION : self::LEGACY_REQUIRED_PHP_VERSION;
+ }
+
+ return false;
+ }
}
diff --git a/app/check.php b/app/check.php
index cf1e6b0..2cf2dce 100644
--- a/app/check.php
+++ b/app/check.php
@@ -21,7 +21,6 @@
$messages = array();
foreach ($symfonyRequirements->getRequirements() as $req) {
- /** @var $req Requirement */
if ($helpText = get_error_message($req, $lineSize)) {
echo_style('red', 'E');
$messages['error'][] = $helpText;
@@ -120,10 +119,14 @@ function echo_block($style, $title, $message)
echo PHP_EOL.PHP_EOL;
- echo_style($style, str_repeat(' ', $width).PHP_EOL);
- echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT).PHP_EOL);
- echo_style($style, str_pad($message, $width, ' ', STR_PAD_RIGHT).PHP_EOL);
- echo_style($style, str_repeat(' ', $width).PHP_EOL);
+ echo_style($style, str_repeat(' ', $width));
+ echo PHP_EOL;
+ echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT));
+ echo PHP_EOL;
+ echo_style($style, $message);
+ echo PHP_EOL;
+ echo_style($style, str_repeat(' ', $width));
+ echo PHP_EOL;
}
function has_color_support()
diff --git a/composer.lock b/composer.lock
index 7c9db23..8567d4b 100644
--- a/composer.lock
+++ b/composer.lock
@@ -343,16 +343,16 @@
},
{
"name": "doctrine/dbal",
- "version": "v2.5.4",
+ "version": "v2.5.5",
"source": {
"type": "git",
"url": "https://github.com/doctrine/dbal.git",
- "reference": "abbdfd1cff43a7b99d027af3be709bc8fc7d4769"
+ "reference": "9f8c05cd5225a320d56d4bfdb4772f10d045a0c9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/dbal/zipball/abbdfd1cff43a7b99d027af3be709bc8fc7d4769",
- "reference": "abbdfd1cff43a7b99d027af3be709bc8fc7d4769",
+ "url": "https://api.github.com/repos/doctrine/dbal/zipball/9f8c05cd5225a320d56d4bfdb4772f10d045a0c9",
+ "reference": "9f8c05cd5225a320d56d4bfdb4772f10d045a0c9",
"shasum": ""
},
"require": {
@@ -361,7 +361,7 @@
},
"require-dev": {
"phpunit/phpunit": "4.*",
- "symfony/console": "2.*"
+ "symfony/console": "2.*||^3.0"
},
"suggest": {
"symfony/console": "For helpful console commands such as SQL execution and import of files."
@@ -410,7 +410,7 @@
"persistence",
"queryobject"
],
- "time": "2016-01-05 22:11:12"
+ "time": "2016-09-09 19:13:33"
},
{
"name": "doctrine/doctrine-bundle",
@@ -815,16 +815,16 @@
},
{
"name": "doctrine/orm",
- "version": "v2.5.4",
+ "version": "v2.5.5",
"source": {
"type": "git",
"url": "https://github.com/doctrine/doctrine2.git",
- "reference": "bc4ddbfb0114cb33438cc811c9a740d8aa304aab"
+ "reference": "73e4be7c7b3ba26f96b781a40b33feba4dfa6d45"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/doctrine2/zipball/bc4ddbfb0114cb33438cc811c9a740d8aa304aab",
- "reference": "bc4ddbfb0114cb33438cc811c9a740d8aa304aab",
+ "url": "https://api.github.com/repos/doctrine/doctrine2/zipball/73e4be7c7b3ba26f96b781a40b33feba4dfa6d45",
+ "reference": "73e4be7c7b3ba26f96b781a40b33feba4dfa6d45",
"shasum": ""
},
"require": {
@@ -887,7 +887,7 @@
"database",
"orm"
],
- "time": "2016-01-05 21:34:58"
+ "time": "2016-09-10 18:51:13"
},
{
"name": "friendsofsymfony/http-cache",
@@ -963,16 +963,16 @@
},
{
"name": "friendsofsymfony/http-cache-bundle",
- "version": "1.3.7",
+ "version": "1.3.9",
"source": {
"type": "git",
"url": "https://github.com/FriendsOfSymfony/FOSHttpCacheBundle.git",
- "reference": "f12b74b422e46c65daae8b3363bcf555f6957eea"
+ "reference": "04247810151f8721740069f2376bf933ed9a7971"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/FriendsOfSymfony/FOSHttpCacheBundle/zipball/f12b74b422e46c65daae8b3363bcf555f6957eea",
- "reference": "f12b74b422e46c65daae8b3363bcf555f6957eea",
+ "url": "https://api.github.com/repos/FriendsOfSymfony/FOSHttpCacheBundle/zipball/04247810151f8721740069f2376bf933ed9a7971",
+ "reference": "04247810151f8721740069f2376bf933ed9a7971",
"shasum": ""
},
"require": {
@@ -992,7 +992,7 @@
"symfony/expression-language": "^2.4||^3.0",
"symfony/monolog-bundle": "^2.3||^3.0",
"symfony/phpunit-bridge": "^2.7||^3.0",
- "symfony/symfony": "^2.3||^3.0"
+ "symfony/symfony": "^2.3.4||^3.0"
},
"suggest": {
"sensio/framework-extra-bundle": "For Tagged Cache Invalidation",
@@ -1039,7 +1039,7 @@
"purge",
"varnish"
],
- "time": "2016-02-24 21:36:18"
+ "time": "2016-09-06 11:30:45"
},
{
"name": "friendsofsymfony/rest-bundle",
@@ -2066,22 +2066,30 @@
},
{
"name": "psr/log",
- "version": "1.0.0",
+ "version": "1.0.1",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
- "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b"
+ "reference": "5277094ed527a1c4477177d102fe4c53551953e0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/fe0936ee26643249e916849d48e3a51d5f5e278b",
- "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b",
+ "url": "https://api.github.com/repos/php-fig/log/zipball/5277094ed527a1c4477177d102fe4c53551953e0",
+ "reference": "5277094ed527a1c4477177d102fe4c53551953e0",
"shasum": ""
},
+ "require": {
+ "php": ">=5.3.0"
+ },
"type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
"autoload": {
- "psr-0": {
- "Psr\\Log\\": ""
+ "psr-4": {
+ "Psr\\Log\\": "Psr/Log/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -2095,25 +2103,26 @@
}
],
"description": "Common interface for logging libraries",
+ "homepage": "https://github.com/php-fig/log",
"keywords": [
"log",
"psr",
"psr-3"
],
- "time": "2012-12-21 11:40:51"
+ "time": "2016-09-19 16:02:08"
},
{
"name": "sensio/distribution-bundle",
- "version": "v5.0.8",
+ "version": "v5.0.12",
"source": {
"type": "git",
"url": "https://github.com/sensiolabs/SensioDistributionBundle.git",
- "reference": "f8ace5c71ee309492b027ef71215577f5a52b4ea"
+ "reference": "b6dcd04595e4db95ead22ddea58c397864e00c32"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sensiolabs/SensioDistributionBundle/zipball/f8ace5c71ee309492b027ef71215577f5a52b4ea",
- "reference": "f8ace5c71ee309492b027ef71215577f5a52b4ea",
+ "url": "https://api.github.com/repos/sensiolabs/SensioDistributionBundle/zipball/b6dcd04595e4db95ead22ddea58c397864e00c32",
+ "reference": "b6dcd04595e4db95ead22ddea58c397864e00c32",
"shasum": ""
},
"require": {
@@ -2152,7 +2161,7 @@
"configuration",
"distribution"
],
- "time": "2016-08-17 18:16:49"
+ "time": "2016-09-14 20:25:12"
},
{
"name": "sensio/framework-extra-bundle",
@@ -3002,16 +3011,16 @@
},
{
"name": "symfony/symfony",
- "version": "v2.8.9",
+ "version": "v2.8.12",
"source": {
"type": "git",
"url": "https://github.com/symfony/symfony.git",
- "reference": "df02dd5d3f7decb3a05c6d0f31054b4263625dcb"
+ "reference": "6a5bc3257b60098c28fc1bbcacd52000dd2801d1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/symfony/zipball/df02dd5d3f7decb3a05c6d0f31054b4263625dcb",
- "reference": "df02dd5d3f7decb3a05c6d0f31054b4263625dcb",
+ "url": "https://api.github.com/repos/symfony/symfony/zipball/6a5bc3257b60098c28fc1bbcacd52000dd2801d1",
+ "reference": "6a5bc3257b60098c28fc1bbcacd52000dd2801d1",
"shasum": ""
},
"require": {
@@ -3027,7 +3036,7 @@
"symfony/polyfill-php70": "~1.0",
"symfony/polyfill-util": "~1.0",
"symfony/security-acl": "~2.7|~3.0.0",
- "twig/twig": "~1.23|~2.0"
+ "twig/twig": "~1.26|~2.0"
},
"conflict": {
"phpdocumentor/reflection": "<1.0.7"
@@ -3088,7 +3097,8 @@
"egulias/email-validator": "~1.2,>=1.2.1",
"monolog/monolog": "~1.11",
"ocramius/proxy-manager": "~0.4|~1.0|~2.0",
- "phpdocumentor/reflection": "^1.0.7"
+ "phpdocumentor/reflection": "^1.0.7",
+ "symfony/phpunit-bridge": "~3.2"
},
"type": "library",
"extra": {
@@ -3132,20 +3142,20 @@
"keywords": [
"framework"
],
- "time": "2016-07-30 08:48:52"
+ "time": "2016-10-03 18:44:12"
},
{
"name": "twig/twig",
- "version": "v1.24.1",
+ "version": "v1.26.1",
"source": {
"type": "git",
"url": "https://github.com/twigphp/Twig.git",
- "reference": "3566d311a92aae4deec6e48682dc5a4528c4a512"
+ "reference": "a09d8ee17ac1cfea29ed60c83960ad685c6a898d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/twigphp/Twig/zipball/3566d311a92aae4deec6e48682dc5a4528c4a512",
- "reference": "3566d311a92aae4deec6e48682dc5a4528c4a512",
+ "url": "https://api.github.com/repos/twigphp/Twig/zipball/a09d8ee17ac1cfea29ed60c83960ad685c6a898d",
+ "reference": "a09d8ee17ac1cfea29ed60c83960ad685c6a898d",
"shasum": ""
},
"require": {
@@ -3158,7 +3168,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.24-dev"
+ "dev-master": "1.26-dev"
}
},
"autoload": {
@@ -3193,7 +3203,7 @@
"keywords": [
"templating"
],
- "time": "2016-05-30 09:11:59"
+ "time": "2016-10-05 18:57:41"
},
{
"name": "willdurand/hateoas",
@@ -3458,34 +3468,35 @@
"packages-dev": [
{
"name": "behat/behat",
- "version": "v3.1.0",
+ "version": "v3.2.1",
"source": {
"type": "git",
"url": "https://github.com/Behat/Behat.git",
- "reference": "359d987b3064d78f2d3a6ba3a355277f3b09b47f"
+ "reference": "df7d9225e9ee37fdaa54273e3e0aecf2515bbe76"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Behat/Behat/zipball/359d987b3064d78f2d3a6ba3a355277f3b09b47f",
- "reference": "359d987b3064d78f2d3a6ba3a355277f3b09b47f",
+ "url": "https://api.github.com/repos/Behat/Behat/zipball/df7d9225e9ee37fdaa54273e3e0aecf2515bbe76",
+ "reference": "df7d9225e9ee37fdaa54273e3e0aecf2515bbe76",
"shasum": ""
},
"require": {
- "behat/gherkin": "~4.4",
+ "behat/gherkin": "^4.4.4",
"behat/transliterator": "~1.0",
"ext-mbstring": "*",
"php": ">=5.3.3",
- "symfony/class-loader": "~2.1|~3.0",
- "symfony/config": "~2.3|~3.0",
- "symfony/console": "~2.1|~3.0",
- "symfony/dependency-injection": "~2.1|~3.0",
- "symfony/event-dispatcher": "~2.1|~3.0",
- "symfony/translation": "~2.3|~3.0",
- "symfony/yaml": "~2.1|~3.0"
+ "symfony/class-loader": "~2.1||~3.0",
+ "symfony/config": "~2.3||~3.0",
+ "symfony/console": "~2.5||~3.0",
+ "symfony/dependency-injection": "~2.1||~3.0",
+ "symfony/event-dispatcher": "~2.1||~3.0",
+ "symfony/translation": "~2.3||~3.0",
+ "symfony/yaml": "~2.1||~3.0"
},
"require-dev": {
+ "herrera-io/box": "~1.6.1",
"phpunit/phpunit": "~4.5",
- "symfony/process": "~2.1|~3.0"
+ "symfony/process": "~2.5|~3.0"
},
"suggest": {
"behat/mink-extension": "for integration with Mink testing framework",
@@ -3498,7 +3509,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.1.x-dev"
+ "dev-master": "3.2.x-dev"
}
},
"autoload": {
@@ -3534,28 +3545,29 @@
"symfony",
"testing"
],
- "time": "2016-03-28 07:04:45"
+ "time": "2016-09-25 09:40:39"
},
{
"name": "behat/gherkin",
- "version": "v4.4.1",
+ "version": "v4.4.4",
"source": {
"type": "git",
"url": "https://github.com/Behat/Gherkin.git",
- "reference": "1576b485c0f92ef6d27da9c4bbfc57ee30cf6911"
+ "reference": "cf8cc94647101e02a33d690245896d83d880aea1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Behat/Gherkin/zipball/1576b485c0f92ef6d27da9c4bbfc57ee30cf6911",
- "reference": "1576b485c0f92ef6d27da9c4bbfc57ee30cf6911",
+ "url": "https://api.github.com/repos/Behat/Gherkin/zipball/cf8cc94647101e02a33d690245896d83d880aea1",
+ "reference": "cf8cc94647101e02a33d690245896d83d880aea1",
"shasum": ""
},
"require": {
"php": ">=5.3.1"
},
"require-dev": {
- "phpunit/phpunit": "~4.0",
- "symfony/yaml": "~2.1"
+ "phpunit/phpunit": "~4.5|~5",
+ "symfony/phpunit-bridge": "~2.7|~3",
+ "symfony/yaml": "~2.3|~3"
},
"suggest": {
"symfony/yaml": "If you want to parse features, represented in YAML files"
@@ -3592,7 +3604,7 @@
"gherkin",
"parser"
],
- "time": "2015-12-30 14:47:00"
+ "time": "2016-09-18 12:16:14"
},
{
"name": "behat/mink",
@@ -4386,16 +4398,16 @@
},
{
"name": "phpdocumentor/reflection-docblock",
- "version": "3.1.0",
+ "version": "3.1.1",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "9270140b940ff02e58ec577c237274e92cd40cdd"
+ "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/9270140b940ff02e58ec577c237274e92cd40cdd",
- "reference": "9270140b940ff02e58ec577c237274e92cd40cdd",
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
+ "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
"shasum": ""
},
"require": {
@@ -4427,7 +4439,7 @@
}
],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2016-06-10 09:48:41"
+ "time": "2016-09-30 07:12:33"
},
{
"name": "phpdocumentor/type-resolver",
@@ -5488,16 +5500,16 @@
},
{
"name": "sensio/generator-bundle",
- "version": "v3.0.7",
+ "version": "v3.0.8",
"source": {
"type": "git",
"url": "https://github.com/sensiolabs/SensioGeneratorBundle.git",
- "reference": "d1be460925376703a470a3ac6ec034eb7eab3892"
+ "reference": "3c20d16512f37d2be159eca0411b99a141b90fa4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sensiolabs/SensioGeneratorBundle/zipball/d1be460925376703a470a3ac6ec034eb7eab3892",
- "reference": "d1be460925376703a470a3ac6ec034eb7eab3892",
+ "url": "https://api.github.com/repos/sensiolabs/SensioGeneratorBundle/zipball/3c20d16512f37d2be159eca0411b99a141b90fa4",
+ "reference": "3c20d16512f37d2be159eca0411b99a141b90fa4",
"shasum": ""
},
"require": {
@@ -5536,20 +5548,20 @@
}
],
"description": "This bundle generates code for you",
- "time": "2016-06-20 05:58:05"
+ "time": "2016-09-06 01:30:19"
},
{
"name": "squizlabs/php_codesniffer",
- "version": "2.6.2",
+ "version": "2.7.0",
"source": {
"type": "git",
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "4edb770cb853def6e60c93abb088ad5ac2010c83"
+ "reference": "571e27b6348e5b3a637b2abc82ac0d01e6d7bbed"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/4edb770cb853def6e60c93abb088ad5ac2010c83",
- "reference": "4edb770cb853def6e60c93abb088ad5ac2010c83",
+ "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/571e27b6348e5b3a637b2abc82ac0d01e6d7bbed",
+ "reference": "571e27b6348e5b3a637b2abc82ac0d01e6d7bbed",
"shasum": ""
},
"require": {
@@ -5614,20 +5626,20 @@
"phpcs",
"standards"
],
- "time": "2016-07-13 23:29:13"
+ "time": "2016-09-01 23:53:02"
},
{
"name": "symfony/phpunit-bridge",
- "version": "v2.8.9",
+ "version": "v2.8.12",
"source": {
"type": "git",
"url": "https://github.com/symfony/phpunit-bridge.git",
- "reference": "bc61b781fa7f07f9a2ed4e69b15d5c2238695fc0"
+ "reference": "fc69aad7dba2ab3eed5cf90c8e3ede4fb961effd"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/bc61b781fa7f07f9a2ed4e69b15d5c2238695fc0",
- "reference": "bc61b781fa7f07f9a2ed4e69b15d5c2238695fc0",
+ "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/fc69aad7dba2ab3eed5cf90c8e3ede4fb961effd",
+ "reference": "fc69aad7dba2ab3eed5cf90c8e3ede4fb961effd",
"shasum": ""
},
"require": {
@@ -5669,7 +5681,7 @@
],
"description": "Symfony PHPUnit Bridge",
"homepage": "https://symfony.com",
- "time": "2016-06-29 05:31:50"
+ "time": "2016-08-19 06:48:01"
},
{
"name": "theseer/fdomdocument",
diff --git a/web/config.php b/web/config.php
index 38d022e..f4c2905 100644
--- a/web/config.php
+++ b/web/config.php
@@ -28,6 +28,8 @@
$majorProblems = $symfonyRequirements->getFailedRequirements();
$minorProblems = $symfonyRequirements->getFailedRecommendations();
+$hasMajorProblems = (bool) count($majorProblems);
+$hasMinorProblems = (bool) count($minorProblems);
?>
@@ -158,7 +160,7 @@
ready to run Symfony applications.
Major problems have been detected and must be fixed before continuing:
- Additionally, toTo enhance your Symfony experience, + Additionally, toTo enhance your Symfony experience, it’s recommended that you fix the following:
All checks passed successfully. Your system is ready to run Symfony applications.