1
0
Fork 0

Remove unused variable $valid from ConfigValidator::validate

pull/1927/head
John Long 2013-05-23 23:15:22 -05:00
parent 59bda2bb9b
commit 8eda0aa8c9
1 changed files with 0 additions and 2 deletions

View File

@ -49,7 +49,6 @@ class ConfigValidator
// validate json schema
$laxValid = false;
$valid = false;
try {
$json = new JsonFile($file, new RemoteFilesystem($this->io));
$manifest = $json->read();
@ -57,7 +56,6 @@ class ConfigValidator
$json->validateSchema(JsonFile::LAX_SCHEMA);
$laxValid = true;
$json->validateSchema();
$valid = true;
} catch (JsonValidationException $e) {
foreach ($e->getErrors() as $message) {
if ($laxValid) {