mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-29 18:50:12 +02:00
Missing use statement should be avoided #inslight
This commit is contained in:
parent
1b2188f0b1
commit
49a7e0857a
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
namespace Mage\Task\BuiltIn\Deployment\Strategy;
|
namespace Mage\Task\BuiltIn\Deployment\Strategy;
|
||||||
|
|
||||||
|
use Mage\Task\BuiltIn\Deployment\Strategy\BaseStrategyTaskAbstract;
|
||||||
use Mage\Task\Releases\IsReleaseAware;
|
use Mage\Task\Releases\IsReleaseAware;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
namespace Mage\Task\BuiltIn\Deployment\Strategy;
|
namespace Mage\Task\BuiltIn\Deployment\Strategy;
|
||||||
|
|
||||||
|
use Mage\Task\BuiltIn\Deployment\Strategy\BaseStrategyTaskAbstract;
|
||||||
use Mage\Task\Releases\IsReleaseAware;
|
use Mage\Task\Releases\IsReleaseAware;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
|
|
||||||
namespace Mage\Yaml;
|
namespace Mage\Yaml;
|
||||||
|
|
||||||
|
use Mage\Yaml\Inline;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dumper dumps PHP variables to YAML strings.
|
* Dumper dumps PHP variables to YAML strings.
|
||||||
*
|
*
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
|
|
||||||
namespace Mage\Yaml\Exception;
|
namespace Mage\Yaml\Exception;
|
||||||
|
|
||||||
|
use Mage\Yaml\Exception\RuntimeException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exception class thrown when an error occurs during dumping.
|
* Exception class thrown when an error occurs during dumping.
|
||||||
*
|
*
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
|
|
||||||
namespace Mage\Yaml\Exception;
|
namespace Mage\Yaml\Exception;
|
||||||
|
|
||||||
|
use Mage\Yaml\Exception\RuntimeException;
|
||||||
|
|
||||||
if (!defined('JSON_UNESCAPED_UNICODE')) {
|
if (!defined('JSON_UNESCAPED_UNICODE')) {
|
||||||
define('JSON_UNESCAPED_SLASHES', 64);
|
define('JSON_UNESCAPED_SLASHES', 64);
|
||||||
define('JSON_UNESCAPED_UNICODE', 256);
|
define('JSON_UNESCAPED_UNICODE', 256);
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
|
|
||||||
namespace Mage\Yaml\Exception;
|
namespace Mage\Yaml\Exception;
|
||||||
|
|
||||||
|
use Mage\Yaml\Exception\ExceptionInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exception class thrown when an error occurs during parsing.
|
* Exception class thrown when an error occurs during parsing.
|
||||||
*
|
*
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
|
|
||||||
namespace Mage\Yaml;
|
namespace Mage\Yaml;
|
||||||
|
|
||||||
|
use Mage\Yaml\Escaper;
|
||||||
|
use Mage\Yaml\Unescaper;
|
||||||
use Mage\Yaml\Exception\ParseException;
|
use Mage\Yaml\Exception\ParseException;
|
||||||
use Mage\Yaml\Exception\DumpException;
|
use Mage\Yaml\Exception\DumpException;
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
namespace Mage\Yaml;
|
namespace Mage\Yaml;
|
||||||
|
|
||||||
|
use Mage\Yaml\Inline;
|
||||||
use Mage\Yaml\Exception\ParseException;
|
use Mage\Yaml\Exception\ParseException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -92,7 +93,7 @@ class Parser
|
||||||
// array
|
// array
|
||||||
if (!isset($values['value']) || '' == trim($values['value'], ' ') || 0 === strpos(ltrim($values['value'], ' '), '#')) {
|
if (!isset($values['value']) || '' == trim($values['value'], ' ') || 0 === strpos(ltrim($values['value'], ' '), '#')) {
|
||||||
$c = $this->getRealCurrentLineNb() + 1;
|
$c = $this->getRealCurrentLineNb() + 1;
|
||||||
$parser = new Parser($c);
|
$parser = new self($c);
|
||||||
$parser->refs =& $this->refs;
|
$parser->refs =& $this->refs;
|
||||||
$data[] = $parser->parse($this->getNextEmbedBlock(), $exceptionOnInvalidType, $objectSupport, $objectForMap);
|
$data[] = $parser->parse($this->getNextEmbedBlock(), $exceptionOnInvalidType, $objectSupport, $objectForMap);
|
||||||
} else {
|
} else {
|
||||||
|
@ -102,7 +103,7 @@ class Parser
|
||||||
) {
|
) {
|
||||||
// this is a compact notation element, add to next block and parse
|
// this is a compact notation element, add to next block and parse
|
||||||
$c = $this->getRealCurrentLineNb();
|
$c = $this->getRealCurrentLineNb();
|
||||||
$parser = new Parser($c);
|
$parser = new self($c);
|
||||||
$parser->refs =& $this->refs;
|
$parser->refs =& $this->refs;
|
||||||
|
|
||||||
$block = $values['value'];
|
$block = $values['value'];
|
||||||
|
@ -145,7 +146,7 @@ class Parser
|
||||||
$value = $this->getNextEmbedBlock();
|
$value = $this->getNextEmbedBlock();
|
||||||
}
|
}
|
||||||
$c = $this->getRealCurrentLineNb() + 1;
|
$c = $this->getRealCurrentLineNb() + 1;
|
||||||
$parser = new Parser($c);
|
$parser = new self($c);
|
||||||
$parser->refs =& $this->refs;
|
$parser->refs =& $this->refs;
|
||||||
$parsed = $parser->parse($value, $exceptionOnInvalidType, $objectSupport, $objectForMap);
|
$parsed = $parser->parse($value, $exceptionOnInvalidType, $objectSupport, $objectForMap);
|
||||||
|
|
||||||
|
@ -187,7 +188,7 @@ class Parser
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$c = $this->getRealCurrentLineNb() + 1;
|
$c = $this->getRealCurrentLineNb() + 1;
|
||||||
$parser = new Parser($c);
|
$parser = new self($c);
|
||||||
$parser->refs =& $this->refs;
|
$parser->refs =& $this->refs;
|
||||||
$value = $parser->parse($this->getNextEmbedBlock(), $exceptionOnInvalidType, $objectSupport, $objectForMap);
|
$value = $parser->parse($this->getNextEmbedBlock(), $exceptionOnInvalidType, $objectSupport, $objectForMap);
|
||||||
// Spec: Keys MUST be unique; first one wins.
|
// Spec: Keys MUST be unique; first one wins.
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
|
|
||||||
namespace Mage\Yaml;
|
namespace Mage\Yaml;
|
||||||
|
|
||||||
|
use Mage\Yaml\Parser;
|
||||||
|
use Mage\Yaml\Dumper;
|
||||||
use Mage\Yaml\Exception\ParseException;
|
use Mage\Yaml\Exception\ParseException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue