N, P, =M, !=N] already and we only want to add !=P right now
- if (\count($unEqualConstraints) === 0 && (string) $interval->getStart() !== (string) \RectorPrefix20220217\Composer\Semver\Interval::fromZero()) {
+ if (\count($unEqualConstraints) === 0 && (string) $interval->getStart() !== (string) \RectorPrefix20220218\Composer\Semver\Interval::fromZero()) {
$unEqualConstraints[] = $interval->getStart();
}
- $unEqualConstraints[] = new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('!=', $interval->getEnd()->getVersion());
+ $unEqualConstraints[] = new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('!=', $interval->getEnd()->getVersion());
continue;
}
}
if (\count($unEqualConstraints) > 0) {
// this is where the end of the following interval of a != constraint is added as explained above
- if ((string) $interval->getEnd() !== (string) \RectorPrefix20220217\Composer\Semver\Interval::untilPositiveInfinity()) {
+ if ((string) $interval->getEnd() !== (string) \RectorPrefix20220218\Composer\Semver\Interval::untilPositiveInfinity()) {
$unEqualConstraints[] = $interval->getEnd();
}
// count is 1 if entire constraint is just one != expression
if (\count($unEqualConstraints) > 1) {
- $constraints[] = new \RectorPrefix20220217\Composer\Semver\Constraint\MultiConstraint($unEqualConstraints, \true);
+ $constraints[] = new \RectorPrefix20220218\Composer\Semver\Constraint\MultiConstraint($unEqualConstraints, \true);
} else {
$constraints[] = $unEqualConstraints[0];
}
@@ -162,15 +162,15 @@ class Intervals
}
// convert back >= x - <= x intervals to == x
if ($interval->getStart()->getVersion() === $interval->getEnd()->getVersion() && $interval->getStart()->getOperator() === '>=' && $interval->getEnd()->getOperator() === '<=') {
- $constraints[] = new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('==', $interval->getStart()->getVersion());
+ $constraints[] = new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('==', $interval->getStart()->getVersion());
continue;
}
- if ((string) $interval->getStart() === (string) \RectorPrefix20220217\Composer\Semver\Interval::fromZero()) {
+ if ((string) $interval->getStart() === (string) \RectorPrefix20220218\Composer\Semver\Interval::fromZero()) {
$constraints[] = $interval->getEnd();
- } elseif ((string) $interval->getEnd() === (string) \RectorPrefix20220217\Composer\Semver\Interval::untilPositiveInfinity()) {
+ } elseif ((string) $interval->getEnd() === (string) \RectorPrefix20220218\Composer\Semver\Interval::untilPositiveInfinity()) {
$constraints[] = $interval->getStart();
} else {
- $constraints[] = new \RectorPrefix20220217\Composer\Semver\Constraint\MultiConstraint(array($interval->getStart(), $interval->getEnd()), \true);
+ $constraints[] = new \RectorPrefix20220218\Composer\Semver\Constraint\MultiConstraint(array($interval->getStart(), $interval->getEnd()), \true);
}
}
}
@@ -178,43 +178,43 @@ class Intervals
if (0 === \count($intervals['branches']['names'])) {
if ($intervals['branches']['exclude']) {
if ($hasNumericMatchAll) {
- return new \RectorPrefix20220217\Composer\Semver\Constraint\MatchAllConstraint();
+ return new \RectorPrefix20220218\Composer\Semver\Constraint\MatchAllConstraint();
}
// otherwise constraint should contain a != operator and already cover this
}
} else {
foreach ($intervals['branches']['names'] as $branchName) {
if ($intervals['branches']['exclude']) {
- $devConstraints[] = new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('!=', $branchName);
+ $devConstraints[] = new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('!=', $branchName);
} else {
- $devConstraints[] = new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('==', $branchName);
+ $devConstraints[] = new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('==', $branchName);
}
}
// excluded branches, e.g. != dev-foo are conjunctive with the interval, so
// > 2.0 != dev-foo must return a conjunctive constraint
if ($intervals['branches']['exclude']) {
if (\count($constraints) > 1) {
- return new \RectorPrefix20220217\Composer\Semver\Constraint\MultiConstraint(\array_merge(array(new \RectorPrefix20220217\Composer\Semver\Constraint\MultiConstraint($constraints, \false)), $devConstraints), \true);
+ return new \RectorPrefix20220218\Composer\Semver\Constraint\MultiConstraint(\array_merge(array(new \RectorPrefix20220218\Composer\Semver\Constraint\MultiConstraint($constraints, \false)), $devConstraints), \true);
}
- if (\count($constraints) === 1 && (string) $constraints[0] === (string) \RectorPrefix20220217\Composer\Semver\Interval::fromZero()) {
+ if (\count($constraints) === 1 && (string) $constraints[0] === (string) \RectorPrefix20220218\Composer\Semver\Interval::fromZero()) {
if (\count($devConstraints) > 1) {
- return new \RectorPrefix20220217\Composer\Semver\Constraint\MultiConstraint($devConstraints, \true);
+ return new \RectorPrefix20220218\Composer\Semver\Constraint\MultiConstraint($devConstraints, \true);
}
return $devConstraints[0];
}
- return new \RectorPrefix20220217\Composer\Semver\Constraint\MultiConstraint(\array_merge($constraints, $devConstraints), \true);
+ return new \RectorPrefix20220218\Composer\Semver\Constraint\MultiConstraint(\array_merge($constraints, $devConstraints), \true);
}
// otherwise devConstraints contains a list of == operators for branches which are disjunctive with the
// rest of the constraint
$constraints = \array_merge($constraints, $devConstraints);
}
if (\count($constraints) > 1) {
- return new \RectorPrefix20220217\Composer\Semver\Constraint\MultiConstraint($constraints, \false);
+ return new \RectorPrefix20220218\Composer\Semver\Constraint\MultiConstraint($constraints, \false);
}
if (\count($constraints) === 1) {
return $constraints[0];
}
- return new \RectorPrefix20220217\Composer\Semver\Constraint\MatchNoneConstraint();
+ return new \RectorPrefix20220218\Composer\Semver\Constraint\MatchNoneConstraint();
}
/**
* Creates an array of numeric intervals and branch constraints representing a given constraint
@@ -226,7 +226,7 @@ class Intervals
* @return array
* @phpstan-return array{'numeric': Interval[], 'branches': array{'names': string[], 'exclude': bool}}
*/
- public static function get(\RectorPrefix20220217\Composer\Semver\Constraint\ConstraintInterface $constraint)
+ public static function get(\RectorPrefix20220218\Composer\Semver\Constraint\ConstraintInterface $constraint)
{
$key = (string) $constraint;
if (!isset(self::$intervalsCache[$key])) {
@@ -239,18 +239,18 @@ class Intervals
*
* @phpstan-return array{'numeric': Interval[], 'branches': array{'names': string[], 'exclude': bool}}
*/
- private static function generateIntervals(\RectorPrefix20220217\Composer\Semver\Constraint\ConstraintInterface $constraint, $stopOnFirstValidInterval = \false)
+ private static function generateIntervals(\RectorPrefix20220218\Composer\Semver\Constraint\ConstraintInterface $constraint, $stopOnFirstValidInterval = \false)
{
- if ($constraint instanceof \RectorPrefix20220217\Composer\Semver\Constraint\MatchAllConstraint) {
- return array('numeric' => array(new \RectorPrefix20220217\Composer\Semver\Interval(\RectorPrefix20220217\Composer\Semver\Interval::fromZero(), \RectorPrefix20220217\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20220217\Composer\Semver\Interval::anyDev());
+ if ($constraint instanceof \RectorPrefix20220218\Composer\Semver\Constraint\MatchAllConstraint) {
+ return array('numeric' => array(new \RectorPrefix20220218\Composer\Semver\Interval(\RectorPrefix20220218\Composer\Semver\Interval::fromZero(), \RectorPrefix20220218\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20220218\Composer\Semver\Interval::anyDev());
}
- if ($constraint instanceof \RectorPrefix20220217\Composer\Semver\Constraint\MatchNoneConstraint) {
+ if ($constraint instanceof \RectorPrefix20220218\Composer\Semver\Constraint\MatchNoneConstraint) {
return array('numeric' => array(), 'branches' => array('names' => array(), 'exclude' => \false));
}
- if ($constraint instanceof \RectorPrefix20220217\Composer\Semver\Constraint\Constraint) {
+ if ($constraint instanceof \RectorPrefix20220218\Composer\Semver\Constraint\Constraint) {
return self::generateSingleConstraintIntervals($constraint);
}
- if (!$constraint instanceof \RectorPrefix20220217\Composer\Semver\Constraint\MultiConstraint) {
+ if (!$constraint instanceof \RectorPrefix20220218\Composer\Semver\Constraint\MultiConstraint) {
throw new \UnexpectedValueException('The constraint passed in should be an MatchAllConstraint, Constraint or MultiConstraint instance, got ' . \get_class($constraint) . '.');
}
$constraints = $constraint->getConstraints();
@@ -262,7 +262,7 @@ class Intervals
$constraintBranches[] = $res['branches'];
}
if ($constraint->isDisjunctive()) {
- $branches = \RectorPrefix20220217\Composer\Semver\Interval::noDev();
+ $branches = \RectorPrefix20220218\Composer\Semver\Interval::noDev();
foreach ($constraintBranches as $b) {
if ($b['exclude']) {
if ($branches['exclude']) {
@@ -288,7 +288,7 @@ class Intervals
}
}
} else {
- $branches = \RectorPrefix20220217\Composer\Semver\Interval::anyDev();
+ $branches = \RectorPrefix20220218\Composer\Semver\Interval::anyDev();
foreach ($constraintBranches as $b) {
if ($b['exclude']) {
if ($branches['exclude']) {
@@ -345,13 +345,13 @@ class Intervals
$activeIntervals--;
}
if (!$start && $activeIntervals >= $activationThreshold) {
- $start = new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint($border['operator'], $border['version']);
+ $start = new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint($border['operator'], $border['version']);
} elseif ($start && $activeIntervals < $activationThreshold) {
// filter out invalid intervals like > x - <= x, or >= x - < x
if (\version_compare($start->getVersion(), $border['version'], '=') && ($start->getOperator() === '>' && $border['operator'] === '<=' || $start->getOperator() === '>=' && $border['operator'] === '<')) {
unset($intervals[$index]);
} else {
- $intervals[$index] = new \RectorPrefix20220217\Composer\Semver\Interval($start, new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint($border['operator'], $border['version']));
+ $intervals[$index] = new \RectorPrefix20220218\Composer\Semver\Interval($start, new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint($border['operator'], $border['version']));
$index++;
if ($stopOnFirstValidInterval) {
break;
@@ -365,7 +365,7 @@ class Intervals
/**
* @phpstan-return array{'numeric': Interval[], 'branches': array{'names': string[], 'exclude': bool}}
*/
- private static function generateSingleConstraintIntervals(\RectorPrefix20220217\Composer\Semver\Constraint\Constraint $constraint)
+ private static function generateSingleConstraintIntervals(\RectorPrefix20220218\Composer\Semver\Constraint\Constraint $constraint)
{
$op = $constraint->getOperator();
// handle branch constraints first
@@ -374,7 +374,7 @@ class Intervals
$branches = array('names' => array(), 'exclude' => \false);
// != dev-foo means any numeric version may match, we treat >/< like != they are not really defined for branches
if ($op === '!=') {
- $intervals[] = new \RectorPrefix20220217\Composer\Semver\Interval(\RectorPrefix20220217\Composer\Semver\Interval::fromZero(), \RectorPrefix20220217\Composer\Semver\Interval::untilPositiveInfinity());
+ $intervals[] = new \RectorPrefix20220218\Composer\Semver\Interval(\RectorPrefix20220218\Composer\Semver\Interval::fromZero(), \RectorPrefix20220218\Composer\Semver\Interval::untilPositiveInfinity());
$branches = array('names' => array($constraint->getVersion()), 'exclude' => \true);
} elseif ($op === '==') {
$branches['names'][] = $constraint->getVersion();
@@ -383,17 +383,17 @@ class Intervals
}
if ($op[0] === '>') {
// > & >=
- return array('numeric' => array(new \RectorPrefix20220217\Composer\Semver\Interval($constraint, \RectorPrefix20220217\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20220217\Composer\Semver\Interval::noDev());
+ return array('numeric' => array(new \RectorPrefix20220218\Composer\Semver\Interval($constraint, \RectorPrefix20220218\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20220218\Composer\Semver\Interval::noDev());
}
if ($op[0] === '<') {
// < & <=
- return array('numeric' => array(new \RectorPrefix20220217\Composer\Semver\Interval(\RectorPrefix20220217\Composer\Semver\Interval::fromZero(), $constraint)), 'branches' => \RectorPrefix20220217\Composer\Semver\Interval::noDev());
+ return array('numeric' => array(new \RectorPrefix20220218\Composer\Semver\Interval(\RectorPrefix20220218\Composer\Semver\Interval::fromZero(), $constraint)), 'branches' => \RectorPrefix20220218\Composer\Semver\Interval::noDev());
}
if ($op === '!=') {
// convert !=x to intervals of 0 - x - +inf + dev*
- return array('numeric' => array(new \RectorPrefix20220217\Composer\Semver\Interval(\RectorPrefix20220217\Composer\Semver\Interval::fromZero(), new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('<', $constraint->getVersion())), new \RectorPrefix20220217\Composer\Semver\Interval(new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('>', $constraint->getVersion()), \RectorPrefix20220217\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20220217\Composer\Semver\Interval::anyDev());
+ return array('numeric' => array(new \RectorPrefix20220218\Composer\Semver\Interval(\RectorPrefix20220218\Composer\Semver\Interval::fromZero(), new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('<', $constraint->getVersion())), new \RectorPrefix20220218\Composer\Semver\Interval(new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('>', $constraint->getVersion()), \RectorPrefix20220218\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20220218\Composer\Semver\Interval::anyDev());
}
// convert ==x to an interval of >=x - <=x
- return array('numeric' => array(new \RectorPrefix20220217\Composer\Semver\Interval(new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('>=', $constraint->getVersion()), new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('<=', $constraint->getVersion()))), 'branches' => \RectorPrefix20220217\Composer\Semver\Interval::noDev());
+ return array('numeric' => array(new \RectorPrefix20220218\Composer\Semver\Interval(new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('>=', $constraint->getVersion()), new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('<=', $constraint->getVersion()))), 'branches' => \RectorPrefix20220218\Composer\Semver\Interval::noDev());
}
}
diff --git a/vendor/composer/semver/src/Semver.php b/vendor/composer/semver/src/Semver.php
index 369fafea4c9..008d96abae3 100644
--- a/vendor/composer/semver/src/Semver.php
+++ b/vendor/composer/semver/src/Semver.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Composer\Semver;
+namespace RectorPrefix20220218\Composer\Semver;
-use RectorPrefix20220217\Composer\Semver\Constraint\Constraint;
+use RectorPrefix20220218\Composer\Semver\Constraint\Constraint;
class Semver
{
const SORT_ASC = 1;
@@ -28,10 +28,10 @@ class Semver
public static function satisfies($version, $constraints)
{
if (null === self::$versionParser) {
- self::$versionParser = new \RectorPrefix20220217\Composer\Semver\VersionParser();
+ self::$versionParser = new \RectorPrefix20220218\Composer\Semver\VersionParser();
}
$versionParser = self::$versionParser;
- $provider = new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('==', $versionParser->normalize($version));
+ $provider = new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('==', $versionParser->normalize($version));
$parsedConstraints = $versionParser->parseConstraints($constraints);
return $parsedConstraints->matches($provider);
}
@@ -46,7 +46,7 @@ class Semver
public static function satisfiedBy(array $versions, $constraints)
{
$versions = \array_filter($versions, function ($version) use($constraints) {
- return \RectorPrefix20220217\Composer\Semver\Semver::satisfies($version, $constraints);
+ return \RectorPrefix20220218\Composer\Semver\Semver::satisfies($version, $constraints);
});
return \array_values($versions);
}
@@ -81,7 +81,7 @@ class Semver
private static function usort(array $versions, $direction)
{
if (null === self::$versionParser) {
- self::$versionParser = new \RectorPrefix20220217\Composer\Semver\VersionParser();
+ self::$versionParser = new \RectorPrefix20220218\Composer\Semver\VersionParser();
}
$versionParser = self::$versionParser;
$normalized = array();
@@ -96,7 +96,7 @@ class Semver
if ($left[0] === $right[0]) {
return 0;
}
- if (\RectorPrefix20220217\Composer\Semver\Comparator::lessThan($left[0], $right[0])) {
+ if (\RectorPrefix20220218\Composer\Semver\Comparator::lessThan($left[0], $right[0])) {
return -$direction;
}
return $direction;
diff --git a/vendor/composer/semver/src/VersionParser.php b/vendor/composer/semver/src/VersionParser.php
index 35f95dc3268..f28d35701ea 100644
--- a/vendor/composer/semver/src/VersionParser.php
+++ b/vendor/composer/semver/src/VersionParser.php
@@ -8,12 +8,12 @@
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Composer\Semver;
+namespace RectorPrefix20220218\Composer\Semver;
-use RectorPrefix20220217\Composer\Semver\Constraint\ConstraintInterface;
-use RectorPrefix20220217\Composer\Semver\Constraint\MatchAllConstraint;
-use RectorPrefix20220217\Composer\Semver\Constraint\MultiConstraint;
-use RectorPrefix20220217\Composer\Semver\Constraint\Constraint;
+use RectorPrefix20220218\Composer\Semver\Constraint\ConstraintInterface;
+use RectorPrefix20220218\Composer\Semver\Constraint\MatchAllConstraint;
+use RectorPrefix20220218\Composer\Semver\Constraint\MultiConstraint;
+use RectorPrefix20220218\Composer\Semver\Constraint\Constraint;
/**
* Version parser.
*
@@ -238,11 +238,11 @@ class VersionParser
if (1 === \count($constraintObjects)) {
$constraint = $constraintObjects[0];
} else {
- $constraint = new \RectorPrefix20220217\Composer\Semver\Constraint\MultiConstraint($constraintObjects);
+ $constraint = new \RectorPrefix20220218\Composer\Semver\Constraint\MultiConstraint($constraintObjects);
}
$orGroups[] = $constraint;
}
- $constraint = \RectorPrefix20220217\Composer\Semver\Constraint\MultiConstraint::create($orGroups, \false);
+ $constraint = \RectorPrefix20220218\Composer\Semver\Constraint\MultiConstraint::create($orGroups, \false);
$constraint->setPrettyString($prettyConstraint);
return $constraint;
}
@@ -274,9 +274,9 @@ class VersionParser
}
if (\preg_match('{^(v)?[xX*](\\.[xX*])*$}i', $constraint, $match)) {
if (!empty($match[1]) || !empty($match[2])) {
- return array(new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('>=', '0.0.0.0-dev'));
+ return array(new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('>=', '0.0.0.0-dev'));
}
- return array(new \RectorPrefix20220217\Composer\Semver\Constraint\MatchAllConstraint());
+ return array(new \RectorPrefix20220218\Composer\Semver\Constraint\MatchAllConstraint());
}
$versionRegex = 'v?(\\d++)(?:\\.(\\d++))?(?:\\.(\\d++))?(?:\\.(\\d++))?(?:' . self::$modifierRegex . '|\\.([xX*][.-]?dev))(?:\\+[^\\s]+)?';
// Tilde Range
@@ -308,12 +308,12 @@ class VersionParser
$stabilitySuffix .= '-dev';
}
$lowVersion = $this->normalize(\substr($constraint . $stabilitySuffix, 1));
- $lowerBound = new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('>=', $lowVersion);
+ $lowerBound = new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('>=', $lowVersion);
// For upper bound, we increment the position of one more significance,
// but highPosition = 0 would be illegal
$highPosition = \max(1, $position - 1);
$highVersion = $this->manipulateVersionString($matches, $highPosition, 1) . '-dev';
- $upperBound = new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('<', $highVersion);
+ $upperBound = new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('<', $highVersion);
return array($lowerBound, $upperBound);
}
// Caret Range
@@ -336,11 +336,11 @@ class VersionParser
$stabilitySuffix .= '-dev';
}
$lowVersion = $this->normalize(\substr($constraint . $stabilitySuffix, 1));
- $lowerBound = new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('>=', $lowVersion);
+ $lowerBound = new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('>=', $lowVersion);
// For upper bound, we increment the position of one more significance,
// but highPosition = 0 would be illegal
$highVersion = $this->manipulateVersionString($matches, $position, 1) . '-dev';
- $upperBound = new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('<', $highVersion);
+ $upperBound = new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('<', $highVersion);
return array($lowerBound, $upperBound);
}
// X Range
@@ -358,9 +358,9 @@ class VersionParser
$lowVersion = $this->manipulateVersionString($matches, $position) . '-dev';
$highVersion = $this->manipulateVersionString($matches, $position, 1) . '-dev';
if ($lowVersion === '0.0.0.0-dev') {
- return array(new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('<', $highVersion));
+ return array(new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('<', $highVersion));
}
- return array(new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('>=', $lowVersion), new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('<', $highVersion));
+ return array(new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('>=', $lowVersion), new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('<', $highVersion));
}
// Hyphen Range
//
@@ -375,19 +375,19 @@ class VersionParser
$lowStabilitySuffix = '-dev';
}
$lowVersion = $this->normalize($matches['from']);
- $lowerBound = new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('>=', $lowVersion . $lowStabilitySuffix);
+ $lowerBound = new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('>=', $lowVersion . $lowStabilitySuffix);
$empty = function ($x) {
return $x === 0 || $x === '0' ? \false : empty($x);
};
if (!$empty($matches[12]) && !$empty($matches[13]) || !empty($matches[15]) || !empty($matches[17]) || !empty($matches[18])) {
$highVersion = $this->normalize($matches['to']);
- $upperBound = new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('<=', $highVersion);
+ $upperBound = new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('<=', $highVersion);
} else {
$highMatch = array('', $matches[11], $matches[12], $matches[13], $matches[14]);
// validate to version
$this->normalize($matches['to']);
$highVersion = $this->manipulateVersionString($highMatch, $empty($matches[12]) ? 1 : 2, 1) . '-dev';
- $upperBound = new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint('<', $highVersion);
+ $upperBound = new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint('<', $highVersion);
}
return array($lowerBound, $upperBound);
}
@@ -415,7 +415,7 @@ class VersionParser
}
}
}
- return array(new \RectorPrefix20220217\Composer\Semver\Constraint\Constraint($matches[1] ?: '=', $version));
+ return array(new \RectorPrefix20220218\Composer\Semver\Constraint\Constraint($matches[1] ?: '=', $version));
} catch (\Exception $e) {
}
}
diff --git a/vendor/composer/xdebug-handler/composer.json b/vendor/composer/xdebug-handler/composer.json
index 4652e59dbde..b302090b051 100644
--- a/vendor/composer/xdebug-handler/composer.json
+++ b/vendor/composer/xdebug-handler/composer.json
@@ -29,12 +29,12 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\Composer\\XdebugHandler\\": "src"
+ "RectorPrefix20220218\\Composer\\XdebugHandler\\": "src"
}
},
"autoload-dev": {
"psr-4": {
- "RectorPrefix20220217\\Composer\\XdebugHandler\\Tests\\": "tests"
+ "RectorPrefix20220218\\Composer\\XdebugHandler\\Tests\\": "tests"
}
},
"scripts": {
diff --git a/vendor/composer/xdebug-handler/src/PhpConfig.php b/vendor/composer/xdebug-handler/src/PhpConfig.php
index 628fe5b1e0d..bc397ba2601 100644
--- a/vendor/composer/xdebug-handler/src/PhpConfig.php
+++ b/vendor/composer/xdebug-handler/src/PhpConfig.php
@@ -9,7 +9,7 @@ declare (strict_types=1);
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Composer\XdebugHandler;
+namespace RectorPrefix20220218\Composer\XdebugHandler;
/**
* @author John Stevenson
@@ -62,7 +62,7 @@ class PhpConfig
*/
private function getDataAndReset() : ?array
{
- $data = \RectorPrefix20220217\Composer\XdebugHandler\XdebugHandler::getRestartSettings();
+ $data = \RectorPrefix20220218\Composer\XdebugHandler\XdebugHandler::getRestartSettings();
if ($data !== null) {
$this->updateEnv('PHPRC', $data['phprc']);
$this->updateEnv('PHP_INI_SCAN_DIR', $data['scanDir']);
@@ -77,6 +77,6 @@ class PhpConfig
*/
private function updateEnv(string $name, $value) : void
{
- \RectorPrefix20220217\Composer\XdebugHandler\Process::setEnv($name, \false !== $value ? $value : null);
+ \RectorPrefix20220218\Composer\XdebugHandler\Process::setEnv($name, \false !== $value ? $value : null);
}
}
diff --git a/vendor/composer/xdebug-handler/src/Process.php b/vendor/composer/xdebug-handler/src/Process.php
index 02931d510b3..4e5c3c9cc99 100644
--- a/vendor/composer/xdebug-handler/src/Process.php
+++ b/vendor/composer/xdebug-handler/src/Process.php
@@ -9,9 +9,9 @@
* the LICENSE file that was distributed with this source code.
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Composer\XdebugHandler;
+namespace RectorPrefix20220218\Composer\XdebugHandler;
-use RectorPrefix20220217\Composer\Pcre\Preg;
+use RectorPrefix20220218\Composer\Pcre\Preg;
/**
* Process utility functions
*
@@ -35,9 +35,9 @@ class Process
return "'" . \str_replace("'", "'\\''", $arg) . "'";
}
$quote = \strpbrk($arg, " \t") !== \false || $arg === '';
- $arg = \RectorPrefix20220217\Composer\Pcre\Preg::replace('/(\\\\*)"/', '$1$1\\"', $arg, -1, $dquotes);
+ $arg = \RectorPrefix20220218\Composer\Pcre\Preg::replace('/(\\\\*)"/', '$1$1\\"', $arg, -1, $dquotes);
if ($meta) {
- $meta = $dquotes || \RectorPrefix20220217\Composer\Pcre\Preg::isMatch('/%[^%]+%/', $arg);
+ $meta = $dquotes || \RectorPrefix20220218\Composer\Pcre\Preg::isMatch('/%[^%]+%/', $arg);
if (!$meta) {
$quote = $quote || \strpbrk($arg, '^&|<>()') !== \false;
} elseif ($module && !$dquotes && $quote) {
@@ -45,10 +45,10 @@ class Process
}
}
if ($quote) {
- $arg = '"' . \RectorPrefix20220217\Composer\Pcre\Preg::replace('/(\\\\*)$/', '$1$1', $arg) . '"';
+ $arg = '"' . \RectorPrefix20220218\Composer\Pcre\Preg::replace('/(\\\\*)$/', '$1$1', $arg) . '"';
}
if ($meta) {
- $arg = \RectorPrefix20220217\Composer\Pcre\Preg::replace('/(["^&|<>()%])/', '^$1', $arg);
+ $arg = \RectorPrefix20220218\Composer\Pcre\Preg::replace('/(["^&|<>()%])/', '^$1', $arg);
}
return $arg;
}
diff --git a/vendor/composer/xdebug-handler/src/Status.php b/vendor/composer/xdebug-handler/src/Status.php
index 3edf379a24c..b313a62a879 100644
--- a/vendor/composer/xdebug-handler/src/Status.php
+++ b/vendor/composer/xdebug-handler/src/Status.php
@@ -9,10 +9,10 @@
* the LICENSE file that was distributed with this source code.
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Composer\XdebugHandler;
+namespace RectorPrefix20220218\Composer\XdebugHandler;
-use RectorPrefix20220217\Psr\Log\LoggerInterface;
-use RectorPrefix20220217\Psr\Log\LogLevel;
+use RectorPrefix20220218\Psr\Log\LoggerInterface;
+use RectorPrefix20220218\Psr\Log\LogLevel;
/**
* @author John Stevenson
* @internal
@@ -46,7 +46,7 @@ class Status
public function __construct(string $envAllowXdebug, bool $debug)
{
$start = \getenv(self::ENV_RESTART);
- \RectorPrefix20220217\Composer\XdebugHandler\Process::setEnv(self::ENV_RESTART);
+ \RectorPrefix20220218\Composer\XdebugHandler\Process::setEnv(self::ENV_RESTART);
$this->time = \is_numeric($start) ? \round((\microtime(\true) - $start) * 1000) : 0;
$this->envAllowXdebug = $envAllowXdebug;
$this->debug = $debug && \defined('STDERR');
@@ -57,7 +57,7 @@ class Status
*
* @return void
*/
- public function setLogger(\RectorPrefix20220217\Psr\Log\LoggerInterface $logger) : void
+ public function setLogger(\RectorPrefix20220218\Psr\Log\LoggerInterface $logger) : void
{
$this->logger = $logger;
}
@@ -83,7 +83,7 @@ class Status
private function output(string $text, ?string $level = null) : void
{
if ($this->logger !== null) {
- $this->logger->log($level !== null ? $level : \RectorPrefix20220217\Psr\Log\LogLevel::DEBUG, $text);
+ $this->logger->log($level !== null ? $level : \RectorPrefix20220218\Psr\Log\LogLevel::DEBUG, $text);
}
if ($this->debug) {
\fwrite(\STDERR, \sprintf('xdebug-handler[%d] %s', \getmypid(), $text . \PHP_EOL));
@@ -106,7 +106,7 @@ class Status
*/
private function reportError(string $error) : void
{
- $this->output(\sprintf('No restart (%s)', $error), \RectorPrefix20220217\Psr\Log\LogLevel::WARNING);
+ $this->output(\sprintf('No restart (%s)', $error), \RectorPrefix20220218\Psr\Log\LogLevel::WARNING);
}
/**
* Info status message
@@ -135,7 +135,7 @@ class Status
private function reportRestart() : void
{
$this->output($this->getLoadedMessage());
- \RectorPrefix20220217\Composer\XdebugHandler\Process::setEnv(self::ENV_RESTART, (string) \microtime(\true));
+ \RectorPrefix20220218\Composer\XdebugHandler\Process::setEnv(self::ENV_RESTART, (string) \microtime(\true));
}
/**
* Restarted status message
@@ -144,7 +144,7 @@ class Status
{
$loaded = $this->getLoadedMessage();
$text = \sprintf('Restarted (%d ms). %s', $this->time, $loaded);
- $level = $this->loaded !== null ? \RectorPrefix20220217\Psr\Log\LogLevel::WARNING : null;
+ $level = $this->loaded !== null ? \RectorPrefix20220218\Psr\Log\LogLevel::WARNING : null;
$this->output($text, $level);
}
/**
diff --git a/vendor/composer/xdebug-handler/src/XdebugHandler.php b/vendor/composer/xdebug-handler/src/XdebugHandler.php
index 0431a4fea22..1f90a7d8f55 100644
--- a/vendor/composer/xdebug-handler/src/XdebugHandler.php
+++ b/vendor/composer/xdebug-handler/src/XdebugHandler.php
@@ -9,10 +9,10 @@
* the LICENSE file that was distributed with this source code.
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Composer\XdebugHandler;
+namespace RectorPrefix20220218\Composer\XdebugHandler;
-use RectorPrefix20220217\Composer\Pcre\Preg;
-use RectorPrefix20220217\Psr\Log\LoggerInterface;
+use RectorPrefix20220218\Composer\Pcre\Preg;
+use RectorPrefix20220218\Psr\Log\LoggerInterface;
/**
* @author John Stevenson
*
@@ -76,12 +76,12 @@ class XdebugHandler
if ($this->cli = \PHP_SAPI === 'cli') {
$this->debug = (string) \getenv(self::DEBUG);
}
- $this->statusWriter = new \RectorPrefix20220217\Composer\XdebugHandler\Status($this->envAllowXdebug, (bool) $this->debug);
+ $this->statusWriter = new \RectorPrefix20220218\Composer\XdebugHandler\Status($this->envAllowXdebug, (bool) $this->debug);
}
/**
* Activates status message output to a PSR3 logger
*/
- public function setLogger(\RectorPrefix20220217\Psr\Log\LoggerInterface $logger) : self
+ public function setLogger(\RectorPrefix20220218\Psr\Log\LoggerInterface $logger) : self
{
$this->statusWriter->setLogger($logger);
return $this;
@@ -111,11 +111,11 @@ class XdebugHandler
*/
public function check() : void
{
- $this->notify(\RectorPrefix20220217\Composer\XdebugHandler\Status::CHECK, self::$xdebugVersion . '|' . self::$xdebugMode);
+ $this->notify(\RectorPrefix20220218\Composer\XdebugHandler\Status::CHECK, self::$xdebugVersion . '|' . self::$xdebugMode);
$envArgs = \explode('|', (string) \getenv($this->envAllowXdebug));
if (!(bool) $envArgs[0] && $this->requiresRestart(self::$xdebugActive)) {
// Restart required
- $this->notify(\RectorPrefix20220217\Composer\XdebugHandler\Status::RESTART);
+ $this->notify(\RectorPrefix20220218\Composer\XdebugHandler\Status::RESTART);
if ($this->prepareRestart()) {
$command = $this->getCommand();
$this->restart($command);
@@ -124,8 +124,8 @@ class XdebugHandler
}
if (self::RESTART_ID === $envArgs[0] && \count($envArgs) === 5) {
// Restarted, so unset environment variable and use saved values
- $this->notify(\RectorPrefix20220217\Composer\XdebugHandler\Status::RESTARTED);
- \RectorPrefix20220217\Composer\XdebugHandler\Process::setEnv($this->envAllowXdebug);
+ $this->notify(\RectorPrefix20220218\Composer\XdebugHandler\Status::RESTARTED);
+ \RectorPrefix20220218\Composer\XdebugHandler\Process::setEnv($this->envAllowXdebug);
self::$inRestart = \true;
if (self::$xdebugVersion === null) {
// Skipped version is only set if Xdebug is not loaded
@@ -136,7 +136,7 @@ class XdebugHandler
$this->setEnvRestartSettings($envArgs);
return;
}
- $this->notify(\RectorPrefix20220217\Composer\XdebugHandler\Status::NORESTART);
+ $this->notify(\RectorPrefix20220218\Composer\XdebugHandler\Status::NORESTART);
$settings = self::getRestartSettings();
if ($settings !== null) {
// Called with existing settings, so sync our settings
@@ -227,11 +227,11 @@ class XdebugHandler
private function doRestart(array $command) : void
{
$this->tryEnableSignals();
- $this->notify(\RectorPrefix20220217\Composer\XdebugHandler\Status::RESTARTING, \implode(' ', $command));
+ $this->notify(\RectorPrefix20220218\Composer\XdebugHandler\Status::RESTARTING, \implode(' ', $command));
if (\PHP_VERSION_ID >= 70400) {
$cmd = $command;
} else {
- $cmd = \RectorPrefix20220217\Composer\XdebugHandler\Process::escapeShellCommand($command);
+ $cmd = \RectorPrefix20220218\Composer\XdebugHandler\Process::escapeShellCommand($command);
if (\defined('PHP_WINDOWS_VERSION_BUILD')) {
// Outer quotes required on cmd string below PHP 8
$cmd = '"' . $cmd . '"';
@@ -243,13 +243,13 @@ class XdebugHandler
}
if (!isset($exitCode)) {
// Unlikely that php or the default shell cannot be invoked
- $this->notify(\RectorPrefix20220217\Composer\XdebugHandler\Status::ERROR, 'Unable to restart process');
+ $this->notify(\RectorPrefix20220218\Composer\XdebugHandler\Status::ERROR, 'Unable to restart process');
$exitCode = -1;
} else {
- $this->notify(\RectorPrefix20220217\Composer\XdebugHandler\Status::INFO, 'Restarted process exited ' . $exitCode);
+ $this->notify(\RectorPrefix20220218\Composer\XdebugHandler\Status::INFO, 'Restarted process exited ' . $exitCode);
}
if ($this->debug === '2') {
- $this->notify(\RectorPrefix20220217\Composer\XdebugHandler\Status::INFO, 'Temp ini saved: ' . $this->tmpIni);
+ $this->notify(\RectorPrefix20220218\Composer\XdebugHandler\Status::INFO, 'Temp ini saved: ' . $this->tmpIni);
} else {
@\unlink((string) $this->tmpIni);
}
@@ -281,7 +281,7 @@ class XdebugHandler
$error = 'Unable to set environment variables';
}
if ($error !== null) {
- $this->notify(\RectorPrefix20220217\Composer\XdebugHandler\Status::ERROR, $error);
+ $this->notify(\RectorPrefix20220218\Composer\XdebugHandler\Status::ERROR, $error);
}
return $error === null;
}
@@ -310,10 +310,10 @@ class XdebugHandler
return \false;
}
// Check and remove directives after HOST and PATH sections
- if (\RectorPrefix20220217\Composer\Pcre\Preg::isMatchWithOffsets($sectionRegex, $data, $matches, \PREG_OFFSET_CAPTURE)) {
+ if (\RectorPrefix20220218\Composer\Pcre\Preg::isMatchWithOffsets($sectionRegex, $data, $matches, \PREG_OFFSET_CAPTURE)) {
$data = \substr($data, 0, $matches[0][1]);
}
- $content .= \RectorPrefix20220217\Composer\Pcre\Preg::replace($xdebugRegex, ';$1', $data) . \PHP_EOL;
+ $content .= \RectorPrefix20220218\Composer\Pcre\Preg::replace($xdebugRegex, ';$1', $data) . \PHP_EOL;
}
// Merge loaded settings into our ini content, if it is valid
$config = \parse_ini_string($content);
@@ -424,7 +424,7 @@ class XdebugHandler
private function setEnvRestartSettings(array $envArgs) : void
{
$settings = [\php_ini_loaded_file(), $envArgs[2], $envArgs[3], $envArgs[4], \getenv($this->envOriginalInis), self::$skipped];
- \RectorPrefix20220217\Composer\XdebugHandler\Process::setEnv(self::RESTART_SETTINGS, \implode('|', $settings));
+ \RectorPrefix20220218\Composer\XdebugHandler\Process::setEnv(self::RESTART_SETTINGS, \implode('|', $settings));
}
/**
* Syncs settings and the environment if called with existing settings
@@ -435,10 +435,10 @@ class XdebugHandler
{
if (\false === \getenv($this->envOriginalInis)) {
// Called by another app, so make original inis available
- \RectorPrefix20220217\Composer\XdebugHandler\Process::setEnv($this->envOriginalInis, \implode(\PATH_SEPARATOR, $settings['inis']));
+ \RectorPrefix20220218\Composer\XdebugHandler\Process::setEnv($this->envOriginalInis, \implode(\PATH_SEPARATOR, $settings['inis']));
}
self::$skipped = $settings['skipped'];
- $this->notify(\RectorPrefix20220217\Composer\XdebugHandler\Status::INFO, 'Process called with existing restart settings');
+ $this->notify(\RectorPrefix20220218\Composer\XdebugHandler\Status::INFO, 'Process called with existing restart settings');
}
/**
* Returns true if there are no known configuration issues
@@ -531,7 +531,7 @@ class XdebugHandler
self::$xdebugMode = $iniMode !== '' ? $iniMode : 'off';
}
// An empty comma-separated list is treated as mode 'off'
- if (\RectorPrefix20220217\Composer\Pcre\Preg::isMatch('/^,+$/', \str_replace(' ', '', self::$xdebugMode))) {
+ if (\RectorPrefix20220218\Composer\Pcre\Preg::isMatch('/^,+$/', \str_replace(' ', '', self::$xdebugMode))) {
self::$xdebugMode = 'off';
}
self::$xdebugActive = self::$xdebugMode !== 'off';
diff --git a/vendor/cweagans/composer-patches/composer.json b/vendor/cweagans/composer-patches/composer.json
index 2fdd19367ad..4af327ef494 100644
--- a/vendor/cweagans/composer-patches/composer.json
+++ b/vendor/cweagans/composer-patches/composer.json
@@ -23,12 +23,12 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\cweagans\\Composer\\": "src"
+ "RectorPrefix20220218\\cweagans\\Composer\\": "src"
}
},
"autoload-dev": {
"psr-4": {
- "RectorPrefix20220217\\cweagans\\Composer\\Tests\\": "tests"
+ "RectorPrefix20220218\\cweagans\\Composer\\Tests\\": "tests"
}
}
}
\ No newline at end of file
diff --git a/vendor/cweagans/composer-patches/src/PatchEvent.php b/vendor/cweagans/composer-patches/src/PatchEvent.php
index 912c94586b4..4e4877940cc 100644
--- a/vendor/cweagans/composer-patches/src/PatchEvent.php
+++ b/vendor/cweagans/composer-patches/src/PatchEvent.php
@@ -4,11 +4,11 @@
* @file
* Dispatch events when patches are applied.
*/
-namespace RectorPrefix20220217\cweagans\Composer;
+namespace RectorPrefix20220218\cweagans\Composer;
-use RectorPrefix20220217\Composer\EventDispatcher\Event;
-use RectorPrefix20220217\Composer\Package\PackageInterface;
-class PatchEvent extends \RectorPrefix20220217\Composer\EventDispatcher\Event
+use RectorPrefix20220218\Composer\EventDispatcher\Event;
+use RectorPrefix20220218\Composer\Package\PackageInterface;
+class PatchEvent extends \RectorPrefix20220218\Composer\EventDispatcher\Event
{
/**
* @var PackageInterface $package
@@ -30,7 +30,7 @@ class PatchEvent extends \RectorPrefix20220217\Composer\EventDispatcher\Event
* @param string $url
* @param string $description
*/
- public function __construct($eventName, \RectorPrefix20220217\Composer\Package\PackageInterface $package, $url, $description)
+ public function __construct($eventName, \RectorPrefix20220218\Composer\Package\PackageInterface $package, $url, $description)
{
parent::__construct($eventName);
$this->package = $package;
diff --git a/vendor/cweagans/composer-patches/src/PatchEvents.php b/vendor/cweagans/composer-patches/src/PatchEvents.php
index 10af4632653..2e4e46d688e 100644
--- a/vendor/cweagans/composer-patches/src/PatchEvents.php
+++ b/vendor/cweagans/composer-patches/src/PatchEvents.php
@@ -4,7 +4,7 @@
* @file
* Dispatch events when patches are applied.
*/
-namespace RectorPrefix20220217\cweagans\Composer;
+namespace RectorPrefix20220218\cweagans\Composer;
class PatchEvents
{
diff --git a/vendor/cweagans/composer-patches/src/Patches.php b/vendor/cweagans/composer-patches/src/Patches.php
index 870b0442025..06e64150222 100644
--- a/vendor/cweagans/composer-patches/src/Patches.php
+++ b/vendor/cweagans/composer-patches/src/Patches.php
@@ -4,26 +4,26 @@
* @file
* Provides a way to patch Composer packages after installation.
*/
-namespace RectorPrefix20220217\cweagans\Composer;
+namespace RectorPrefix20220218\cweagans\Composer;
-use RectorPrefix20220217\Composer\Composer;
-use RectorPrefix20220217\Composer\DependencyResolver\Operation\InstallOperation;
-use RectorPrefix20220217\Composer\DependencyResolver\Operation\UninstallOperation;
-use RectorPrefix20220217\Composer\DependencyResolver\Operation\UpdateOperation;
-use RectorPrefix20220217\Composer\DependencyResolver\Operation\OperationInterface;
-use RectorPrefix20220217\Composer\EventDispatcher\EventSubscriberInterface;
-use RectorPrefix20220217\Composer\IO\IOInterface;
-use RectorPrefix20220217\Composer\Package\AliasPackage;
-use RectorPrefix20220217\Composer\Package\PackageInterface;
-use RectorPrefix20220217\Composer\Plugin\PluginInterface;
-use RectorPrefix20220217\Composer\Installer\PackageEvents;
-use RectorPrefix20220217\Composer\Script\Event;
-use RectorPrefix20220217\Composer\Script\ScriptEvents;
-use RectorPrefix20220217\Composer\Installer\PackageEvent;
-use RectorPrefix20220217\Composer\Util\ProcessExecutor;
-use RectorPrefix20220217\Composer\Util\RemoteFilesystem;
-use RectorPrefix20220217\Symfony\Component\Process\Process;
-class Patches implements \RectorPrefix20220217\Composer\Plugin\PluginInterface, \RectorPrefix20220217\Composer\EventDispatcher\EventSubscriberInterface
+use RectorPrefix20220218\Composer\Composer;
+use RectorPrefix20220218\Composer\DependencyResolver\Operation\InstallOperation;
+use RectorPrefix20220218\Composer\DependencyResolver\Operation\UninstallOperation;
+use RectorPrefix20220218\Composer\DependencyResolver\Operation\UpdateOperation;
+use RectorPrefix20220218\Composer\DependencyResolver\Operation\OperationInterface;
+use RectorPrefix20220218\Composer\EventDispatcher\EventSubscriberInterface;
+use RectorPrefix20220218\Composer\IO\IOInterface;
+use RectorPrefix20220218\Composer\Package\AliasPackage;
+use RectorPrefix20220218\Composer\Package\PackageInterface;
+use RectorPrefix20220218\Composer\Plugin\PluginInterface;
+use RectorPrefix20220218\Composer\Installer\PackageEvents;
+use RectorPrefix20220218\Composer\Script\Event;
+use RectorPrefix20220218\Composer\Script\ScriptEvents;
+use RectorPrefix20220218\Composer\Installer\PackageEvent;
+use RectorPrefix20220218\Composer\Util\ProcessExecutor;
+use RectorPrefix20220218\Composer\Util\RemoteFilesystem;
+use RectorPrefix20220218\Symfony\Component\Process\Process;
+class Patches implements \RectorPrefix20220218\Composer\Plugin\PluginInterface, \RectorPrefix20220218\Composer\EventDispatcher\EventSubscriberInterface
{
/**
* @var Composer $composer
@@ -51,12 +51,12 @@ class Patches implements \RectorPrefix20220217\Composer\Plugin\PluginInterface,
* @param Composer $composer
* @param IOInterface $io
*/
- public function activate(\RectorPrefix20220217\Composer\Composer $composer, \RectorPrefix20220217\Composer\IO\IOInterface $io)
+ public function activate(\RectorPrefix20220218\Composer\Composer $composer, \RectorPrefix20220218\Composer\IO\IOInterface $io)
{
$this->composer = $composer;
$this->io = $io;
$this->eventDispatcher = $composer->getEventDispatcher();
- $this->executor = new \RectorPrefix20220217\Composer\Util\ProcessExecutor($this->io);
+ $this->executor = new \RectorPrefix20220218\Composer\Util\ProcessExecutor($this->io);
$this->patches = array();
$this->installedPatches = array();
}
@@ -66,25 +66,25 @@ class Patches implements \RectorPrefix20220217\Composer\Plugin\PluginInterface,
public static function getSubscribedEvents()
{
return array(
- \RectorPrefix20220217\Composer\Script\ScriptEvents::PRE_INSTALL_CMD => array('checkPatches'),
- \RectorPrefix20220217\Composer\Script\ScriptEvents::PRE_UPDATE_CMD => array('checkPatches'),
- \RectorPrefix20220217\Composer\Installer\PackageEvents::PRE_PACKAGE_INSTALL => array('gatherPatches'),
- \RectorPrefix20220217\Composer\Installer\PackageEvents::PRE_PACKAGE_UPDATE => array('gatherPatches'),
+ \RectorPrefix20220218\Composer\Script\ScriptEvents::PRE_INSTALL_CMD => array('checkPatches'),
+ \RectorPrefix20220218\Composer\Script\ScriptEvents::PRE_UPDATE_CMD => array('checkPatches'),
+ \RectorPrefix20220218\Composer\Installer\PackageEvents::PRE_PACKAGE_INSTALL => array('gatherPatches'),
+ \RectorPrefix20220218\Composer\Installer\PackageEvents::PRE_PACKAGE_UPDATE => array('gatherPatches'),
// The following is a higher weight for compatibility with
// https://github.com/AydinHassan/magento-core-composer-installer and more generally for compatibility with
// every Composer plugin which deploys downloaded packages to other locations.
// In such cases you want that those plugins deploy patched files so they have to run after
// the "composer-patches" plugin.
// @see: https://github.com/cweagans/composer-patches/pull/153
- \RectorPrefix20220217\Composer\Installer\PackageEvents::POST_PACKAGE_INSTALL => array('postInstall', 10),
- \RectorPrefix20220217\Composer\Installer\PackageEvents::POST_PACKAGE_UPDATE => array('postInstall', 10),
+ \RectorPrefix20220218\Composer\Installer\PackageEvents::POST_PACKAGE_INSTALL => array('postInstall', 10),
+ \RectorPrefix20220218\Composer\Installer\PackageEvents::POST_PACKAGE_UPDATE => array('postInstall', 10),
);
}
/**
* Before running composer install,
* @param Event $event
*/
- public function checkPatches(\RectorPrefix20220217\Composer\Script\Event $event)
+ public function checkPatches(\RectorPrefix20220218\Composer\Script\Event $event)
{
if (!$this->isPatchingEnabled()) {
return;
@@ -119,13 +119,13 @@ class Patches implements \RectorPrefix20220217\Composer\Plugin\PluginInterface,
// Remove packages for which the patch set has changed.
$promises = array();
foreach ($packages as $package) {
- if (!$package instanceof \RectorPrefix20220217\Composer\Package\AliasPackage) {
+ if (!$package instanceof \RectorPrefix20220218\Composer\Package\AliasPackage) {
$package_name = $package->getName();
$extra = $package->getExtra();
$has_patches = isset($tmp_patches[$package_name]);
$has_applied_patches = isset($extra['patches_applied']) && \count($extra['patches_applied']) > 0;
if ($has_patches && !$has_applied_patches || !$has_patches && $has_applied_patches || $has_patches && $has_applied_patches && $tmp_patches[$package_name] !== $extra['patches_applied']) {
- $uninstallOperation = new \RectorPrefix20220217\Composer\DependencyResolver\Operation\UninstallOperation($package, 'Removing package so it can be re-installed and re-patched.');
+ $uninstallOperation = new \RectorPrefix20220218\Composer\DependencyResolver\Operation\UninstallOperation($package, 'Removing package so it can be re-installed and re-patched.');
$this->io->write('Removing package ' . $package_name . ' so that it can be re-installed and re-patched.');
$promises[] = $installationManager->uninstall($localRepository, $uninstallOperation);
}
@@ -144,14 +144,14 @@ class Patches implements \RectorPrefix20220217\Composer\Plugin\PluginInterface,
*
* @param PackageEvent $event
*/
- public function gatherPatches(\RectorPrefix20220217\Composer\Installer\PackageEvent $event)
+ public function gatherPatches(\RectorPrefix20220218\Composer\Installer\PackageEvent $event)
{
// If we've already done this, then don't do it again.
if (isset($this->patches['_patchesGathered'])) {
- $this->io->write('Patches already gathered. Skipping', TRUE, \RectorPrefix20220217\Composer\IO\IOInterface::VERBOSE);
+ $this->io->write('Patches already gathered. Skipping', TRUE, \RectorPrefix20220218\Composer\IO\IOInterface::VERBOSE);
return;
} elseif (!$this->isPatchingEnabled()) {
- $this->io->write('Patching is disabled. Skipping.', TRUE, \RectorPrefix20220217\Composer\IO\IOInterface::VERBOSE);
+ $this->io->write('Patching is disabled. Skipping.', TRUE, \RectorPrefix20220218\Composer\IO\IOInterface::VERBOSE);
return;
}
$this->patches = $this->grabPatches();
@@ -164,7 +164,7 @@ class Patches implements \RectorPrefix20220217\Composer\Plugin\PluginInterface,
$operations = $event->getOperations();
$this->io->write('Gathering patches for dependencies. This might take a minute.');
foreach ($operations as $operation) {
- if ($operation instanceof \RectorPrefix20220217\Composer\DependencyResolver\Operation\InstallOperation || $operation instanceof \RectorPrefix20220217\Composer\DependencyResolver\Operation\UpdateOperation) {
+ if ($operation instanceof \RectorPrefix20220218\Composer\DependencyResolver\Operation\InstallOperation || $operation instanceof \RectorPrefix20220218\Composer\DependencyResolver\Operation\UpdateOperation) {
$package = $this->getPackageFromOperation($operation);
$extra = $package->getExtra();
if (isset($extra['patches'])) {
@@ -253,7 +253,7 @@ class Patches implements \RectorPrefix20220217\Composer\Plugin\PluginInterface,
* @param PackageEvent $event
* @throws \Exception
*/
- public function postInstall(\RectorPrefix20220217\Composer\Installer\PackageEvent $event)
+ public function postInstall(\RectorPrefix20220218\Composer\Installer\PackageEvent $event)
{
// Check if we should exit in failure.
$extra = $this->composer->getPackage()->getExtra();
@@ -275,7 +275,7 @@ class Patches implements \RectorPrefix20220217\Composer\Plugin\PluginInterface,
$manager = $event->getComposer()->getInstallationManager();
$install_path = $manager->getInstaller($package->getType())->getInstallPath($package);
// Set up a downloader.
- $downloader = new \RectorPrefix20220217\Composer\Util\RemoteFilesystem($this->io, $this->composer->getConfig());
+ $downloader = new \RectorPrefix20220218\Composer\Util\RemoteFilesystem($this->io, $this->composer->getConfig());
// Track applied patches in the package info in installed.json
$localRepository = $this->composer->getRepositoryManager()->getLocalRepository();
$localPackage = $localRepository->findPackage($package_name, $package->getVersion());
@@ -284,9 +284,9 @@ class Patches implements \RectorPrefix20220217\Composer\Plugin\PluginInterface,
foreach ($this->patches[$package_name] as $description => $url) {
$this->io->write(' ' . $url . ' (' . $description . ')');
try {
- $this->eventDispatcher->dispatch(NULL, new \RectorPrefix20220217\cweagans\Composer\PatchEvent(\RectorPrefix20220217\cweagans\Composer\PatchEvents::PRE_PATCH_APPLY, $package, $url, $description));
+ $this->eventDispatcher->dispatch(NULL, new \RectorPrefix20220218\cweagans\Composer\PatchEvent(\RectorPrefix20220218\cweagans\Composer\PatchEvents::PRE_PATCH_APPLY, $package, $url, $description));
$this->getAndApplyPatch($downloader, $install_path, $url, $package);
- $this->eventDispatcher->dispatch(NULL, new \RectorPrefix20220217\cweagans\Composer\PatchEvent(\RectorPrefix20220217\cweagans\Composer\PatchEvents::POST_PATCH_APPLY, $package, $url, $description));
+ $this->eventDispatcher->dispatch(NULL, new \RectorPrefix20220218\cweagans\Composer\PatchEvent(\RectorPrefix20220218\cweagans\Composer\PatchEvents::POST_PATCH_APPLY, $package, $url, $description));
$extra['patches_applied'][$description] = $url;
} catch (\Exception $e) {
$this->io->write(' Could not apply patch! Skipping. The error was: ' . $e->getMessage() . '');
@@ -308,11 +308,11 @@ class Patches implements \RectorPrefix20220217\Composer\Plugin\PluginInterface,
* @return PackageInterface
* @throws \Exception
*/
- protected function getPackageFromOperation(\RectorPrefix20220217\Composer\DependencyResolver\Operation\OperationInterface $operation)
+ protected function getPackageFromOperation(\RectorPrefix20220218\Composer\DependencyResolver\Operation\OperationInterface $operation)
{
- if ($operation instanceof \RectorPrefix20220217\Composer\DependencyResolver\Operation\InstallOperation) {
+ if ($operation instanceof \RectorPrefix20220218\Composer\DependencyResolver\Operation\InstallOperation) {
$package = $operation->getPackage();
- } elseif ($operation instanceof \RectorPrefix20220217\Composer\DependencyResolver\Operation\UpdateOperation) {
+ } elseif ($operation instanceof \RectorPrefix20220218\Composer\DependencyResolver\Operation\UpdateOperation) {
$package = $operation->getTargetPackage();
} else {
throw new \Exception('Unknown operation: ' . \get_class($operation));
@@ -328,7 +328,7 @@ class Patches implements \RectorPrefix20220217\Composer\Plugin\PluginInterface,
* @param PackageInterface $package
* @throws \Exception
*/
- protected function getAndApplyPatch(\RectorPrefix20220217\Composer\Util\RemoteFilesystem $downloader, $install_path, $patch_url, \RectorPrefix20220217\Composer\Package\PackageInterface $package)
+ protected function getAndApplyPatch(\RectorPrefix20220218\Composer\Util\RemoteFilesystem $downloader, $install_path, $patch_url, \RectorPrefix20220218\Composer\Package\PackageInterface $package)
{
// Local patch file.
if (\file_exists($patch_url)) {
@@ -433,7 +433,7 @@ class Patches implements \RectorPrefix20220217\Composer\Plugin\PluginInterface,
$this->io->write('' . $command . '');
$io = $this->io;
$output = function ($type, $data) use($io) {
- if ($type == \RectorPrefix20220217\Symfony\Component\Process\Process::ERR) {
+ if ($type == \RectorPrefix20220218\Symfony\Component\Process\Process::ERR) {
$io->write('' . $data . '');
} else {
$io->write('' . $data . '');
@@ -519,20 +519,20 @@ class Patches implements \RectorPrefix20220217\Composer\Plugin\PluginInterface,
* @return bool
* TRUE if the package has been patched.
*/
- public static function isPackagePatched(\RectorPrefix20220217\Composer\Package\PackageInterface $package)
+ public static function isPackagePatched(\RectorPrefix20220218\Composer\Package\PackageInterface $package)
{
return \array_key_exists('patches_applied', $package->getExtra());
}
/**
* {@inheritDoc}
*/
- public function deactivate(\RectorPrefix20220217\Composer\Composer $composer, \RectorPrefix20220217\Composer\IO\IOInterface $io)
+ public function deactivate(\RectorPrefix20220218\Composer\Composer $composer, \RectorPrefix20220218\Composer\IO\IOInterface $io)
{
}
/**
* {@inheritDoc}
*/
- public function uninstall(\RectorPrefix20220217\Composer\Composer $composer, \RectorPrefix20220217\Composer\IO\IOInterface $io)
+ public function uninstall(\RectorPrefix20220218\Composer\Composer $composer, \RectorPrefix20220218\Composer\IO\IOInterface $io)
{
}
}
diff --git a/vendor/cweagans/composer-patches/tests/PatchEventTest.php b/vendor/cweagans/composer-patches/tests/PatchEventTest.php
index 504c98b8e34..ca3dc1761e3 100644
--- a/vendor/cweagans/composer-patches/tests/PatchEventTest.php
+++ b/vendor/cweagans/composer-patches/tests/PatchEventTest.php
@@ -4,21 +4,21 @@
* @file
* Tests event dispatching.
*/
-namespace RectorPrefix20220217\cweagans\Composer\Tests;
+namespace RectorPrefix20220218\cweagans\Composer\Tests;
-use RectorPrefix20220217\cweagans\Composer\PatchEvent;
-use RectorPrefix20220217\cweagans\Composer\PatchEvents;
-use RectorPrefix20220217\Composer\Package\PackageInterface;
-class PatchEventTest extends \RectorPrefix20220217\PHPUnit_Framework_TestCase
+use RectorPrefix20220218\cweagans\Composer\PatchEvent;
+use RectorPrefix20220218\cweagans\Composer\PatchEvents;
+use RectorPrefix20220218\Composer\Package\PackageInterface;
+class PatchEventTest extends \RectorPrefix20220218\PHPUnit_Framework_TestCase
{
/**
* Tests all the getters.
*
* @dataProvider patchEventDataProvider
*/
- public function testGetters($event_name, \RectorPrefix20220217\Composer\Package\PackageInterface $package, $url, $description)
+ public function testGetters($event_name, \RectorPrefix20220218\Composer\Package\PackageInterface $package, $url, $description)
{
- $patch_event = new \RectorPrefix20220217\cweagans\Composer\PatchEvent($event_name, $package, $url, $description);
+ $patch_event = new \RectorPrefix20220218\cweagans\Composer\PatchEvent($event_name, $package, $url, $description);
$this->assertEquals($event_name, $patch_event->getName());
$this->assertEquals($package, $patch_event->getPackage());
$this->assertEquals($url, $patch_event->getUrl());
@@ -26,8 +26,8 @@ class PatchEventTest extends \RectorPrefix20220217\PHPUnit_Framework_TestCase
}
public function patchEventDataProvider()
{
- $prophecy = $this->prophesize('RectorPrefix20220217\\Composer\\Package\\PackageInterface');
+ $prophecy = $this->prophesize('RectorPrefix20220218\\Composer\\Package\\PackageInterface');
$package = $prophecy->reveal();
- return array(array(\RectorPrefix20220217\cweagans\Composer\PatchEvents::PRE_PATCH_APPLY, $package, 'https://www.drupal.org', 'A test patch'), array(\RectorPrefix20220217\cweagans\Composer\PatchEvents::POST_PATCH_APPLY, $package, 'https://www.drupal.org', 'A test patch'));
+ return array(array(\RectorPrefix20220218\cweagans\Composer\PatchEvents::PRE_PATCH_APPLY, $package, 'https://www.drupal.org', 'A test patch'), array(\RectorPrefix20220218\cweagans\Composer\PatchEvents::POST_PATCH_APPLY, $package, 'https://www.drupal.org', 'A test patch'));
}
}
diff --git a/vendor/doctrine/inflector/composer.json b/vendor/doctrine/inflector/composer.json
index 2d35cf74ac8..652e7b398f1 100644
--- a/vendor/doctrine/inflector/composer.json
+++ b/vendor/doctrine/inflector/composer.json
@@ -51,12 +51,12 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\Doctrine\\Inflector\\": "lib\/Doctrine\/Inflector"
+ "RectorPrefix20220218\\Doctrine\\Inflector\\": "lib\/Doctrine\/Inflector"
}
},
"autoload-dev": {
"psr-4": {
- "RectorPrefix20220217\\Doctrine\\Tests\\Inflector\\": "tests\/Doctrine\/Tests\/Inflector"
+ "RectorPrefix20220218\\Doctrine\\Tests\\Inflector\\": "tests\/Doctrine\/Tests\/Inflector"
}
}
}
\ No newline at end of file
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php
index be878171c07..65a309d41ca 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php
@@ -1,15 +1,15 @@
wordInflector = $wordInflector;
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php
index ac07b8225b6..899aff3a932 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php
@@ -1,11 +1,11 @@
singularRulesets[] = $this->getSingularRuleset();
$this->pluralRulesets[] = $this->getPluralRuleset();
}
- public final function build() : \RectorPrefix20220217\Doctrine\Inflector\Inflector
+ public final function build() : \RectorPrefix20220218\Doctrine\Inflector\Inflector
{
- return new \RectorPrefix20220217\Doctrine\Inflector\Inflector(new \RectorPrefix20220217\Doctrine\Inflector\CachedWordInflector(new \RectorPrefix20220217\Doctrine\Inflector\RulesetInflector(...$this->singularRulesets)), new \RectorPrefix20220217\Doctrine\Inflector\CachedWordInflector(new \RectorPrefix20220217\Doctrine\Inflector\RulesetInflector(...$this->pluralRulesets)));
+ return new \RectorPrefix20220218\Doctrine\Inflector\Inflector(new \RectorPrefix20220218\Doctrine\Inflector\CachedWordInflector(new \RectorPrefix20220218\Doctrine\Inflector\RulesetInflector(...$this->singularRulesets)), new \RectorPrefix20220218\Doctrine\Inflector\CachedWordInflector(new \RectorPrefix20220218\Doctrine\Inflector\RulesetInflector(...$this->pluralRulesets)));
}
- public final function withSingularRules(?\RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset $singularRules, bool $reset = \false) : \RectorPrefix20220217\Doctrine\Inflector\LanguageInflectorFactory
+ public final function withSingularRules(?\RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset $singularRules, bool $reset = \false) : \RectorPrefix20220218\Doctrine\Inflector\LanguageInflectorFactory
{
if ($reset) {
$this->singularRulesets = [];
}
- if ($singularRules instanceof \RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset) {
+ if ($singularRules instanceof \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset) {
\array_unshift($this->singularRulesets, $singularRules);
}
return $this;
}
- public final function withPluralRules(?\RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset $pluralRules, bool $reset = \false) : \RectorPrefix20220217\Doctrine\Inflector\LanguageInflectorFactory
+ public final function withPluralRules(?\RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset $pluralRules, bool $reset = \false) : \RectorPrefix20220218\Doctrine\Inflector\LanguageInflectorFactory
{
if ($reset) {
$this->pluralRulesets = [];
}
- if ($pluralRules instanceof \RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset) {
+ if ($pluralRules instanceof \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset) {
\array_unshift($this->pluralRulesets, $pluralRules);
}
return $this;
}
- protected abstract function getSingularRuleset() : \RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset;
- protected abstract function getPluralRuleset() : \RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset;
+ protected abstract function getSingularRuleset() : \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset;
+ protected abstract function getPluralRuleset() : \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset;
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php
index 0b4f438b126..b55bea2ebf2 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php
@@ -1,7 +1,7 @@
singularizer = $singularizer;
$this->pluralizer = $pluralizer;
@@ -168,7 +168,7 @@ class Inflector
} else {
$lowered = \strtolower($unaccented);
}
- $replacements = ['/\\W/' => ' ', '/([A-Z]+)([A-Z][a-z])/' => 'RectorPrefix20220217\\1_\\2', '/([a-z\\d])([A-Z])/' => 'RectorPrefix20220217\\1_\\2', '/[^A-Z^a-z^0-9^\\/]+/' => '-'];
+ $replacements = ['/\\W/' => ' ', '/([A-Z]+)([A-Z][a-z])/' => 'RectorPrefix20220218\\1_\\2', '/([a-z\\d])([A-Z])/' => 'RectorPrefix20220218\\1_\\2', '/[^A-Z^a-z^0-9^\\/]+/' => '-'];
$urlized = $lowered;
foreach ($replacements as $pattern => $replacement) {
$replaced = \preg_replace($pattern, $replacement, $urlized);
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php
index 1bd5ecf5493..3fa96530765 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php
@@ -1,37 +1,37 @@
getFlippedSubstitutions());
+ return new \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220218\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220218\Doctrine\Inflector\Rules\English\Inflectible::getSingular()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220218\Doctrine\Inflector\Rules\English\Uninflected::getSingular()), (new \RectorPrefix20220218\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220218\Doctrine\Inflector\Rules\English\Inflectible::getIrregular()))->getFlippedSubstitutions());
}
- public static function getPluralRuleset() : \RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset
+ public static function getPluralRuleset() : \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset
{
- return new \RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220217\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220217\Doctrine\Inflector\Rules\English\Inflectible::getPlural()), new \RectorPrefix20220217\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220217\Doctrine\Inflector\Rules\English\Uninflected::getPlural()), new \RectorPrefix20220217\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220217\Doctrine\Inflector\Rules\English\Inflectible::getIrregular()));
+ return new \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220218\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220218\Doctrine\Inflector\Rules\English\Inflectible::getPlural()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220218\Doctrine\Inflector\Rules\English\Uninflected::getPlural()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220218\Doctrine\Inflector\Rules\English\Inflectible::getIrregular()));
}
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php
index dc09d31a68f..85d5eeae9ce 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php
@@ -1,9 +1,9 @@
getFlippedSubstitutions());
+ return new \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220218\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220218\Doctrine\Inflector\Rules\French\Inflectible::getSingular()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220218\Doctrine\Inflector\Rules\French\Uninflected::getSingular()), (new \RectorPrefix20220218\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220218\Doctrine\Inflector\Rules\French\Inflectible::getIrregular()))->getFlippedSubstitutions());
}
- public static function getPluralRuleset() : \RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset
+ public static function getPluralRuleset() : \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset
{
- return new \RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220217\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220217\Doctrine\Inflector\Rules\French\Inflectible::getPlural()), new \RectorPrefix20220217\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220217\Doctrine\Inflector\Rules\French\Uninflected::getPlural()), new \RectorPrefix20220217\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220217\Doctrine\Inflector\Rules\French\Inflectible::getIrregular()));
+ return new \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220218\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220218\Doctrine\Inflector\Rules\French\Inflectible::getPlural()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220218\Doctrine\Inflector\Rules\French\Uninflected::getPlural()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220218\Doctrine\Inflector\Rules\French\Inflectible::getIrregular()));
}
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php
index 265cf375dfc..1bb02c71976 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php
@@ -1,9 +1,9 @@
getFlippedSubstitutions());
+ return new \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220218\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220218\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getSingular()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220218\Doctrine\Inflector\Rules\NorwegianBokmal\Uninflected::getSingular()), (new \RectorPrefix20220218\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220218\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getIrregular()))->getFlippedSubstitutions());
}
- public static function getPluralRuleset() : \RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset
+ public static function getPluralRuleset() : \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset
{
- return new \RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220217\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220217\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getPlural()), new \RectorPrefix20220217\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220217\Doctrine\Inflector\Rules\NorwegianBokmal\Uninflected::getPlural()), new \RectorPrefix20220217\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220217\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getIrregular()));
+ return new \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220218\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220218\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getPlural()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220218\Doctrine\Inflector\Rules\NorwegianBokmal\Uninflected::getPlural()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220218\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getIrregular()));
}
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php
index 2b03665c6eb..e9dc3d3b598 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php
@@ -1,9 +1,9 @@
patterns = $patterns;
- $patterns = \array_map(static function (\RectorPrefix20220217\Doctrine\Inflector\Rules\Pattern $pattern) : string {
+ $patterns = \array_map(static function (\RectorPrefix20220218\Doctrine\Inflector\Rules\Pattern $pattern) : string {
return $pattern->getPattern();
}, $this->patterns);
$this->regex = '/^(?:' . \implode('|', $patterns) . ')$/i';
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php
index 83b356174bb..156a1833a3d 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php
@@ -1,12 +1,12 @@
getFlippedSubstitutions());
+ return new \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220218\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Portuguese\Inflectible::getSingular()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Portuguese\Uninflected::getSingular()), (new \RectorPrefix20220218\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Portuguese\Inflectible::getIrregular()))->getFlippedSubstitutions());
}
- public static function getPluralRuleset() : \RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset
+ public static function getPluralRuleset() : \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset
{
- return new \RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220217\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220217\Doctrine\Inflector\Rules\Portuguese\Inflectible::getPlural()), new \RectorPrefix20220217\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220217\Doctrine\Inflector\Rules\Portuguese\Uninflected::getPlural()), new \RectorPrefix20220217\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220217\Doctrine\Inflector\Rules\Portuguese\Inflectible::getIrregular()));
+ return new \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220218\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Portuguese\Inflectible::getPlural()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Portuguese\Uninflected::getPlural()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Portuguese\Inflectible::getIrregular()));
}
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php
index 1079398ff19..4ad8cc71648 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php
@@ -1,9 +1,9 @@
regular = $regular;
$this->uninflected = $uninflected;
$this->irregular = $irregular;
}
- public function getRegular() : \RectorPrefix20220217\Doctrine\Inflector\Rules\Transformations
+ public function getRegular() : \RectorPrefix20220218\Doctrine\Inflector\Rules\Transformations
{
return $this->regular;
}
- public function getUninflected() : \RectorPrefix20220217\Doctrine\Inflector\Rules\Patterns
+ public function getUninflected() : \RectorPrefix20220218\Doctrine\Inflector\Rules\Patterns
{
return $this->uninflected;
}
- public function getIrregular() : \RectorPrefix20220217\Doctrine\Inflector\Rules\Substitutions
+ public function getIrregular() : \RectorPrefix20220218\Doctrine\Inflector\Rules\Substitutions
{
return $this->irregular;
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php
index 2701087f90d..0a32b91826a 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php
@@ -1,12 +1,12 @@
getFlippedSubstitutions());
+ return new \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220218\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Spanish\Inflectible::getSingular()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Spanish\Uninflected::getSingular()), (new \RectorPrefix20220218\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Spanish\Inflectible::getIrregular()))->getFlippedSubstitutions());
}
- public static function getPluralRuleset() : \RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset
+ public static function getPluralRuleset() : \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset
{
- return new \RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220217\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220217\Doctrine\Inflector\Rules\Spanish\Inflectible::getPlural()), new \RectorPrefix20220217\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220217\Doctrine\Inflector\Rules\Spanish\Uninflected::getPlural()), new \RectorPrefix20220217\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220217\Doctrine\Inflector\Rules\Spanish\Inflectible::getIrregular()));
+ return new \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220218\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Spanish\Inflectible::getPlural()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Spanish\Uninflected::getPlural()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Spanish\Inflectible::getIrregular()));
}
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php
index 4550d1ac32a..9c0e31d5d0d 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php
@@ -1,9 +1,9 @@
from = $from;
$this->to = $to;
}
- public function getFrom() : \RectorPrefix20220217\Doctrine\Inflector\Rules\Word
+ public function getFrom() : \RectorPrefix20220218\Doctrine\Inflector\Rules\Word
{
return $this->from;
}
- public function getTo() : \RectorPrefix20220217\Doctrine\Inflector\Rules\Word
+ public function getTo() : \RectorPrefix20220218\Doctrine\Inflector\Rules\Word
{
return $this->to;
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php
index 33cae273956..7516af36f31 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php
@@ -1,29 +1,29 @@
substitutions[$substitution->getFrom()->getWord()] = $substitution;
}
}
- public function getFlippedSubstitutions() : \RectorPrefix20220217\Doctrine\Inflector\Rules\Substitutions
+ public function getFlippedSubstitutions() : \RectorPrefix20220218\Doctrine\Inflector\Rules\Substitutions
{
$substitutions = [];
foreach ($this->substitutions as $substitution) {
- $substitutions[] = new \RectorPrefix20220217\Doctrine\Inflector\Rules\Substitution($substitution->getTo(), $substitution->getFrom());
+ $substitutions[] = new \RectorPrefix20220218\Doctrine\Inflector\Rules\Substitution($substitution->getTo(), $substitution->getFrom());
}
- return new \RectorPrefix20220217\Doctrine\Inflector\Rules\Substitutions(...$substitutions);
+ return new \RectorPrefix20220218\Doctrine\Inflector\Rules\Substitutions(...$substitutions);
}
public function inflect(string $word) : string
{
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php
index 2456b1450b3..1a98f4e30b2 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php
@@ -1,22 +1,22 @@
pattern = $pattern;
$this->replacement = $replacement;
}
- public function getPattern() : \RectorPrefix20220217\Doctrine\Inflector\Rules\Pattern
+ public function getPattern() : \RectorPrefix20220218\Doctrine\Inflector\Rules\Pattern
{
return $this->pattern;
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php
index 07667c1adc6..dd79a90d50f 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php
@@ -1,14 +1,14 @@
transformations = $transformations;
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php
index 80cb46a1b3f..e96e6311935 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php
@@ -1,12 +1,12 @@
getFlippedSubstitutions());
+ return new \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220218\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Turkish\Inflectible::getSingular()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Turkish\Uninflected::getSingular()), (new \RectorPrefix20220218\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Turkish\Inflectible::getIrregular()))->getFlippedSubstitutions());
}
- public static function getPluralRuleset() : \RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset
+ public static function getPluralRuleset() : \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset
{
- return new \RectorPrefix20220217\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220217\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220217\Doctrine\Inflector\Rules\Turkish\Inflectible::getPlural()), new \RectorPrefix20220217\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220217\Doctrine\Inflector\Rules\Turkish\Uninflected::getPlural()), new \RectorPrefix20220217\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220217\Doctrine\Inflector\Rules\Turkish\Inflectible::getIrregular()));
+ return new \RectorPrefix20220218\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20220218\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Turkish\Inflectible::getPlural()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Turkish\Uninflected::getPlural()), new \RectorPrefix20220218\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20220218\Doctrine\Inflector\Rules\Turkish\Inflectible::getIrregular()));
}
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php
index 2599cb92cbb..a7b45e13458 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php
@@ -1,9 +1,9 @@
rulesets = \array_merge([$ruleset], $rulesets);
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php
index f123d3163b9..9174b16caf1 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php
@@ -1,7 +1,7 @@
diff --git a/vendor/ergebnis/json-printer/src/PrinterInterface.php b/vendor/ergebnis/json-printer/src/PrinterInterface.php
index d2d146c8f59..1858c606e68 100644
--- a/vendor/ergebnis/json-printer/src/PrinterInterface.php
+++ b/vendor/ergebnis/json-printer/src/PrinterInterface.php
@@ -9,7 +9,7 @@ declare (strict_types=1);
*
* @see https://github.com/ergebnis/json-printer
*/
-namespace RectorPrefix20220217\Ergebnis\Json\Printer;
+namespace RectorPrefix20220218\Ergebnis\Json\Printer;
interface PrinterInterface
{
diff --git a/vendor/evenement/evenement/composer.json b/vendor/evenement/evenement/composer.json
index d39130a0ec8..bbb0bc83372 100644
--- a/vendor/evenement/evenement/composer.json
+++ b/vendor/evenement/evenement/composer.json
@@ -20,7 +20,7 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\Evenement\\": "src\/Evenement\/"
+ "RectorPrefix20220218\\Evenement\\": "src\/Evenement\/"
}
},
"autoload-dev": {
@@ -28,7 +28,7 @@
"tests\/Evenement\/Tests\/functions.php"
],
"psr-4": {
- "RectorPrefix20220217\\Evenement\\": "tests\/Evenement\/"
+ "RectorPrefix20220218\\Evenement\\": "tests\/Evenement\/"
}
}
}
\ No newline at end of file
diff --git a/vendor/evenement/evenement/examples/benchmark-emit-no-arguments.php b/vendor/evenement/evenement/examples/benchmark-emit-no-arguments.php
index 62cb34aaf0c..4a20d501fed 100644
--- a/vendor/evenement/evenement/examples/benchmark-emit-no-arguments.php
+++ b/vendor/evenement/evenement/examples/benchmark-emit-no-arguments.php
@@ -1,7 +1,7 @@
on('event', function () {
});
$start = \microtime(\true);
diff --git a/vendor/evenement/evenement/examples/benchmark-emit-once.php b/vendor/evenement/evenement/examples/benchmark-emit-once.php
index f8571a7be44..50036adee9c 100644
--- a/vendor/evenement/evenement/examples/benchmark-emit-once.php
+++ b/vendor/evenement/evenement/examples/benchmark-emit-once.php
@@ -1,7 +1,7 @@
once('event', function ($a, $b, $c) {
});
diff --git a/vendor/evenement/evenement/examples/benchmark-emit-one-argument.php b/vendor/evenement/evenement/examples/benchmark-emit-one-argument.php
index 9bd986341a1..324915fbf5c 100644
--- a/vendor/evenement/evenement/examples/benchmark-emit-one-argument.php
+++ b/vendor/evenement/evenement/examples/benchmark-emit-one-argument.php
@@ -1,7 +1,7 @@
on('event', function ($a) {
});
$start = \microtime(\true);
diff --git a/vendor/evenement/evenement/examples/benchmark-emit.php b/vendor/evenement/evenement/examples/benchmark-emit.php
index 04939ffd887..8c14bb18c13 100644
--- a/vendor/evenement/evenement/examples/benchmark-emit.php
+++ b/vendor/evenement/evenement/examples/benchmark-emit.php
@@ -1,7 +1,7 @@
on('event', function ($a, $b, $c) {
});
$start = \microtime(\true);
diff --git a/vendor/evenement/evenement/examples/benchmark-remove-listener-once.php b/vendor/evenement/evenement/examples/benchmark-remove-listener-once.php
index 881889ed3f6..f34a5e2d5e9 100644
--- a/vendor/evenement/evenement/examples/benchmark-remove-listener-once.php
+++ b/vendor/evenement/evenement/examples/benchmark-remove-listener-once.php
@@ -1,7 +1,7 @@
emitter = new \RectorPrefix20220217\Evenement\EventEmitter();
+ $this->emitter = new \RectorPrefix20220218\Evenement\EventEmitter();
}
public function testAddListenerWithLambda()
{
@@ -28,12 +28,12 @@ class EventEmitterTest extends \RectorPrefix20220217\PHPUnit\Framework\TestCase
}
public function testAddListenerWithMethod()
{
- $listener = new \RectorPrefix20220217\Evenement\Tests\Listener();
+ $listener = new \RectorPrefix20220218\Evenement\Tests\Listener();
$this->emitter->on('foo', [$listener, 'onFoo']);
}
public function testAddListenerWithStaticMethod()
{
- $this->emitter->on('bar', ['RectorPrefix20220217\\Evenement\\Tests\\Listener', 'onBar']);
+ $this->emitter->on('bar', ['RectorPrefix20220218\\Evenement\\Tests\\Listener', 'onBar']);
}
public function testAddListenerWithInvalidListener()
{
@@ -191,14 +191,14 @@ class EventEmitterTest extends \RectorPrefix20220217\PHPUnit\Framework\TestCase
}
public function testCallablesClass()
{
- $listener = new \RectorPrefix20220217\Evenement\Tests\Listener();
+ $listener = new \RectorPrefix20220218\Evenement\Tests\Listener();
$this->emitter->on('foo', [$listener, 'onFoo']);
$this->emitter->emit('foo', ['bar']);
self::assertSame(['bar'], $listener->getData());
}
public function testCallablesClassInvoke()
{
- $listener = new \RectorPrefix20220217\Evenement\Tests\Listener();
+ $listener = new \RectorPrefix20220218\Evenement\Tests\Listener();
$this->emitter->on('foo', $listener);
$this->emitter->emit('foo', ['bar']);
self::assertSame(['bar'], $listener->getMagicData());
@@ -207,11 +207,11 @@ class EventEmitterTest extends \RectorPrefix20220217\PHPUnit\Framework\TestCase
{
$this->emitter->on('foo', '\\Evenement\\Tests\\Listener::onBar');
$this->emitter->emit('foo', ['bar']);
- self::assertSame(['bar'], \RectorPrefix20220217\Evenement\Tests\Listener::getStaticData());
+ self::assertSame(['bar'], \RectorPrefix20220218\Evenement\Tests\Listener::getStaticData());
}
public function testCallablesFunction()
{
- $this->emitter->on('foo', 'RectorPrefix20220217\\Evenement\\Tests\\setGlobalTestData');
+ $this->emitter->on('foo', 'RectorPrefix20220218\\Evenement\\Tests\\setGlobalTestData');
$this->emitter->emit('foo', ['bar']);
self::assertSame('bar', $GLOBALS['evenement-evenement-test-data']);
unset($GLOBALS['evenement-evenement-test-data']);
diff --git a/vendor/evenement/evenement/tests/Evenement/Tests/Listener.php b/vendor/evenement/evenement/tests/Evenement/Tests/Listener.php
index adacc7672eb..73b1295c2f5 100644
--- a/vendor/evenement/evenement/tests/Evenement/Tests/Listener.php
+++ b/vendor/evenement/evenement/tests/Evenement/Tests/Listener.php
@@ -9,7 +9,7 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Evenement\Tests;
+namespace RectorPrefix20220218\Evenement\Tests;
class Listener
{
diff --git a/vendor/evenement/evenement/tests/Evenement/Tests/functions.php b/vendor/evenement/evenement/tests/Evenement/Tests/functions.php
index 579d7f6b835..3415a7500bb 100644
--- a/vendor/evenement/evenement/tests/Evenement/Tests/functions.php
+++ b/vendor/evenement/evenement/tests/Evenement/Tests/functions.php
@@ -9,7 +9,7 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Evenement\Tests;
+namespace RectorPrefix20220218\Evenement\Tests;
function setGlobalTestData($data)
{
diff --git a/vendor/helmich/typo3-typoscript-parser/composer.json b/vendor/helmich/typo3-typoscript-parser/composer.json
index 6cd1cd5b762..65ff6fccb66 100644
--- a/vendor/helmich/typo3-typoscript-parser/composer.json
+++ b/vendor/helmich/typo3-typoscript-parser/composer.json
@@ -28,7 +28,7 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\Helmich\\TypoScriptParser\\": "src\/"
+ "RectorPrefix20220218\\Helmich\\TypoScriptParser\\": "src\/"
}
},
"autoload-dev": {
@@ -36,8 +36,8 @@
"vendor\/phpunit\/phpunit\/src\/Framework\/Assert\/Functions.php"
],
"psr-4": {
- "RectorPrefix20220217\\Helmich\\TypoScriptParser\\Tests\\Functional\\": "tests\/functional",
- "RectorPrefix20220217\\Helmich\\TypoScriptParser\\Tests\\Unit\\": "tests\/unit"
+ "RectorPrefix20220218\\Helmich\\TypoScriptParser\\Tests\\Functional\\": "tests\/functional",
+ "RectorPrefix20220218\\Helmich\\TypoScriptParser\\Tests\\Unit\\": "tests\/unit"
}
}
}
\ No newline at end of file
diff --git a/vendor/helmich/typo3-typoscript-parser/config/services.yml b/vendor/helmich/typo3-typoscript-parser/config/services.yml
index cf2a48b5732..fefae576521 100644
--- a/vendor/helmich/typo3-typoscript-parser/config/services.yml
+++ b/vendor/helmich/typo3-typoscript-parser/config/services.yml
@@ -1,10 +1,10 @@
services:
tokenizer:
- class: RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\Tokenizer
+ class: RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\Tokenizer
token_printer_structured:
- class: RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\Printer\StructuredTokenPrinter
+ class: RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\Printer\StructuredTokenPrinter
token_printer_code:
- class: RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\Printer\CodeTokenPrinter
+ class: RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\Printer\CodeTokenPrinter
parser:
- class: RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Parser
+ class: RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Parser
arguments: ['@tokenizer']
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Builder.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Builder.php
index 67c1ba28af0..d623d8063e2 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Builder.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Builder.php
@@ -1,7 +1,7 @@
operatorBuilder = new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Builder();
+ $this->operatorBuilder = new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Builder();
}
/**
* @param string $condition
@@ -28,21 +28,21 @@ class Builder
* @param int $line
* @return ConditionalStatement
*/
- public function condition(string $condition, array $if, array $else, int $line) : \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement
+ public function condition(string $condition, array $if, array $else, int $line) : \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement
{
- return new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement($condition, $if, $else, $line);
+ return new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement($condition, $if, $else, $line);
}
- public function comment(string $comment, int $line) : \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Comment
+ public function comment(string $comment, int $line) : \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Comment
{
- return new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Comment($comment, $line);
+ return new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Comment($comment, $line);
}
- public function multilineComment(string $comment, int $line) : \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\MultilineComment
+ public function multilineComment(string $comment, int $line) : \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\MultilineComment
{
- return new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\MultilineComment($comment, $line);
+ return new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\MultilineComment($comment, $line);
}
- public function nop(int $line) : \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\NopStatement
+ public function nop(int $line) : \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\NopStatement
{
- return new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\NopStatement($line);
+ return new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\NopStatement($line);
}
/**
* @param string $directory
@@ -51,9 +51,9 @@ class Builder
* @param int $line
* @return DirectoryIncludeStatement
*/
- public function includeDirectory(string $directory, ?string $extensions, ?string $condition, int $line) : \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement
+ public function includeDirectory(string $directory, ?string $extensions, ?string $condition, int $line) : \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement
{
- return new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement($directory, $extensions, $condition, $line);
+ return new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement($directory, $extensions, $condition, $line);
}
/**
* @param string $file
@@ -62,9 +62,9 @@ class Builder
* @param int $line
* @return FileIncludeStatement
*/
- public function includeFile(string $file, bool $newSyntax, ?string $condition, int $line) : \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement
+ public function includeFile(string $file, bool $newSyntax, ?string $condition, int $line) : \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement
{
- return new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement($file, $newSyntax, $condition, $line);
+ return new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement($file, $newSyntax, $condition, $line);
}
/**
* @param ObjectPath $path
@@ -72,31 +72,31 @@ class Builder
* @param int $line
* @return NestedAssignment
*/
- public function nested(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\ObjectPath $path, array $statements, int $line) : \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\NestedAssignment
+ public function nested(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\ObjectPath $path, array $statements, int $line) : \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\NestedAssignment
{
- return new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\NestedAssignment($path, $statements, $line);
+ return new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\NestedAssignment($path, $statements, $line);
}
/**
* @param string $value
* @return Scalar
*/
- public function scalar(string $value) : \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Scalar
+ public function scalar(string $value) : \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Scalar
{
- return new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Scalar($value);
+ return new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Scalar($value);
}
/**
* @param string $absolute
* @param string $relative
* @return ObjectPath
*/
- public function path(string $absolute, string $relative) : \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\ObjectPath
+ public function path(string $absolute, string $relative) : \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\ObjectPath
{
- return new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\ObjectPath($absolute, $relative);
+ return new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\ObjectPath($absolute, $relative);
}
/**
* @return Operator\Builder
*/
- public function op() : \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Builder
+ public function op() : \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Builder
{
return $this->operatorBuilder;
}
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Comment.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Comment.php
index 350d190dbff..fefef1867cc 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Comment.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Comment.php
@@ -1,7 +1,7 @@
object = $object;
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/NopStatement.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/NopStatement.php
index 10e65ffc0a2..c4605381078 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/NopStatement.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/NopStatement.php
@@ -1,7 +1,7 @@
absoluteName);
if (\count($components) === 1) {
- return new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\RootObjectPath();
+ return new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\RootObjectPath();
}
\array_pop($components);
return new self(\implode('.', $components), $components[\count($components) - 1]);
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Assignment.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Assignment.php
index 38bc52d32a8..b9290b3e1a1 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Assignment.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Assignment.php
@@ -1,10 +1,10 @@
object = $object;
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryObjectOperator.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryObjectOperator.php
index 0c1ae4af7e5..6f38cfadd0f 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryObjectOperator.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryObjectOperator.php
@@ -1,16 +1,16 @@
object = $object;
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Delete.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Delete.php
index e32599248e8..8f0982e3ea2 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Delete.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Delete.php
@@ -1,7 +1,7 @@
object = $object;
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ModificationCall.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ModificationCall.php
index 72f49d9c06e..5b22133b4ac 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ModificationCall.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ModificationCall.php
@@ -1,7 +1,7 @@
object = $object;
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/UnaryOperator.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/UnaryOperator.php
index f244062a9bc..538bd921f5f 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/UnaryOperator.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/UnaryOperator.php
@@ -1,9 +1,9 @@
object = $object;
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/RootObjectPath.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/RootObjectPath.php
index 53be8b5d2c0..6d7b9a218ab 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/RootObjectPath.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/RootObjectPath.php
@@ -1,7 +1,7 @@
tokenizer = $tokenizer;
- $this->builder = $astBuilder ?: new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Builder();
+ $this->builder = $astBuilder ?: new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Builder();
}
/**
* Parses a stream resource.
@@ -66,12 +66,12 @@ class Parser implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Pa
*/
public function parseTokens(array $tokens) : array
{
- $stream = (new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\TokenStream($tokens))->normalized();
- $state = new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParserState($stream);
+ $stream = (new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\TokenStream($tokens))->normalized();
+ $state = new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParserState($stream);
for (; $state->hasNext(); $state->next()) {
- if ($state->token()->getType() === \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) {
+ if ($state->token()->getType() === \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) {
$objectPath = $this->builder->path($state->token()->getValue(), $state->token()->getValue());
- if ($state->token(1)->getType() === \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN) {
+ if ($state->token(1)->getType() === \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN) {
$state->next(2);
$this->parseNestedStatements($state->withContext($objectPath));
}
@@ -85,42 +85,42 @@ class Parser implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Pa
* @return void
* @throws ParseError
*/
- private function parseToken(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParserState $state) : void
+ private function parseToken(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParserState $state) : void
{
switch ($state->token()->getType()) {
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER:
$objectPath = $state->context()->append($state->token()->getValue());
$this->parseValueOperation($state->withContext($objectPath));
break;
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION:
$this->parseCondition($state);
break;
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE:
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW:
$this->parseInclude($state);
break;
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE:
break;
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE:
$this->triggerParseErrorIf($state->context()->depth() === 0, \sprintf('Unexpected token %s when not in nested assignment in line %d.', $state->token()->getType(), $state->token()->getLine()), 1403011203, $state->token()->getLine());
break;
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE:
$state->statements()->append($this->builder->comment($state->token()->getValue(), $state->token()->getLine()));
break;
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE:
$state->statements()->append($this->builder->multilineComment($state->token()->getValue(), $state->token()->getLine()));
break;
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE:
$state->statements()->append($this->builder->nop($state->token()->getLine()));
break;
default:
- throw new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParseError(\sprintf('Unexpected token %s in line %d.', $state->token()->getType(), $state->token()->getLine()), 1403011202, $state->token()->getLine());
+ throw new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParseError(\sprintf('Unexpected token %s in line %d.', $state->token()->getType(), $state->token()->getLine()), 1403011202, $state->token()->getLine());
}
}
private function triggerParseErrorIf(bool $condition, string $message, int $code, int $line) : void
{
if ($condition) {
- throw new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParseError($message, $code, $line);
+ throw new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParseError($message, $code, $line);
}
}
/**
@@ -129,37 +129,37 @@ class Parser implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Pa
* @return void
* @throws ParseError
*/
- private function parseNestedStatements(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParserState $state, ?int $startLine = null) : void
+ private function parseNestedStatements(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParserState $state, ?int $startLine = null) : void
{
$startLine = $startLine ?: $state->token()->getLine();
$statements = new \ArrayObject();
$subContext = $state->withStatements($statements);
for (; $state->hasNext(); $state->next()) {
- if ($state->token()->getType() === \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) {
+ if ($state->token()->getType() === \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) {
$objectPath = $this->builder->path($state->context()->absoluteName . '.' . $state->token()->getValue(), $state->token()->getValue());
- if ($state->token(1)->getType() === \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN) {
+ if ($state->token(1)->getType() === \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN) {
$state->next(2);
$this->parseNestedStatements($state->withContext($objectPath)->withStatements($statements));
continue;
}
}
$this->parseToken($subContext);
- if ($state->token()->getType() === \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE) {
+ if ($state->token()->getType() === \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE) {
$state->statements()->append($this->builder->nested($state->context(), $statements->getArrayCopy(), $startLine));
$state->next();
return;
}
}
- throw new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParseError('Unterminated nested statement!');
+ throw new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParseError('Unterminated nested statement!');
}
/**
* @param ParserState $state
* @throws ParseError
*/
- private function parseCondition(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParserState $state) : void
+ private function parseCondition(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParserState $state) : void
{
if ($state->context()->depth() !== 0) {
- throw new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParseError('Found condition statement inside nested assignment.', 1403011203, $state->token()->getLine());
+ throw new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParseError('Found condition statement inside nested assignment.', 1403011203, $state->token()->getLine());
}
$ifStatements = new \ArrayObject();
$elseStatements = new \ArrayObject();
@@ -169,23 +169,23 @@ class Parser implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Pa
$subContext = $state->withStatements($ifStatements);
$state->next();
for (; $state->hasNext(); $state->next()) {
- if ($state->token()->getType() === \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_END) {
+ if ($state->token()->getType() === \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_END) {
$state->statements()->append($this->builder->condition($condition, $ifStatements->getArrayCopy(), $elseStatements->getArrayCopy(), $conditionLine));
$state->next();
break;
- } elseif ($state->token()->getType() === \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_ELSE) {
+ } elseif ($state->token()->getType() === \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_ELSE) {
$this->triggerParseErrorIf($inElseBranch, \sprintf('Duplicate else in conditional statement in line %d.', $state->token()->getLine()), 1403011203, $state->token()->getLine());
$inElseBranch = \true;
$subContext = $subContext->withStatements($elseStatements);
$state->next();
- } elseif ($state->token()->getType() === \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION) {
+ } elseif ($state->token()->getType() === \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION) {
$state->statements()->append($this->builder->condition($condition, $ifStatements->getArrayCopy(), $elseStatements->getArrayCopy(), $conditionLine));
$this->parseCondition($state);
break;
}
- if ($state->token()->getType() === \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) {
+ if ($state->token()->getType() === \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) {
$objectPath = $this->builder->path($state->token()->getValue(), $state->token()->getValue());
- if ($state->token(1)->getType() === \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN) {
+ if ($state->token(1)->getType() === \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN) {
$state->next(2);
$this->parseNestedStatements($subContext->withContext($objectPath), $subContext->token(-2)->getLine());
}
@@ -196,7 +196,7 @@ class Parser implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Pa
/**
* @param ParserState $state
*/
- private function parseInclude(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParserState $state) : void
+ private function parseInclude(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParserState $state) : void
{
$token = $state->token();
$extensions = null;
@@ -206,8 +206,8 @@ class Parser implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Pa
if ($optional !== null) {
list($extensions, $condition) = $this->parseIncludeOptionals($optional, $token);
}
- if ($token->getType() === \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW || $token->getSubMatch('type') === 'FILE') {
- $node = $this->builder->includeFile($filename, $token->getType() === \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW, $condition, $token->getLine());
+ if ($token->getType() === \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW || $token->getSubMatch('type') === 'FILE') {
+ $node = $this->builder->includeFile($filename, $token->getType() === \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW, $condition, $token->getLine());
} else {
$node = $this->builder->includeDirectory($filename, $extensions, $condition, $token->getLine());
}
@@ -219,7 +219,7 @@ class Parser implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Pa
* @return array
* @throws ParseError
*/
- private function parseIncludeOptionals(string $optional, \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : array
+ private function parseIncludeOptionals(string $optional, \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : array
{
if (!\preg_match_all('/((?[a-z]+)="(?[^"]*)\\s*)+"/', $optional, $matches)) {
return [null, null];
@@ -232,7 +232,7 @@ class Parser implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Pa
switch ($key) {
case "extensions":
if ($token->getSubMatch('type') === 'FILE') {
- throw new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParseError("FILE includes may not have an 'extension' attribute", 0, $token->getLine());
+ throw new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParseError("FILE includes may not have an 'extension' attribute", 0, $token->getLine());
}
$extensions = $value;
break;
@@ -240,7 +240,7 @@ class Parser implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Pa
$condition = $value;
break;
default:
- throw new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParseError("unknown attribute '{$key}' found in INCLUDE statement", 0, $token->getLine());
+ throw new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParseError("unknown attribute '{$key}' found in INCLUDE statement", 0, $token->getLine());
}
}
return [$extensions, $condition];
@@ -249,23 +249,23 @@ class Parser implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Pa
* @param ParserState $state
* @throws ParseError
*/
- private function parseValueOperation(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParserState $state) : void
+ private function parseValueOperation(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParserState $state) : void
{
switch ($state->token(1)->getType()) {
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_ASSIGNMENT:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_ASSIGNMENT:
$this->parseAssignment($state);
break;
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY:
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_REFERENCE:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_REFERENCE:
$this->parseCopyOrReference($state);
break;
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_MODIFY:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_MODIFY:
$this->parseModification($state);
break;
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_DELETE:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_DELETE:
$this->parseDeletion($state);
break;
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE:
$this->parseMultilineAssigment($state);
break;
}
@@ -273,19 +273,19 @@ class Parser implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Pa
/**
* @param ParserState $state
*/
- private function parseAssignment(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParserState $state) : void
+ private function parseAssignment(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParserState $state) : void
{
switch ($state->token(2)->getType()) {
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_CONSTRUCTOR:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_CONSTRUCTOR:
$state->statements()->append($this->builder->op()->objectCreation($state->context(), $this->builder->scalar($state->token(2)->getValue()), $state->token(2)->getLine()));
$state->next(2);
break;
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE:
$state->statements()->append($this->builder->op()->assignment($state->context(), $this->builder->scalar($state->token(2)->getValue()), $state->token(2)->getLine()));
$state->next(2);
break;
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE:
- case \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE:
+ case \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE:
$state->statements()->append($this->builder->op()->assignment($state->context(), $this->builder->scalar(''), $state->token()->getLine()));
$state->next();
break;
@@ -295,12 +295,12 @@ class Parser implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Pa
* @param ParserState $state
* @throws ParseError
*/
- private function parseCopyOrReference(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParserState $state) : void
+ private function parseCopyOrReference(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParserState $state) : void
{
$targetToken = $state->token(2);
$this->validateCopyOperatorRightValue($targetToken);
$target = $state->context()->parent()->append($targetToken->getValue());
- $type = $state->token(1)->getType() === \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY ? 'copy' : 'reference';
+ $type = $state->token(1)->getType() === \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY ? 'copy' : 'reference';
$node = $this->builder->op()->{$type}($state->context(), $target, $state->token(1)->getLine());
$state->statements()->append($node);
$state->next(2);
@@ -309,7 +309,7 @@ class Parser implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Pa
* @param ParserState $state
* @throws ParseError
*/
- private function parseModification(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParserState $state) : void
+ private function parseModification(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParserState $state) : void
{
$token = $state->token(2);
$this->validateModifyOperatorRightValue($token);
@@ -322,11 +322,11 @@ class Parser implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Pa
* @param ParserState $state
* @throws ParseError
*/
- private function parseDeletion(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParserState $state) : void
+ private function parseDeletion(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParserState $state) : void
{
- $allowedTypesInDeletion = [\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE, \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE];
+ $allowedTypesInDeletion = [\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE, \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE];
if (!\in_array($state->token(2)->getType(), $allowedTypesInDeletion, \true)) {
- throw new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParseError('Unexpected token ' . $state->token(2)->getType() . ' after delete operator (expected line break).', 1403011201, $state->token()->getLine());
+ throw new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParseError('Unexpected token ' . $state->token(2)->getType() . ' after delete operator (expected line break).', 1403011201, $state->token()->getLine());
}
$state->statements()->append($this->builder->op()->delete($state->context(), $state->token(1)->getLine()));
$state->next(1);
@@ -334,7 +334,7 @@ class Parser implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Pa
/**
* @param ParserState $state
*/
- private function parseMultilineAssigment(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParserState $state) : void
+ private function parseMultilineAssigment(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParserState $state) : void
{
$state->statements()->append($this->builder->op()->assignment($state->context(), $this->builder->scalar($state->token(1)->getValue()), $state->token(1)->getLine()));
$state->next();
@@ -343,20 +343,20 @@ class Parser implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Pa
* @param TokenInterface $token
* @throws ParseError
*/
- private function validateModifyOperatorRightValue(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : void
+ private function validateModifyOperatorRightValue(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : void
{
- if ($token->getType() !== \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_MODIFIER) {
- throw new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParseError('Unexpected token ' . $token->getType() . ' after modify operator.', 1403010294, $token->getLine());
+ if ($token->getType() !== \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_MODIFIER) {
+ throw new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParseError('Unexpected token ' . $token->getType() . ' after modify operator.', 1403010294, $token->getLine());
}
}
/**
* @param TokenInterface $token
* @throws ParseError
*/
- private function validateCopyOperatorRightValue(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : void
+ private function validateCopyOperatorRightValue(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : void
{
- if ($token->getType() !== \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) {
- throw new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParseError('Unexpected token ' . $token->getType() . ' after copy operator.', 1403010294, $token->getLine());
+ if ($token->getType() !== \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) {
+ throw new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParseError('Unexpected token ' . $token->getType() . ' after copy operator.', 1403010294, $token->getLine());
}
}
}
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/ParserInterface.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/ParserInterface.php
index b90505a440b..9c392a87293 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Parser/ParserInterface.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/ParserInterface.php
@@ -1,7 +1,7 @@
statements = $statements;
$this->tokens = $tokens;
- $this->context = new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\RootObjectPath();
+ $this->context = new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\RootObjectPath();
}
- public function withContext(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\ObjectPath $context) : self
+ public function withContext(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\ObjectPath $context) : self
{
$clone = clone $this;
$clone->context = $context;
@@ -40,7 +40,7 @@ class ParserState
* @param int $lookAhead
* @return TokenInterface
*/
- public function token(int $lookAhead = 0) : \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface
+ public function token(int $lookAhead = 0) : \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface
{
return $this->tokens->current($lookAhead);
}
@@ -62,7 +62,7 @@ class ParserState
/**
* @return ObjectPath
*/
- public function context() : \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\ObjectPath
+ public function context() : \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\ObjectPath
{
return $this->context;
}
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/Printer/ASTPrinterInterface.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/Printer/ASTPrinterInterface.php
index b4bb68c9724..a3b7b0b812f 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Parser/Printer/ASTPrinterInterface.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/Printer/ASTPrinterInterface.php
@@ -1,9 +1,9 @@
prettyPrinterConfiguration = $prettyPrinterConfiguration ?? \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration::create();
+ $this->prettyPrinterConfiguration = $prettyPrinterConfiguration ?? \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration::create();
}
- public function setPrettyPrinterConfiguration(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration $prettyPrinterConfiguration) : void
+ public function setPrettyPrinterConfiguration(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration $prettyPrinterConfiguration) : void
{
$this->prettyPrinterConfiguration = $prettyPrinterConfiguration;
}
@@ -44,7 +44,7 @@ class PrettyPrinter implements \RectorPrefix20220217\Helmich\TypoScriptParser\Pa
* @param OutputInterface $output
* @return void
*/
- public function printStatements(array $statements, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) : void
+ public function printStatements(array $statements, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) : void
{
$this->printStatementList($statements, $output, 0);
}
@@ -54,33 +54,33 @@ class PrettyPrinter implements \RectorPrefix20220217\Helmich\TypoScriptParser\Pa
* @param int $nesting
* @return void
*/
- private function printStatementList(array $statements, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, int $nesting = 0) : void
+ private function printStatementList(array $statements, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, int $nesting = 0) : void
{
$indent = $this->getIndent($nesting);
$count = \count($statements);
for ($i = 0; $i < $count; $i++) {
$statement = $statements[$i];
- if ($statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\NestedAssignment) {
+ if ($statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\NestedAssignment) {
$this->printNestedAssignment($output, $nesting, $statement);
- } elseif ($statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) {
+ } elseif ($statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) {
$this->printAssignment($output, $statement, $indent);
- } elseif ($statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\BinaryObjectOperator) {
+ } elseif ($statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\BinaryObjectOperator) {
$this->printBinaryObjectOperator($output, $statement, $nesting);
- } elseif ($statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Delete) {
+ } elseif ($statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Delete) {
$output->writeln($indent . $statement->object->relativeName . ' >');
- } elseif ($statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Modification) {
+ } elseif ($statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Modification) {
$output->writeln(\sprintf("%s%s := %s(%s)", $indent, $statement->object->relativeName, $statement->call->method, $statement->call->arguments));
- } elseif ($statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement) {
+ } elseif ($statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement) {
$next = $i + 1 < $count ? $statements[$i + 1] : null;
$previous = $i - 1 >= 0 ? $statements[$i - 1] : null;
- $this->printConditionalStatement($output, $nesting, $statement, $next instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement, $previous instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement);
- } elseif ($statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\IncludeStatement) {
+ $this->printConditionalStatement($output, $nesting, $statement, $next instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement, $previous instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement);
+ } elseif ($statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\IncludeStatement) {
$this->printIncludeStatement($output, $statement);
- } elseif ($statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Comment) {
+ } elseif ($statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Comment) {
$output->writeln($indent . $statement->comment);
- } elseif ($statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\MultilineComment) {
+ } elseif ($statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\MultilineComment) {
$output->writeln($indent . $statement->comment);
- } elseif ($statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\NopStatement) {
+ } elseif ($statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\NopStatement) {
$this->printNopStatement($output);
}
}
@@ -89,24 +89,24 @@ class PrettyPrinter implements \RectorPrefix20220217\Helmich\TypoScriptParser\Pa
{
return \str_repeat($this->prettyPrinterConfiguration->getIndentation(), $nesting);
}
- private function printBinaryObjectOperator(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\BinaryObjectOperator $operator, int $nesting) : void
+ private function printBinaryObjectOperator(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\BinaryObjectOperator $operator, int $nesting) : void
{
$targetObjectPath = $operator->target->relativeName;
- if ($operator instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Copy) {
+ if ($operator instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Copy) {
$output->writeln($this->getIndent($nesting) . $operator->object->relativeName . ' < ' . $targetObjectPath);
- } elseif ($operator instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Reference) {
+ } elseif ($operator instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Reference) {
$output->writeln($this->getIndent($nesting) . $operator->object->relativeName . ' =< ' . $targetObjectPath);
}
}
- private function printIncludeStatement(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\IncludeStatement $statement) : void
+ private function printIncludeStatement(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\IncludeStatement $statement) : void
{
- if ($statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement) {
+ if ($statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement) {
$this->printFileIncludeStatement($output, $statement);
- } elseif ($statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement) {
+ } elseif ($statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement) {
$this->printDirectoryIncludeStatement($output, $statement);
}
}
- private function printFileIncludeStatement(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement $statement) : void
+ private function printFileIncludeStatement(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement $statement) : void
{
if ($statement->newSyntax) {
$output->writeln('@import \'' . $statement->filename . '\'');
@@ -118,7 +118,7 @@ class PrettyPrinter implements \RectorPrefix20220217\Helmich\TypoScriptParser\Pa
$output->writeln('');
}
}
- private function printDirectoryIncludeStatement(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement $statement) : void
+ private function printDirectoryIncludeStatement(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement $statement) : void
{
$attributes = "";
if ($statement->extensions) {
@@ -135,7 +135,7 @@ class PrettyPrinter implements \RectorPrefix20220217\Helmich\TypoScriptParser\Pa
* @param int $nesting
* @param NestedAssignment $statement
*/
- private function printNestedAssignment(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, $nesting, \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\NestedAssignment $statement) : void
+ private function printNestedAssignment(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, $nesting, \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\NestedAssignment $statement) : void
{
$output->writeln($this->getIndent($nesting) . $statement->object->relativeName . ' {');
$this->printStatementList($statement->statements, $output, $nesting + 1);
@@ -148,7 +148,7 @@ class PrettyPrinter implements \RectorPrefix20220217\Helmich\TypoScriptParser\Pa
* @param bool $hasNext
* @param bool $hasPrevious
*/
- private function printConditionalStatement(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, int $nesting, \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement $statement, bool $hasNext = \false, bool $hasPrevious = \false) : void
+ private function printConditionalStatement(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, int $nesting, \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement $statement, bool $hasNext = \false, bool $hasPrevious = \false) : void
{
if (!$hasPrevious) {
$output->writeln('');
@@ -168,7 +168,7 @@ class PrettyPrinter implements \RectorPrefix20220217\Helmich\TypoScriptParser\Pa
* @param Assignment $statement
* @param string $indent
*/
- private function printAssignment(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement, string $indent) : void
+ private function printAssignment(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement, string $indent) : void
{
if (\strpos($statement->value->value, "\n") !== \false) {
$output->writeln($indent . $statement->object->relativeName . ' (');
@@ -178,7 +178,7 @@ class PrettyPrinter implements \RectorPrefix20220217\Helmich\TypoScriptParser\Pa
}
$output->writeln($indent . $statement->object->relativeName . ' = ' . $statement->value->value);
}
- private function printNopStatement(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) : void
+ private function printNopStatement(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) : void
{
if ($this->prettyPrinterConfiguration->shouldIncludeEmptyLineBreaks()) {
$output->writeln('');
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinterConfiguration.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinterConfiguration.php
index 28692fa78f1..1decb8d06f8 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinterConfiguration.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinterConfiguration.php
@@ -1,11 +1,11 @@
index + $lookAhead];
}
@@ -74,7 +74,7 @@ class TokenStream implements \Iterator, \ArrayAccess
* @param int $offset
* @return TokenInterface
*/
- public function offsetGet($offset) : \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface
+ public function offsetGet($offset) : \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface
{
return $this->tokens[$offset];
}
@@ -110,17 +110,17 @@ class TokenStream implements \Iterator, \ArrayAccess
*
* @return TokenStream
*/
- public function normalized() : \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\TokenStream
+ public function normalized() : \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\TokenStream
{
$filteredTokens = [];
$maxLine = 0;
foreach ($this->tokens as $token) {
$maxLine = (int) \max($token->getLine(), $maxLine);
// Trim unnecessary whitespace, but leave line breaks! These are important!
- if ($token->getType() === \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE) {
+ if ($token->getType() === \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE) {
$value = \trim($token->getValue(), "\t ");
if (\strlen($value) > 0) {
- $filteredTokens[] = new \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $value, $token->getLine(), $token->getColumn());
+ $filteredTokens[] = new \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $value, $token->getLine(), $token->getColumn());
}
} else {
$filteredTokens[] = $token;
@@ -129,8 +129,8 @@ class TokenStream implements \Iterator, \ArrayAccess
// Add two linebreak tokens; during parsing, we usually do not look more than two
// tokens ahead; this hack ensures that there will always be at least two more tokens
// present and we do not have to check whether these tokens exists.
- $filteredTokens[] = new \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, "\n", $maxLine + 1, 1);
- $filteredTokens[] = new \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, "\n", $maxLine + 2, 1);
- return new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\TokenStream($filteredTokens);
+ $filteredTokens[] = new \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, "\n", $maxLine + 1, 1);
+ $filteredTokens[] = new \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, "\n", $maxLine + 2, 1);
+ return new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\TokenStream($filteredTokens);
}
}
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/AggregatingVisitor.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/AggregatingVisitor.php
index 276fd195231..6a4af28bd51 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/AggregatingVisitor.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/AggregatingVisitor.php
@@ -1,7 +1,7 @@
visitors[\spl_object_hash($visitor)] = $visitor;
}
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/Traverser.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/Traverser.php
index 8e7854d927d..de94282bd4e 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/Traverser.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/Traverser.php
@@ -1,10 +1,10 @@
statements = $statements;
- $this->visitors = new \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Traverser\AggregatingVisitor();
+ $this->visitors = new \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Traverser\AggregatingVisitor();
}
/**
* @param Visitor $visitor
*/
- public function addVisitor(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Traverser\Visitor $visitor) : void
+ public function addVisitor(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Traverser\Visitor $visitor) : void
{
$this->visitors->addVisitor($visitor);
}
@@ -50,9 +50,9 @@ class Traverser
{
foreach ($statements as $statement) {
$this->visitors->enterNode($statement);
- if ($statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\NestedAssignment) {
+ if ($statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\NestedAssignment) {
$statement->statements = $this->walkRecursive($statement->statements);
- } elseif ($statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement) {
+ } elseif ($statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement) {
$statement->ifStatements = $this->walkRecursive($statement->ifStatements);
$statement->elseStatements = $this->walkRecursive($statement->elseStatements);
}
@@ -67,4 +67,4 @@ class Traverser
* @package Helmich\TypoScriptParser
* @subpackage Parser\Traverser
*/
-\class_alias('RectorPrefix20220217\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser', 'Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser', \false);
+\class_alias('RectorPrefix20220218\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser', 'Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser', \false);
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/Visitor.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/Visitor.php
index d93a5112987..b2e9dcb0bee 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/Visitor.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/Visitor.php
@@ -1,7 +1,7 @@
value ?? "") . $append;
$type = $this->type;
$startLine = $this->startLine;
$startColumn = $this->startColumn;
if ($type === null || $startLine === null || $startColumn === null) {
- throw new \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenizerException('cannot call "endMultilineToken" before calling "startMultilineToken"');
+ throw new \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenizerException('cannot call "endMultilineToken" before calling "startMultilineToken"');
}
- $token = new \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\Token($type, \rtrim($value), $startLine, $startColumn);
+ $token = new \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\Token($type, \rtrim($value), $startLine, $startColumn);
$this->reset();
return $token;
}
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/NoOpPreprocessor.php b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/NoOpPreprocessor.php
index ce165180c3c..fc5d553380c 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/NoOpPreprocessor.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/NoOpPreprocessor.php
@@ -1,14 +1,14 @@
processors = \array_merge($this->processors, [$next]);
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/RemoveTrailingWhitespacePreprocessor.php b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/RemoveTrailingWhitespacePreprocessor.php
index 8fd18a7f450..5631cfe598f 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/RemoveTrailingWhitespacePreprocessor.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/RemoveTrailingWhitespacePreprocessor.php
@@ -1,14 +1,14 @@
processors = [new \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\Preprocessing\UnifyLineEndingsPreprocessor($eolChar), new \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\Preprocessing\RemoveTrailingWhitespacePreprocessor($eolChar)];
+ $this->processors = [new \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\Preprocessing\UnifyLineEndingsPreprocessor($eolChar), new \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\Preprocessing\RemoveTrailingWhitespacePreprocessor($eolChar)];
}
}
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/UnifyLineEndingsPreprocessor.php b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/UnifyLineEndingsPreprocessor.php
index 8bb66c84d73..57e198a75f0 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/UnifyLineEndingsPreprocessor.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/UnifyLineEndingsPreprocessor.php
@@ -1,14 +1,14 @@
yaml = $yaml ?: new \RectorPrefix20220217\Symfony\Component\Yaml\Yaml();
+ $this->yaml = $yaml ?: new \RectorPrefix20220218\Symfony\Component\Yaml\Yaml();
}
/**
* @param TokenInterface[] $tokens
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/TokenPrinterInterface.php b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/TokenPrinterInterface.php
index 1c8ef14c4e3..af5ebb2ed2b 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/TokenPrinterInterface.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/TokenPrinterInterface.php
@@ -1,9 +1,9 @@
lines = $lines;
}
- public function current() : \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\ScannerLine
+ public function current() : \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\ScannerLine
{
- return new \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\ScannerLine($this->index + 1, $this->lines[$this->index]);
+ return new \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\ScannerLine($this->index + 1, $this->lines[$this->index]);
}
public function next() : void
{
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/ScannerLine.php b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/ScannerLine.php
index 58cf8406425..a34af2a884b 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/ScannerLine.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/ScannerLine.php
@@ -1,7 +1,7 @@
currentLine = $line;
$this->currentColumn = 1;
}
- $this->tokens->append(new \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\Token($type, $value, $line, $this->currentColumn, $patternMatches));
+ $this->tokens->append(new \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\Token($type, $value, $line, $this->currentColumn, $patternMatches));
$this->currentColumn += \strlen($value);
}
/**
@@ -49,7 +49,7 @@ class TokenStreamBuilder
* @param TokenInterface $token The token to append
* @return void
*/
- public function appendToken(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : void
+ public function appendToken(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : void
{
$this->tokens->append($token);
}
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php
index 2cf6ec55e5c..9e4eec32178 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php
@@ -1,11 +1,11 @@
eolChar = $eolChar;
$this->preprocessor = $preprocessor;
@@ -69,39 +69,39 @@ class Tokenizer implements \RectorPrefix20220217\Helmich\TypoScriptParser\Tokeni
public function tokenizeString(string $inputString) : array
{
$inputString = $this->preprocessor->preprocess($inputString);
- $tokens = new \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder();
- $state = new \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder();
+ $tokens = new \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder();
+ $state = new \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder();
$lines = \explode($this->eolChar, $inputString);
- $scanner = new \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\Scanner($lines);
+ $scanner = new \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\Scanner($lines);
foreach ($scanner as $line) {
$column = 1;
if ($this->tokenizeMultilineToken($tokens, $state, $line)) {
continue;
}
if (\trim($line->value()) === '') {
- $tokens->append(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE, $this->eolChar, $line->index());
+ $tokens->append(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE, $this->eolChar, $line->index());
continue;
}
if ($tokens->count() !== 0) {
- $tokens->append(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $this->eolChar, (int) ($line->index() - 1));
+ $tokens->append(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $this->eolChar, (int) ($line->index() - 1));
$column += 1;
}
if ($matches = $line->scan(self::TOKEN_WHITESPACE)) {
- $tokens->append(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[0], $line->index());
+ $tokens->append(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[0], $line->index());
$column += \strlen($matches[0]);
}
if ($line->peek(self::TOKEN_COMMENT_MULTILINE_BEGIN)) {
- $state->startMultilineToken(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE, $line->value(), $line->index(), $column);
+ $state->startMultilineToken(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE, $line->value(), $line->index(), $column);
continue;
}
if ($this->tokenizeSimpleStatements($tokens, $line) || $this->tokenizeObjectOperation($tokens, $state, $line) || $line->length() === 0) {
continue;
}
- throw new \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenizerException('Cannot tokenize line "' . $line . '"', 1403084444, null, $line->index());
+ throw new \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenizerException('Cannot tokenize line "' . $line . '"', 1403084444, null, $line->index());
}
$currentTokenType = $state->currentTokenType();
if ($currentTokenType !== null) {
- throw new \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenizerException("Unterminated {$currentTokenType}!", 1403084445, null, \count($lines) - 1);
+ throw new \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenizerException("Unterminated {$currentTokenType}!", 1403084445, null, \count($lines) - 1);
}
return $tokens->build()->getArrayCopy();
}
@@ -126,19 +126,19 @@ class Tokenizer implements \RectorPrefix20220217\Helmich\TypoScriptParser\Tokeni
{
switch ($operator) {
case '=':
- return \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_ASSIGNMENT;
+ return \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_ASSIGNMENT;
case '<':
- return \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY;
+ return \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY;
case '=<':
- return \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_REFERENCE;
+ return \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_REFERENCE;
case ':=':
- return \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_MODIFY;
+ return \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_MODIFY;
case '>':
- return \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_DELETE;
+ return \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_DELETE;
}
// It should not be possible in any case to reach this point
// @codeCoverageIgnoreStart
- throw new \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\UnknownOperatorException('Unknown binary operator "' . $operator . '"!');
+ throw new \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\UnknownOperatorException('Unknown binary operator "' . $operator . '"!');
// @codeCoverageIgnoreEnd
}
/**
@@ -147,30 +147,30 @@ class Tokenizer implements \RectorPrefix20220217\Helmich\TypoScriptParser\Tokeni
* @param $currentLine
* @throws UnknownOperatorException
*/
- private function tokenizeBinaryObjectOperation(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, array $matches, int $currentLine) : void
+ private function tokenizeBinaryObjectOperation(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, array $matches, int $currentLine) : void
{
$tokens->append($this->getTokenTypeForBinaryOperator($matches[3]), $matches[3], $currentLine);
if ($matches[4]) {
- $tokens->append(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[4], $currentLine);
+ $tokens->append(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[4], $currentLine);
}
if (($matches[3] === '<' || $matches[3] === '=<') && \preg_match(self::TOKEN_OBJECT_REFERENCE, $matches[5])) {
- $tokens->append(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER, $matches[5], $currentLine);
+ $tokens->append(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER, $matches[5], $currentLine);
return;
}
if ($matches[3] == ':=' && \preg_match(self::TOKEN_OBJECT_MODIFIER, $matches[5], $subMatches)) {
- $tokens->append(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_MODIFIER, $matches[5], $currentLine, $subMatches);
+ $tokens->append(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_MODIFIER, $matches[5], $currentLine, $subMatches);
return;
}
if (\preg_match(self::TOKEN_OBJECT_NAME, $matches[5])) {
- $tokens->append(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_CONSTRUCTOR, $matches[5], $currentLine);
+ $tokens->append(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_CONSTRUCTOR, $matches[5], $currentLine);
return;
}
if ($matches[3] == '>' && \preg_match(self::TOKEN_COMMENT_ONELINE, $matches[5])) {
- $tokens->append(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE, $matches[5], $currentLine);
+ $tokens->append(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE, $matches[5], $currentLine);
return;
}
if (\strlen($matches[5])) {
- $tokens->append(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE, $matches[5], $currentLine);
+ $tokens->append(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE, $matches[5], $currentLine);
return;
}
}
@@ -180,13 +180,13 @@ class Tokenizer implements \RectorPrefix20220217\Helmich\TypoScriptParser\Tokeni
* @param ScannerLine $line
* @return bool
*/
- private function tokenizeMultilineToken(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool
+ private function tokenizeMultilineToken(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool
{
- if ($state->currentTokenType() === \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE) {
+ if ($state->currentTokenType() === \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE) {
$this->tokenizeMultilineComment($tokens, $state, $line);
return \true;
}
- if ($state->currentTokenType() === \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE) {
+ if ($state->currentTokenType() === \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE) {
$this->tokenizeMultilineAssignment($tokens, $state, $line);
return \true;
}
@@ -198,7 +198,7 @@ class Tokenizer implements \RectorPrefix20220217\Helmich\TypoScriptParser\Tokeni
* @param ScannerLine $line
* @return void
*/
- private function tokenizeMultilineComment(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : void
+ private function tokenizeMultilineComment(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : void
{
if ($matches = $line->scan(self::TOKEN_WHITESPACE)) {
$state->appendToToken($matches[0]);
@@ -215,7 +215,7 @@ class Tokenizer implements \RectorPrefix20220217\Helmich\TypoScriptParser\Tokeni
* @param $state
* @param $line
*/
- private function tokenizeMultilineAssignment(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : void
+ private function tokenizeMultilineAssignment(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : void
{
if ($line->peek(',^\\s*\\),')) {
$token = $state->endMultilineToken();
@@ -229,9 +229,9 @@ class Tokenizer implements \RectorPrefix20220217\Helmich\TypoScriptParser\Tokeni
* @param ScannerLine $line
* @return bool
*/
- private function tokenizeSimpleStatements(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool
+ private function tokenizeSimpleStatements(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool
{
- $simpleTokens = [self::TOKEN_COMMENT_ONELINE => \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE, self::TOKEN_NESTING_END => \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE, self::TOKEN_CONDITION_ELSE => \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_ELSE, self::TOKEN_CONDITION_END => \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_END, self::TOKEN_CONDITION => \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION, self::TOKEN_INCLUDE_STATEMENT => \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE, self::TOKEN_INCLUDE_NEW_STATEMENT => \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW];
+ $simpleTokens = [self::TOKEN_COMMENT_ONELINE => \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE, self::TOKEN_NESTING_END => \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE, self::TOKEN_CONDITION_ELSE => \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_ELSE, self::TOKEN_CONDITION_END => \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_END, self::TOKEN_CONDITION => \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION, self::TOKEN_INCLUDE_STATEMENT => \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE, self::TOKEN_INCLUDE_NEW_STATEMENT => \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW];
foreach ($simpleTokens as $pattern => $type) {
if ($matches = $line->scan($pattern)) {
$tokens->append($type, $matches[0], $line->index(), $matches);
@@ -246,20 +246,20 @@ class Tokenizer implements \RectorPrefix20220217\Helmich\TypoScriptParser\Tokeni
* @param $line
* @return bool
*/
- private function tokenizeObjectOperation(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool
+ private function tokenizeObjectOperation(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool
{
if ($matches = $line->scan(self::TOKEN_OPERATOR_LINE)) {
- $tokens->append(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER, $matches[1], $line->index());
+ $tokens->append(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER, $matches[1], $line->index());
if ($matches[2]) {
- $tokens->append(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[2], $line->index());
+ $tokens->append(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[2], $line->index());
}
$operators = ['=', ':=', '<', '<=', '>', '=<'];
if (\in_array($matches[3], $operators)) {
$this->tokenizeBinaryObjectOperation($tokens, $matches, $line->index());
} elseif ($matches[3] == '{') {
- $tokens->append(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN, $matches[3], $line->index());
+ $tokens->append(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN, $matches[3], $line->index());
} elseif ($matches[3] == '(') {
- $state->startMultilineToken(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE, '', $line->index(), $tokens->currentColumn());
+ $state->startMultilineToken(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE, '', $line->index(), $tokens->currentColumn());
}
return \true;
}
diff --git a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerException.php b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerException.php
index ba6a6e16048..45e82475706 100644
--- a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerException.php
+++ b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerException.php
@@ -1,7 +1,7 @@
load('services.yml');
}
/**
diff --git a/vendor/idiosyncratic/editorconfig/composer.json b/vendor/idiosyncratic/editorconfig/composer.json
index a04aa1498a4..0236236ae79 100644
--- a/vendor/idiosyncratic/editorconfig/composer.json
+++ b/vendor/idiosyncratic/editorconfig/composer.json
@@ -32,12 +32,12 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\Idiosyncratic\\EditorConfig\\": "src"
+ "RectorPrefix20220218\\Idiosyncratic\\EditorConfig\\": "src"
}
},
"autoload-dev": {
"psr-4": {
- "RectorPrefix20220217\\Idiosyncratic\\EditorConfig\\": "tests"
+ "RectorPrefix20220218\\Idiosyncratic\\EditorConfig\\": "tests"
}
}
}
\ No newline at end of file
diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/BooleanDeclaration.php b/vendor/idiosyncratic/editorconfig/src/Declaration/BooleanDeclaration.php
index 1b768a32362..71de7651624 100644
--- a/vendor/idiosyncratic/editorconfig/src/Declaration/BooleanDeclaration.php
+++ b/vendor/idiosyncratic/editorconfig/src/Declaration/BooleanDeclaration.php
@@ -1,11 +1,11 @@
getStringValue(), $this->getName());
+ throw new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue($this->getStringValue(), $this->getName());
}
}
}
diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/Charset.php b/vendor/idiosyncratic/editorconfig/src/Declaration/Charset.php
index be884341330..c8ef824f19f 100644
--- a/vendor/idiosyncratic/editorconfig/src/Declaration/Charset.php
+++ b/vendor/idiosyncratic/editorconfig/src/Declaration/Charset.php
@@ -1,13 +1,13 @@
getStringValue(), $this->getName());
+ throw new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue($this->getStringValue(), $this->getName());
}
}
public function getName() : string
diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/Declaration.php b/vendor/idiosyncratic/editorconfig/src/Declaration/Declaration.php
index c102c62a3ba..7d4ca9dab23 100644
--- a/vendor/idiosyncratic/editorconfig/src/Declaration/Declaration.php
+++ b/vendor/idiosyncratic/editorconfig/src/Declaration/Declaration.php
@@ -1,7 +1,7 @@
getStringValue(), $this->getName());
+ throw new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue($this->getStringValue(), $this->getName());
}
}
public function getName() : string
diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/Factory.php b/vendor/idiosyncratic/editorconfig/src/Declaration/Factory.php
index 8e53fa56167..7edfdd954f6 100644
--- a/vendor/idiosyncratic/editorconfig/src/Declaration/Factory.php
+++ b/vendor/idiosyncratic/editorconfig/src/Declaration/Factory.php
@@ -1,7 +1,7 @@
{$method}($value);
}
- return new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration($name, $value);
+ return new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration($name, $value);
}
/**
* @param mixed $value
*/
- public function getIndentStyle($value) : \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\IndentStyle
+ public function getIndentStyle($value) : \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\IndentStyle
{
- return new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\IndentStyle($value);
+ return new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\IndentStyle($value);
}
/**
* @param mixed $value
*/
- public function getCharset($value) : \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\Charset
+ public function getCharset($value) : \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\Charset
{
- return new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\Charset($value);
+ return new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\Charset($value);
}
/**
* @param mixed $value
*/
- public function getEndOfLine($value) : \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\EndOfLine
+ public function getEndOfLine($value) : \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\EndOfLine
{
- return new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\EndOfLine($value);
+ return new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\EndOfLine($value);
}
/**
* @param mixed $value
*/
- public function getInsertFinalNewline($value) : \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline
+ public function getInsertFinalNewline($value) : \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline
{
- return new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline($value);
+ return new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline($value);
}
/**
* @param mixed $value
*/
- public function getTrimTrailingWhitespace($value) : \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace
+ public function getTrimTrailingWhitespace($value) : \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace
{
- return new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace($value);
+ return new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace($value);
}
/**
* @param mixed $value
*/
- public function getIndentSize($value) : \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\IndentSize
+ public function getIndentSize($value) : \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\IndentSize
{
- return new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\IndentSize($value);
+ return new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\IndentSize($value);
}
/**
* @param mixed $value
*/
- public function getTabWidth($value) : \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\TabWidth
+ public function getTabWidth($value) : \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\TabWidth
{
- return new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\TabWidth($value);
+ return new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\TabWidth($value);
}
/**
* @param mixed $value
*/
- public function getMaxLineLength($value) : \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\MaxLineLength
+ public function getMaxLineLength($value) : \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\MaxLineLength
{
- return new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\MaxLineLength($value);
+ return new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\MaxLineLength($value);
}
}
diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php b/vendor/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php
index 22be0621040..70810d6392d 100644
--- a/vendor/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php
+++ b/vendor/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php
@@ -1,9 +1,9 @@
getStringValue(), $this->getName());
+ throw new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue($this->getStringValue(), $this->getName());
}
}
}
diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/IndentStyle.php b/vendor/idiosyncratic/editorconfig/src/Declaration/IndentStyle.php
index 43424fd61c1..f1599b90f21 100644
--- a/vendor/idiosyncratic/editorconfig/src/Declaration/IndentStyle.php
+++ b/vendor/idiosyncratic/editorconfig/src/Declaration/IndentStyle.php
@@ -1,13 +1,13 @@
getStringValue(), $this->getName());
+ throw new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue($this->getStringValue(), $this->getName());
}
}
}
diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/InsertFinalNewline.php b/vendor/idiosyncratic/editorconfig/src/Declaration/InsertFinalNewline.php
index 01828026776..2558ebe5881 100644
--- a/vendor/idiosyncratic/editorconfig/src/Declaration/InsertFinalNewline.php
+++ b/vendor/idiosyncratic/editorconfig/src/Declaration/InsertFinalNewline.php
@@ -1,9 +1,9 @@
getStringValue(), $this->getName());
+ throw new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue($this->getStringValue(), $this->getName());
}
}
}
diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/TabWidth.php b/vendor/idiosyncratic/editorconfig/src/Declaration/TabWidth.php
index 1aa54f75d10..0a2c527969d 100644
--- a/vendor/idiosyncratic/editorconfig/src/Declaration/TabWidth.php
+++ b/vendor/idiosyncratic/editorconfig/src/Declaration/TabWidth.php
@@ -1,11 +1,11 @@
getStringValue(), $this->getName());
+ throw new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue($this->getStringValue(), $this->getName());
}
}
}
diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/TrimTrailingWhitespace.php b/vendor/idiosyncratic/editorconfig/src/Declaration/TrimTrailingWhitespace.php
index c7a5171ea55..5f0b94db5b2 100644
--- a/vendor/idiosyncratic/editorconfig/src/Declaration/TrimTrailingWhitespace.php
+++ b/vendor/idiosyncratic/editorconfig/src/Declaration/TrimTrailingWhitespace.php
@@ -1,9 +1,9 @@
configFiles[$path] ?? ($this->configFiles[$path] = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\EditorConfigFile($path));
+ return $this->configFiles[$path] ?? ($this->configFiles[$path] = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\EditorConfigFile($path));
}
}
diff --git a/vendor/idiosyncratic/editorconfig/src/EditorConfigFile.php b/vendor/idiosyncratic/editorconfig/src/EditorConfigFile.php
index 748ff9649d1..6196b4d5cd4 100644
--- a/vendor/idiosyncratic/editorconfig/src/EditorConfigFile.php
+++ b/vendor/idiosyncratic/editorconfig/src/EditorConfigFile.php
@@ -1,10 +1,10 @@
declarationFactory = $declarationFactory ?? new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\Factory();
+ $this->declarationFactory = $declarationFactory ?? new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\Factory();
if (\is_file($path) === \false || \is_readable($path) === \false) {
throw new \RuntimeException(\sprintf('File %s does not exist or is not readable', $path));
}
@@ -84,13 +84,13 @@ final class EditorConfigFile
if (\is_array($declarations) === \false) {
continue;
}
- $this->sections[] = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Section($this->getGlobPrefix($glob), $glob, $declarations, $this->declarationFactory);
+ $this->sections[] = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Section($this->getGlobPrefix($glob), $glob, $declarations, $this->declarationFactory);
}
}
private function setIsRoot(string $isRoot) : void
{
if (\in_array($isRoot, ['true', 'false']) === \false) {
- throw new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue('root', $isRoot);
+ throw new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue('root', $isRoot);
}
$this->isRoot = $isRoot === 'true';
}
diff --git a/vendor/idiosyncratic/editorconfig/src/Exception/InvalidValue.php b/vendor/idiosyncratic/editorconfig/src/Exception/InvalidValue.php
index 8a671b9e742..d539e1644ab 100644
--- a/vendor/idiosyncratic/editorconfig/src/Exception/InvalidValue.php
+++ b/vendor/idiosyncratic/editorconfig/src/Exception/InvalidValue.php
@@ -1,7 +1,7 @@
$declarations
*/
- public function __construct(string $globPrefix, string $glob, array $declarations, \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\Factory $declarationFactory)
+ public function __construct(string $globPrefix, string $glob, array $declarations, \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\Factory $declarationFactory)
{
$this->globPrefix = $globPrefix;
$this->glob = $glob;
diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/CharsetTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/CharsetTest.php
index 7e9e030aadd..00c506c2741 100644
--- a/vendor/idiosyncratic/editorconfig/tests/Declaration/CharsetTest.php
+++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/CharsetTest.php
@@ -1,25 +1,25 @@
assertEquals(\sprintf('charset=%s', $charset), (string) $declaration);
}
}
public function testInvalidValue()
{
- $this->expectException(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\Charset('true');
- $this->expectException(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\Charset('spaces');
+ $this->expectException(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\Charset('true');
+ $this->expectException(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\Charset('spaces');
}
}
diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/EndOfLineTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/EndOfLineTest.php
index 35f7e1679f2..99f99e01912 100644
--- a/vendor/idiosyncratic/editorconfig/tests/Declaration/EndOfLineTest.php
+++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/EndOfLineTest.php
@@ -1,25 +1,25 @@
assertEquals(\sprintf('end_of_line=%s', $eol), (string) $declaration);
}
}
public function testInvalidValues()
{
$this->expectException(\DomainException::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\EndOfLine('true');
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\EndOfLine('true');
$this->expectException(\DomainException::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\EndOfLine('spaces');
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\EndOfLine('spaces');
}
}
diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/FactoryTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/FactoryTest.php
index 925f70a91f9..1083b087fbe 100644
--- a/vendor/idiosyncratic/editorconfig/tests/Declaration/FactoryTest.php
+++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/FactoryTest.php
@@ -1,17 +1,17 @@
'space', 'indent_size' => '4', 'tab_width' => '4', 'end_of_line' => 'lf', 'charset' => 'utf-8', 'trim_trailing_whitespace' => 'true', 'insert_final_newline' => 'false', 'max_line_length' => 'off'];
- $factory = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\Factory();
+ $factory = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\Factory();
foreach ($declarations as $key => $value) {
$declaration = $factory->getDeclaration($key, $value);
$this->assertEquals($key, $declaration->getName());
@@ -19,14 +19,14 @@ class FactoryTest extends \RectorPrefix20220217\PHPUnit\Framework\TestCase
}
public function testUnsetDeclaration()
{
- $factory = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\Factory();
+ $factory = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\Factory();
$indentSize = $factory->getDeclaration('indent_size', 'unset');
- $this->assertInstanceOf(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\UnsetDeclaration::class, $indentSize);
+ $this->assertInstanceOf(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\UnsetDeclaration::class, $indentSize);
}
public function testUnknownDeclaration()
{
- $factory = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\Factory();
+ $factory = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\Factory();
$justification = $factory->getDeclaration('justification', 'left');
- $this->assertInstanceOf(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration::class, $justification);
+ $this->assertInstanceOf(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration::class, $justification);
}
}
diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/GenericDeclarationTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/GenericDeclarationTest.php
index c3981c44943..4ea9bab152c 100644
--- a/vendor/idiosyncratic/editorconfig/tests/Declaration/GenericDeclarationTest.php
+++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/GenericDeclarationTest.php
@@ -1,37 +1,37 @@
assertEquals('declaration', $declaration->getName());
}
public function testGetValue() : void
{
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'string');
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'string');
$this->assertIsString($declaration->getValue());
$this->assertEquals('string', $declaration->getValue());
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', '1');
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', '1');
$this->assertIsInt($declaration->getValue());
$this->assertSame(1, $declaration->getValue());
$this->assertSame('1', $declaration->getStringValue());
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'true');
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'true');
$this->assertIsBool($declaration->getValue());
$this->assertTrue($declaration->getValue());
$this->assertSame('true', $declaration->getStringValue());
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', '1.1');
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', '1.1');
$this->assertIsString($declaration->getValue());
$this->assertSame('1.1', $declaration->getValue());
$this->assertSame('1.1', $declaration->getStringValue());
}
public function testToString() : void
{
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'string');
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'string');
$this->assertEquals('declaration=string', (string) $declaration);
}
}
diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentSizeTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentSizeTest.php
index 93c7ee241e9..284f68698d7 100644
--- a/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentSizeTest.php
+++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentSizeTest.php
@@ -1,34 +1,34 @@
assertEquals('indent_size=tab', (string) $declaration);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\IndentSize('4');
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\IndentSize('4');
$this->assertEquals('indent_size=4', (string) $declaration);
$this->assertSame(4, $declaration->getValue());
}
public function testInvalidValueType()
{
- $this->expectException(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\IndentSize('true');
+ $this->expectException(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\IndentSize('true');
}
public function testInvalidValueValue()
{
- $this->expectException(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\IndentSize('four');
+ $this->expectException(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\IndentSize('four');
}
public function testInvalidNegativeIntegerValue()
{
- $this->expectException(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\IndentSize('-1');
+ $this->expectException(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\IndentSize('-1');
}
}
diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentStyleTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentStyleTest.php
index 861db76a7e9..dc88d52b59d 100644
--- a/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentStyleTest.php
+++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentStyleTest.php
@@ -1,27 +1,27 @@
assertEquals('indent_style', $declaration->getName());
$this->assertEquals('tab', $declaration->getValue());
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\IndentStyle('space');
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\IndentStyle('space');
$this->assertEquals('indent_style', $declaration->getName());
$this->assertEquals('space', $declaration->getValue());
}
public function testInvalidValues()
{
- $this->expectException(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\IndentStyle('true');
- $this->expectException(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\IndentStyle('spaces');
+ $this->expectException(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\IndentStyle('true');
+ $this->expectException(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\IndentStyle('spaces');
}
}
diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/InsertFinalNewlineTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/InsertFinalNewlineTest.php
index c7cf05c1bfe..c8b6b2ebb47 100644
--- a/vendor/idiosyncratic/editorconfig/tests/Declaration/InsertFinalNewlineTest.php
+++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/InsertFinalNewlineTest.php
@@ -1,25 +1,25 @@
assertEquals('insert_final_newline=false', (string) $declaration);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('true');
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('true');
$this->assertEquals('insert_final_newline=true', (string) $declaration);
}
public function testInvalidValues()
{
- $this->expectException(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('4');
- $this->expectException(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('four');
+ $this->expectException(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('4');
+ $this->expectException(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('four');
}
}
diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/MaxLineLengthTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/MaxLineLengthTest.php
index 60d99a172ff..346fdbc78ea 100644
--- a/vendor/idiosyncratic/editorconfig/tests/Declaration/MaxLineLengthTest.php
+++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/MaxLineLengthTest.php
@@ -1,27 +1,27 @@
assertEquals('max_line_length=off', (string) $declaration);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('4');
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('4');
$this->assertEquals('max_line_length=4', (string) $declaration);
$this->assertSame(4, $declaration->getValue());
}
public function testInvalidValues()
{
- $this->expectException(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('true');
- $this->expectException(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('four');
- $this->expectException(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('-1');
+ $this->expectException(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('true');
+ $this->expectException(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('four');
+ $this->expectException(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('-1');
}
}
diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/TabWidthTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/TabWidthTest.php
index ff02d86eac0..42cdfb61afa 100644
--- a/vendor/idiosyncratic/editorconfig/tests/Declaration/TabWidthTest.php
+++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/TabWidthTest.php
@@ -1,25 +1,25 @@
assertEquals('tab_width=4', (string) $declaration);
$this->assertSame(4, $declaration->getValue());
}
public function testInvalidValues()
{
- $this->expectException(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\TabWidth('true');
- $this->expectException(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\TabWidth('four');
- $this->expectException(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\TabWidth('-1');
+ $this->expectException(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\TabWidth('true');
+ $this->expectException(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\TabWidth('four');
+ $this->expectException(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\TabWidth('-1');
}
}
diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/TrimTrailingWhitespaceTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/TrimTrailingWhitespaceTest.php
index 02aaf9671a5..6db13e49328 100644
--- a/vendor/idiosyncratic/editorconfig/tests/Declaration/TrimTrailingWhitespaceTest.php
+++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/TrimTrailingWhitespaceTest.php
@@ -1,28 +1,28 @@
assertEquals('trim_trailing_whitespace=false', (string) $declaration);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('true');
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('true');
$this->assertEquals('trim_trailing_whitespace=true', (string) $declaration);
}
public function testInvalidIntValue()
{
$this->expectException(\DomainException::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('4');
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('4');
}
public function testInvalidStringValue()
{
$this->expectException(\DomainException::class);
- $declaration = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('four');
+ $declaration = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('four');
}
}
diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/UnsetDeclarationTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/UnsetDeclarationTest.php
index e909b401fde..70f5bcaf011 100644
--- a/vendor/idiosyncratic/editorconfig/tests/Declaration/UnsetDeclarationTest.php
+++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/UnsetDeclarationTest.php
@@ -1,17 +1,17 @@
assertEquals('indent_style', $declaration->getName());
$this->assertNull($declaration->getValue());
$this->assertEquals('indent_style=unset', (string) $declaration);
diff --git a/vendor/idiosyncratic/editorconfig/tests/EditorConfigFileTest.php b/vendor/idiosyncratic/editorconfig/tests/EditorConfigFileTest.php
index 678cda64dc7..483d24c6eee 100644
--- a/vendor/idiosyncratic/editorconfig/tests/EditorConfigFileTest.php
+++ b/vendor/idiosyncratic/editorconfig/tests/EditorConfigFileTest.php
@@ -1,55 +1,55 @@
assertInstanceOf(\RectorPrefix20220217\Idiosyncratic\EditorConfig\EditorConfigFile::class, $file);
+ $file = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\EditorConfigFile($path);
+ $this->assertInstanceOf(\RectorPrefix20220218\Idiosyncratic\EditorConfig\EditorConfigFile::class, $file);
$this->assertFalse($file->isRoot());
$this->assertEquals($path, $file->getPath());
}
public function testGetPath() : void
{
$path = __DIR__ . '/data/editorconfig';
- $file = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\EditorConfigFile($path);
+ $file = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\EditorConfigFile($path);
$this->assertEquals($path, $file->getPath());
}
public function testEmptyFile() : void
{
$path = __DIR__ . '/data/empty_editorconfig';
- $file = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\EditorConfigFile($path);
+ $file = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\EditorConfigFile($path);
$this->assertEquals('', \trim((string) $file));
}
public function testRootFile() : void
{
$path = __DIR__ . '/data/root_editorconfig';
- $file = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\EditorConfigFile($path);
+ $file = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\EditorConfigFile($path);
$this->assertTrue($file->isRoot());
$this->assertTrue(\strpos((string) $file, 'root=true') === 0);
}
public function testInvalidRootValue() : void
{
$path = __DIR__ . '/data/invalid_root_editorconfig';
- $this->expectException(\RectorPrefix20220217\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
- $file = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\EditorConfigFile($path);
+ $this->expectException(\RectorPrefix20220218\Idiosyncratic\EditorConfig\Exception\InvalidValue::class);
+ $file = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\EditorConfigFile($path);
}
public function testFileDoesNotExist() : void
{
$this->expectException(\RuntimeException::class);
- $file = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\EditorConfigFile(__DIR__);
+ $file = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\EditorConfigFile(__DIR__);
}
public function testEmptyIndentSize() : void
{
$path = __DIR__ . '/data/editorconfig';
- $file = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\EditorConfigFile($path);
+ $file = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\EditorConfigFile($path);
$config = $file->getConfigForPath(__DIR__);
$this->assertFalse(isset($config['indent_size']));
}
@@ -59,7 +59,7 @@ class EditorConfigFileTest extends \RectorPrefix20220217\PHPUnit\Framework\TestC
public function testGetConfigForPath(string $pathToFile, int $expectedIndentSize) : void
{
$path = __DIR__ . '/data/editorconfig';
- $file = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\EditorConfigFile($path);
+ $file = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\EditorConfigFile($path);
$config = $file->getConfigForPath($pathToFile);
$this->assertEquals($expectedIndentSize, $config['indent_size']->getValue());
}
diff --git a/vendor/idiosyncratic/editorconfig/tests/EditorConfigTest.php b/vendor/idiosyncratic/editorconfig/tests/EditorConfigTest.php
index 4b25a1c260c..89d8ebaecd6 100644
--- a/vendor/idiosyncratic/editorconfig/tests/EditorConfigTest.php
+++ b/vendor/idiosyncratic/editorconfig/tests/EditorConfigTest.php
@@ -1,15 +1,15 @@
getConfigForPath(__FILE__);
$this->assertEquals(4, $config['indent_size']->getValue());
$config = $ec->printConfigForPath(__DIR__ . '/data/testfile.php');
diff --git a/vendor/idiosyncratic/editorconfig/tests/SectionTest.php b/vendor/idiosyncratic/editorconfig/tests/SectionTest.php
index 18f19418f01..2987d052a4f 100644
--- a/vendor/idiosyncratic/editorconfig/tests/SectionTest.php
+++ b/vendor/idiosyncratic/editorconfig/tests/SectionTest.php
@@ -1,28 +1,28 @@
'4', 'indent_style' => 'space'], new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\Factory());
+ $section = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Section('**/', '*.php', ['indent_size' => '4', 'indent_style' => 'space'], new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\Factory());
$this->assertEquals('space', $section->indent_style->getValue());
$this->assertEquals(4, $section->indent_size->getValue());
$this->assertFalse(isset($section->tab_width));
}
public function testMatchingWindowsPath() : void
{
- $section = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Section('**/', '*.php', ['indent_size' => '4', 'indent_style' => 'space'], new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\Factory());
+ $section = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Section('**/', '*.php', ['indent_size' => '4', 'indent_style' => 'space'], new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\Factory());
$this->assertTrue($section->matches('my\\composer.php'));
}
public function testGetMissingDeclaration() : void
{
- $section = new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Section('**/', '*.php', ['indent_size' => '4', 'indent_style' => 'space'], new \RectorPrefix20220217\Idiosyncratic\EditorConfig\Declaration\Factory());
+ $section = new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Section('**/', '*.php', ['indent_size' => '4', 'indent_style' => 'space'], new \RectorPrefix20220218\Idiosyncratic\EditorConfig\Declaration\Factory());
$this->expectException(\ErrorException::class);
$section->tab_width;
}
diff --git a/vendor/idiosyncratic/editorconfig/tests/data/testfile.php b/vendor/idiosyncratic/editorconfig/tests/data/testfile.php
index 5da27b6c3fc..3ec48134132 100644
--- a/vendor/idiosyncratic/editorconfig/tests/data/testfile.php
+++ b/vendor/idiosyncratic/editorconfig/tests/data/testfile.php
@@ -1,5 +1,5 @@
register(new \MyCLabs\Enum\PHPUnit\Comparator());
*/
-final class Comparator extends \RectorPrefix20220217\SebastianBergmann\Comparator\Comparator
+final class Comparator extends \RectorPrefix20220218\SebastianBergmann\Comparator\Comparator
{
public function accepts($expected, $actual)
{
- return $expected instanceof \RectorPrefix20220217\MyCLabs\Enum\Enum && ($actual instanceof \RectorPrefix20220217\MyCLabs\Enum\Enum || $actual === null);
+ return $expected instanceof \RectorPrefix20220218\MyCLabs\Enum\Enum && ($actual instanceof \RectorPrefix20220218\MyCLabs\Enum\Enum || $actual === null);
}
/**
* @param Enum $expected
@@ -28,9 +28,9 @@ final class Comparator extends \RectorPrefix20220217\SebastianBergmann\Comparato
if ($expected->equals($actual)) {
return;
}
- throw new \RectorPrefix20220217\SebastianBergmann\Comparator\ComparisonFailure($expected, $actual, $this->formatEnum($expected), $this->formatEnum($actual), \false, 'Failed asserting that two Enums are equal.');
+ throw new \RectorPrefix20220218\SebastianBergmann\Comparator\ComparisonFailure($expected, $actual, $this->formatEnum($expected), $this->formatEnum($actual), \false, 'Failed asserting that two Enums are equal.');
}
- private function formatEnum(\RectorPrefix20220217\MyCLabs\Enum\Enum $enum = null)
+ private function formatEnum(\RectorPrefix20220218\MyCLabs\Enum\Enum $enum = null)
{
if ($enum === null) {
return "null";
diff --git a/vendor/nette/neon/bin/neon-lint b/vendor/nette/neon/bin/neon-lint
index 9c168783114..1ead40fc6a0 100644
--- a/vendor/nette/neon/bin/neon-lint
+++ b/vendor/nette/neon/bin/neon-lint
@@ -1,7 +1,7 @@
#!/usr/bin/env php
\n";
exit(1);
}
-$ok = \RectorPrefix20220217\scanPath($argv[1]);
+$ok = \RectorPrefix20220218\scanPath($argv[1]);
exit($ok ? 0 : 1);
function scanPath(string $path) : bool
{
@@ -40,7 +40,7 @@ function scanPath(string $path) : bool
$success = \true;
foreach ($it as $file) {
echo \str_pad(\str_repeat('.', $counter++ % 40), 40), "\r";
- $success = \RectorPrefix20220217\lintFile((string) $file) && $success;
+ $success = \RectorPrefix20220218\lintFile((string) $file) && $success;
}
echo \str_pad('', 40), "\r";
echo "Done.\n";
@@ -61,9 +61,9 @@ function lintFile(string $file) : bool
$contents = \substr($s, 3);
}
try {
- \RectorPrefix20220217\Nette\Neon\Neon::decode($s);
+ \RectorPrefix20220218\Nette\Neon\Neon::decode($s);
return \true;
- } catch (\RectorPrefix20220217\Nette\Neon\Exception $e) {
+ } catch (\RectorPrefix20220218\Nette\Neon\Exception $e) {
\fwrite(\STDERR, "[ERROR] {$file} {$e->getMessage()}\n");
} finally {
\restore_error_handler();
diff --git a/vendor/nette/neon/src/Neon/Decoder.php b/vendor/nette/neon/src/Neon/Decoder.php
index 6604a0d451e..790d5287471 100644
--- a/vendor/nette/neon/src/Neon/Decoder.php
+++ b/vendor/nette/neon/src/Neon/Decoder.php
@@ -5,7 +5,7 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon;
+namespace RectorPrefix20220218\Nette\Neon;
/**
* Parser for Nette Object Notation.
@@ -22,10 +22,10 @@ final class Decoder
$node = $this->parseToNode($input);
return $node->toValue();
}
- public function parseToNode(string $input) : \RectorPrefix20220217\Nette\Neon\Node
+ public function parseToNode(string $input) : \RectorPrefix20220218\Nette\Neon\Node
{
- $lexer = new \RectorPrefix20220217\Nette\Neon\Lexer();
- $parser = new \RectorPrefix20220217\Nette\Neon\Parser();
+ $lexer = new \RectorPrefix20220218\Nette\Neon\Lexer();
+ $parser = new \RectorPrefix20220218\Nette\Neon\Parser();
$tokens = $lexer->tokenize($input);
return $parser->parse($tokens);
}
diff --git a/vendor/nette/neon/src/Neon/Encoder.php b/vendor/nette/neon/src/Neon/Encoder.php
index 57f59e10e8c..e9d043a42a7 100644
--- a/vendor/nette/neon/src/Neon/Encoder.php
+++ b/vendor/nette/neon/src/Neon/Encoder.php
@@ -5,7 +5,7 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon;
+namespace RectorPrefix20220218\Nette\Neon;
/**
* Converts value to NEON format.
@@ -27,31 +27,31 @@ final class Encoder
$node = $this->valueToNode($val, $this->blockMode);
return $node->toString();
}
- public function valueToNode($val, bool $blockMode = \false) : \RectorPrefix20220217\Nette\Neon\Node
+ public function valueToNode($val, bool $blockMode = \false) : \RectorPrefix20220218\Nette\Neon\Node
{
if ($val instanceof \DateTimeInterface) {
- return new \RectorPrefix20220217\Nette\Neon\Node\LiteralNode($val);
- } elseif ($val instanceof \RectorPrefix20220217\Nette\Neon\Entity && $val->value === \RectorPrefix20220217\Nette\Neon\Neon::CHAIN) {
- $node = new \RectorPrefix20220217\Nette\Neon\Node\EntityChainNode();
+ return new \RectorPrefix20220218\Nette\Neon\Node\LiteralNode($val);
+ } elseif ($val instanceof \RectorPrefix20220218\Nette\Neon\Entity && $val->value === \RectorPrefix20220218\Nette\Neon\Neon::CHAIN) {
+ $node = new \RectorPrefix20220218\Nette\Neon\Node\EntityChainNode();
foreach ($val->attributes as $entity) {
$node->chain[] = $this->valueToNode($entity);
}
return $node;
- } elseif ($val instanceof \RectorPrefix20220217\Nette\Neon\Entity) {
- return new \RectorPrefix20220217\Nette\Neon\Node\EntityNode($this->valueToNode($val->value), $this->arrayToNodes((array) $val->attributes));
+ } elseif ($val instanceof \RectorPrefix20220218\Nette\Neon\Entity) {
+ return new \RectorPrefix20220218\Nette\Neon\Node\EntityNode($this->valueToNode($val->value), $this->arrayToNodes((array) $val->attributes));
} elseif (\is_object($val) || \is_array($val)) {
if ($blockMode) {
- $node = new \RectorPrefix20220217\Nette\Neon\Node\BlockArrayNode();
+ $node = new \RectorPrefix20220218\Nette\Neon\Node\BlockArrayNode();
} else {
$isList = \is_array($val) && (!$val || \array_keys($val) === \range(0, \count($val) - 1));
- $node = new \RectorPrefix20220217\Nette\Neon\Node\InlineArrayNode($isList ? '[' : '{');
+ $node = new \RectorPrefix20220218\Nette\Neon\Node\InlineArrayNode($isList ? '[' : '{');
}
$node->items = $this->arrayToNodes($val, $blockMode);
return $node;
- } elseif (\is_string($val) && \RectorPrefix20220217\Nette\Neon\Lexer::requiresDelimiters($val)) {
- return new \RectorPrefix20220217\Nette\Neon\Node\StringNode($val);
+ } elseif (\is_string($val) && \RectorPrefix20220218\Nette\Neon\Lexer::requiresDelimiters($val)) {
+ return new \RectorPrefix20220218\Nette\Neon\Node\StringNode($val);
} else {
- return new \RectorPrefix20220217\Nette\Neon\Node\LiteralNode($val);
+ return new \RectorPrefix20220218\Nette\Neon\Node\LiteralNode($val);
}
}
private function arrayToNodes($val, bool $blockMode = \false) : array
@@ -60,10 +60,10 @@ final class Encoder
$counter = 0;
$hide = \true;
foreach ($val as $k => $v) {
- $res[] = $item = new \RectorPrefix20220217\Nette\Neon\Node\ArrayItemNode();
+ $res[] = $item = new \RectorPrefix20220218\Nette\Neon\Node\ArrayItemNode();
$item->key = $hide && $k === $counter ? null : self::valueToNode($k);
$item->value = self::valueToNode($v, $blockMode);
- if ($item->value instanceof \RectorPrefix20220217\Nette\Neon\Node\BlockArrayNode) {
+ if ($item->value instanceof \RectorPrefix20220218\Nette\Neon\Node\BlockArrayNode) {
$item->value->indentation = $this->indentation;
}
if ($hide && \is_int($k)) {
diff --git a/vendor/nette/neon/src/Neon/Entity.php b/vendor/nette/neon/src/Neon/Entity.php
index 38f8965a9d1..ec8a88c5669 100644
--- a/vendor/nette/neon/src/Neon/Entity.php
+++ b/vendor/nette/neon/src/Neon/Entity.php
@@ -5,7 +5,7 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon;
+namespace RectorPrefix20220218\Nette\Neon;
/**
* Representation of NEON entity 'foo(bar=1)'
diff --git a/vendor/nette/neon/src/Neon/Exception.php b/vendor/nette/neon/src/Neon/Exception.php
index e170c912225..8d6a8b35783 100644
--- a/vendor/nette/neon/src/Neon/Exception.php
+++ b/vendor/nette/neon/src/Neon/Exception.php
@@ -5,7 +5,7 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon;
+namespace RectorPrefix20220218\Nette\Neon;
/**
* The exception that indicates error of NEON processing.
diff --git a/vendor/nette/neon/src/Neon/Lexer.php b/vendor/nette/neon/src/Neon/Lexer.php
index 40cc476053d..ea022b76fa5 100644
--- a/vendor/nette/neon/src/Neon/Lexer.php
+++ b/vendor/nette/neon/src/Neon/Lexer.php
@@ -5,21 +5,21 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon;
+namespace RectorPrefix20220218\Nette\Neon;
/** @internal */
final class Lexer
{
public const PATTERNS = [
// strings
- \RectorPrefix20220217\Nette\Neon\Token::STRING => '
+ \RectorPrefix20220218\Nette\Neon\Token::STRING => '
\'\'\'\\n (?:(?: [^\\n] | \\n(?![\\t\\ ]*+\'\'\') )*+ \\n)?[\\t\\ ]*+\'\'\' |
"""\\n (?:(?: [^\\n] | \\n(?![\\t\\ ]*+""") )*+ \\n)?[\\t\\ ]*+""" |
\' (?: \'\' | [^\'\\n] )*+ \' |
" (?: \\\\. | [^"\\\\\\n] )*+ "
',
// literal / boolean / integer / float
- \RectorPrefix20220217\Nette\Neon\Token::LITERAL => '
+ \RectorPrefix20220218\Nette\Neon\Token::LITERAL => '
(?: [^#"\',:=[\\]{}()\\n\\t\\ `-] | (? '[,:=[\\]{}()-]',
+ \RectorPrefix20220218\Nette\Neon\Token::CHAR => '[,:=[\\]{}()-]',
// comment
- \RectorPrefix20220217\Nette\Neon\Token::COMMENT => '\\#.*+',
+ \RectorPrefix20220218\Nette\Neon\Token::COMMENT => '\\#.*+',
// new line
- \RectorPrefix20220217\Nette\Neon\Token::NEWLINE => '\\n++',
+ \RectorPrefix20220218\Nette\Neon\Token::NEWLINE => '\\n++',
// whitespace
- \RectorPrefix20220217\Nette\Neon\Token::WHITESPACE => '[\\t\\ ]++',
+ \RectorPrefix20220218\Nette\Neon\Token::WHITESPACE => '[\\t\\ ]++',
];
- public function tokenize(string $input) : \RectorPrefix20220217\Nette\Neon\TokenStream
+ public function tokenize(string $input) : \RectorPrefix20220218\Nette\Neon\TokenStream
{
$input = \str_replace("\r", '', $input);
$pattern = '~(' . \implode(')|(', self::PATTERNS) . ')~Amixu';
$res = \preg_match_all($pattern, $input, $tokens, \PREG_SET_ORDER);
if ($res === \false) {
- throw new \RectorPrefix20220217\Nette\Neon\Exception('Invalid UTF-8 sequence.');
+ throw new \RectorPrefix20220218\Nette\Neon\Exception('Invalid UTF-8 sequence.');
}
$types = \array_keys(self::PATTERNS);
$offset = 0;
@@ -53,16 +53,16 @@ final class Lexer
break;
} elseif ($token[$i] !== '') {
$type = $types[$i - 1];
- if ($type === \RectorPrefix20220217\Nette\Neon\Token::CHAR) {
+ if ($type === \RectorPrefix20220218\Nette\Neon\Token::CHAR) {
$type = $token[0];
}
break;
}
}
- $token = new \RectorPrefix20220217\Nette\Neon\Token($token[0], $offset, $type);
+ $token = new \RectorPrefix20220218\Nette\Neon\Token($token[0], $offset, $type);
$offset += \strlen($token->value);
}
- $stream = new \RectorPrefix20220217\Nette\Neon\TokenStream($tokens);
+ $stream = new \RectorPrefix20220218\Nette\Neon\TokenStream($tokens);
if ($offset !== \strlen($input)) {
$s = \str_replace("\n", '\\n', \substr($input, $offset, 40));
$stream->error("Unexpected '{$s}'", \count($tokens));
@@ -71,6 +71,6 @@ final class Lexer
}
public static function requiresDelimiters(string $s) : bool
{
- return \preg_match('~[\\x00-\\x1F]|^[+-.]?\\d|^(true|false|yes|no|on|off|null)$~Di', $s) || !\preg_match('~^' . self::PATTERNS[\RectorPrefix20220217\Nette\Neon\Token::LITERAL] . '$~Dx', $s);
+ return \preg_match('~[\\x00-\\x1F]|^[+-.]?\\d|^(true|false|yes|no|on|off|null)$~Di', $s) || !\preg_match('~^' . self::PATTERNS[\RectorPrefix20220218\Nette\Neon\Token::LITERAL] . '$~Dx', $s);
}
}
diff --git a/vendor/nette/neon/src/Neon/Neon.php b/vendor/nette/neon/src/Neon/Neon.php
index 05df02f137e..b3522c54ed1 100644
--- a/vendor/nette/neon/src/Neon/Neon.php
+++ b/vendor/nette/neon/src/Neon/Neon.php
@@ -5,7 +5,7 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon;
+namespace RectorPrefix20220218\Nette\Neon;
/**
* Simple parser & generator for Nette Object Notation.
@@ -13,14 +13,14 @@ namespace RectorPrefix20220217\Nette\Neon;
*/
final class Neon
{
- public const BLOCK = \RectorPrefix20220217\Nette\Neon\Encoder::BLOCK;
+ public const BLOCK = \RectorPrefix20220218\Nette\Neon\Encoder::BLOCK;
public const CHAIN = '!!chain';
/**
* Returns value converted to NEON.
*/
public static function encode($value, bool $blockMode = \false, string $indentation = "\t") : string
{
- $encoder = new \RectorPrefix20220217\Nette\Neon\Encoder();
+ $encoder = new \RectorPrefix20220218\Nette\Neon\Encoder();
$encoder->blockMode = $blockMode;
$encoder->indentation = $indentation;
return $encoder->encode($value);
@@ -31,7 +31,7 @@ final class Neon
*/
public static function decode(string $input)
{
- $decoder = new \RectorPrefix20220217\Nette\Neon\Decoder();
+ $decoder = new \RectorPrefix20220218\Nette\Neon\Decoder();
return $decoder->decode($input);
}
/**
@@ -41,7 +41,7 @@ final class Neon
public static function decodeFile(string $file)
{
if (!\is_file($file)) {
- throw new \RectorPrefix20220217\Nette\Neon\Exception("File '{$file}' does not exist.");
+ throw new \RectorPrefix20220218\Nette\Neon\Exception("File '{$file}' does not exist.");
}
$input = \file_get_contents($file);
if (\substr($input, 0, 3) === "") {
diff --git a/vendor/nette/neon/src/Neon/Node.php b/vendor/nette/neon/src/Neon/Node.php
index 1208a8914b8..e914d1dc5c7 100644
--- a/vendor/nette/neon/src/Neon/Node.php
+++ b/vendor/nette/neon/src/Neon/Node.php
@@ -5,7 +5,7 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon;
+namespace RectorPrefix20220218\Nette\Neon;
/** @internal */
abstract class Node
diff --git a/vendor/nette/neon/src/Neon/Node/ArrayItemNode.php b/vendor/nette/neon/src/Neon/Node/ArrayItemNode.php
index 924d2a6eb59..26e755214e2 100644
--- a/vendor/nette/neon/src/Neon/Node/ArrayItemNode.php
+++ b/vendor/nette/neon/src/Neon/Node/ArrayItemNode.php
@@ -5,11 +5,11 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon\Node;
+namespace RectorPrefix20220218\Nette\Neon\Node;
-use RectorPrefix20220217\Nette\Neon\Node;
+use RectorPrefix20220218\Nette\Neon\Node;
/** @internal */
-final class ArrayItemNode extends \RectorPrefix20220217\Nette\Neon\Node
+final class ArrayItemNode extends \RectorPrefix20220218\Nette\Neon\Node
{
/** @var ?Node */
public $key;
@@ -47,7 +47,7 @@ final class ArrayItemNode extends \RectorPrefix20220217\Nette\Neon\Node
$res = '';
foreach ($items as $item) {
$v = $item->value->toString();
- $res .= ($item->key ? $item->key->toString() . ':' : '-') . ($item->value instanceof \RectorPrefix20220217\Nette\Neon\Node\BlockArrayNode && $item->value->items ? "\n" . $v . (\substr($v, -2, 1) === "\n" ? '' : "\n") : ' ' . $v . "\n");
+ $res .= ($item->key ? $item->key->toString() . ':' : '-') . ($item->value instanceof \RectorPrefix20220218\Nette\Neon\Node\BlockArrayNode && $item->value->items ? "\n" . $v . (\substr($v, -2, 1) === "\n" ? '' : "\n") : ' ' . $v . "\n");
}
return $res;
}
diff --git a/vendor/nette/neon/src/Neon/Node/ArrayNode.php b/vendor/nette/neon/src/Neon/Node/ArrayNode.php
index 85c5a045110..c6e2c799f34 100644
--- a/vendor/nette/neon/src/Neon/Node/ArrayNode.php
+++ b/vendor/nette/neon/src/Neon/Node/ArrayNode.php
@@ -5,17 +5,17 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon\Node;
+namespace RectorPrefix20220218\Nette\Neon\Node;
-use RectorPrefix20220217\Nette\Neon\Node;
+use RectorPrefix20220218\Nette\Neon\Node;
/** @internal */
-abstract class ArrayNode extends \RectorPrefix20220217\Nette\Neon\Node
+abstract class ArrayNode extends \RectorPrefix20220218\Nette\Neon\Node
{
/** @var ArrayItemNode[] */
public $items = [];
public function toValue() : array
{
- return \RectorPrefix20220217\Nette\Neon\Node\ArrayItemNode::itemsToArray($this->items);
+ return \RectorPrefix20220218\Nette\Neon\Node\ArrayItemNode::itemsToArray($this->items);
}
public function getSubNodes() : array
{
diff --git a/vendor/nette/neon/src/Neon/Node/BlockArrayNode.php b/vendor/nette/neon/src/Neon/Node/BlockArrayNode.php
index 7dfae9722eb..d40ac999f9f 100644
--- a/vendor/nette/neon/src/Neon/Node/BlockArrayNode.php
+++ b/vendor/nette/neon/src/Neon/Node/BlockArrayNode.php
@@ -5,10 +5,10 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon\Node;
+namespace RectorPrefix20220218\Nette\Neon\Node;
/** @internal */
-final class BlockArrayNode extends \RectorPrefix20220217\Nette\Neon\Node\ArrayNode
+final class BlockArrayNode extends \RectorPrefix20220218\Nette\Neon\Node\ArrayNode
{
/** @var string */
public $indentation;
@@ -22,7 +22,7 @@ final class BlockArrayNode extends \RectorPrefix20220217\Nette\Neon\Node\ArrayNo
if (\count($this->items) === 0) {
return '[]';
}
- $res = \RectorPrefix20220217\Nette\Neon\Node\ArrayItemNode::itemsToBlockString($this->items);
+ $res = \RectorPrefix20220218\Nette\Neon\Node\ArrayItemNode::itemsToBlockString($this->items);
return \preg_replace('#^(?=.)#m', $this->indentation, $res);
}
}
diff --git a/vendor/nette/neon/src/Neon/Node/EntityChainNode.php b/vendor/nette/neon/src/Neon/Node/EntityChainNode.php
index 8d34dce4145..97b1ebbdb5d 100644
--- a/vendor/nette/neon/src/Neon/Node/EntityChainNode.php
+++ b/vendor/nette/neon/src/Neon/Node/EntityChainNode.php
@@ -5,12 +5,12 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon\Node;
+namespace RectorPrefix20220218\Nette\Neon\Node;
-use RectorPrefix20220217\Nette\Neon;
-use RectorPrefix20220217\Nette\Neon\Node;
+use RectorPrefix20220218\Nette\Neon;
+use RectorPrefix20220218\Nette\Neon\Node;
/** @internal */
-final class EntityChainNode extends \RectorPrefix20220217\Nette\Neon\Node
+final class EntityChainNode extends \RectorPrefix20220218\Nette\Neon\Node
{
/** @var EntityNode[] */
public $chain = [];
@@ -20,13 +20,13 @@ final class EntityChainNode extends \RectorPrefix20220217\Nette\Neon\Node
$this->startPos = $startPos;
$this->endPos = $endPos ?? $startPos;
}
- public function toValue() : \RectorPrefix20220217\Nette\Neon\Entity
+ public function toValue() : \RectorPrefix20220218\Nette\Neon\Entity
{
$entities = [];
foreach ($this->chain as $item) {
$entities[] = $item->toValue();
}
- return new \RectorPrefix20220217\Nette\Neon\Entity(\RectorPrefix20220217\Nette\Neon\Neon::CHAIN, $entities);
+ return new \RectorPrefix20220218\Nette\Neon\Entity(\RectorPrefix20220218\Nette\Neon\Neon::CHAIN, $entities);
}
public function toString() : string
{
diff --git a/vendor/nette/neon/src/Neon/Node/EntityNode.php b/vendor/nette/neon/src/Neon/Node/EntityNode.php
index e5b8cd56227..95334f79694 100644
--- a/vendor/nette/neon/src/Neon/Node/EntityNode.php
+++ b/vendor/nette/neon/src/Neon/Node/EntityNode.php
@@ -5,31 +5,31 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon\Node;
+namespace RectorPrefix20220218\Nette\Neon\Node;
-use RectorPrefix20220217\Nette\Neon\Entity;
-use RectorPrefix20220217\Nette\Neon\Node;
+use RectorPrefix20220218\Nette\Neon\Entity;
+use RectorPrefix20220218\Nette\Neon\Node;
/** @internal */
-final class EntityNode extends \RectorPrefix20220217\Nette\Neon\Node
+final class EntityNode extends \RectorPrefix20220218\Nette\Neon\Node
{
/** @var Node */
public $value;
/** @var ArrayItemNode[] */
public $attributes = [];
- public function __construct(\RectorPrefix20220217\Nette\Neon\Node $value, array $attributes, int $startPos = null, int $endPos = null)
+ public function __construct(\RectorPrefix20220218\Nette\Neon\Node $value, array $attributes, int $startPos = null, int $endPos = null)
{
$this->value = $value;
$this->attributes = $attributes;
$this->startPos = $startPos;
$this->endPos = $endPos ?? $startPos;
}
- public function toValue() : \RectorPrefix20220217\Nette\Neon\Entity
+ public function toValue() : \RectorPrefix20220218\Nette\Neon\Entity
{
- return new \RectorPrefix20220217\Nette\Neon\Entity($this->value->toValue(), \RectorPrefix20220217\Nette\Neon\Node\ArrayItemNode::itemsToArray($this->attributes));
+ return new \RectorPrefix20220218\Nette\Neon\Entity($this->value->toValue(), \RectorPrefix20220218\Nette\Neon\Node\ArrayItemNode::itemsToArray($this->attributes));
}
public function toString() : string
{
- return $this->value->toString() . '(' . ($this->attributes ? \RectorPrefix20220217\Nette\Neon\Node\ArrayItemNode::itemsToInlineString($this->attributes) : '') . ')';
+ return $this->value->toString() . '(' . ($this->attributes ? \RectorPrefix20220218\Nette\Neon\Node\ArrayItemNode::itemsToInlineString($this->attributes) : '') . ')';
}
public function getSubNodes() : array
{
diff --git a/vendor/nette/neon/src/Neon/Node/InlineArrayNode.php b/vendor/nette/neon/src/Neon/Node/InlineArrayNode.php
index dc09ac2222f..7cdb1a84e5e 100644
--- a/vendor/nette/neon/src/Neon/Node/InlineArrayNode.php
+++ b/vendor/nette/neon/src/Neon/Node/InlineArrayNode.php
@@ -5,10 +5,10 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon\Node;
+namespace RectorPrefix20220218\Nette\Neon\Node;
/** @internal */
-final class InlineArrayNode extends \RectorPrefix20220217\Nette\Neon\Node\ArrayNode
+final class InlineArrayNode extends \RectorPrefix20220218\Nette\Neon\Node\ArrayNode
{
/** @var string */
public $bracket;
@@ -19,6 +19,6 @@ final class InlineArrayNode extends \RectorPrefix20220217\Nette\Neon\Node\ArrayN
}
public function toString() : string
{
- return $this->bracket . \RectorPrefix20220217\Nette\Neon\Node\ArrayItemNode::itemsToInlineString($this->items) . ['[' => ']', '{' => '}', '(' => ')'][$this->bracket];
+ return $this->bracket . \RectorPrefix20220218\Nette\Neon\Node\ArrayItemNode::itemsToInlineString($this->items) . ['[' => ']', '{' => '}', '(' => ')'][$this->bracket];
}
}
diff --git a/vendor/nette/neon/src/Neon/Node/LiteralNode.php b/vendor/nette/neon/src/Neon/Node/LiteralNode.php
index 6383b388a01..89752be2e29 100644
--- a/vendor/nette/neon/src/Neon/Node/LiteralNode.php
+++ b/vendor/nette/neon/src/Neon/Node/LiteralNode.php
@@ -5,11 +5,11 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon\Node;
+namespace RectorPrefix20220218\Nette\Neon\Node;
-use RectorPrefix20220217\Nette\Neon\Node;
+use RectorPrefix20220218\Nette\Neon\Node;
/** @internal */
-final class LiteralNode extends \RectorPrefix20220217\Nette\Neon\Node
+final class LiteralNode extends \RectorPrefix20220218\Nette\Neon\Node
{
private const SIMPLE_TYPES = ['true' => \true, 'True' => \true, 'TRUE' => \true, 'yes' => \true, 'Yes' => \true, 'YES' => \true, 'on' => \true, 'On' => \true, 'ON' => \true, 'false' => \false, 'False' => \false, 'FALSE' => \false, 'no' => \false, 'No' => \false, 'NO' => \false, 'off' => \false, 'Off' => \false, 'OFF' => \false, 'null' => null, 'Null' => null, 'NULL' => null];
private const DEPRECATED_TYPES = ['on' => 1, 'On' => 1, 'ON' => 1, 'off' => 1, 'Off' => 1, 'OFF' => 1];
diff --git a/vendor/nette/neon/src/Neon/Node/StringNode.php b/vendor/nette/neon/src/Neon/Node/StringNode.php
index f0d8e0b6148..a9a944f1146 100644
--- a/vendor/nette/neon/src/Neon/Node/StringNode.php
+++ b/vendor/nette/neon/src/Neon/Node/StringNode.php
@@ -5,12 +5,12 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon\Node;
+namespace RectorPrefix20220218\Nette\Neon\Node;
-use RectorPrefix20220217\Nette;
-use RectorPrefix20220217\Nette\Neon\Node;
+use RectorPrefix20220218\Nette;
+use RectorPrefix20220218\Nette\Neon\Node;
/** @internal */
-final class StringNode extends \RectorPrefix20220217\Nette\Neon\Node
+final class StringNode extends \RectorPrefix20220218\Nette\Neon\Node
{
private const ESCAPE_SEQUENCES = ['t' => "\t", 'n' => "\n", 'r' => "\r", 'f' => "\f", 'b' => "\10", '"' => '"', '\\' => '\\', '/' => '/', '_' => " "];
/** @var string */
@@ -48,12 +48,12 @@ final class StringNode extends \RectorPrefix20220217\Nette\Neon\Node
if (($res = \json_decode('"' . $sq . '"')) !== null) {
return $res;
}
- throw new \RectorPrefix20220217\Nette\Neon\Exception("Invalid UTF-8 sequence {$sq}");
+ throw new \RectorPrefix20220218\Nette\Neon\Exception("Invalid UTF-8 sequence {$sq}");
} elseif ($sq[1] === 'x' && \strlen($sq) === 4) {
\trigger_error("Neon: '{$sq}' is deprecated, use '\\uXXXX' instead.", \E_USER_DEPRECATED);
return \chr(\hexdec(\substr($sq, 2)));
} else {
- throw new \RectorPrefix20220217\Nette\Neon\Exception("Invalid escaping sequence {$sq}");
+ throw new \RectorPrefix20220218\Nette\Neon\Exception("Invalid escaping sequence {$sq}");
}
}, $res);
}
@@ -61,7 +61,7 @@ final class StringNode extends \RectorPrefix20220217\Nette\Neon\Node
{
$res = \json_encode($this->value, \JSON_UNESCAPED_UNICODE | \JSON_UNESCAPED_SLASHES);
if ($res === \false) {
- throw new \RectorPrefix20220217\Nette\Neon\Exception('Invalid UTF-8 sequence: ' . $this->value);
+ throw new \RectorPrefix20220218\Nette\Neon\Exception('Invalid UTF-8 sequence: ' . $this->value);
}
if (\strpos($this->value, "\n") !== \false) {
$res = \preg_replace_callback('#[^\\\\]|\\\\(.)#s', function ($m) {
diff --git a/vendor/nette/neon/src/Neon/Parser.php b/vendor/nette/neon/src/Neon/Parser.php
index ccec0a25100..10ff5557177 100644
--- a/vendor/nette/neon/src/Neon/Parser.php
+++ b/vendor/nette/neon/src/Neon/Parser.php
@@ -5,36 +5,36 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon;
+namespace RectorPrefix20220218\Nette\Neon;
/** @internal */
final class Parser
{
/** @var TokenStream */
private $tokens;
- public function parse(\RectorPrefix20220217\Nette\Neon\TokenStream $tokens) : \RectorPrefix20220217\Nette\Neon\Node
+ public function parse(\RectorPrefix20220218\Nette\Neon\TokenStream $tokens) : \RectorPrefix20220218\Nette\Neon\Node
{
$this->tokens = $tokens;
- while ($this->tokens->consume(\RectorPrefix20220217\Nette\Neon\Token::NEWLINE)) {
+ while ($this->tokens->consume(\RectorPrefix20220218\Nette\Neon\Token::NEWLINE)) {
}
$node = $this->parseBlock($this->tokens->getIndentation());
- while ($this->tokens->consume(\RectorPrefix20220217\Nette\Neon\Token::NEWLINE)) {
+ while ($this->tokens->consume(\RectorPrefix20220218\Nette\Neon\Token::NEWLINE)) {
}
if ($this->tokens->isNext()) {
$this->tokens->error();
}
return $node;
}
- private function parseBlock(string $indent, bool $onlyBullets = \false) : \RectorPrefix20220217\Nette\Neon\Node
+ private function parseBlock(string $indent, bool $onlyBullets = \false) : \RectorPrefix20220218\Nette\Neon\Node
{
- $res = new \RectorPrefix20220217\Nette\Neon\Node\BlockArrayNode($indent, $this->tokens->getPos());
+ $res = new \RectorPrefix20220218\Nette\Neon\Node\BlockArrayNode($indent, $this->tokens->getPos());
$keyCheck = [];
loop:
- $item = new \RectorPrefix20220217\Nette\Neon\Node\ArrayItemNode($this->tokens->getPos());
+ $item = new \RectorPrefix20220218\Nette\Neon\Node\ArrayItemNode($this->tokens->getPos());
if ($this->tokens->consume('-')) {
// continue
} elseif (!$this->tokens->isNext() || $onlyBullets) {
- return $res->items ? $res : new \RectorPrefix20220217\Nette\Neon\Node\LiteralNode(null, $this->tokens->getPos());
+ return $res->items ? $res : new \RectorPrefix20220218\Nette\Neon\Node\LiteralNode(null, $this->tokens->getPos());
} else {
$value = $this->parseValue();
if ($this->tokens->consume(':', '=')) {
@@ -48,9 +48,9 @@ final class Parser
}
}
$res->items[] = $item;
- $item->value = new \RectorPrefix20220217\Nette\Neon\Node\LiteralNode(null, $this->tokens->getPos());
- if ($this->tokens->consume(\RectorPrefix20220217\Nette\Neon\Token::NEWLINE)) {
- while ($this->tokens->consume(\RectorPrefix20220217\Nette\Neon\Token::NEWLINE)) {
+ $item->value = new \RectorPrefix20220218\Nette\Neon\Node\LiteralNode(null, $this->tokens->getPos());
+ if ($this->tokens->consume(\RectorPrefix20220218\Nette\Neon\Token::NEWLINE)) {
+ while ($this->tokens->consume(\RectorPrefix20220218\Nette\Neon\Token::NEWLINE)) {
}
$nextIndent = $this->tokens->getIndentation();
if (\strncmp($nextIndent, $indent, \min(\strlen($nextIndent), \strlen($indent)))) {
@@ -70,15 +70,15 @@ final class Parser
// open new block after dash
} elseif ($this->tokens->isNext()) {
$item->value = $this->parseValue();
- if ($this->tokens->isNext() && !$this->tokens->isNext(\RectorPrefix20220217\Nette\Neon\Token::NEWLINE)) {
+ if ($this->tokens->isNext() && !$this->tokens->isNext(\RectorPrefix20220218\Nette\Neon\Token::NEWLINE)) {
$this->tokens->error();
}
}
- if ($item->value instanceof \RectorPrefix20220217\Nette\Neon\Node\BlockArrayNode) {
+ if ($item->value instanceof \RectorPrefix20220218\Nette\Neon\Node\BlockArrayNode) {
$item->value->indentation = \substr($item->value->indentation, \strlen($indent));
}
$res->endPos = $item->endPos = $item->value->endPos;
- while ($this->tokens->consume(\RectorPrefix20220217\Nette\Neon\Token::NEWLINE)) {
+ while ($this->tokens->consume(\RectorPrefix20220218\Nette\Neon\Token::NEWLINE)) {
}
if (!$this->tokens->isNext()) {
return $res;
@@ -94,17 +94,17 @@ final class Parser
}
goto loop;
}
- private function parseValue() : \RectorPrefix20220217\Nette\Neon\Node
+ private function parseValue() : \RectorPrefix20220218\Nette\Neon\Node
{
- if ($token = $this->tokens->consume(\RectorPrefix20220217\Nette\Neon\Token::STRING)) {
+ if ($token = $this->tokens->consume(\RectorPrefix20220218\Nette\Neon\Token::STRING)) {
try {
- $node = new \RectorPrefix20220217\Nette\Neon\Node\StringNode(\RectorPrefix20220217\Nette\Neon\Node\StringNode::parse($token->value), $this->tokens->getPos() - 1);
- } catch (\RectorPrefix20220217\Nette\Neon\Exception $e) {
+ $node = new \RectorPrefix20220218\Nette\Neon\Node\StringNode(\RectorPrefix20220218\Nette\Neon\Node\StringNode::parse($token->value), $this->tokens->getPos() - 1);
+ } catch (\RectorPrefix20220218\Nette\Neon\Exception $e) {
$this->tokens->error($e->getMessage(), $this->tokens->getPos() - 1);
}
- } elseif ($token = $this->tokens->consume(\RectorPrefix20220217\Nette\Neon\Token::LITERAL)) {
+ } elseif ($token = $this->tokens->consume(\RectorPrefix20220218\Nette\Neon\Token::LITERAL)) {
$pos = $this->tokens->getPos() - 1;
- $node = new \RectorPrefix20220217\Nette\Neon\Node\LiteralNode(\RectorPrefix20220217\Nette\Neon\Node\LiteralNode::parse($token->value, $this->tokens->isNext(':', '=')), $pos);
+ $node = new \RectorPrefix20220218\Nette\Neon\Node\LiteralNode(\RectorPrefix20220218\Nette\Neon\Node\LiteralNode::parse($token->value, $this->tokens->isNext(':', '=')), $pos);
} elseif ($this->tokens->isNext('[', '(', '{')) {
$node = $this->parseBraces();
} else {
@@ -112,61 +112,61 @@ final class Parser
}
return $this->parseEntity($node);
}
- private function parseEntity(\RectorPrefix20220217\Nette\Neon\Node $node) : \RectorPrefix20220217\Nette\Neon\Node
+ private function parseEntity(\RectorPrefix20220218\Nette\Neon\Node $node) : \RectorPrefix20220218\Nette\Neon\Node
{
if (!$this->tokens->isNext('(')) {
return $node;
}
$attributes = $this->parseBraces();
- $entities[] = new \RectorPrefix20220217\Nette\Neon\Node\EntityNode($node, $attributes->items, $node->startPos, $attributes->endPos);
- while ($token = $this->tokens->consume(\RectorPrefix20220217\Nette\Neon\Token::LITERAL)) {
- $valueNode = new \RectorPrefix20220217\Nette\Neon\Node\LiteralNode(\RectorPrefix20220217\Nette\Neon\Node\LiteralNode::parse($token->value), $this->tokens->getPos() - 1);
+ $entities[] = new \RectorPrefix20220218\Nette\Neon\Node\EntityNode($node, $attributes->items, $node->startPos, $attributes->endPos);
+ while ($token = $this->tokens->consume(\RectorPrefix20220218\Nette\Neon\Token::LITERAL)) {
+ $valueNode = new \RectorPrefix20220218\Nette\Neon\Node\LiteralNode(\RectorPrefix20220218\Nette\Neon\Node\LiteralNode::parse($token->value), $this->tokens->getPos() - 1);
if ($this->tokens->isNext('(')) {
$attributes = $this->parseBraces();
- $entities[] = new \RectorPrefix20220217\Nette\Neon\Node\EntityNode($valueNode, $attributes->items, $valueNode->startPos, $attributes->endPos);
+ $entities[] = new \RectorPrefix20220218\Nette\Neon\Node\EntityNode($valueNode, $attributes->items, $valueNode->startPos, $attributes->endPos);
} else {
- $entities[] = new \RectorPrefix20220217\Nette\Neon\Node\EntityNode($valueNode, [], $valueNode->startPos);
+ $entities[] = new \RectorPrefix20220218\Nette\Neon\Node\EntityNode($valueNode, [], $valueNode->startPos);
break;
}
}
- return \count($entities) === 1 ? $entities[0] : new \RectorPrefix20220217\Nette\Neon\Node\EntityChainNode($entities, $node->startPos, \end($entities)->endPos);
+ return \count($entities) === 1 ? $entities[0] : new \RectorPrefix20220218\Nette\Neon\Node\EntityChainNode($entities, $node->startPos, \end($entities)->endPos);
}
- private function parseBraces() : \RectorPrefix20220217\Nette\Neon\Node\InlineArrayNode
+ private function parseBraces() : \RectorPrefix20220218\Nette\Neon\Node\InlineArrayNode
{
$token = $this->tokens->consume();
$endBrace = ['[' => ']', '{' => '}', '(' => ')'][$token->value];
- $res = new \RectorPrefix20220217\Nette\Neon\Node\InlineArrayNode($token->value, $this->tokens->getPos() - 1);
+ $res = new \RectorPrefix20220218\Nette\Neon\Node\InlineArrayNode($token->value, $this->tokens->getPos() - 1);
$keyCheck = [];
loop:
- while ($this->tokens->consume(\RectorPrefix20220217\Nette\Neon\Token::NEWLINE)) {
+ while ($this->tokens->consume(\RectorPrefix20220218\Nette\Neon\Token::NEWLINE)) {
}
if ($this->tokens->consume($endBrace)) {
$res->endPos = $this->tokens->getPos() - 1;
return $res;
}
- $res->items[] = $item = new \RectorPrefix20220217\Nette\Neon\Node\ArrayItemNode($this->tokens->getPos());
+ $res->items[] = $item = new \RectorPrefix20220218\Nette\Neon\Node\ArrayItemNode($this->tokens->getPos());
$value = $this->parseValue();
if ($this->tokens->consume(':', '=')) {
$this->checkArrayKey($value, $keyCheck);
$item->key = $value;
- $item->value = $this->tokens->isNext(\RectorPrefix20220217\Nette\Neon\Token::NEWLINE, ',', $endBrace) ? new \RectorPrefix20220217\Nette\Neon\Node\LiteralNode(null, $this->tokens->getPos()) : $this->parseValue();
+ $item->value = $this->tokens->isNext(\RectorPrefix20220218\Nette\Neon\Token::NEWLINE, ',', $endBrace) ? new \RectorPrefix20220218\Nette\Neon\Node\LiteralNode(null, $this->tokens->getPos()) : $this->parseValue();
} else {
$item->value = $value;
}
$item->endPos = $item->value->endPos;
- if ($this->tokens->consume(',', \RectorPrefix20220217\Nette\Neon\Token::NEWLINE)) {
+ if ($this->tokens->consume(',', \RectorPrefix20220218\Nette\Neon\Token::NEWLINE)) {
goto loop;
}
- while ($this->tokens->consume(\RectorPrefix20220217\Nette\Neon\Token::NEWLINE)) {
+ while ($this->tokens->consume(\RectorPrefix20220218\Nette\Neon\Token::NEWLINE)) {
}
if (!$this->tokens->isNext($endBrace)) {
$this->tokens->error();
}
goto loop;
}
- private function checkArrayKey(\RectorPrefix20220217\Nette\Neon\Node $key, array &$arr) : void
+ private function checkArrayKey(\RectorPrefix20220218\Nette\Neon\Node $key, array &$arr) : void
{
- if (!$key instanceof \RectorPrefix20220217\Nette\Neon\Node\StringNode && !$key instanceof \RectorPrefix20220217\Nette\Neon\Node\LiteralNode || !\is_scalar($key->value)) {
+ if (!$key instanceof \RectorPrefix20220218\Nette\Neon\Node\StringNode && !$key instanceof \RectorPrefix20220218\Nette\Neon\Node\LiteralNode || !\is_scalar($key->value)) {
$this->tokens->error('Unacceptable key', $key->startPos);
}
$k = (string) $key->value;
diff --git a/vendor/nette/neon/src/Neon/Token.php b/vendor/nette/neon/src/Neon/Token.php
index 248bc0c4bbc..d1ed8040e51 100644
--- a/vendor/nette/neon/src/Neon/Token.php
+++ b/vendor/nette/neon/src/Neon/Token.php
@@ -5,7 +5,7 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon;
+namespace RectorPrefix20220218\Nette\Neon;
/** @internal */
final class Token
diff --git a/vendor/nette/neon/src/Neon/TokenStream.php b/vendor/nette/neon/src/Neon/TokenStream.php
index ffb6936e73c..d3da1b349f0 100644
--- a/vendor/nette/neon/src/Neon/TokenStream.php
+++ b/vendor/nette/neon/src/Neon/TokenStream.php
@@ -5,7 +5,7 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon;
+namespace RectorPrefix20220218\Nette\Neon;
/** @internal */
final class TokenStream
@@ -29,18 +29,18 @@ final class TokenStream
}
public function isNext(...$types) : bool
{
- while (\in_array($this->tokens[$this->pos]->type ?? null, [\RectorPrefix20220217\Nette\Neon\Token::COMMENT, \RectorPrefix20220217\Nette\Neon\Token::WHITESPACE], \true)) {
+ while (\in_array($this->tokens[$this->pos]->type ?? null, [\RectorPrefix20220218\Nette\Neon\Token::COMMENT, \RectorPrefix20220218\Nette\Neon\Token::WHITESPACE], \true)) {
$this->pos++;
}
return $types ? \in_array($this->tokens[$this->pos]->type ?? null, $types, \true) : isset($this->tokens[$this->pos]);
}
- public function consume(...$types) : ?\RectorPrefix20220217\Nette\Neon\Token
+ public function consume(...$types) : ?\RectorPrefix20220218\Nette\Neon\Token
{
return $this->isNext(...$types) ? $this->tokens[$this->pos++] : null;
}
public function getIndentation() : string
{
- return \in_array($this->tokens[$this->pos - 2]->type ?? null, [\RectorPrefix20220217\Nette\Neon\Token::NEWLINE, null], \true) && ($this->tokens[$this->pos - 1]->type ?? null) === \RectorPrefix20220217\Nette\Neon\Token::WHITESPACE ? $this->tokens[$this->pos - 1]->value : '';
+ return \in_array($this->tokens[$this->pos - 2]->type ?? null, [\RectorPrefix20220218\Nette\Neon\Token::NEWLINE, null], \true) && ($this->tokens[$this->pos - 1]->type ?? null) === \RectorPrefix20220218\Nette\Neon\Token::WHITESPACE ? $this->tokens[$this->pos - 1]->value : '';
}
/** @return never */
public function error(string $message = null, int $pos = null) : void
@@ -57,6 +57,6 @@ final class TokenStream
$col = \strlen($input) - \strrpos("\n" . $input, "\n") + 1;
$token = $this->tokens[$pos] ?? null;
$message = $message ?? 'Unexpected ' . ($token === null ? 'end' : "'" . \str_replace("\n", '', \substr($this->tokens[$pos]->value, 0, 40)) . "'");
- throw new \RectorPrefix20220217\Nette\Neon\Exception("{$message} on line {$line}, column {$col}.");
+ throw new \RectorPrefix20220218\Nette\Neon\Exception("{$message} on line {$line}, column {$col}.");
}
}
diff --git a/vendor/nette/neon/src/Neon/Traverser.php b/vendor/nette/neon/src/Neon/Traverser.php
index 01dc3f60b0b..31c9bfffb71 100644
--- a/vendor/nette/neon/src/Neon/Traverser.php
+++ b/vendor/nette/neon/src/Neon/Traverser.php
@@ -5,7 +5,7 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Neon;
+namespace RectorPrefix20220218\Nette\Neon;
/** @internal */
final class Traverser
@@ -13,12 +13,12 @@ final class Traverser
/** @var callable(Node): ?Node */
private $callback;
/** @param callable(Node): ?Node $callback */
- public function traverse(\RectorPrefix20220217\Nette\Neon\Node $node, callable $callback) : \RectorPrefix20220217\Nette\Neon\Node
+ public function traverse(\RectorPrefix20220218\Nette\Neon\Node $node, callable $callback) : \RectorPrefix20220218\Nette\Neon\Node
{
$this->callback = $callback;
return $this->traverseNode($node);
}
- private function traverseNode(\RectorPrefix20220217\Nette\Neon\Node $node) : \RectorPrefix20220217\Nette\Neon\Node
+ private function traverseNode(\RectorPrefix20220218\Nette\Neon\Node $node) : \RectorPrefix20220218\Nette\Neon\Node
{
$node = ($this->callback)($node) ?? $node;
foreach ($node->getSubNodes() as &$subnode) {
diff --git a/vendor/nette/utils/ncs.php b/vendor/nette/utils/ncs.php
index 5f3718158f8..98d4e042b7e 100644
--- a/vendor/nette/utils/ncs.php
+++ b/vendor/nette/utils/ncs.php
@@ -5,7 +5,7 @@
* https://github.com/nette/coding-standard
*/
declare (strict_types=1);
-namespace RectorPrefix20220217;
+namespace RectorPrefix20220218;
return [
// use function in Arrays.php, Callback.php, Html.php, Strings.php
diff --git a/vendor/nette/utils/src/HtmlStringable.php b/vendor/nette/utils/src/HtmlStringable.php
index 08c6e0d9b20..23bc21c82db 100644
--- a/vendor/nette/utils/src/HtmlStringable.php
+++ b/vendor/nette/utils/src/HtmlStringable.php
@@ -5,7 +5,7 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette;
+namespace RectorPrefix20220218\Nette;
interface HtmlStringable
{
@@ -14,4 +14,4 @@ interface HtmlStringable
*/
function __toString() : string;
}
-\interface_exists(\RectorPrefix20220217\Nette\Utils\IHtmlString::class);
+\interface_exists(\RectorPrefix20220218\Nette\Utils\IHtmlString::class);
diff --git a/vendor/nette/utils/src/Iterators/CachingIterator.php b/vendor/nette/utils/src/Iterators/CachingIterator.php
index d0f5fcfe6e5..197cd561729 100644
--- a/vendor/nette/utils/src/Iterators/CachingIterator.php
+++ b/vendor/nette/utils/src/Iterators/CachingIterator.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Iterators;
+namespace RectorPrefix20220218\Nette\Iterators;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
/**
* Smarter caching iterator.
*
@@ -38,7 +38,7 @@ class CachingIterator extends \CachingIterator implements \Countable
} elseif ($iterator instanceof \Traversable) {
$iterator = new \IteratorIterator($iterator);
} else {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException(\sprintf('Invalid argument passed to %s; array or Traversable expected, %s given.', self::class, \is_object($iterator) ? \get_class($iterator) : \gettype($iterator)));
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException(\sprintf('Invalid argument passed to %s; array or Traversable expected, %s given.', self::class, \is_object($iterator) ? \get_class($iterator) : \gettype($iterator)));
}
parent::__construct($iterator, 0);
}
@@ -93,7 +93,7 @@ class CachingIterator extends \CachingIterator implements \Countable
if ($inner instanceof \Countable) {
return $inner->count();
} else {
- throw new \RectorPrefix20220217\Nette\NotSupportedException('Iterator is not countable.');
+ throw new \RectorPrefix20220218\Nette\NotSupportedException('Iterator is not countable.');
}
}
/**
diff --git a/vendor/nette/utils/src/Iterators/Mapper.php b/vendor/nette/utils/src/Iterators/Mapper.php
index 1d2696e868e..2f913bdbbce 100644
--- a/vendor/nette/utils/src/Iterators/Mapper.php
+++ b/vendor/nette/utils/src/Iterators/Mapper.php
@@ -5,7 +5,7 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Iterators;
+namespace RectorPrefix20220218\Nette\Iterators;
/**
* Applies the callback to the elements of the inner iterator.
diff --git a/vendor/nette/utils/src/SmartObject.php b/vendor/nette/utils/src/SmartObject.php
index 5ce69548dee..8e1332afbf5 100644
--- a/vendor/nette/utils/src/SmartObject.php
+++ b/vendor/nette/utils/src/SmartObject.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette;
+namespace RectorPrefix20220218\Nette;
-use RectorPrefix20220217\Nette\Utils\ObjectHelpers;
+use RectorPrefix20220218\Nette\Utils\ObjectHelpers;
/**
* Strict class for better experience.
* - 'did you mean' hints
@@ -23,7 +23,7 @@ trait SmartObject
public function __call(string $name, array $args)
{
$class = static::class;
- if (\RectorPrefix20220217\Nette\Utils\ObjectHelpers::hasProperty($class, $name) === 'event') {
+ if (\RectorPrefix20220218\Nette\Utils\ObjectHelpers::hasProperty($class, $name) === 'event') {
// calling event handlers
$handlers = $this->{$name} ?? null;
if (\is_iterable($handlers)) {
@@ -31,10 +31,10 @@ trait SmartObject
$handler(...$args);
}
} elseif ($handlers !== null) {
- throw new \RectorPrefix20220217\Nette\UnexpectedValueException("Property {$class}::\${$name} must be iterable or null, " . \gettype($handlers) . ' given.');
+ throw new \RectorPrefix20220218\Nette\UnexpectedValueException("Property {$class}::\${$name} must be iterable or null, " . \gettype($handlers) . ' given.');
}
} else {
- \RectorPrefix20220217\Nette\Utils\ObjectHelpers::strictCall($class, $name);
+ \RectorPrefix20220218\Nette\Utils\ObjectHelpers::strictCall($class, $name);
}
}
/**
@@ -42,7 +42,7 @@ trait SmartObject
*/
public static function __callStatic(string $name, array $args)
{
- \RectorPrefix20220217\Nette\Utils\ObjectHelpers::strictStaticCall(static::class, $name);
+ \RectorPrefix20220218\Nette\Utils\ObjectHelpers::strictStaticCall(static::class, $name);
}
/**
* @return mixed
@@ -51,10 +51,10 @@ trait SmartObject
public function &__get(string $name)
{
$class = static::class;
- if ($prop = \RectorPrefix20220217\Nette\Utils\ObjectHelpers::getMagicProperties($class)[$name] ?? null) {
+ if ($prop = \RectorPrefix20220218\Nette\Utils\ObjectHelpers::getMagicProperties($class)[$name] ?? null) {
// property getter
if (!($prop & 0b1)) {
- throw new \RectorPrefix20220217\Nette\MemberAccessException("Cannot read a write-only property {$class}::\${$name}.");
+ throw new \RectorPrefix20220218\Nette\MemberAccessException("Cannot read a write-only property {$class}::\${$name}.");
}
$m = ($prop & 0b10 ? 'get' : 'is') . \ucfirst($name);
if ($prop & 0b10000) {
@@ -71,7 +71,7 @@ trait SmartObject
return $val;
}
} else {
- \RectorPrefix20220217\Nette\Utils\ObjectHelpers::strictGet($class, $name);
+ \RectorPrefix20220218\Nette\Utils\ObjectHelpers::strictGet($class, $name);
}
}
/**
@@ -82,13 +82,13 @@ trait SmartObject
public function __set(string $name, $value)
{
$class = static::class;
- if (\RectorPrefix20220217\Nette\Utils\ObjectHelpers::hasProperty($class, $name)) {
+ if (\RectorPrefix20220218\Nette\Utils\ObjectHelpers::hasProperty($class, $name)) {
// unsetted property
$this->{$name} = $value;
- } elseif ($prop = \RectorPrefix20220217\Nette\Utils\ObjectHelpers::getMagicProperties($class)[$name] ?? null) {
+ } elseif ($prop = \RectorPrefix20220218\Nette\Utils\ObjectHelpers::getMagicProperties($class)[$name] ?? null) {
// property setter
if (!($prop & 0b1000)) {
- throw new \RectorPrefix20220217\Nette\MemberAccessException("Cannot write to a read-only property {$class}::\${$name}.");
+ throw new \RectorPrefix20220218\Nette\MemberAccessException("Cannot write to a read-only property {$class}::\${$name}.");
}
$m = 'set' . \ucfirst($name);
if ($prop & 0b10000) {
@@ -99,7 +99,7 @@ trait SmartObject
}
$this->{$m}($value);
} else {
- \RectorPrefix20220217\Nette\Utils\ObjectHelpers::strictSet($class, $name);
+ \RectorPrefix20220218\Nette\Utils\ObjectHelpers::strictSet($class, $name);
}
}
/**
@@ -109,12 +109,12 @@ trait SmartObject
public function __unset(string $name)
{
$class = static::class;
- if (!\RectorPrefix20220217\Nette\Utils\ObjectHelpers::hasProperty($class, $name)) {
- throw new \RectorPrefix20220217\Nette\MemberAccessException("Cannot unset the property {$class}::\${$name}.");
+ if (!\RectorPrefix20220218\Nette\Utils\ObjectHelpers::hasProperty($class, $name)) {
+ throw new \RectorPrefix20220218\Nette\MemberAccessException("Cannot unset the property {$class}::\${$name}.");
}
}
public function __isset(string $name) : bool
{
- return isset(\RectorPrefix20220217\Nette\Utils\ObjectHelpers::getMagicProperties(static::class)[$name]);
+ return isset(\RectorPrefix20220218\Nette\Utils\ObjectHelpers::getMagicProperties(static::class)[$name]);
}
}
diff --git a/vendor/nette/utils/src/StaticClass.php b/vendor/nette/utils/src/StaticClass.php
index 006e71f5f93..15d07c77282 100644
--- a/vendor/nette/utils/src/StaticClass.php
+++ b/vendor/nette/utils/src/StaticClass.php
@@ -5,7 +5,7 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette;
+namespace RectorPrefix20220218\Nette;
/**
* Static class.
@@ -27,6 +27,6 @@ trait StaticClass
*/
public static function __callStatic(string $name, array $args)
{
- \RectorPrefix20220217\Nette\Utils\ObjectHelpers::strictStaticCall(static::class, $name);
+ \RectorPrefix20220218\Nette\Utils\ObjectHelpers::strictStaticCall(static::class, $name);
}
}
diff --git a/vendor/nette/utils/src/Translator.php b/vendor/nette/utils/src/Translator.php
index 7340f984500..2198a747443 100644
--- a/vendor/nette/utils/src/Translator.php
+++ b/vendor/nette/utils/src/Translator.php
@@ -5,7 +5,7 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Localization;
+namespace RectorPrefix20220218\Nette\Localization;
/**
* Translator adapter.
@@ -19,4 +19,4 @@ interface Translator
*/
function translate($message, ...$parameters) : string;
}
-\interface_exists(\RectorPrefix20220217\Nette\Localization\ITranslator::class);
+\interface_exists(\RectorPrefix20220218\Nette\Localization\ITranslator::class);
diff --git a/vendor/nette/utils/src/Utils/ArrayHash.php b/vendor/nette/utils/src/Utils/ArrayHash.php
index 088b55fdeb5..c8f435093d9 100644
--- a/vendor/nette/utils/src/Utils/ArrayHash.php
+++ b/vendor/nette/utils/src/Utils/ArrayHash.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
/**
* Provides objects to work as array.
* @template T
@@ -51,7 +51,7 @@ class ArrayHash extends \stdClass implements \ArrayAccess, \Countable, \Iterator
{
if (!\is_scalar($key)) {
// prevents null
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException(\sprintf('Key must be either a string or an integer, %s given.', \gettype($key)));
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException(\sprintf('Key must be either a string or an integer, %s given.', \gettype($key)));
}
$this->{$key} = $value;
}
diff --git a/vendor/nette/utils/src/Utils/ArrayList.php b/vendor/nette/utils/src/Utils/ArrayList.php
index 145c3e533f9..9f190be29d9 100644
--- a/vendor/nette/utils/src/Utils/ArrayList.php
+++ b/vendor/nette/utils/src/Utils/ArrayList.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
/**
* Provides the base class for a generic list (items can be accessed by index).
* @template T
@@ -24,8 +24,8 @@ class ArrayList implements \ArrayAccess, \Countable, \IteratorAggregate
*/
public static function from(array $array)
{
- if (!\RectorPrefix20220217\Nette\Utils\Arrays::isList($array)) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException('Array is not valid list.');
+ if (!\RectorPrefix20220218\Nette\Utils\Arrays::isList($array)) {
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException('Array is not valid list.');
}
$obj = new static();
$obj->list = $array;
@@ -57,7 +57,7 @@ class ArrayList implements \ArrayAccess, \Countable, \IteratorAggregate
if ($index === null) {
$this->list[] = $value;
} elseif (!\is_int($index) || $index < 0 || $index >= \count($this->list)) {
- throw new \RectorPrefix20220217\Nette\OutOfRangeException('Offset invalid or out of range');
+ throw new \RectorPrefix20220218\Nette\OutOfRangeException('Offset invalid or out of range');
} else {
$this->list[$index] = $value;
}
@@ -72,7 +72,7 @@ class ArrayList implements \ArrayAccess, \Countable, \IteratorAggregate
public function offsetGet($index)
{
if (!\is_int($index) || $index < 0 || $index >= \count($this->list)) {
- throw new \RectorPrefix20220217\Nette\OutOfRangeException('Offset invalid or out of range');
+ throw new \RectorPrefix20220218\Nette\OutOfRangeException('Offset invalid or out of range');
}
return $this->list[$index];
}
@@ -92,7 +92,7 @@ class ArrayList implements \ArrayAccess, \Countable, \IteratorAggregate
public function offsetUnset($index) : void
{
if (!\is_int($index) || $index < 0 || $index >= \count($this->list)) {
- throw new \RectorPrefix20220217\Nette\OutOfRangeException('Offset invalid or out of range');
+ throw new \RectorPrefix20220218\Nette\OutOfRangeException('Offset invalid or out of range');
}
\array_splice($this->list, $index, 1);
}
diff --git a/vendor/nette/utils/src/Utils/Arrays.php b/vendor/nette/utils/src/Utils/Arrays.php
index 84ce872021e..5029236d6f7 100644
--- a/vendor/nette/utils/src/Utils/Arrays.php
+++ b/vendor/nette/utils/src/Utils/Arrays.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
use function is_array, is_int, is_object, count;
/**
* Array tools library.
@@ -31,7 +31,7 @@ class Arrays
$array = $array[$k];
} else {
if (\func_num_args() < 3) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException("Missing item '{$k}'.");
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException("Missing item '{$k}'.");
}
return $default;
}
@@ -52,7 +52,7 @@ class Arrays
if (\is_array($array) || $array === null) {
$array =& $array[$k];
} else {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException('Traversed item is not an array.');
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException('Traversed item is not an array.');
}
}
return $array;
@@ -84,7 +84,7 @@ class Arrays
*/
public static function getKeyOffset(array $array, $key) : ?int
{
- return \RectorPrefix20220217\Nette\Utils\Helpers::falseToNull(\array_search(self::toKey($key), \array_keys($array), \true));
+ return \RectorPrefix20220218\Nette\Utils\Helpers::falseToNull(\array_search(self::toKey($key), \array_keys($array), \true));
}
/**
* @deprecated use getKeyOffset()
@@ -168,7 +168,7 @@ class Arrays
*/
public static function grep(array $array, string $pattern, int $flags = 0) : array
{
- return \RectorPrefix20220217\Nette\Utils\Strings::pcre('preg_grep', [$pattern, $array, $flags]);
+ return \RectorPrefix20220218\Nette\Utils\Strings::pcre('preg_grep', [$pattern, $array, $flags]);
}
/**
* Transforms multidimensional array to flat array.
@@ -201,7 +201,7 @@ class Arrays
{
$parts = \is_array($path) ? $path : \preg_split('#(\\[\\]|->|=|\\|)#', $path, -1, \PREG_SPLIT_DELIM_CAPTURE | \PREG_SPLIT_NO_EMPTY);
if (!$parts || $parts === ['->'] || $parts[0] === '=' || $parts[0] === '|') {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException("Invalid path '{$path}'.");
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException("Invalid path '{$path}'.");
}
$res = $parts[0] === '->' ? new \stdClass() : [];
foreach ($array as $rowOrig) {
@@ -264,7 +264,7 @@ class Arrays
unset($array[$key]);
return $value;
} elseif (\func_num_args() < 3) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException("Missing item '{$key}'.");
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException("Missing item '{$key}'.");
} else {
return $default;
}
diff --git a/vendor/nette/utils/src/Utils/Callback.php b/vendor/nette/utils/src/Utils/Callback.php
index 05f0147e4eb..2c6862a7fd5 100644
--- a/vendor/nette/utils/src/Utils/Callback.php
+++ b/vendor/nette/utils/src/Utils/Callback.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
use function is_array, is_object, is_string;
/**
* PHP callable tools.
@@ -25,7 +25,7 @@ final class Callback
try {
return \Closure::fromCallable($method === null ? $callable : [$callable, $method]);
} catch (\TypeError $e) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException($e->getMessage());
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException($e->getMessage());
}
}
/**
@@ -58,7 +58,7 @@ final class Callback
{
$prev = \set_error_handler(function ($severity, $message, $file) use($onError, &$prev, $function) : ?bool {
if ($file === __FILE__) {
- $msg = \ini_get('html_errors') ? \RectorPrefix20220217\Nette\Utils\Html::htmlToText($message) : $message;
+ $msg = \ini_get('html_errors') ? \RectorPrefix20220218\Nette\Utils\Html::htmlToText($message) : $message;
$msg = \preg_replace("#^{$function}\\(.*?\\): #", '', $msg);
if ($onError($msg, $severity) !== \false) {
return null;
@@ -82,7 +82,7 @@ final class Callback
public static function check($callable, bool $syntax = \false)
{
if (!\is_callable($callable, $syntax)) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException($syntax ? 'Given value is not a callable type.' : \sprintf("Callback '%s' is not callable.", self::toString($callable)));
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException($syntax ? 'Given value is not a callable type.' : \sprintf("Callback '%s' is not callable.", self::toString($callable)));
}
return $callable;
}
diff --git a/vendor/nette/utils/src/Utils/DateTime.php b/vendor/nette/utils/src/Utils/DateTime.php
index 2af71465601..bdf2a8a9dc8 100644
--- a/vendor/nette/utils/src/Utils/DateTime.php
+++ b/vendor/nette/utils/src/Utils/DateTime.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
/**
* DateTime.
*/
@@ -55,7 +55,7 @@ class DateTime extends \DateTime implements \JsonSerializable
{
$s = \sprintf('%04d-%02d-%02d %02d:%02d:%02.5F', $year, $month, $day, $hour, $minute, $second);
if (!\checkdate($month, $day, $year) || $hour < 0 || $hour > 23 || $minute < 0 || $minute > 59 || $second < 0 || $second >= 60) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException("Invalid date '{$s}'");
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException("Invalid date '{$s}'");
}
return new static($s);
}
@@ -74,7 +74,7 @@ class DateTime extends \DateTime implements \JsonSerializable
} elseif (\is_string($timezone)) {
$timezone = new \DateTimeZone($timezone);
} elseif (!$timezone instanceof \DateTimeZone) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException('Invalid timezone given');
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException('Invalid timezone given');
}
$date = parent::createFromFormat($format, $time, $timezone);
return $date ? static::from($date) : \false;
diff --git a/vendor/nette/utils/src/Utils/FileSystem.php b/vendor/nette/utils/src/Utils/FileSystem.php
index a0ea547e4a5..83d1880286a 100644
--- a/vendor/nette/utils/src/Utils/FileSystem.php
+++ b/vendor/nette/utils/src/Utils/FileSystem.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
/**
* File system tool.
*/
@@ -22,7 +22,7 @@ final class FileSystem
{
if (!\is_dir($dir) && !@\mkdir($dir, $mode, \true) && !\is_dir($dir)) {
// @ - dir may already exist
- throw new \RectorPrefix20220217\Nette\IOException(\sprintf("Unable to create directory '%s' with mode %s. %s", self::normalizePath($dir), \decoct($mode), \RectorPrefix20220217\Nette\Utils\Helpers::getLastError()));
+ throw new \RectorPrefix20220218\Nette\IOException(\sprintf("Unable to create directory '%s' with mode %s. %s", self::normalizePath($dir), \decoct($mode), \RectorPrefix20220218\Nette\Utils\Helpers::getLastError()));
}
}
/**
@@ -33,9 +33,9 @@ final class FileSystem
public static function copy(string $origin, string $target, bool $overwrite = \true) : void
{
if (\stream_is_local($origin) && !\file_exists($origin)) {
- throw new \RectorPrefix20220217\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($origin)));
+ throw new \RectorPrefix20220218\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($origin)));
} elseif (!$overwrite && \file_exists($target)) {
- throw new \RectorPrefix20220217\Nette\InvalidStateException(\sprintf("File or directory '%s' already exists.", self::normalizePath($target)));
+ throw new \RectorPrefix20220218\Nette\InvalidStateException(\sprintf("File or directory '%s' already exists.", self::normalizePath($target)));
} elseif (\is_dir($origin)) {
static::createDir($target);
foreach (new \FilesystemIterator($target) as $item) {
@@ -52,7 +52,7 @@ final class FileSystem
static::createDir(\dirname($target));
if (($s = @\fopen($origin, 'rb')) && ($d = @\fopen($target, 'wb')) && @\stream_copy_to_stream($s, $d) === \false) {
// @ is escalated to exception
- throw new \RectorPrefix20220217\Nette\IOException(\sprintf("Unable to copy file '%s' to '%s'. %s", self::normalizePath($origin), self::normalizePath($target), \RectorPrefix20220217\Nette\Utils\Helpers::getLastError()));
+ throw new \RectorPrefix20220218\Nette\IOException(\sprintf("Unable to copy file '%s' to '%s'. %s", self::normalizePath($origin), self::normalizePath($target), \RectorPrefix20220218\Nette\Utils\Helpers::getLastError()));
}
}
}
@@ -66,7 +66,7 @@ final class FileSystem
$func = \DIRECTORY_SEPARATOR === '\\' && \is_dir($path) ? 'rmdir' : 'unlink';
if (!@$func($path)) {
// @ is escalated to exception
- throw new \RectorPrefix20220217\Nette\IOException(\sprintf("Unable to delete '%s'. %s", self::normalizePath($path), \RectorPrefix20220217\Nette\Utils\Helpers::getLastError()));
+ throw new \RectorPrefix20220218\Nette\IOException(\sprintf("Unable to delete '%s'. %s", self::normalizePath($path), \RectorPrefix20220218\Nette\Utils\Helpers::getLastError()));
}
} elseif (\is_dir($path)) {
foreach (new \FilesystemIterator($path) as $item) {
@@ -74,7 +74,7 @@ final class FileSystem
}
if (!@\rmdir($path)) {
// @ is escalated to exception
- throw new \RectorPrefix20220217\Nette\IOException(\sprintf("Unable to delete directory '%s'. %s", self::normalizePath($path), \RectorPrefix20220217\Nette\Utils\Helpers::getLastError()));
+ throw new \RectorPrefix20220218\Nette\IOException(\sprintf("Unable to delete directory '%s'. %s", self::normalizePath($path), \RectorPrefix20220218\Nette\Utils\Helpers::getLastError()));
}
}
}
@@ -86,9 +86,9 @@ final class FileSystem
public static function rename(string $origin, string $target, bool $overwrite = \true) : void
{
if (!$overwrite && \file_exists($target)) {
- throw new \RectorPrefix20220217\Nette\InvalidStateException(\sprintf("File or directory '%s' already exists.", self::normalizePath($target)));
+ throw new \RectorPrefix20220218\Nette\InvalidStateException(\sprintf("File or directory '%s' already exists.", self::normalizePath($target)));
} elseif (!\file_exists($origin)) {
- throw new \RectorPrefix20220217\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($origin)));
+ throw new \RectorPrefix20220218\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($origin)));
} else {
static::createDir(\dirname($target));
if (\realpath($origin) !== \realpath($target)) {
@@ -96,7 +96,7 @@ final class FileSystem
}
if (!@\rename($origin, $target)) {
// @ is escalated to exception
- throw new \RectorPrefix20220217\Nette\IOException(\sprintf("Unable to rename file or directory '%s' to '%s'. %s", self::normalizePath($origin), self::normalizePath($target), \RectorPrefix20220217\Nette\Utils\Helpers::getLastError()));
+ throw new \RectorPrefix20220218\Nette\IOException(\sprintf("Unable to rename file or directory '%s' to '%s'. %s", self::normalizePath($origin), self::normalizePath($target), \RectorPrefix20220218\Nette\Utils\Helpers::getLastError()));
}
}
}
@@ -109,7 +109,7 @@ final class FileSystem
$content = @\file_get_contents($file);
// @ is escalated to exception
if ($content === \false) {
- throw new \RectorPrefix20220217\Nette\IOException(\sprintf("Unable to read file '%s'. %s", self::normalizePath($file), \RectorPrefix20220217\Nette\Utils\Helpers::getLastError()));
+ throw new \RectorPrefix20220218\Nette\IOException(\sprintf("Unable to read file '%s'. %s", self::normalizePath($file), \RectorPrefix20220218\Nette\Utils\Helpers::getLastError()));
}
return $content;
}
@@ -122,11 +122,11 @@ final class FileSystem
static::createDir(\dirname($file));
if (@\file_put_contents($file, $content) === \false) {
// @ is escalated to exception
- throw new \RectorPrefix20220217\Nette\IOException(\sprintf("Unable to write file '%s'. %s", self::normalizePath($file), \RectorPrefix20220217\Nette\Utils\Helpers::getLastError()));
+ throw new \RectorPrefix20220218\Nette\IOException(\sprintf("Unable to write file '%s'. %s", self::normalizePath($file), \RectorPrefix20220218\Nette\Utils\Helpers::getLastError()));
}
if ($mode !== null && !@\chmod($file, $mode)) {
// @ is escalated to exception
- throw new \RectorPrefix20220217\Nette\IOException(\sprintf("Unable to chmod file '%s' to mode %s. %s", self::normalizePath($file), \decoct($mode), \RectorPrefix20220217\Nette\Utils\Helpers::getLastError()));
+ throw new \RectorPrefix20220218\Nette\IOException(\sprintf("Unable to chmod file '%s' to mode %s. %s", self::normalizePath($file), \decoct($mode), \RectorPrefix20220218\Nette\Utils\Helpers::getLastError()));
}
}
/**
@@ -138,7 +138,7 @@ final class FileSystem
if (\is_file($path)) {
if (!@\chmod($path, $fileMode)) {
// @ is escalated to exception
- throw new \RectorPrefix20220217\Nette\IOException(\sprintf("Unable to chmod file '%s' to mode %s. %s", self::normalizePath($path), \decoct($fileMode), \RectorPrefix20220217\Nette\Utils\Helpers::getLastError()));
+ throw new \RectorPrefix20220218\Nette\IOException(\sprintf("Unable to chmod file '%s' to mode %s. %s", self::normalizePath($path), \decoct($fileMode), \RectorPrefix20220218\Nette\Utils\Helpers::getLastError()));
}
} elseif (\is_dir($path)) {
foreach (new \FilesystemIterator($path) as $item) {
@@ -146,10 +146,10 @@ final class FileSystem
}
if (!@\chmod($path, $dirMode)) {
// @ is escalated to exception
- throw new \RectorPrefix20220217\Nette\IOException(\sprintf("Unable to chmod directory '%s' to mode %s. %s", self::normalizePath($path), \decoct($dirMode), \RectorPrefix20220217\Nette\Utils\Helpers::getLastError()));
+ throw new \RectorPrefix20220218\Nette\IOException(\sprintf("Unable to chmod directory '%s' to mode %s. %s", self::normalizePath($path), \decoct($dirMode), \RectorPrefix20220218\Nette\Utils\Helpers::getLastError()));
}
} else {
- throw new \RectorPrefix20220217\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($path)));
+ throw new \RectorPrefix20220218\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($path)));
}
}
/**
diff --git a/vendor/nette/utils/src/Utils/Floats.php b/vendor/nette/utils/src/Utils/Floats.php
index 8fbec3e0704..0ec7d2792fb 100644
--- a/vendor/nette/utils/src/Utils/Floats.php
+++ b/vendor/nette/utils/src/Utils/Floats.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
/**
* Floating-point numbers comparison.
*/
diff --git a/vendor/nette/utils/src/Utils/Helpers.php b/vendor/nette/utils/src/Utils/Helpers.php
index b99d885de1b..129cdf094bf 100644
--- a/vendor/nette/utils/src/Utils/Helpers.php
+++ b/vendor/nette/utils/src/Utils/Helpers.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
class Helpers
{
/**
@@ -32,7 +32,7 @@ class Helpers
public static function getLastError() : string
{
$message = \error_get_last()['message'] ?? '';
- $message = \ini_get('html_errors') ? \RectorPrefix20220217\Nette\Utils\Html::htmlToText($message) : $message;
+ $message = \ini_get('html_errors') ? \RectorPrefix20220218\Nette\Utils\Html::htmlToText($message) : $message;
$message = \preg_replace('#^\\w+\\(.*?\\): #', '', $message);
return $message;
}
@@ -55,7 +55,7 @@ class Helpers
public static function clamp($value, $min, $max)
{
if ($min > $max) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException("Minimum ({$min}) is not less than maximum ({$max}).");
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException("Minimum ({$min}) is not less than maximum ({$max}).");
}
return \min(\max($value, $min), $max);
}
diff --git a/vendor/nette/utils/src/Utils/Html.php b/vendor/nette/utils/src/Utils/Html.php
index 9eab54a54f6..cced589ff26 100644
--- a/vendor/nette/utils/src/Utils/Html.php
+++ b/vendor/nette/utils/src/Utils/Html.php
@@ -5,10 +5,10 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
-use RectorPrefix20220217\Nette\HtmlStringable;
+use RectorPrefix20220218\Nette;
+use RectorPrefix20220218\Nette\HtmlStringable;
use function is_array, is_float, is_object, is_string;
/**
* HTML helper.
@@ -227,7 +227,7 @@ use function is_array, is_float, is_object, is_string;
* @method self width(?int $val)
* @method self wrap(?string $val)
*/
-class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefix20220217\Nette\HtmlStringable
+class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefix20220218\Nette\HtmlStringable
{
use Nette\SmartObject;
/** @var array element's attributes */
@@ -258,7 +258,7 @@ class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefi
$el->setText($attrs);
}
if (isset($parts[1])) {
- foreach (\RectorPrefix20220217\Nette\Utils\Strings::matchAll($parts[1] . ' ', '#([a-z0-9:-]+)(?:=(["\'])?(.*?)(?(2)\\2|\\s))?#i') as $m) {
+ foreach (\RectorPrefix20220218\Nette\Utils\Strings::matchAll($parts[1] . ' ', '#([a-z0-9:-]+)(?:=(["\'])?(.*?)(?(2)\\2|\\s))?#i') as $m) {
$el->attrs[$m[1]] = $m[3] ?? \true;
}
}
@@ -502,7 +502,7 @@ class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefi
*/
public final function setText($text)
{
- if (!$text instanceof \RectorPrefix20220217\Nette\HtmlStringable) {
+ if (!$text instanceof \RectorPrefix20220218\Nette\HtmlStringable) {
$text = \htmlspecialchars((string) $text, \ENT_NOQUOTES, 'UTF-8');
}
$this->children = [(string) $text];
@@ -531,7 +531,7 @@ class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefi
*/
public function addText($text)
{
- if (!$text instanceof \RectorPrefix20220217\Nette\HtmlStringable) {
+ if (!$text instanceof \RectorPrefix20220218\Nette\HtmlStringable) {
$text = \htmlspecialchars((string) $text, \ENT_NOQUOTES, 'UTF-8');
}
return $this->insert(null, $text);
@@ -704,7 +704,7 @@ class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefi
continue;
} elseif (\is_array($value)) {
if (\strncmp($key, 'data-', 5) === 0) {
- $value = \RectorPrefix20220217\Nette\Utils\Json::encode($value);
+ $value = \RectorPrefix20220218\Nette\Utils\Json::encode($value);
} else {
$tmp = null;
foreach ($value as $k => $v) {
diff --git a/vendor/nette/utils/src/Utils/Image.php b/vendor/nette/utils/src/Utils/Image.php
index adc563a0794..ace05439529 100644
--- a/vendor/nette/utils/src/Utils/Image.php
+++ b/vendor/nette/utils/src/Utils/Image.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
/**
* Basic manipulation with images. Supported types are JPEG, PNG, GIF, WEBP, AVIF and BMP.
*
@@ -125,11 +125,11 @@ class Image
public static function fromFile(string $file, ?int &$type = null)
{
if (!\extension_loaded('gd')) {
- throw new \RectorPrefix20220217\Nette\NotSupportedException('PHP extension GD is not loaded.');
+ throw new \RectorPrefix20220218\Nette\NotSupportedException('PHP extension GD is not loaded.');
}
$type = self::detectTypeFromFile($file);
if (!$type) {
- throw new \RectorPrefix20220217\Nette\Utils\UnknownImageFileException(\is_file($file) ? "Unknown type of file '{$file}'." : "File '{$file}' not found.");
+ throw new \RectorPrefix20220218\Nette\Utils\UnknownImageFileException(\is_file($file) ? "Unknown type of file '{$file}'." : "File '{$file}' not found.");
}
return self::invokeSafe('imagecreatefrom' . self::FORMATS[$type], $file, "Unable to open file '{$file}'.", __METHOD__);
}
@@ -142,22 +142,22 @@ class Image
public static function fromString(string $s, ?int &$type = null)
{
if (!\extension_loaded('gd')) {
- throw new \RectorPrefix20220217\Nette\NotSupportedException('PHP extension GD is not loaded.');
+ throw new \RectorPrefix20220218\Nette\NotSupportedException('PHP extension GD is not loaded.');
}
$type = self::detectTypeFromString($s);
if (!$type) {
- throw new \RectorPrefix20220217\Nette\Utils\UnknownImageFileException('Unknown type of image.');
+ throw new \RectorPrefix20220218\Nette\Utils\UnknownImageFileException('Unknown type of image.');
}
return self::invokeSafe('imagecreatefromstring', $s, 'Unable to open image from string.', __METHOD__);
}
private static function invokeSafe(string $func, string $arg, string $message, string $callee) : self
{
$errors = [];
- $res = \RectorPrefix20220217\Nette\Utils\Callback::invokeSafe($func, [$arg], function (string $message) use(&$errors) : void {
+ $res = \RectorPrefix20220218\Nette\Utils\Callback::invokeSafe($func, [$arg], function (string $message) use(&$errors) : void {
$errors[] = $message;
});
if (!$res) {
- throw new \RectorPrefix20220217\Nette\Utils\ImageException($message . ' Errors: ' . \implode(', ', $errors));
+ throw new \RectorPrefix20220218\Nette\Utils\ImageException($message . ' Errors: ' . \implode(', ', $errors));
} elseif ($errors) {
\trigger_error($callee . '(): ' . \implode(', ', $errors), \E_USER_WARNING);
}
@@ -171,10 +171,10 @@ class Image
public static function fromBlank(int $width, int $height, ?array $color = null)
{
if (!\extension_loaded('gd')) {
- throw new \RectorPrefix20220217\Nette\NotSupportedException('PHP extension GD is not loaded.');
+ throw new \RectorPrefix20220218\Nette\NotSupportedException('PHP extension GD is not loaded.');
}
if ($width < 1 || $height < 1) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException('Image width and height must be greater than zero.');
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException('Image width and height must be greater than zero.');
}
$image = \imagecreatetruecolor($width, $height);
if ($color) {
@@ -210,7 +210,7 @@ class Image
public static function typeToExtension(int $type) : string
{
if (!isset(self::FORMATS[$type])) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException("Unsupported image type '{$type}'.");
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException("Unsupported image type '{$type}'.");
}
return self::FORMATS[$type];
}
@@ -252,7 +252,7 @@ class Image
protected function setImageResource($image)
{
if (!$image instanceof \GdImage && !(\is_resource($image) && \get_resource_type($image) === 'gd')) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException('Image is not valid.');
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException('Image is not valid.');
}
$this->image = $image;
return $this;
@@ -312,7 +312,7 @@ class Image
if ($flags & self::STRETCH) {
// non-proportional
if (!$newWidth || !$newHeight) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException('For stretching must be both width and height specified.');
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException('For stretching must be both width and height specified.');
}
if ($flags & self::SHRINK_ONLY) {
$newWidth = (int) \round($srcWidth * \min(1, $newWidth / $srcWidth));
@@ -321,7 +321,7 @@ class Image
} else {
// proportional
if (!$newWidth && !$newHeight) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException('At least width or height must be specified.');
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException('At least width or height must be specified.');
}
$scale = [];
if ($newWidth > 0) {
@@ -468,7 +468,7 @@ class Image
$extensions = \array_flip(self::FORMATS) + ['jpg' => self::JPEG];
$ext = \strtolower(\pathinfo($file, \PATHINFO_EXTENSION));
if (!isset($extensions[$ext])) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException("Unsupported file extension '{$ext}'.");
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException("Unsupported file extension '{$ext}'.");
}
$type = $extensions[$ext];
}
@@ -479,7 +479,7 @@ class Image
*/
public function toString(int $type = self::JPEG, ?int $quality = null) : string
{
- return \RectorPrefix20220217\Nette\Utils\Helpers::capture(function () use($type, $quality) {
+ return \RectorPrefix20220218\Nette\Utils\Helpers::capture(function () use($type, $quality) {
$this->output($type, $quality);
});
}
@@ -543,10 +543,10 @@ class Image
// @ is escalated to exception
break;
default:
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException("Unsupported image type '{$type}'.");
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException("Unsupported image type '{$type}'.");
}
if (!$success) {
- throw new \RectorPrefix20220217\Nette\Utils\ImageException(\RectorPrefix20220217\Nette\Utils\Helpers::getLastError() ?: 'Unknown error');
+ throw new \RectorPrefix20220218\Nette\Utils\ImageException(\RectorPrefix20220218\Nette\Utils\Helpers::getLastError() ?: 'Unknown error');
}
}
/**
@@ -558,7 +558,7 @@ class Image
{
$function = 'image' . $name;
if (!\function_exists($function)) {
- \RectorPrefix20220217\Nette\Utils\ObjectHelpers::strictCall(static::class, $name);
+ \RectorPrefix20220218\Nette\Utils\ObjectHelpers::strictCall(static::class, $name);
}
foreach ($args as $key => $value) {
if ($value instanceof self) {
@@ -590,13 +590,13 @@ class Image
$num = (int) $num;
return \false;
}
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException("Expected dimension in int|string, '{$num}' given.");
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException("Expected dimension in int|string, '{$num}' given.");
}
/**
* Prevents serialization.
*/
public function __sleep() : array
{
- throw new \RectorPrefix20220217\Nette\NotSupportedException('You cannot serialize or unserialize ' . self::class . ' instances.');
+ throw new \RectorPrefix20220218\Nette\NotSupportedException('You cannot serialize or unserialize ' . self::class . ' instances.');
}
}
diff --git a/vendor/nette/utils/src/Utils/Json.php b/vendor/nette/utils/src/Utils/Json.php
index ecbef7f13e8..9f329c2de86 100644
--- a/vendor/nette/utils/src/Utils/Json.php
+++ b/vendor/nette/utils/src/Utils/Json.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
/**
* JSON encoder and decoder.
*/
@@ -29,7 +29,7 @@ final class Json
// since PHP 5.6.6 & PECL JSON-C 1.3.7
$json = \json_encode($value, $flags);
if ($error = \json_last_error()) {
- throw new \RectorPrefix20220217\Nette\Utils\JsonException(\json_last_error_msg(), $error);
+ throw new \RectorPrefix20220218\Nette\Utils\JsonException(\json_last_error_msg(), $error);
}
return $json;
}
@@ -42,7 +42,7 @@ final class Json
{
$value = \json_decode($json, \true, 512, $flags | \JSON_BIGINT_AS_STRING);
if ($error = \json_last_error()) {
- throw new \RectorPrefix20220217\Nette\Utils\JsonException(\json_last_error_msg(), $error);
+ throw new \RectorPrefix20220218\Nette\Utils\JsonException(\json_last_error_msg(), $error);
}
return $value;
}
diff --git a/vendor/nette/utils/src/Utils/ObjectHelpers.php b/vendor/nette/utils/src/Utils/ObjectHelpers.php
index b8aba10f4c2..0de24159da6 100644
--- a/vendor/nette/utils/src/Utils/ObjectHelpers.php
+++ b/vendor/nette/utils/src/Utils/ObjectHelpers.php
@@ -5,10 +5,10 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
-use RectorPrefix20220217\Nette\MemberAccessException;
+use RectorPrefix20220218\Nette;
+use RectorPrefix20220218\Nette\MemberAccessException;
/**
* Nette\SmartObject helpers.
*/
@@ -25,7 +25,7 @@ final class ObjectHelpers
$hint = self::getSuggestion(\array_merge(\array_filter($rc->getProperties(\ReflectionProperty::IS_PUBLIC), function ($p) {
return !$p->isStatic();
}), self::parseFullDoc($rc, '~^[ \\t*]*@property(?:-read)?[ \\t]+(?:\\S+[ \\t]+)??\\$(\\w+)~m')), $name);
- throw new \RectorPrefix20220217\Nette\MemberAccessException("Cannot read an undeclared property {$class}::\${$name}" . ($hint ? ", did you mean \${$hint}?" : '.'));
+ throw new \RectorPrefix20220218\Nette\MemberAccessException("Cannot read an undeclared property {$class}::\${$name}" . ($hint ? ", did you mean \${$hint}?" : '.'));
}
/**
* @return never
@@ -37,7 +37,7 @@ final class ObjectHelpers
$hint = self::getSuggestion(\array_merge(\array_filter($rc->getProperties(\ReflectionProperty::IS_PUBLIC), function ($p) {
return !$p->isStatic();
}), self::parseFullDoc($rc, '~^[ \\t*]*@property(?:-write)?[ \\t]+(?:\\S+[ \\t]+)??\\$(\\w+)~m')), $name);
- throw new \RectorPrefix20220217\Nette\MemberAccessException("Cannot write to an undeclared property {$class}::\${$name}" . ($hint ? ", did you mean \${$hint}?" : '.'));
+ throw new \RectorPrefix20220218\Nette\MemberAccessException("Cannot write to an undeclared property {$class}::\${$name}" . ($hint ? ", did you mean \${$hint}?" : '.'));
}
/**
* @return never
@@ -56,10 +56,10 @@ final class ObjectHelpers
// insufficient visibility
$rm = new \ReflectionMethod($class, $method);
$visibility = $rm->isPrivate() ? 'private ' : ($rm->isProtected() ? 'protected ' : '');
- throw new \RectorPrefix20220217\Nette\MemberAccessException("Call to {$visibility}method {$class}::{$method}() from " . ($context ? "scope {$context}." : 'global scope.'));
+ throw new \RectorPrefix20220218\Nette\MemberAccessException("Call to {$visibility}method {$class}::{$method}() from " . ($context ? "scope {$context}." : 'global scope.'));
} else {
$hint = self::getSuggestion(\array_merge(\get_class_methods($class), self::parseFullDoc(new \ReflectionClass($class), '~^[ \\t*]*@method[ \\t]+(?:\\S+[ \\t]+)??(\\w+)\\(~m'), $additionalMethods), $method);
- throw new \RectorPrefix20220217\Nette\MemberAccessException("Call to undefined method {$class}::{$method}()" . ($hint ? ", did you mean {$hint}()?" : '.'));
+ throw new \RectorPrefix20220218\Nette\MemberAccessException("Call to undefined method {$class}::{$method}()" . ($hint ? ", did you mean {$hint}()?" : '.'));
}
}
/**
@@ -79,12 +79,12 @@ final class ObjectHelpers
// insufficient visibility
$rm = new \ReflectionMethod($class, $method);
$visibility = $rm->isPrivate() ? 'private ' : ($rm->isProtected() ? 'protected ' : '');
- throw new \RectorPrefix20220217\Nette\MemberAccessException("Call to {$visibility}method {$class}::{$method}() from " . ($context ? "scope {$context}." : 'global scope.'));
+ throw new \RectorPrefix20220218\Nette\MemberAccessException("Call to {$visibility}method {$class}::{$method}() from " . ($context ? "scope {$context}." : 'global scope.'));
} else {
$hint = self::getSuggestion(\array_filter((new \ReflectionClass($class))->getMethods(\ReflectionMethod::IS_PUBLIC), function ($m) {
return $m->isStatic();
}), $method);
- throw new \RectorPrefix20220217\Nette\MemberAccessException("Call to undefined static method {$class}::{$method}()" . ($hint ? ", did you mean {$hint}()?" : '.'));
+ throw new \RectorPrefix20220218\Nette\MemberAccessException("Call to undefined static method {$class}::{$method}()" . ($hint ? ", did you mean {$hint}()?" : '.'));
}
}
/**
diff --git a/vendor/nette/utils/src/Utils/ObjectMixin.php b/vendor/nette/utils/src/Utils/ObjectMixin.php
index e4340871994..fdef8a637ea 100644
--- a/vendor/nette/utils/src/Utils/ObjectMixin.php
+++ b/vendor/nette/utils/src/Utils/ObjectMixin.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
/**
* Nette\Object behaviour mixin.
* @deprecated
@@ -19,7 +19,7 @@ final class ObjectMixin
public static function getSuggestion(array $possibilities, string $value) : ?string
{
\trigger_error(__METHOD__ . '() has been renamed to Nette\\Utils\\ObjectHelpers::getSuggestion()', \E_USER_DEPRECATED);
- return \RectorPrefix20220217\Nette\Utils\ObjectHelpers::getSuggestion($possibilities, $value);
+ return \RectorPrefix20220218\Nette\Utils\ObjectHelpers::getSuggestion($possibilities, $value);
}
public static function setExtensionMethod() : void
{
diff --git a/vendor/nette/utils/src/Utils/Paginator.php b/vendor/nette/utils/src/Utils/Paginator.php
index fd259328667..6f53658e9bf 100644
--- a/vendor/nette/utils/src/Utils/Paginator.php
+++ b/vendor/nette/utils/src/Utils/Paginator.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
/**
* Paginating math.
*
diff --git a/vendor/nette/utils/src/Utils/Random.php b/vendor/nette/utils/src/Utils/Random.php
index 9bcf1507d3d..795203c712d 100644
--- a/vendor/nette/utils/src/Utils/Random.php
+++ b/vendor/nette/utils/src/Utils/Random.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
/**
* Secure random string generator.
*/
@@ -25,9 +25,9 @@ final class Random
}, $charlist), 3);
$chLen = \strlen($charlist);
if ($length < 1) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException('Length must be greater than zero.');
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException('Length must be greater than zero.');
} elseif ($chLen < 2) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException('Character list must contain at least two chars.');
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException('Character list must contain at least two chars.');
}
$res = '';
for ($i = 0; $i < $length; $i++) {
diff --git a/vendor/nette/utils/src/Utils/Reflection.php b/vendor/nette/utils/src/Utils/Reflection.php
index 4905d819ffa..04b8a86f38c 100644
--- a/vendor/nette/utils/src/Utils/Reflection.php
+++ b/vendor/nette/utils/src/Utils/Reflection.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
/**
* PHP reflection helpers.
*/
@@ -45,7 +45,7 @@ final class Reflection
*/
public static function getReturnTypes(\ReflectionFunctionAbstract $func) : array
{
- $type = \RectorPrefix20220217\Nette\Utils\Type::fromReflection($func);
+ $type = \RectorPrefix20220218\Nette\Utils\Type::fromReflection($func);
return $type ? $type->getNames() : [];
}
/**
@@ -62,7 +62,7 @@ final class Reflection
*/
public static function getParameterTypes(\ReflectionParameter $param) : array
{
- $type = \RectorPrefix20220217\Nette\Utils\Type::fromReflection($param);
+ $type = \RectorPrefix20220218\Nette\Utils\Type::fromReflection($param);
return $type ? $type->getNames() : [];
}
/**
@@ -79,7 +79,7 @@ final class Reflection
*/
public static function getPropertyTypes(\ReflectionProperty $prop) : array
{
- $type = \RectorPrefix20220217\Nette\Utils\Type::fromReflection($prop);
+ $type = \RectorPrefix20220218\Nette\Utils\Type::fromReflection($prop);
return $type ? $type->getNames() : [];
}
/**
@@ -90,11 +90,11 @@ final class Reflection
if ($type === null) {
return null;
} elseif ($type instanceof \ReflectionNamedType) {
- return \RectorPrefix20220217\Nette\Utils\Type::resolve($type->getName(), $reflection);
- } elseif ($type instanceof \ReflectionUnionType || $type instanceof \RectorPrefix20220217\ReflectionIntersectionType) {
- throw new \RectorPrefix20220217\Nette\InvalidStateException('The ' . self::toString($reflection) . ' is not expected to have a union or intersection type.');
+ return \RectorPrefix20220218\Nette\Utils\Type::resolve($type->getName(), $reflection);
+ } elseif ($type instanceof \ReflectionUnionType || $type instanceof \RectorPrefix20220218\ReflectionIntersectionType) {
+ throw new \RectorPrefix20220218\Nette\InvalidStateException('The ' . self::toString($reflection) . ' is not expected to have a union or intersection type.');
} else {
- throw new \RectorPrefix20220217\Nette\InvalidStateException('Unexpected type of ' . self::toString($reflection));
+ throw new \RectorPrefix20220218\Nette\InvalidStateException('Unexpected type of ' . self::toString($reflection));
}
}
/**
@@ -108,7 +108,7 @@ final class Reflection
$const = $orig = $param->getDefaultValueConstantName();
$pair = \explode('::', $const);
if (isset($pair[1])) {
- $pair[0] = \RectorPrefix20220217\Nette\Utils\Type::resolve($pair[0], $param);
+ $pair[0] = \RectorPrefix20220218\Nette\Utils\Type::resolve($pair[0], $param);
try {
$rcc = new \ReflectionClassConstant($pair[0], $pair[1]);
} catch (\ReflectionException $e) {
@@ -182,7 +182,7 @@ final class Reflection
} elseif ($ref instanceof \ReflectionParameter) {
return '$' . $ref->name . ' in ' . self::toString($ref->getDeclaringFunction());
} else {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException();
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException();
}
}
/**
@@ -194,7 +194,7 @@ final class Reflection
{
$lower = \strtolower($name);
if (empty($name)) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException('Class name must not be empty.');
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException('Class name must not be empty.');
} elseif (isset(self::BUILTIN_TYPES[$lower])) {
return $lower;
} elseif ($lower === 'self' || $lower === 'static') {
@@ -220,7 +220,7 @@ final class Reflection
public static function getUseStatements(\ReflectionClass $class) : array
{
if ($class->isAnonymous()) {
- throw new \RectorPrefix20220217\Nette\NotImplementedException('Anonymous classes are not supported.');
+ throw new \RectorPrefix20220218\Nette\NotImplementedException('Anonymous classes are not supported.');
}
static $cache = [];
if (!isset($cache[$name = $class->name])) {
diff --git a/vendor/nette/utils/src/Utils/Strings.php b/vendor/nette/utils/src/Utils/Strings.php
index 324da004f1c..8a91315846b 100644
--- a/vendor/nette/utils/src/Utils/Strings.php
+++ b/vendor/nette/utils/src/Utils/Strings.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
use function is_array, is_object, strlen;
/**
* String tools library.
@@ -38,9 +38,9 @@ class Strings
public static function chr(int $code) : string
{
if ($code < 0 || $code >= 0xd800 && $code <= 0xdfff || $code > 0x10ffff) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException('Code point must be in range 0x0 to 0xD7FF or 0xE000 to 0x10FFFF.');
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException('Code point must be in range 0x0 to 0xD7FF or 0xE000 to 0x10FFFF.');
} elseif (!\extension_loaded('iconv')) {
- throw new \RectorPrefix20220217\Nette\NotSupportedException(__METHOD__ . '() requires ICONV extension that is not loaded.');
+ throw new \RectorPrefix20220218\Nette\NotSupportedException(__METHOD__ . '() requires ICONV extension that is not loaded.');
}
return \iconv('UTF-32BE', 'UTF-8//IGNORE', \pack('N', $code));
}
@@ -75,7 +75,7 @@ class Strings
return \mb_substr($s, $start, $length, 'UTF-8');
// MB is much faster
} elseif (!\extension_loaded('iconv')) {
- throw new \RectorPrefix20220217\Nette\NotSupportedException(__METHOD__ . '() requires extension ICONV or MBSTRING, neither is loaded.');
+ throw new \RectorPrefix20220218\Nette\NotSupportedException(__METHOD__ . '() requires extension ICONV or MBSTRING, neither is loaded.');
} elseif ($length === null) {
$length = self::length($s);
} elseif ($start < 0 && $length < 0) {
@@ -330,7 +330,7 @@ class Strings
public static function reverse(string $s) : string
{
if (!\extension_loaded('iconv')) {
- throw new \RectorPrefix20220217\Nette\NotSupportedException(__METHOD__ . '() requires ICONV extension that is not loaded.');
+ throw new \RectorPrefix20220218\Nette\NotSupportedException(__METHOD__ . '() requires ICONV extension that is not loaded.');
}
return \iconv('UTF-32LE', 'UTF-8', \strrev(\iconv('UTF-8', 'UTF-32BE', $s)));
}
@@ -388,7 +388,7 @@ class Strings
$pos--;
}
}
- return \RectorPrefix20220217\Nette\Utils\Helpers::falseToNull($pos);
+ return \RectorPrefix20220218\Nette\Utils\Helpers::falseToNull($pos);
}
/**
* Splits a string into array by the regular expression. Parenthesized expression in the delimiter are captured.
@@ -430,7 +430,7 @@ class Strings
{
if (\is_object($replacement) || \is_array($replacement)) {
if (!\is_callable($replacement, \false, $textual)) {
- throw new \RectorPrefix20220217\Nette\InvalidStateException("Callback '{$textual}' is not callable.");
+ throw new \RectorPrefix20220218\Nette\InvalidStateException("Callback '{$textual}' is not callable.");
}
return self::pcre('preg_replace_callback', [$pattern, $replacement, $subject, $limit]);
} elseif (\is_array($pattern) && \is_string(\key($pattern))) {
@@ -442,12 +442,12 @@ class Strings
/** @internal */
public static function pcre(string $func, array $args)
{
- $res = \RectorPrefix20220217\Nette\Utils\Callback::invokeSafe($func, $args, function (string $message) use($args) : void {
+ $res = \RectorPrefix20220218\Nette\Utils\Callback::invokeSafe($func, $args, function (string $message) use($args) : void {
// compile-time error, not detectable by preg_last_error
- throw new \RectorPrefix20220217\Nette\Utils\RegexpException($message . ' in pattern: ' . \implode(' or ', (array) $args[0]));
+ throw new \RectorPrefix20220218\Nette\Utils\RegexpException($message . ' in pattern: ' . \implode(' or ', (array) $args[0]));
});
if (($code = \preg_last_error()) && ($res === null || !\in_array($func, ['preg_filter', 'preg_replace_callback', 'preg_replace'], \true))) {
- throw new \RectorPrefix20220217\Nette\Utils\RegexpException((\RectorPrefix20220217\Nette\Utils\RegexpException::MESSAGES[$code] ?? 'Unknown error') . ' (pattern: ' . \implode(' or ', (array) $args[0]) . ')', $code);
+ throw new \RectorPrefix20220218\Nette\Utils\RegexpException((\RectorPrefix20220218\Nette\Utils\RegexpException::MESSAGES[$code] ?? 'Unknown error') . ' (pattern: ' . \implode(' or ', (array) $args[0]) . ')', $code);
}
return $res;
}
diff --git a/vendor/nette/utils/src/Utils/Type.php b/vendor/nette/utils/src/Utils/Type.php
index f334bb8b498..ca5433b1db9 100644
--- a/vendor/nette/utils/src/Utils/Type.php
+++ b/vendor/nette/utils/src/Utils/Type.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
/**
* PHP type reflection.
*/
@@ -38,12 +38,12 @@ final class Type
} elseif ($type instanceof \ReflectionNamedType) {
$name = self::resolve($type->getName(), $reflection);
return new self($type->allowsNull() && $type->getName() !== 'mixed' ? [$name, 'null'] : [$name]);
- } elseif ($type instanceof \ReflectionUnionType || $type instanceof \RectorPrefix20220217\ReflectionIntersectionType) {
+ } elseif ($type instanceof \ReflectionUnionType || $type instanceof \RectorPrefix20220218\ReflectionIntersectionType) {
return new self(\array_map(function ($t) use($reflection) {
return self::resolve($t->getName(), $reflection);
}, $type->getTypes()), $type instanceof \ReflectionUnionType ? '|' : '&');
} else {
- throw new \RectorPrefix20220217\Nette\InvalidStateException('Unexpected type of ' . \RectorPrefix20220217\Nette\Utils\Reflection::toString($reflection));
+ throw new \RectorPrefix20220218\Nette\InvalidStateException('Unexpected type of ' . \RectorPrefix20220218\Nette\Utils\Reflection::toString($reflection));
}
}
/**
@@ -55,7 +55,7 @@ final class Type
\\?([\\w\\\\]+)|
[\\w\\\\]+ (?: (&[\\w\\\\]+)* | (\\|[\\w\\\\]+)* )
)()$#xAD', $type, $m)) {
- throw new \RectorPrefix20220217\Nette\InvalidArgumentException("Invalid type '{$type}'.");
+ throw new \RectorPrefix20220218\Nette\InvalidArgumentException("Invalid type '{$type}'.");
}
[, $nType, $iType] = $m;
if ($nType) {
@@ -148,21 +148,21 @@ final class Type
*/
public function isBuiltin() : bool
{
- return $this->single && \RectorPrefix20220217\Nette\Utils\Reflection::isBuiltinType($this->types[0]);
+ return $this->single && \RectorPrefix20220218\Nette\Utils\Reflection::isBuiltinType($this->types[0]);
}
/**
* Returns true whether the type is both a single and a class name.
*/
public function isClass() : bool
{
- return $this->single && !\RectorPrefix20220217\Nette\Utils\Reflection::isBuiltinType($this->types[0]);
+ return $this->single && !\RectorPrefix20220218\Nette\Utils\Reflection::isBuiltinType($this->types[0]);
}
/**
* Determines if type is special class name self/parent/static.
*/
public function isClassKeyword() : bool
{
- return $this->single && \RectorPrefix20220217\Nette\Utils\Reflection::isClassKeyword($this->types[0]);
+ return $this->single && \RectorPrefix20220218\Nette\Utils\Reflection::isClassKeyword($this->types[0]);
}
/**
* Verifies type compatibility. For example, it checks if a value of a certain type could be passed as a parameter.
@@ -177,17 +177,17 @@ final class Type
if (!$type->isIntersection()) {
return \false;
}
- return \RectorPrefix20220217\Nette\Utils\Arrays::every($this->types, function ($currentType) use($type) {
- $builtin = \RectorPrefix20220217\Nette\Utils\Reflection::isBuiltinType($currentType);
- return \RectorPrefix20220217\Nette\Utils\Arrays::some($type->types, function ($testedType) use($currentType, $builtin) {
+ return \RectorPrefix20220218\Nette\Utils\Arrays::every($this->types, function ($currentType) use($type) {
+ $builtin = \RectorPrefix20220218\Nette\Utils\Reflection::isBuiltinType($currentType);
+ return \RectorPrefix20220218\Nette\Utils\Arrays::some($type->types, function ($testedType) use($currentType, $builtin) {
return $builtin ? \strcasecmp($currentType, $testedType) === 0 : \is_a($testedType, $currentType, \true);
});
});
}
$method = $type->isIntersection() ? 'some' : 'every';
- return \RectorPrefix20220217\Nette\Utils\Arrays::$method($type->types, function ($testedType) {
- $builtin = \RectorPrefix20220217\Nette\Utils\Reflection::isBuiltinType($testedType);
- return \RectorPrefix20220217\Nette\Utils\Arrays::some($this->types, function ($currentType) use($testedType, $builtin) {
+ return \RectorPrefix20220218\Nette\Utils\Arrays::$method($type->types, function ($testedType) {
+ $builtin = \RectorPrefix20220218\Nette\Utils\Reflection::isBuiltinType($testedType);
+ return \RectorPrefix20220218\Nette\Utils\Arrays::some($this->types, function ($currentType) use($testedType, $builtin) {
return $builtin ? \strcasecmp($currentType, $testedType) === 0 : \is_a($testedType, $currentType, \true);
});
});
diff --git a/vendor/nette/utils/src/Utils/Validators.php b/vendor/nette/utils/src/Utils/Validators.php
index f3ad9384943..f3c9c2b7dcd 100644
--- a/vendor/nette/utils/src/Utils/Validators.php
+++ b/vendor/nette/utils/src/Utils/Validators.php
@@ -5,9 +5,9 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
/**
* Validation utilities.
*/
@@ -31,7 +31,7 @@ class Validators
// pseudo-types
'callable' => [self::class, 'isCallable'],
'iterable' => 'is_iterable',
- 'list' => [\RectorPrefix20220217\Nette\Utils\Arrays::class, 'isList'],
+ 'list' => [\RectorPrefix20220218\Nette\Utils\Arrays::class, 'isList'],
'mixed' => [self::class, 'isMixed'],
'none' => [self::class, 'isNone'],
'number' => [self::class, 'isNumber'],
@@ -60,7 +60,7 @@ class Validators
'type' => [self::class, 'isType'],
];
/** @var array */
- protected static $counters = ['string' => 'strlen', 'unicode' => [\RectorPrefix20220217\Nette\Utils\Strings::class, 'length'], 'array' => 'count', 'list' => 'count', 'alnum' => 'strlen', 'alpha' => 'strlen', 'digit' => 'strlen', 'lower' => 'strlen', 'space' => 'strlen', 'upper' => 'strlen', 'xdigit' => 'strlen'];
+ protected static $counters = ['string' => 'strlen', 'unicode' => [\RectorPrefix20220218\Nette\Utils\Strings::class, 'length'], 'array' => 'count', 'list' => 'count', 'alnum' => 'strlen', 'alpha' => 'strlen', 'digit' => 'strlen', 'lower' => 'strlen', 'space' => 'strlen', 'upper' => 'strlen', 'xdigit' => 'strlen'];
/**
* Verifies that the value is of expected types separated by pipe.
* @param mixed $value
@@ -77,7 +77,7 @@ class Validators
} elseif (\is_object($value)) {
$type .= ' ' . \get_class($value);
}
- throw new \RectorPrefix20220217\Nette\Utils\AssertionException("The {$label} expects to be {$expected}, {$type} given.");
+ throw new \RectorPrefix20220218\Nette\Utils\AssertionException("The {$label} expects to be {$expected}, {$type} given.");
}
}
/**
@@ -89,7 +89,7 @@ class Validators
public static function assertField(array $array, $key, ?string $expected = null, string $label = "item '%' in array") : void
{
if (!\array_key_exists($key, $array)) {
- throw new \RectorPrefix20220217\Nette\Utils\AssertionException('Missing ' . \str_replace('%', $key, $label) . '.');
+ throw new \RectorPrefix20220218\Nette\Utils\AssertionException('Missing ' . \str_replace('%', $key, $label) . '.');
} elseif ($expected) {
static::assert($array[$key], $expected, \str_replace('%', $key, $label));
}
@@ -122,7 +122,7 @@ class Validators
continue;
}
} elseif ($type === 'pattern') {
- if (\RectorPrefix20220217\Nette\Utils\Strings::match($value, '|^' . ($item[1] ?? '') . '$|D')) {
+ if (\RectorPrefix20220218\Nette\Utils\Strings::match($value, '|^' . ($item[1] ?? '') . '$|D')) {
return \true;
}
continue;
@@ -220,7 +220,7 @@ class Validators
*/
public static function isList($value) : bool
{
- return \RectorPrefix20220217\Nette\Utils\Arrays::isList($value);
+ return \RectorPrefix20220218\Nette\Utils\Arrays::isList($value);
}
/**
* Checks if the value is in the given range [min, max], where the upper or lower limit can be omitted (null).
diff --git a/vendor/nette/utils/src/Utils/exceptions.php b/vendor/nette/utils/src/Utils/exceptions.php
index 974828e62e2..54b98c26f22 100644
--- a/vendor/nette/utils/src/Utils/exceptions.php
+++ b/vendor/nette/utils/src/Utils/exceptions.php
@@ -5,7 +5,7 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
/**
* The exception that is thrown when an image error occurs.
@@ -16,7 +16,7 @@ class ImageException extends \Exception
/**
* The exception that indicates invalid image file.
*/
-class UnknownImageFileException extends \RectorPrefix20220217\Nette\Utils\ImageException
+class UnknownImageFileException extends \RectorPrefix20220218\Nette\Utils\ImageException
{
}
/**
diff --git a/vendor/nette/utils/src/compatibility.php b/vendor/nette/utils/src/compatibility.php
index b05cde2645d..6787aaf8282 100644
--- a/vendor/nette/utils/src/compatibility.php
+++ b/vendor/nette/utils/src/compatibility.php
@@ -5,24 +5,24 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette\Utils;
+namespace RectorPrefix20220218\Nette\Utils;
-use RectorPrefix20220217\Nette;
+use RectorPrefix20220218\Nette;
if (\false) {
/** @deprecated use Nette\HtmlStringable */
- interface IHtmlString extends \RectorPrefix20220217\Nette\HtmlStringable
+ interface IHtmlString extends \RectorPrefix20220218\Nette\HtmlStringable
{
}
-} elseif (!\interface_exists(\RectorPrefix20220217\Nette\Utils\IHtmlString::class)) {
- \class_alias(\RectorPrefix20220217\Nette\HtmlStringable::class, \RectorPrefix20220217\Nette\Utils\IHtmlString::class);
+} elseif (!\interface_exists(\RectorPrefix20220218\Nette\Utils\IHtmlString::class)) {
+ \class_alias(\RectorPrefix20220218\Nette\HtmlStringable::class, \RectorPrefix20220218\Nette\Utils\IHtmlString::class);
}
-namespace RectorPrefix20220217\Nette\Localization;
+namespace RectorPrefix20220218\Nette\Localization;
if (\false) {
/** @deprecated use Nette\Localization\Translator */
- interface ITranslator extends \RectorPrefix20220217\Nette\Localization\Translator
+ interface ITranslator extends \RectorPrefix20220218\Nette\Localization\Translator
{
}
-} elseif (!\interface_exists(\RectorPrefix20220217\Nette\Localization\ITranslator::class)) {
- \class_alias(\RectorPrefix20220217\Nette\Localization\Translator::class, \RectorPrefix20220217\Nette\Localization\ITranslator::class);
+} elseif (!\interface_exists(\RectorPrefix20220218\Nette\Localization\ITranslator::class)) {
+ \class_alias(\RectorPrefix20220218\Nette\Localization\Translator::class, \RectorPrefix20220218\Nette\Localization\ITranslator::class);
}
diff --git a/vendor/nette/utils/src/exceptions.php b/vendor/nette/utils/src/exceptions.php
index 250f61fdd9b..2090d8d653d 100644
--- a/vendor/nette/utils/src/exceptions.php
+++ b/vendor/nette/utils/src/exceptions.php
@@ -5,7 +5,7 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
-namespace RectorPrefix20220217\Nette;
+namespace RectorPrefix20220218\Nette;
/**
* The exception that is thrown when the value of an argument is
@@ -37,7 +37,7 @@ class NotSupportedException extends \LogicException
/**
* The exception that is thrown when a requested method or operation is deprecated.
*/
-class DeprecatedException extends \RectorPrefix20220217\Nette\NotSupportedException
+class DeprecatedException extends \RectorPrefix20220218\Nette\NotSupportedException
{
}
/**
@@ -55,13 +55,13 @@ class IOException extends \RuntimeException
/**
* The exception that is thrown when accessing a file that does not exist on disk.
*/
-class FileNotFoundException extends \RectorPrefix20220217\Nette\IOException
+class FileNotFoundException extends \RectorPrefix20220218\Nette\IOException
{
}
/**
* The exception that is thrown when part of a file or directory cannot be found.
*/
-class DirectoryNotFoundException extends \RectorPrefix20220217\Nette\IOException
+class DirectoryNotFoundException extends \RectorPrefix20220218\Nette\IOException
{
}
/**
diff --git a/vendor/nikic/php-parser/bin/php-parse b/vendor/nikic/php-parser/bin/php-parse
index 5dbb232d206..06af27c11e3 100644
--- a/vendor/nikic/php-parser/bin/php-parse
+++ b/vendor/nikic/php-parser/bin/php-parse
@@ -1,6 +1,6 @@
#!/usr/bin/env php
['startLine', 'endLine', 'startFilePos', 'endFilePos', 'comments']]);
$parser = (new \PhpParser\ParserFactory())->create(\PhpParser\ParserFactory::PREFER_PHP7, $lexer);
@@ -43,7 +43,7 @@ foreach ($files as $file) {
$errorHandler = new \PhpParser\ErrorHandler\Collecting();
$stmts = $parser->parse($code, $errorHandler);
foreach ($errorHandler->getErrors() as $error) {
- $message = \RectorPrefix20220217\formatErrorMessage($error, $code, $attributes['with-column-info']);
+ $message = \RectorPrefix20220218\formatErrorMessage($error, $code, $attributes['with-column-info']);
\fwrite(\STDERR, $message . "\n");
}
if (null === $stmts) {
@@ -53,7 +53,7 @@ foreach ($files as $file) {
try {
$stmts = $parser->parse($code);
} catch (\PhpParser\Error $error) {
- $message = \RectorPrefix20220217\formatErrorMessage($error, $code, $attributes['with-column-info']);
+ $message = \RectorPrefix20220218\formatErrorMessage($error, $code, $attributes['with-column-info']);
\fwrite(\STDERR, $message . "\n");
exit(1);
}
@@ -163,14 +163,14 @@ function parseArgs($args)
break;
case '--help':
case '-h':
- \RectorPrefix20220217\showHelp();
+ \RectorPrefix20220218\showHelp();
break;
case '--':
$parseOptions = \false;
break;
default:
if ($arg[0] === '-') {
- \RectorPrefix20220217\showHelp("Invalid operation {$arg}.");
+ \RectorPrefix20220218\showHelp("Invalid operation {$arg}.");
} else {
$files[] = $arg;
}
diff --git a/vendor/nikic/php-parser/grammar/phpyLang.php b/vendor/nikic/php-parser/grammar/phpyLang.php
index fb5cf4684f4..6c6cca5f471 100644
--- a/vendor/nikic/php-parser/grammar/phpyLang.php
+++ b/vendor/nikic/php-parser/grammar/phpyLang.php
@@ -1,6 +1,6 @@
[^()]*+(?:\\((?&args)\\)[^()]*+)*+)\\)';
///////////////////////////////
function preprocessGrammar($code)
{
- $code = \RectorPrefix20220217\resolveNodes($code);
- $code = \RectorPrefix20220217\resolveMacros($code);
- $code = \RectorPrefix20220217\resolveStackAccess($code);
+ $code = \RectorPrefix20220218\resolveNodes($code);
+ $code = \RectorPrefix20220218\resolveMacros($code);
+ $code = \RectorPrefix20220218\resolveStackAccess($code);
return $code;
}
function resolveNodes($code)
{
return \preg_replace_callback('~\\b(?[A-Z][a-zA-Z_\\\\]++)\\s*' . \PARAMS . '~', function ($matches) {
// recurse
- $matches['params'] = \RectorPrefix20220217\resolveNodes($matches['params']);
- $params = \RectorPrefix20220217\magicSplit('(?:' . \PARAMS . '|' . \ARGS . ')(*SKIP)(*FAIL)|,', $matches['params']);
+ $matches['params'] = \RectorPrefix20220218\resolveNodes($matches['params']);
+ $params = \RectorPrefix20220218\magicSplit('(?:' . \PARAMS . '|' . \ARGS . ')(*SKIP)(*FAIL)|,', $matches['params']);
$paramCode = '';
foreach ($params as $param) {
$paramCode .= $param . ', ';
@@ -41,54 +41,54 @@ function resolveMacros($code)
{
return \preg_replace_callback('~\\b(?)(?!array\\()(?[a-z][A-Za-z]++)' . \ARGS . '~', function ($matches) {
// recurse
- $matches['args'] = \RectorPrefix20220217\resolveMacros($matches['args']);
+ $matches['args'] = \RectorPrefix20220218\resolveMacros($matches['args']);
$name = $matches['name'];
- $args = \RectorPrefix20220217\magicSplit('(?:' . \PARAMS . '|' . \ARGS . ')(*SKIP)(*FAIL)|,', $matches['args']);
+ $args = \RectorPrefix20220218\magicSplit('(?:' . \PARAMS . '|' . \ARGS . ')(*SKIP)(*FAIL)|,', $matches['args']);
if ('attributes' === $name) {
- \RectorPrefix20220217\assertArgs(0, $args, $name);
+ \RectorPrefix20220218\assertArgs(0, $args, $name);
return '$this->startAttributeStack[#1] + $this->endAttributes';
}
if ('stackAttributes' === $name) {
- \RectorPrefix20220217\assertArgs(1, $args, $name);
+ \RectorPrefix20220218\assertArgs(1, $args, $name);
return '$this->startAttributeStack[' . $args[0] . ']' . ' + $this->endAttributeStack[' . $args[0] . ']';
}
if ('init' === $name) {
return '$$ = array(' . \implode(', ', $args) . ')';
}
if ('push' === $name) {
- \RectorPrefix20220217\assertArgs(2, $args, $name);
+ \RectorPrefix20220218\assertArgs(2, $args, $name);
return $args[0] . '[] = ' . $args[1] . '; $$ = ' . $args[0];
}
if ('pushNormalizing' === $name) {
- \RectorPrefix20220217\assertArgs(2, $args, $name);
+ \RectorPrefix20220218\assertArgs(2, $args, $name);
return 'if (is_array(' . $args[1] . ')) { $$ = array_merge(' . $args[0] . ', ' . $args[1] . '); }' . ' else { ' . $args[0] . '[] = ' . $args[1] . '; $$ = ' . $args[0] . '; }';
}
if ('toArray' == $name) {
- \RectorPrefix20220217\assertArgs(1, $args, $name);
+ \RectorPrefix20220218\assertArgs(1, $args, $name);
return 'is_array(' . $args[0] . ') ? ' . $args[0] . ' : array(' . $args[0] . ')';
}
if ('parseVar' === $name) {
- \RectorPrefix20220217\assertArgs(1, $args, $name);
+ \RectorPrefix20220218\assertArgs(1, $args, $name);
return 'substr(' . $args[0] . ', 1)';
}
if ('parseEncapsed' === $name) {
- \RectorPrefix20220217\assertArgs(3, $args, $name);
+ \RectorPrefix20220218\assertArgs(3, $args, $name);
return 'foreach (' . $args[0] . ' as $s) { if ($s instanceof Node\\Scalar\\EncapsedStringPart) {' . ' $s->value = Node\\Scalar\\String_::parseEscapeSequences($s->value, ' . $args[1] . ', ' . $args[2] . '); } }';
}
if ('makeNop' === $name) {
- \RectorPrefix20220217\assertArgs(3, $args, $name);
+ \RectorPrefix20220218\assertArgs(3, $args, $name);
return '$startAttributes = ' . $args[1] . ';' . ' if (isset($startAttributes[\'comments\']))' . ' { ' . $args[0] . ' = new Stmt\\Nop($startAttributes + ' . $args[2] . '); }' . ' else { ' . $args[0] . ' = null; }';
}
if ('makeZeroLengthNop' == $name) {
- \RectorPrefix20220217\assertArgs(2, $args, $name);
+ \RectorPrefix20220218\assertArgs(2, $args, $name);
return '$startAttributes = ' . $args[1] . ';' . ' if (isset($startAttributes[\'comments\']))' . ' { ' . $args[0] . ' = new Stmt\\Nop($this->createCommentNopAttributes($startAttributes[\'comments\'])); }' . ' else { ' . $args[0] . ' = null; }';
}
if ('strKind' === $name) {
- \RectorPrefix20220217\assertArgs(1, $args, $name);
+ \RectorPrefix20220218\assertArgs(1, $args, $name);
return '(' . $args[0] . '[0] === "\'" || (' . $args[0] . '[1] === "\'" && ' . '(' . $args[0] . '[0] === \'b\' || ' . $args[0] . '[0] === \'B\')) ' . '? Scalar\\String_::KIND_SINGLE_QUOTED : Scalar\\String_::KIND_DOUBLE_QUOTED)';
}
if ('prependLeadingComments' === $name) {
- \RectorPrefix20220217\assertArgs(1, $args, $name);
+ \RectorPrefix20220218\assertArgs(1, $args, $name);
return '$attrs = $this->startAttributeStack[#1]; $stmts = ' . $args[0] . '; ' . 'if (!empty($attrs[\'comments\'])) {' . '$stmts[0]->setAttribute(\'comments\', ' . 'array_merge($attrs[\'comments\'], $stmts[0]->getAttribute(\'comments\', []))); }';
}
return $matches[0];
@@ -121,7 +121,7 @@ function regex($regex)
}
function magicSplit($regex, $string)
{
- $pieces = \preg_split(\RectorPrefix20220217\regex('(?:(?&string)|(?&comment)|(?&code))(*SKIP)(*FAIL)|' . $regex), $string);
+ $pieces = \preg_split(\RectorPrefix20220218\regex('(?:(?&string)|(?&comment)|(?&code))(*SKIP)(*FAIL)|' . $regex), $string);
foreach ($pieces as &$piece) {
$piece = \trim($piece);
}
diff --git a/vendor/nikic/php-parser/grammar/rebuildParsers.php b/vendor/nikic/php-parser/grammar/rebuildParsers.php
index 791658429fa..fa3d935d158 100644
--- a/vendor/nikic/php-parser/grammar/rebuildParsers.php
+++ b/vendor/nikic/php-parser/grammar/rebuildParsers.php
@@ -1,6 +1,6 @@
'Php5', __DIR__ . '/php7.y' => 'Php7'];
@@ -27,18 +27,18 @@ foreach ($grammarFileToName as $grammarFile => $name) {
echo "Building temporary {$name} grammar file.\n";
$grammarCode = \file_get_contents($grammarFile);
$grammarCode = \str_replace('%tokens', $tokens, $grammarCode);
- $grammarCode = \RectorPrefix20220217\preprocessGrammar($grammarCode);
+ $grammarCode = \RectorPrefix20220218\preprocessGrammar($grammarCode);
\file_put_contents($tmpGrammarFile, $grammarCode);
$additionalArgs = $optionDebug ? '-t -v' : '';
echo "Building {$name} parser.\n";
- $output = \RectorPrefix20220217\execCmd("{$kmyacc} {$additionalArgs} -m {$skeletonFile} -p {$name} {$tmpGrammarFile}");
+ $output = \RectorPrefix20220218\execCmd("{$kmyacc} {$additionalArgs} -m {$skeletonFile} -p {$name} {$tmpGrammarFile}");
$resultCode = \file_get_contents($tmpResultFile);
- $resultCode = \RectorPrefix20220217\removeTrailingWhitespace($resultCode);
- \RectorPrefix20220217\ensureDirExists($resultDir);
+ $resultCode = \RectorPrefix20220218\removeTrailingWhitespace($resultCode);
+ \RectorPrefix20220218\ensureDirExists($resultDir);
\file_put_contents("{$resultDir}/{$name}.php", $resultCode);
\unlink($tmpResultFile);
echo "Building token definition.\n";
- $output = \RectorPrefix20220217\execCmd("{$kmyacc} -m {$tokensTemplate} {$tmpGrammarFile}");
+ $output = \RectorPrefix20220218\execCmd("{$kmyacc} -m {$tokensTemplate} {$tmpGrammarFile}");
\rename($tmpResultFile, $tokensResultsFile);
if (!$optionKeepTmpGrammar) {
\unlink($tmpGrammarFile);
diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/ClassConst.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/ClassConst.php
index 18fd776d9ff..28665a8a1e1 100644
--- a/vendor/nikic/php-parser/lib/PhpParser/Builder/ClassConst.php
+++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/ClassConst.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace PhpParser\Builder;
-use RectorPrefix20220217\PhpParser;
+use RectorPrefix20220218\PhpParser;
use PhpParser\BuilderHelpers;
use PhpParser\Node;
use PhpParser\Node\Const_;
diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Class_.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Class_.php
index 9a706b6b969..1ee33182fef 100644
--- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Class_.php
+++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Class_.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace PhpParser\Builder;
-use RectorPrefix20220217\PhpParser;
+use RectorPrefix20220218\PhpParser;
use PhpParser\BuilderHelpers;
use PhpParser\Node;
use PhpParser\Node\Name;
diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Declaration.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Declaration.php
index 18b4f2a833e..c10c7035d15 100644
--- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Declaration.php
+++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Declaration.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace PhpParser\Builder;
-use RectorPrefix20220217\PhpParser;
+use RectorPrefix20220218\PhpParser;
use PhpParser\BuilderHelpers;
abstract class Declaration implements \PhpParser\Builder
{
diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/EnumCase.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/EnumCase.php
index b1134a95c04..e1c5196fdf8 100644
--- a/vendor/nikic/php-parser/lib/PhpParser/Builder/EnumCase.php
+++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/EnumCase.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace PhpParser\Builder;
-use RectorPrefix20220217\PhpParser;
+use RectorPrefix20220218\PhpParser;
use PhpParser\BuilderHelpers;
use PhpParser\Node;
use PhpParser\Node\Identifier;
diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Enum_.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Enum_.php
index 6671208d3e3..a4e8c997351 100644
--- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Enum_.php
+++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Enum_.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace PhpParser\Builder;
-use RectorPrefix20220217\PhpParser;
+use RectorPrefix20220218\PhpParser;
use PhpParser\BuilderHelpers;
use PhpParser\Node;
use PhpParser\Node\Identifier;
diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Function_.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Function_.php
index d60049f2e69..bff041648cd 100644
--- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Function_.php
+++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Function_.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace PhpParser\Builder;
-use RectorPrefix20220217\PhpParser;
+use RectorPrefix20220218\PhpParser;
use PhpParser\BuilderHelpers;
use PhpParser\Node;
use PhpParser\Node\Stmt;
diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Interface_.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Interface_.php
index 0d8e66fbde3..4f677b04bcd 100644
--- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Interface_.php
+++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Interface_.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace PhpParser\Builder;
-use RectorPrefix20220217\PhpParser;
+use RectorPrefix20220218\PhpParser;
use PhpParser\BuilderHelpers;
use PhpParser\Node;
use PhpParser\Node\Name;
diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Method.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Method.php
index 87ad194b840..971eeb361c0 100644
--- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Method.php
+++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Method.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace PhpParser\Builder;
-use RectorPrefix20220217\PhpParser;
+use RectorPrefix20220218\PhpParser;
use PhpParser\BuilderHelpers;
use PhpParser\Node;
use PhpParser\Node\Stmt;
diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Namespace_.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Namespace_.php
index 0aa744d6032..f066e6024e1 100644
--- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Namespace_.php
+++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Namespace_.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace PhpParser\Builder;
-use RectorPrefix20220217\PhpParser;
+use RectorPrefix20220218\PhpParser;
use PhpParser\BuilderHelpers;
use PhpParser\Node;
use PhpParser\Node\Stmt;
diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Param.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Param.php
index d98f5e8900a..268b30d125a 100644
--- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Param.php
+++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Param.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace PhpParser\Builder;
-use RectorPrefix20220217\PhpParser;
+use RectorPrefix20220218\PhpParser;
use PhpParser\BuilderHelpers;
use PhpParser\Node;
class Param implements \PhpParser\Builder
diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Property.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Property.php
index b5c7fbae324..7eaefdaf77b 100644
--- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Property.php
+++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Property.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace PhpParser\Builder;
-use RectorPrefix20220217\PhpParser;
+use RectorPrefix20220218\PhpParser;
use PhpParser\BuilderHelpers;
use PhpParser\Node;
use PhpParser\Node\Identifier;
diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Trait_.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Trait_.php
index eb38c60ce55..f9f4709c60e 100644
--- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Trait_.php
+++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Trait_.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace PhpParser\Builder;
-use RectorPrefix20220217\PhpParser;
+use RectorPrefix20220218\PhpParser;
use PhpParser\BuilderHelpers;
use PhpParser\Node;
use PhpParser\Node\Stmt;
diff --git a/vendor/nikic/php-parser/lib/PhpParser/BuilderHelpers.php b/vendor/nikic/php-parser/lib/PhpParser/BuilderHelpers.php
index 5fac89097d9..aea72df5343 100644
--- a/vendor/nikic/php-parser/lib/PhpParser/BuilderHelpers.php
+++ b/vendor/nikic/php-parser/lib/PhpParser/BuilderHelpers.php
@@ -69,7 +69,7 @@ final class BuilderHelpers
if (\is_string($name)) {
return new \PhpParser\Node\Identifier($name);
}
- throw new \LogicException('RectorPrefix20220217\\Expected string or instance of Node\\Identifier');
+ throw new \LogicException('RectorPrefix20220218\\Expected string or instance of Node\\Identifier');
}
/**
* Normalizes strings to Identifier, also allowing expressions.
@@ -86,7 +86,7 @@ final class BuilderHelpers
if (\is_string($name)) {
return new \PhpParser\Node\Identifier($name);
}
- throw new \LogicException('RectorPrefix20220217\\Expected string or instance of Node\\Identifier or Node\\Expr');
+ throw new \LogicException('RectorPrefix20220218\\Expected string or instance of Node\\Identifier or Node\\Expr');
}
/**
* Normalizes a name: Converts string names to Name nodes.
@@ -112,7 +112,7 @@ final class BuilderHelpers
}
return new \PhpParser\Node\Name($name);
}
- throw new \LogicException('RectorPrefix20220217\\Name must be a string or an instance of Node\\Name');
+ throw new \LogicException('RectorPrefix20220218\\Name must be a string or an instance of Node\\Name');
}
/**
* Normalizes a name: Converts string names to Name nodes, while also allowing expressions.
@@ -127,7 +127,7 @@ final class BuilderHelpers
return $name;
}
if (!\is_string($name) && !$name instanceof \PhpParser\Node\Name) {
- throw new \LogicException('RectorPrefix20220217\\Name must be a string or an instance of Node\\Name or Node\\Expr');
+ throw new \LogicException('RectorPrefix20220218\\Name must be a string or an instance of Node\\Name or Node\\Expr');
}
return self::normalizeName($name);
}
@@ -226,7 +226,7 @@ final class BuilderHelpers
if (\is_string($docComment)) {
return new \PhpParser\Comment\Doc($docComment);
}
- throw new \LogicException('RectorPrefix20220217\\Doc comment must be a string or an instance of PhpParser\\Comment\\Doc');
+ throw new \LogicException('RectorPrefix20220218\\Doc comment must be a string or an instance of PhpParser\\Comment\\Doc');
}
/**
* Normalizes a attribute: Converts attribute to the Attribute Group if needed.
@@ -241,7 +241,7 @@ final class BuilderHelpers
return $attribute;
}
if (!$attribute instanceof \PhpParser\Node\Attribute) {
- throw new \LogicException('RectorPrefix20220217\\Attribute must be an instance of PhpParser\\Node\\Attribute or PhpParser\\Node\\AttributeGroup');
+ throw new \LogicException('RectorPrefix20220218\\Attribute must be an instance of PhpParser\\Node\\Attribute or PhpParser\\Node\\AttributeGroup');
}
return new \PhpParser\Node\AttributeGroup([$attribute]);
}
diff --git a/vendor/ondram/ci-detector/composer.json b/vendor/ondram/ci-detector/composer.json
index b2be559b519..66619b29c0e 100644
--- a/vendor/ondram/ci-detector/composer.json
+++ b/vendor/ondram/ci-detector/composer.json
@@ -55,12 +55,12 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\OndraM\\CiDetector\\": "src\/"
+ "RectorPrefix20220218\\OndraM\\CiDetector\\": "src\/"
}
},
"autoload-dev": {
"psr-4": {
- "RectorPrefix20220217\\OndraM\\CiDetector\\Ci\\": "tests\/"
+ "RectorPrefix20220218\\OndraM\\CiDetector\\Ci\\": "tests\/"
}
},
"scripts": {
diff --git a/vendor/ondram/ci-detector/src/Ci/AbstractCi.php b/vendor/ondram/ci-detector/src/Ci/AbstractCi.php
index c54168cb869..d37e75e063b 100644
--- a/vendor/ondram/ci-detector/src/Ci/AbstractCi.php
+++ b/vendor/ondram/ci-detector/src/Ci/AbstractCi.php
@@ -1,17 +1,17 @@
env = $env;
}
diff --git a/vendor/ondram/ci-detector/src/Ci/AppVeyor.php b/vendor/ondram/ci-detector/src/Ci/AppVeyor.php
index 63cedda062b..70b91ecda0b 100644
--- a/vendor/ondram/ci-detector/src/Ci/AppVeyor.php
+++ b/vendor/ondram/ci-detector/src/Ci/AppVeyor.php
@@ -1,24 +1,24 @@
get('APPVEYOR') === 'True';
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_APPVEYOR;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_APPVEYOR;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('APPVEYOR_PULL_REQUEST_NUMBER') !== '');
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('APPVEYOR_PULL_REQUEST_NUMBER') !== '');
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/Ci/AwsCodeBuild.php b/vendor/ondram/ci-detector/src/Ci/AwsCodeBuild.php
index f77aa976fba..755d57abc70 100644
--- a/vendor/ondram/ci-detector/src/Ci/AwsCodeBuild.php
+++ b/vendor/ondram/ci-detector/src/Ci/AwsCodeBuild.php
@@ -1,24 +1,24 @@
get('CODEBUILD_CI') !== \false;
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_AWS_CODEBUILD;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_AWS_CODEBUILD;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createFromBoolean(\mb_strpos($this->env->getString('CODEBUILD_WEBHOOK_EVENT'), 'PULL_REQUEST') === 0);
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createFromBoolean(\mb_strpos($this->env->getString('CODEBUILD_WEBHOOK_EVENT'), 'PULL_REQUEST') === 0);
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/Ci/AzurePipelines.php b/vendor/ondram/ci-detector/src/Ci/AzurePipelines.php
index b4ac4b5ba0c..0ed77c2b059 100644
--- a/vendor/ondram/ci-detector/src/Ci/AzurePipelines.php
+++ b/vendor/ondram/ci-detector/src/Ci/AzurePipelines.php
@@ -1,24 +1,24 @@
get('BUILD_DEFINITIONVERSION') !== \false;
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_AZURE_PIPELINES;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_AZURE_PIPELINES;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('BUILD_REASON') === 'PullRequest');
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('BUILD_REASON') === 'PullRequest');
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/Ci/Bamboo.php b/vendor/ondram/ci-detector/src/Ci/Bamboo.php
index 7347a345939..a76f05e4c57 100644
--- a/vendor/ondram/ci-detector/src/Ci/Bamboo.php
+++ b/vendor/ondram/ci-detector/src/Ci/Bamboo.php
@@ -1,24 +1,24 @@
get('bamboo_buildKey') !== \false;
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_BAMBOO;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_BAMBOO;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->get('bamboo_repository_pr_key') !== \false);
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->get('bamboo_repository_pr_key') !== \false);
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/Ci/BitbucketPipelines.php b/vendor/ondram/ci-detector/src/Ci/BitbucketPipelines.php
index 3c2d31ad49b..d53ca9cb213 100644
--- a/vendor/ondram/ci-detector/src/Ci/BitbucketPipelines.php
+++ b/vendor/ondram/ci-detector/src/Ci/BitbucketPipelines.php
@@ -1,24 +1,24 @@
get('BITBUCKET_COMMIT') !== \false;
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_BITBUCKET_PIPELINES;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_BITBUCKET_PIPELINES;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('BITBUCKET_PR_ID') !== '');
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('BITBUCKET_PR_ID') !== '');
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/Ci/Buddy.php b/vendor/ondram/ci-detector/src/Ci/Buddy.php
index 300777247f0..4152784f1d7 100644
--- a/vendor/ondram/ci-detector/src/Ci/Buddy.php
+++ b/vendor/ondram/ci-detector/src/Ci/Buddy.php
@@ -1,24 +1,24 @@
get('BUDDY') !== \false;
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_BUDDY;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_BUDDY;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('BUDDY_EXECUTION_PULL_REQUEST_ID') !== '');
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('BUDDY_EXECUTION_PULL_REQUEST_ID') !== '');
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/Ci/CiInterface.php b/vendor/ondram/ci-detector/src/Ci/CiInterface.php
index 6bffdfb1b90..51b3d81ffb7 100644
--- a/vendor/ondram/ci-detector/src/Ci/CiInterface.php
+++ b/vendor/ondram/ci-detector/src/Ci/CiInterface.php
@@ -1,16 +1,16 @@
get('CIRCLECI') !== \false;
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_CIRCLE;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_CIRCLE;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('CI_PULL_REQUEST') !== '');
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('CI_PULL_REQUEST') !== '');
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/Ci/Codeship.php b/vendor/ondram/ci-detector/src/Ci/Codeship.php
index 3eb8d36b837..731b66a9a23 100644
--- a/vendor/ondram/ci-detector/src/Ci/Codeship.php
+++ b/vendor/ondram/ci-detector/src/Ci/Codeship.php
@@ -1,24 +1,24 @@
get('CI_NAME') === 'codeship';
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_CODESHIP;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_CODESHIP;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('CI_PULL_REQUEST') !== 'false');
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('CI_PULL_REQUEST') !== 'false');
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/Ci/Continuousphp.php b/vendor/ondram/ci-detector/src/Ci/Continuousphp.php
index b4a0988cf35..7e7938bb974 100644
--- a/vendor/ondram/ci-detector/src/Ci/Continuousphp.php
+++ b/vendor/ondram/ci-detector/src/Ci/Continuousphp.php
@@ -1,24 +1,24 @@
get('CONTINUOUSPHP') === 'continuousphp';
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_CONTINUOUSPHP;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_CONTINUOUSPHP;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('CPHP_PR_ID') !== '');
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('CPHP_PR_ID') !== '');
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/Ci/Drone.php b/vendor/ondram/ci-detector/src/Ci/Drone.php
index 6e794d31987..2ee6ce1456b 100644
--- a/vendor/ondram/ci-detector/src/Ci/Drone.php
+++ b/vendor/ondram/ci-detector/src/Ci/Drone.php
@@ -1,24 +1,24 @@
get('CI') === 'drone';
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_DRONE;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_DRONE;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('DRONE_PULL_REQUEST') !== '');
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('DRONE_PULL_REQUEST') !== '');
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/Ci/GitHubActions.php b/vendor/ondram/ci-detector/src/Ci/GitHubActions.php
index 0bd583092bf..f5a7fff867a 100644
--- a/vendor/ondram/ci-detector/src/Ci/GitHubActions.php
+++ b/vendor/ondram/ci-detector/src/Ci/GitHubActions.php
@@ -1,25 +1,25 @@
get('GITHUB_ACTIONS') !== \false;
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_GITHUB_ACTIONS;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_GITHUB_ACTIONS;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('GITHUB_EVENT_NAME') === 'pull_request');
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('GITHUB_EVENT_NAME') === 'pull_request');
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/Ci/GitLab.php b/vendor/ondram/ci-detector/src/Ci/GitLab.php
index cb5d8d2dccb..ce7a133f69d 100644
--- a/vendor/ondram/ci-detector/src/Ci/GitLab.php
+++ b/vendor/ondram/ci-detector/src/Ci/GitLab.php
@@ -1,24 +1,24 @@
get('GITLAB_CI') !== \false;
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_GITLAB;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_GITLAB;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->get('CI_MERGE_REQUEST_ID') !== \false || $this->env->get('CI_EXTERNAL_PULL_REQUEST_IID') !== \false);
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->get('CI_MERGE_REQUEST_ID') !== \false || $this->env->get('CI_EXTERNAL_PULL_REQUEST_IID') !== \false);
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/Ci/Jenkins.php b/vendor/ondram/ci-detector/src/Ci/Jenkins.php
index 77dd6579a81..e6b7eb8d3be 100644
--- a/vendor/ondram/ci-detector/src/Ci/Jenkins.php
+++ b/vendor/ondram/ci-detector/src/Ci/Jenkins.php
@@ -1,24 +1,24 @@
get('JENKINS_URL') !== \false;
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_JENKINS;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_JENKINS;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createMaybe();
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createMaybe();
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/Ci/SourceHut.php b/vendor/ondram/ci-detector/src/Ci/SourceHut.php
index be2cdd02b5c..0262a04de0e 100644
--- a/vendor/ondram/ci-detector/src/Ci/SourceHut.php
+++ b/vendor/ondram/ci-detector/src/Ci/SourceHut.php
@@ -1,24 +1,24 @@
getString('CI_NAME') === 'sourcehut';
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_SOURCEHUT;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_SOURCEHUT;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('BUILD_REASON') === 'patchset');
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('BUILD_REASON') === 'patchset');
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/Ci/TeamCity.php b/vendor/ondram/ci-detector/src/Ci/TeamCity.php
index ea833d5a20c..e91e2d08e43 100644
--- a/vendor/ondram/ci-detector/src/Ci/TeamCity.php
+++ b/vendor/ondram/ci-detector/src/Ci/TeamCity.php
@@ -1,24 +1,24 @@
get('TEAMCITY_VERSION') !== \false;
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_TEAMCITY;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_TEAMCITY;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createMaybe();
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createMaybe();
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/Ci/Travis.php b/vendor/ondram/ci-detector/src/Ci/Travis.php
index d2bd64c977b..473fef35e3c 100644
--- a/vendor/ondram/ci-detector/src/Ci/Travis.php
+++ b/vendor/ondram/ci-detector/src/Ci/Travis.php
@@ -1,24 +1,24 @@
get('TRAVIS') !== \false;
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_TRAVIS;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_TRAVIS;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('TRAVIS_PULL_REQUEST') !== 'false');
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createFromBoolean($this->env->getString('TRAVIS_PULL_REQUEST') !== 'false');
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/Ci/Wercker.php b/vendor/ondram/ci-detector/src/Ci/Wercker.php
index f166c58a56b..f313f08ec4b 100644
--- a/vendor/ondram/ci-detector/src/Ci/Wercker.php
+++ b/vendor/ondram/ci-detector/src/Ci/Wercker.php
@@ -1,24 +1,24 @@
get('WERCKER') === 'true';
}
public function getCiName() : string
{
- return \RectorPrefix20220217\OndraM\CiDetector\CiDetector::CI_WERCKER;
+ return \RectorPrefix20220218\OndraM\CiDetector\CiDetector::CI_WERCKER;
}
- public function isPullRequest() : \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic
+ public function isPullRequest() : \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic
{
- return \RectorPrefix20220217\OndraM\CiDetector\TrinaryLogic::createMaybe();
+ return \RectorPrefix20220218\OndraM\CiDetector\TrinaryLogic::createMaybe();
}
public function getBuildNumber() : string
{
diff --git a/vendor/ondram/ci-detector/src/CiDetector.php b/vendor/ondram/ci-detector/src/CiDetector.php
index e226db7b1b5..806a8bbedda 100644
--- a/vendor/ondram/ci-detector/src/CiDetector.php
+++ b/vendor/ondram/ci-detector/src/CiDetector.php
@@ -1,14 +1,14 @@
environment = new \RectorPrefix20220217\OndraM\CiDetector\Env();
+ $this->environment = new \RectorPrefix20220218\OndraM\CiDetector\Env();
}
- public static function fromEnvironment(\RectorPrefix20220217\OndraM\CiDetector\Env $environment) : self
+ public static function fromEnvironment(\RectorPrefix20220218\OndraM\CiDetector\Env $environment) : self
{
$detector = new static();
$detector->environment = $environment;
@@ -44,11 +44,11 @@ class CiDetector implements \RectorPrefix20220217\OndraM\CiDetector\CiDetectorIn
$ciServer = $this->detectCurrentCiServer();
return $ciServer !== null;
}
- public function detect() : \RectorPrefix20220217\OndraM\CiDetector\Ci\CiInterface
+ public function detect() : \RectorPrefix20220218\OndraM\CiDetector\Ci\CiInterface
{
$ciServer = $this->detectCurrentCiServer();
if ($ciServer === null) {
- throw new \RectorPrefix20220217\OndraM\CiDetector\Exception\CiNotDetectedException('No CI server detected in current environment');
+ throw new \RectorPrefix20220218\OndraM\CiDetector\Exception\CiNotDetectedException('No CI server detected in current environment');
}
return $ciServer;
}
@@ -57,9 +57,9 @@ class CiDetector implements \RectorPrefix20220217\OndraM\CiDetector\CiDetectorIn
*/
protected function getCiServers() : array
{
- return [\RectorPrefix20220217\OndraM\CiDetector\Ci\AppVeyor::class, \RectorPrefix20220217\OndraM\CiDetector\Ci\AwsCodeBuild::class, \RectorPrefix20220217\OndraM\CiDetector\Ci\AzurePipelines::class, \RectorPrefix20220217\OndraM\CiDetector\Ci\Bamboo::class, \RectorPrefix20220217\OndraM\CiDetector\Ci\BitbucketPipelines::class, \RectorPrefix20220217\OndraM\CiDetector\Ci\Buddy::class, \RectorPrefix20220217\OndraM\CiDetector\Ci\Circle::class, \RectorPrefix20220217\OndraM\CiDetector\Ci\Codeship::class, \RectorPrefix20220217\OndraM\CiDetector\Ci\Continuousphp::class, \RectorPrefix20220217\OndraM\CiDetector\Ci\Drone::class, \RectorPrefix20220217\OndraM\CiDetector\Ci\GitHubActions::class, \RectorPrefix20220217\OndraM\CiDetector\Ci\GitLab::class, \RectorPrefix20220217\OndraM\CiDetector\Ci\Jenkins::class, \RectorPrefix20220217\OndraM\CiDetector\Ci\SourceHut::class, \RectorPrefix20220217\OndraM\CiDetector\Ci\TeamCity::class, \RectorPrefix20220217\OndraM\CiDetector\Ci\Travis::class, \RectorPrefix20220217\OndraM\CiDetector\Ci\Wercker::class];
+ return [\RectorPrefix20220218\OndraM\CiDetector\Ci\AppVeyor::class, \RectorPrefix20220218\OndraM\CiDetector\Ci\AwsCodeBuild::class, \RectorPrefix20220218\OndraM\CiDetector\Ci\AzurePipelines::class, \RectorPrefix20220218\OndraM\CiDetector\Ci\Bamboo::class, \RectorPrefix20220218\OndraM\CiDetector\Ci\BitbucketPipelines::class, \RectorPrefix20220218\OndraM\CiDetector\Ci\Buddy::class, \RectorPrefix20220218\OndraM\CiDetector\Ci\Circle::class, \RectorPrefix20220218\OndraM\CiDetector\Ci\Codeship::class, \RectorPrefix20220218\OndraM\CiDetector\Ci\Continuousphp::class, \RectorPrefix20220218\OndraM\CiDetector\Ci\Drone::class, \RectorPrefix20220218\OndraM\CiDetector\Ci\GitHubActions::class, \RectorPrefix20220218\OndraM\CiDetector\Ci\GitLab::class, \RectorPrefix20220218\OndraM\CiDetector\Ci\Jenkins::class, \RectorPrefix20220218\OndraM\CiDetector\Ci\SourceHut::class, \RectorPrefix20220218\OndraM\CiDetector\Ci\TeamCity::class, \RectorPrefix20220218\OndraM\CiDetector\Ci\Travis::class, \RectorPrefix20220218\OndraM\CiDetector\Ci\Wercker::class];
}
- protected function detectCurrentCiServer() : ?\RectorPrefix20220217\OndraM\CiDetector\Ci\CiInterface
+ protected function detectCurrentCiServer() : ?\RectorPrefix20220218\OndraM\CiDetector\Ci\CiInterface
{
$ciServers = $this->getCiServers();
foreach ($ciServers as $ciClass) {
diff --git a/vendor/ondram/ci-detector/src/CiDetectorInterface.php b/vendor/ondram/ci-detector/src/CiDetectorInterface.php
index cb851edc2cb..660e6b5607d 100644
--- a/vendor/ondram/ci-detector/src/CiDetectorInterface.php
+++ b/vendor/ondram/ci-detector/src/CiDetectorInterface.php
@@ -1,10 +1,10 @@
\true, 'RectorPrefix20220217\\PHPUnit\\Framework\\MockObject\\MockObject' => \true];
+ static $mockClassNames = ['PHPUnit_Framework_MockObject_MockObject' => \true, 'RectorPrefix20220218\\PHPUnit\\Framework\\MockObject\\MockObject' => \true];
$types = $this->typeNodeResolver->resolveMultiple($typeNode->types, $nameScope);
foreach ($types as $type) {
if (!$type instanceof \PHPStan\Type\TypeWithClassName) {
diff --git a/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/AssertRuleHelper.php b/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/AssertRuleHelper.php
index c69cae9876a..a1e2d393833 100644
--- a/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/AssertRuleHelper.php
+++ b/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/AssertRuleHelper.php
@@ -10,7 +10,7 @@ class AssertRuleHelper
{
public static function isMethodOrStaticCallOnAssert(\PhpParser\Node $node, \PHPStan\Analyser\Scope $scope) : bool
{
- $testCaseType = new \PHPStan\Type\ObjectType('RectorPrefix20220217\\PHPUnit\\Framework\\Assert');
+ $testCaseType = new \PHPStan\Type\ObjectType('RectorPrefix20220218\\PHPUnit\\Framework\\Assert');
if ($node instanceof \PhpParser\Node\Expr\MethodCall) {
$calledOnType = $scope->getType($node->var);
} elseif ($node instanceof \PhpParser\Node\Expr\StaticCall) {
diff --git a/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/MockMethodCallRule.php b/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/MockMethodCallRule.php
index b6d4e2dd5f4..0d82a09c1fd 100644
--- a/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/MockMethodCallRule.php
+++ b/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/MockMethodCallRule.php
@@ -9,8 +9,8 @@ use PHPStan\Type\Constant\ConstantStringType;
use PHPStan\Type\Generic\GenericObjectType;
use PHPStan\Type\IntersectionType;
use PHPStan\Type\ObjectType;
-use RectorPrefix20220217\PHPUnit\Framework\MockObject\Builder\InvocationMocker;
-use RectorPrefix20220217\PHPUnit\Framework\MockObject\MockObject;
+use RectorPrefix20220218\PHPUnit\Framework\MockObject\Builder\InvocationMocker;
+use RectorPrefix20220218\PHPUnit\Framework\MockObject\MockObject;
/**
* @implements \PHPStan\Rules\Rule<\PhpParser\Node\Expr\MethodCall>
*/
@@ -36,13 +36,13 @@ class MockMethodCallRule implements \PHPStan\Rules\Rule
}
$method = $argType->getValue();
$type = $scope->getType($node->var);
- if ($type instanceof \PHPStan\Type\IntersectionType && \in_array(\RectorPrefix20220217\PHPUnit\Framework\MockObject\MockObject::class, $type->getReferencedClasses(), \true) && !$type->hasMethod($method)->yes()) {
+ if ($type instanceof \PHPStan\Type\IntersectionType && \in_array(\RectorPrefix20220218\PHPUnit\Framework\MockObject\MockObject::class, $type->getReferencedClasses(), \true) && !$type->hasMethod($method)->yes()) {
$mockClass = \array_filter($type->getReferencedClasses(), function (string $class) : bool {
- return $class !== \RectorPrefix20220217\PHPUnit\Framework\MockObject\MockObject::class;
+ return $class !== \RectorPrefix20220218\PHPUnit\Framework\MockObject\MockObject::class;
});
return [\sprintf('Trying to mock an undefined method %s() on class %s.', $method, \implode('&', $mockClass))];
}
- if ($type instanceof \PHPStan\Type\Generic\GenericObjectType && $type->getClassName() === \RectorPrefix20220217\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class && \count($type->getTypes()) > 0) {
+ if ($type instanceof \PHPStan\Type\Generic\GenericObjectType && $type->getClassName() === \RectorPrefix20220218\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class && \count($type->getTypes()) > 0) {
$mockClass = $type->getTypes()[0];
if ($mockClass instanceof \PHPStan\Type\ObjectType && !$mockClass->hasMethod($method)->yes()) {
return [\sprintf('Trying to mock an undefined method %s() on class %s.', $method, $mockClass->getClassName())];
diff --git a/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/ShouldCallParentMethodsRule.php b/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/ShouldCallParentMethodsRule.php
index e861978dfde..8d0c828dc8d 100644
--- a/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/ShouldCallParentMethodsRule.php
+++ b/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/ShouldCallParentMethodsRule.php
@@ -7,7 +7,7 @@ use PhpParser\Node;
use PHPStan\Analyser\Scope;
use PHPStan\Node\InClassMethodNode;
use PHPStan\Rules\RuleErrorBuilder;
-use RectorPrefix20220217\PHPUnit\Framework\TestCase;
+use RectorPrefix20220218\PHPUnit\Framework\TestCase;
/**
* @implements \PHPStan\Rules\Rule
*/
@@ -26,7 +26,7 @@ class ShouldCallParentMethodsRule implements \PHPStan\Rules\Rule
if ($scope->getClassReflection() === null) {
return [];
}
- if (!$scope->getClassReflection()->isSubclassOf(\RectorPrefix20220217\PHPUnit\Framework\TestCase::class)) {
+ if (!$scope->getClassReflection()->isSubclassOf(\RectorPrefix20220218\PHPUnit\Framework\TestCase::class)) {
return [];
}
$parentClass = $scope->getClassReflection()->getParentClass();
@@ -37,7 +37,7 @@ class ShouldCallParentMethodsRule implements \PHPStan\Rules\Rule
return [];
}
$parentMethod = $parentClass->getNativeMethod($methodName);
- if ($parentMethod->getDeclaringClass()->getName() === \RectorPrefix20220217\PHPUnit\Framework\TestCase::class) {
+ if ($parentMethod->getDeclaringClass()->getName() === \RectorPrefix20220218\PHPUnit\Framework\TestCase::class) {
return [];
}
$hasParentCall = $this->hasParentClassCall($node->getOriginalNode()->getStmts(), \strtolower($methodName));
diff --git a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertMethodTypeSpecifyingExtension.php b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertMethodTypeSpecifyingExtension.php
index 19b3365a54b..672b8dc0a55 100644
--- a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertMethodTypeSpecifyingExtension.php
+++ b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertMethodTypeSpecifyingExtension.php
@@ -21,7 +21,7 @@ class AssertMethodTypeSpecifyingExtension implements \PHPStan\Type\MethodTypeSpe
}
public function getClass() : string
{
- return 'RectorPrefix20220217\\PHPUnit\\Framework\\Assert';
+ return 'RectorPrefix20220218\\PHPUnit\\Framework\\Assert';
}
public function isMethodSupported(\PHPStan\Reflection\MethodReflection $methodReflection, \PhpParser\Node\Expr\MethodCall $node, \PHPStan\Analyser\TypeSpecifierContext $context) : bool
{
diff --git a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertStaticMethodTypeSpecifyingExtension.php b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertStaticMethodTypeSpecifyingExtension.php
index 56a2d1c59d4..1bbad81e7e4 100644
--- a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertStaticMethodTypeSpecifyingExtension.php
+++ b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertStaticMethodTypeSpecifyingExtension.php
@@ -21,7 +21,7 @@ class AssertStaticMethodTypeSpecifyingExtension implements \PHPStan\Type\StaticM
}
public function getClass() : string
{
- return 'RectorPrefix20220217\\PHPUnit\\Framework\\Assert';
+ return 'RectorPrefix20220218\\PHPUnit\\Framework\\Assert';
}
public function isStaticMethodSupported(\PHPStan\Reflection\MethodReflection $methodReflection, \PhpParser\Node\Expr\StaticCall $node, \PHPStan\Analyser\TypeSpecifierContext $context) : bool
{
diff --git a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/InvocationMockerDynamicReturnTypeExtension.php b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/InvocationMockerDynamicReturnTypeExtension.php
index 492d602f65b..dca20efdf94 100644
--- a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/InvocationMockerDynamicReturnTypeExtension.php
+++ b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/InvocationMockerDynamicReturnTypeExtension.php
@@ -7,12 +7,12 @@ use PhpParser\Node\Expr\MethodCall;
use PHPStan\Analyser\Scope;
use PHPStan\Reflection\MethodReflection;
use PHPStan\Type\Type;
-use RectorPrefix20220217\PHPUnit\Framework\MockObject\Builder\InvocationMocker;
+use RectorPrefix20220218\PHPUnit\Framework\MockObject\Builder\InvocationMocker;
class InvocationMockerDynamicReturnTypeExtension implements \PHPStan\Type\DynamicMethodReturnTypeExtension
{
public function getClass() : string
{
- return \RectorPrefix20220217\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class;
+ return \RectorPrefix20220218\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class;
}
public function isMethodSupported(\PHPStan\Reflection\MethodReflection $methodReflection) : bool
{
diff --git a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockBuilderDynamicReturnTypeExtension.php b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockBuilderDynamicReturnTypeExtension.php
index 3a1a39d8d66..3f97a6b9d58 100644
--- a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockBuilderDynamicReturnTypeExtension.php
+++ b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockBuilderDynamicReturnTypeExtension.php
@@ -7,12 +7,12 @@ use PhpParser\Node\Expr\MethodCall;
use PHPStan\Analyser\Scope;
use PHPStan\Reflection\MethodReflection;
use PHPStan\Type\Type;
-use RectorPrefix20220217\PHPUnit\Framework\MockObject\MockBuilder;
+use RectorPrefix20220218\PHPUnit\Framework\MockObject\MockBuilder;
class MockBuilderDynamicReturnTypeExtension implements \PHPStan\Type\DynamicMethodReturnTypeExtension
{
public function getClass() : string
{
- return \RectorPrefix20220217\PHPUnit\Framework\MockObject\MockBuilder::class;
+ return \RectorPrefix20220218\PHPUnit\Framework\MockObject\MockBuilder::class;
}
public function isMethodSupported(\PHPStan\Reflection\MethodReflection $methodReflection) : bool
{
diff --git a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockObjectDynamicReturnTypeExtension.php b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockObjectDynamicReturnTypeExtension.php
index 07656600a08..cbe582c4d0b 100644
--- a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockObjectDynamicReturnTypeExtension.php
+++ b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockObjectDynamicReturnTypeExtension.php
@@ -11,13 +11,13 @@ use PHPStan\Type\IntersectionType;
use PHPStan\Type\ObjectType;
use PHPStan\Type\Type;
use PHPStan\Type\TypeWithClassName;
-use RectorPrefix20220217\PHPUnit\Framework\MockObject\Builder\InvocationMocker;
-use RectorPrefix20220217\PHPUnit\Framework\MockObject\MockObject;
+use RectorPrefix20220218\PHPUnit\Framework\MockObject\Builder\InvocationMocker;
+use RectorPrefix20220218\PHPUnit\Framework\MockObject\MockObject;
class MockObjectDynamicReturnTypeExtension implements \PHPStan\Type\DynamicMethodReturnTypeExtension
{
public function getClass() : string
{
- return \RectorPrefix20220217\PHPUnit\Framework\MockObject\MockObject::class;
+ return \RectorPrefix20220218\PHPUnit\Framework\MockObject\MockObject::class;
}
public function isMethodSupported(\PHPStan\Reflection\MethodReflection $methodReflection) : bool
{
@@ -27,14 +27,14 @@ class MockObjectDynamicReturnTypeExtension implements \PHPStan\Type\DynamicMetho
{
$type = $scope->getType($methodCall->var);
if (!$type instanceof \PHPStan\Type\IntersectionType) {
- return new \PHPStan\Type\ObjectType(\RectorPrefix20220217\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class);
+ return new \PHPStan\Type\ObjectType(\RectorPrefix20220218\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class);
}
$mockClasses = \array_values(\array_filter($type->getTypes(), function (\PHPStan\Type\Type $type) : bool {
- return !$type instanceof \PHPStan\Type\TypeWithClassName || $type->getClassName() !== \RectorPrefix20220217\PHPUnit\Framework\MockObject\MockObject::class;
+ return !$type instanceof \PHPStan\Type\TypeWithClassName || $type->getClassName() !== \RectorPrefix20220218\PHPUnit\Framework\MockObject\MockObject::class;
}));
if (\count($mockClasses) !== 1) {
- return new \PHPStan\Type\ObjectType(\RectorPrefix20220217\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class);
+ return new \PHPStan\Type\ObjectType(\RectorPrefix20220218\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class);
}
- return new \PHPStan\Type\Generic\GenericObjectType(\RectorPrefix20220217\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class, $mockClasses);
+ return new \PHPStan\Type\Generic\GenericObjectType(\RectorPrefix20220218\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class, $mockClasses);
}
}
diff --git a/vendor/phpstan/phpstan/bootstrap.php b/vendor/phpstan/phpstan/bootstrap.php
index 375cd98eeda..ab2ff0c81d7 100644
--- a/vendor/phpstan/phpstan/bootstrap.php
+++ b/vendor/phpstan/phpstan/bootstrap.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace PHPStan;
-use RectorPrefix20220217\Composer\Autoload\ClassLoader;
+use RectorPrefix20220218\Composer\Autoload\ClassLoader;
final class PharAutoloader
{
/** @var ClassLoader */
diff --git a/vendor/phpstan/phpstan/phpstan b/vendor/phpstan/phpstan/phpstan
index 081598d1ae0..92f7ff359f1 100644
--- a/vendor/phpstan/phpstan/phpstan
+++ b/vendor/phpstan/phpstan/phpstan
@@ -1,7 +1,7 @@
#!/usr/bin/env php
logger = $logger;
}
diff --git a/vendor/psr/log/src/LoggerInterface.php b/vendor/psr/log/src/LoggerInterface.php
index bcea7ca51ab..1189e401572 100644
--- a/vendor/psr/log/src/LoggerInterface.php
+++ b/vendor/psr/log/src/LoggerInterface.php
@@ -1,6 +1,6 @@
log(\RectorPrefix20220217\Psr\Log\LogLevel::EMERGENCY, $message, $context);
+ $this->log(\RectorPrefix20220218\Psr\Log\LogLevel::EMERGENCY, $message, $context);
}
/**
* Action must be taken immediately.
@@ -37,7 +37,7 @@ trait LoggerTrait
*/
public function alert($message, array $context = [])
{
- $this->log(\RectorPrefix20220217\Psr\Log\LogLevel::ALERT, $message, $context);
+ $this->log(\RectorPrefix20220218\Psr\Log\LogLevel::ALERT, $message, $context);
}
/**
* Critical conditions.
@@ -51,7 +51,7 @@ trait LoggerTrait
*/
public function critical($message, array $context = [])
{
- $this->log(\RectorPrefix20220217\Psr\Log\LogLevel::CRITICAL, $message, $context);
+ $this->log(\RectorPrefix20220218\Psr\Log\LogLevel::CRITICAL, $message, $context);
}
/**
* Runtime errors that do not require immediate action but should typically
@@ -64,7 +64,7 @@ trait LoggerTrait
*/
public function error($message, array $context = [])
{
- $this->log(\RectorPrefix20220217\Psr\Log\LogLevel::ERROR, $message, $context);
+ $this->log(\RectorPrefix20220218\Psr\Log\LogLevel::ERROR, $message, $context);
}
/**
* Exceptional occurrences that are not errors.
@@ -79,7 +79,7 @@ trait LoggerTrait
*/
public function warning($message, array $context = [])
{
- $this->log(\RectorPrefix20220217\Psr\Log\LogLevel::WARNING, $message, $context);
+ $this->log(\RectorPrefix20220218\Psr\Log\LogLevel::WARNING, $message, $context);
}
/**
* Normal but significant events.
@@ -91,7 +91,7 @@ trait LoggerTrait
*/
public function notice($message, array $context = [])
{
- $this->log(\RectorPrefix20220217\Psr\Log\LogLevel::NOTICE, $message, $context);
+ $this->log(\RectorPrefix20220218\Psr\Log\LogLevel::NOTICE, $message, $context);
}
/**
* Interesting events.
@@ -105,7 +105,7 @@ trait LoggerTrait
*/
public function info($message, array $context = [])
{
- $this->log(\RectorPrefix20220217\Psr\Log\LogLevel::INFO, $message, $context);
+ $this->log(\RectorPrefix20220218\Psr\Log\LogLevel::INFO, $message, $context);
}
/**
* Detailed debug information.
@@ -117,7 +117,7 @@ trait LoggerTrait
*/
public function debug($message, array $context = [])
{
- $this->log(\RectorPrefix20220217\Psr\Log\LogLevel::DEBUG, $message, $context);
+ $this->log(\RectorPrefix20220218\Psr\Log\LogLevel::DEBUG, $message, $context);
}
/**
* Logs with an arbitrary level.
diff --git a/vendor/psr/log/src/NullLogger.php b/vendor/psr/log/src/NullLogger.php
index 8b8de93b1e1..db409be9acb 100644
--- a/vendor/psr/log/src/NullLogger.php
+++ b/vendor/psr/log/src/NullLogger.php
@@ -1,6 +1,6 @@
logger) { }`
* blocks.
*/
-class NullLogger extends \RectorPrefix20220217\Psr\Log\AbstractLogger
+class NullLogger extends \RectorPrefix20220218\Psr\Log\AbstractLogger
{
/**
* Logs with an arbitrary level.
diff --git a/vendor/react/cache/composer.json b/vendor/react/cache/composer.json
index f64715ad550..4d6cd994281 100644
--- a/vendor/react/cache/composer.json
+++ b/vendor/react/cache/composer.json
@@ -36,12 +36,12 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\React\\Cache\\": "src\/"
+ "RectorPrefix20220218\\React\\Cache\\": "src\/"
}
},
"autoload-dev": {
"psr-4": {
- "RectorPrefix20220217\\React\\Tests\\Cache\\": "tests\/"
+ "RectorPrefix20220218\\React\\Tests\\Cache\\": "tests\/"
}
},
"require-dev": {
diff --git a/vendor/react/cache/src/ArrayCache.php b/vendor/react/cache/src/ArrayCache.php
index 89d1dc5458f..165b74066c6 100644
--- a/vendor/react/cache/src/ArrayCache.php
+++ b/vendor/react/cache/src/ArrayCache.php
@@ -1,10 +1,10 @@
data[$key], $this->expires[$key]);
}
if (!\array_key_exists($key, $this->data)) {
- return \RectorPrefix20220217\React\Promise\resolve($default);
+ return \RectorPrefix20220218\React\Promise\resolve($default);
}
// remove and append to end of array to keep track of LRU info
$value = $this->data[$key];
unset($this->data[$key]);
$this->data[$key] = $value;
- return \RectorPrefix20220217\React\Promise\resolve($value);
+ return \RectorPrefix20220218\React\Promise\resolve($value);
}
public function set($key, $value, $ttl = null)
{
@@ -93,12 +93,12 @@ class ArrayCache implements \RectorPrefix20220217\React\Cache\CacheInterface
}
unset($this->data[$key], $this->expires[$key]);
}
- return \RectorPrefix20220217\React\Promise\resolve(\true);
+ return \RectorPrefix20220218\React\Promise\resolve(\true);
}
public function delete($key)
{
unset($this->data[$key], $this->expires[$key]);
- return \RectorPrefix20220217\React\Promise\resolve(\true);
+ return \RectorPrefix20220218\React\Promise\resolve(\true);
}
public function getMultiple(array $keys, $default = null)
{
@@ -106,27 +106,27 @@ class ArrayCache implements \RectorPrefix20220217\React\Cache\CacheInterface
foreach ($keys as $key) {
$values[$key] = $this->get($key, $default);
}
- return \RectorPrefix20220217\React\Promise\all($values);
+ return \RectorPrefix20220218\React\Promise\all($values);
}
public function setMultiple(array $values, $ttl = null)
{
foreach ($values as $key => $value) {
$this->set($key, $value, $ttl);
}
- return \RectorPrefix20220217\React\Promise\resolve(\true);
+ return \RectorPrefix20220218\React\Promise\resolve(\true);
}
public function deleteMultiple(array $keys)
{
foreach ($keys as $key) {
unset($this->data[$key], $this->expires[$key]);
}
- return \RectorPrefix20220217\React\Promise\resolve(\true);
+ return \RectorPrefix20220218\React\Promise\resolve(\true);
}
public function clear()
{
$this->data = array();
$this->expires = array();
- return \RectorPrefix20220217\React\Promise\resolve(\true);
+ return \RectorPrefix20220218\React\Promise\resolve(\true);
}
public function has($key)
{
@@ -135,13 +135,13 @@ class ArrayCache implements \RectorPrefix20220217\React\Cache\CacheInterface
unset($this->data[$key], $this->expires[$key]);
}
if (!\array_key_exists($key, $this->data)) {
- return \RectorPrefix20220217\React\Promise\resolve(\false);
+ return \RectorPrefix20220218\React\Promise\resolve(\false);
}
// remove and append to end of array to keep track of LRU info
$value = $this->data[$key];
unset($this->data[$key]);
$this->data[$key] = $value;
- return \RectorPrefix20220217\React\Promise\resolve(\true);
+ return \RectorPrefix20220218\React\Promise\resolve(\true);
}
/**
* @return float
diff --git a/vendor/react/cache/src/CacheInterface.php b/vendor/react/cache/src/CacheInterface.php
index c3edf270110..78fff7f5437 100644
--- a/vendor/react/cache/src/CacheInterface.php
+++ b/vendor/react/cache/src/CacheInterface.php
@@ -1,8 +1,8 @@
isRunning()) {
throw new \RuntimeException('Process is already running');
}
- $loop = $loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get();
+ $loop = $loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get();
$cmd = $this->cmd;
$fdSpec = $this->fds;
$sigchild = null;
@@ -217,13 +217,13 @@ class Process extends \RectorPrefix20220217\Evenement\EventEmitter
$meta = \stream_get_meta_data($fd);
$mode = $meta['mode'] === '' ? $this->fds[$n][1] === 'r' ? 'w' : 'r' : $meta['mode'];
if ($mode === 'r+') {
- $stream = new \RectorPrefix20220217\React\Stream\DuplexResourceStream($fd, $loop);
+ $stream = new \RectorPrefix20220218\React\Stream\DuplexResourceStream($fd, $loop);
$stream->on('close', $streamCloseHandler);
$closeCount++;
} elseif ($mode === 'w') {
- $stream = new \RectorPrefix20220217\React\Stream\WritableResourceStream($fd, $loop);
+ $stream = new \RectorPrefix20220218\React\Stream\WritableResourceStream($fd, $loop);
} else {
- $stream = new \RectorPrefix20220217\React\Stream\ReadableResourceStream($fd, $loop);
+ $stream = new \RectorPrefix20220218\React\Stream\ReadableResourceStream($fd, $loop);
$stream->on('close', $streamCloseHandler);
$closeCount++;
}
diff --git a/vendor/react/dns/composer.json b/vendor/react/dns/composer.json
index 96ed4647a2f..7613438710c 100644
--- a/vendor/react/dns/composer.json
+++ b/vendor/react/dns/composer.json
@@ -43,12 +43,12 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\React\\Dns\\": "src"
+ "RectorPrefix20220218\\React\\Dns\\": "src"
}
},
"autoload-dev": {
"psr-4": {
- "RectorPrefix20220217\\React\\Tests\\Dns\\": "tests"
+ "RectorPrefix20220218\\React\\Tests\\Dns\\": "tests"
}
}
}
\ No newline at end of file
diff --git a/vendor/react/dns/src/BadServerException.php b/vendor/react/dns/src/BadServerException.php
index f484cf73209..e47e0c4e223 100644
--- a/vendor/react/dns/src/BadServerException.php
+++ b/vendor/react/dns/src/BadServerException.php
@@ -1,6 +1,6 @@
id = self::generateId();
$request->rd = \true;
$request->questions[] = $query;
@@ -92,9 +92,9 @@ final class Message
* @param Record[] $answers
* @return self
*/
- public static function createResponseWithAnswersForQuery(\RectorPrefix20220217\React\Dns\Query\Query $query, array $answers)
+ public static function createResponseWithAnswersForQuery(\RectorPrefix20220218\React\Dns\Query\Query $query, array $answers)
{
- $response = new \RectorPrefix20220217\React\Dns\Model\Message();
+ $response = new \RectorPrefix20220218\React\Dns\Model\Message();
$response->id = self::generateId();
$response->qr = \true;
$response->rd = \true;
@@ -171,7 +171,7 @@ final class Message
* @var int response code (4 bit), see self::RCODE_* constants
* @see self::RCODE_OK
*/
- public $rcode = \RectorPrefix20220217\React\Dns\Model\Message::RCODE_OK;
+ public $rcode = \RectorPrefix20220218\React\Dns\Model\Message::RCODE_OK;
/**
* An array of Query objects
*
diff --git a/vendor/react/dns/src/Model/Record.php b/vendor/react/dns/src/Model/Record.php
index 579cace44d7..085b435658b 100644
--- a/vendor/react/dns/src/Model/Record.php
+++ b/vendor/react/dns/src/Model/Record.php
@@ -1,6 +1,6 @@
headerToBinary($message);
@@ -25,7 +25,7 @@ final class BinaryDumper
* @param Message $message
* @return string
*/
- private function headerToBinary(\RectorPrefix20220217\React\Dns\Model\Message $message)
+ private function headerToBinary(\RectorPrefix20220218\React\Dns\Model\Message $message)
{
$data = '';
$data .= \pack('n', $message->id);
@@ -69,44 +69,44 @@ final class BinaryDumper
foreach ($records as $record) {
/* @var $record Record */
switch ($record->type) {
- case \RectorPrefix20220217\React\Dns\Model\Message::TYPE_A:
- case \RectorPrefix20220217\React\Dns\Model\Message::TYPE_AAAA:
+ case \RectorPrefix20220218\React\Dns\Model\Message::TYPE_A:
+ case \RectorPrefix20220218\React\Dns\Model\Message::TYPE_AAAA:
$binary = \inet_pton($record->data);
break;
- case \RectorPrefix20220217\React\Dns\Model\Message::TYPE_CNAME:
- case \RectorPrefix20220217\React\Dns\Model\Message::TYPE_NS:
- case \RectorPrefix20220217\React\Dns\Model\Message::TYPE_PTR:
+ case \RectorPrefix20220218\React\Dns\Model\Message::TYPE_CNAME:
+ case \RectorPrefix20220218\React\Dns\Model\Message::TYPE_NS:
+ case \RectorPrefix20220218\React\Dns\Model\Message::TYPE_PTR:
$binary = $this->domainNameToBinary($record->data);
break;
- case \RectorPrefix20220217\React\Dns\Model\Message::TYPE_TXT:
- case \RectorPrefix20220217\React\Dns\Model\Message::TYPE_SPF:
+ case \RectorPrefix20220218\React\Dns\Model\Message::TYPE_TXT:
+ case \RectorPrefix20220218\React\Dns\Model\Message::TYPE_SPF:
$binary = $this->textsToBinary($record->data);
break;
- case \RectorPrefix20220217\React\Dns\Model\Message::TYPE_MX:
+ case \RectorPrefix20220218\React\Dns\Model\Message::TYPE_MX:
$binary = \pack('n', $record->data['priority']);
$binary .= $this->domainNameToBinary($record->data['target']);
break;
- case \RectorPrefix20220217\React\Dns\Model\Message::TYPE_SRV:
+ case \RectorPrefix20220218\React\Dns\Model\Message::TYPE_SRV:
$binary = \pack('n*', $record->data['priority'], $record->data['weight'], $record->data['port']);
$binary .= $this->domainNameToBinary($record->data['target']);
break;
- case \RectorPrefix20220217\React\Dns\Model\Message::TYPE_SOA:
+ case \RectorPrefix20220218\React\Dns\Model\Message::TYPE_SOA:
$binary = $this->domainNameToBinary($record->data['mname']);
$binary .= $this->domainNameToBinary($record->data['rname']);
$binary .= \pack('N*', $record->data['serial'], $record->data['refresh'], $record->data['retry'], $record->data['expire'], $record->data['minimum']);
break;
- case \RectorPrefix20220217\React\Dns\Model\Message::TYPE_CAA:
+ case \RectorPrefix20220218\React\Dns\Model\Message::TYPE_CAA:
$binary = \pack('C*', $record->data['flag'], \strlen($record->data['tag']));
$binary .= $record->data['tag'];
$binary .= $record->data['value'];
break;
- case \RectorPrefix20220217\React\Dns\Model\Message::TYPE_SSHFP:
+ case \RectorPrefix20220218\React\Dns\Model\Message::TYPE_SSHFP:
$binary = \pack('CCH*', $record->data['algorithm'], $record->data['type'], $record->data['fingerprint']);
break;
- case \RectorPrefix20220217\React\Dns\Model\Message::TYPE_OPT:
+ case \RectorPrefix20220218\React\Dns\Model\Message::TYPE_OPT:
$binary = '';
foreach ($record->data as $opt => $value) {
- if ($opt === \RectorPrefix20220217\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $value !== null) {
+ if ($opt === \RectorPrefix20220218\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $value !== null) {
$value = \pack('n', \round($value * 10));
}
$binary .= \pack('n*', $opt, \strlen((string) $value)) . $value;
diff --git a/vendor/react/dns/src/Protocol/Parser.php b/vendor/react/dns/src/Protocol/Parser.php
index 9ec389ece2d..b5a7ef7bdb3 100644
--- a/vendor/react/dns/src/Protocol/Parser.php
+++ b/vendor/react/dns/src/Protocol/Parser.php
@@ -1,10 +1,10 @@
id = $id;
$message->rcode = $fields & 0xf;
$message->ra = ($fields >> 7 & 1) === 1;
@@ -100,7 +100,7 @@ final class Parser
}
list($type, $class) = \array_values(\unpack('n*', \substr($data, $consumed, 4)));
$consumed += 4;
- return array(new \RectorPrefix20220217\React\Dns\Query\Query(\implode('.', $labels), $type, $class), $consumed);
+ return array(new \RectorPrefix20220218\React\Dns\Query\Query(\implode('.', $labels), $type, $class), $consumed);
}
/**
* @param string $data
@@ -128,45 +128,45 @@ final class Parser
}
$rdata = null;
$expected = $consumed + $rdLength;
- if (\RectorPrefix20220217\React\Dns\Model\Message::TYPE_A === $type) {
+ if (\RectorPrefix20220218\React\Dns\Model\Message::TYPE_A === $type) {
if ($rdLength === 4) {
$rdata = \inet_ntop(\substr($data, $consumed, $rdLength));
$consumed += $rdLength;
}
- } elseif (\RectorPrefix20220217\React\Dns\Model\Message::TYPE_AAAA === $type) {
+ } elseif (\RectorPrefix20220218\React\Dns\Model\Message::TYPE_AAAA === $type) {
if ($rdLength === 16) {
$rdata = \inet_ntop(\substr($data, $consumed, $rdLength));
$consumed += $rdLength;
}
- } elseif (\RectorPrefix20220217\React\Dns\Model\Message::TYPE_CNAME === $type || \RectorPrefix20220217\React\Dns\Model\Message::TYPE_PTR === $type || \RectorPrefix20220217\React\Dns\Model\Message::TYPE_NS === $type) {
+ } elseif (\RectorPrefix20220218\React\Dns\Model\Message::TYPE_CNAME === $type || \RectorPrefix20220218\React\Dns\Model\Message::TYPE_PTR === $type || \RectorPrefix20220218\React\Dns\Model\Message::TYPE_NS === $type) {
list($rdata, $consumed) = $this->readDomain($data, $consumed);
- } elseif (\RectorPrefix20220217\React\Dns\Model\Message::TYPE_TXT === $type || \RectorPrefix20220217\React\Dns\Model\Message::TYPE_SPF === $type) {
+ } elseif (\RectorPrefix20220218\React\Dns\Model\Message::TYPE_TXT === $type || \RectorPrefix20220218\React\Dns\Model\Message::TYPE_SPF === $type) {
$rdata = array();
while ($consumed < $expected) {
$len = \ord($data[$consumed]);
$rdata[] = (string) \substr($data, $consumed + 1, $len);
$consumed += $len + 1;
}
- } elseif (\RectorPrefix20220217\React\Dns\Model\Message::TYPE_MX === $type) {
+ } elseif (\RectorPrefix20220218\React\Dns\Model\Message::TYPE_MX === $type) {
if ($rdLength > 2) {
list($priority) = \array_values(\unpack('n', \substr($data, $consumed, 2)));
list($target, $consumed) = $this->readDomain($data, $consumed + 2);
$rdata = array('priority' => $priority, 'target' => $target);
}
- } elseif (\RectorPrefix20220217\React\Dns\Model\Message::TYPE_SRV === $type) {
+ } elseif (\RectorPrefix20220218\React\Dns\Model\Message::TYPE_SRV === $type) {
if ($rdLength > 6) {
list($priority, $weight, $port) = \array_values(\unpack('n*', \substr($data, $consumed, 6)));
list($target, $consumed) = $this->readDomain($data, $consumed + 6);
$rdata = array('priority' => $priority, 'weight' => $weight, 'port' => $port, 'target' => $target);
}
- } elseif (\RectorPrefix20220217\React\Dns\Model\Message::TYPE_SSHFP === $type) {
+ } elseif (\RectorPrefix20220218\React\Dns\Model\Message::TYPE_SSHFP === $type) {
if ($rdLength > 2) {
list($algorithm, $hash) = \array_values(\unpack('C*', \substr($data, $consumed, 2)));
$fingerprint = \bin2hex(\substr($data, $consumed + 2, $rdLength - 2));
$consumed += $rdLength;
$rdata = array('algorithm' => $algorithm, 'type' => $hash, 'fingerprint' => $fingerprint);
}
- } elseif (\RectorPrefix20220217\React\Dns\Model\Message::TYPE_SOA === $type) {
+ } elseif (\RectorPrefix20220218\React\Dns\Model\Message::TYPE_SOA === $type) {
list($mname, $consumed) = $this->readDomain($data, $consumed);
list($rname, $consumed) = $this->readDomain($data, $consumed);
if ($mname !== null && $rname !== null && isset($data[$consumed + 20 - 1])) {
@@ -174,23 +174,23 @@ final class Parser
$consumed += 20;
$rdata = array('mname' => $mname, 'rname' => $rname, 'serial' => $serial, 'refresh' => $refresh, 'retry' => $retry, 'expire' => $expire, 'minimum' => $minimum);
}
- } elseif (\RectorPrefix20220217\React\Dns\Model\Message::TYPE_OPT === $type) {
+ } elseif (\RectorPrefix20220218\React\Dns\Model\Message::TYPE_OPT === $type) {
$rdata = array();
while (isset($data[$consumed + 4 - 1])) {
list($code, $length) = \array_values(\unpack('n*', \substr($data, $consumed, 4)));
$value = (string) \substr($data, $consumed + 4, $length);
- if ($code === \RectorPrefix20220217\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $value === '') {
+ if ($code === \RectorPrefix20220218\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $value === '') {
$value = null;
- } elseif ($code === \RectorPrefix20220217\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $length === 2) {
+ } elseif ($code === \RectorPrefix20220218\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $length === 2) {
list($value) = \array_values(\unpack('n', $value));
$value = \round($value * 0.1, 1);
- } elseif ($code === \RectorPrefix20220217\React\Dns\Model\Message::OPT_TCP_KEEPALIVE) {
+ } elseif ($code === \RectorPrefix20220218\React\Dns\Model\Message::OPT_TCP_KEEPALIVE) {
break;
}
$rdata[$code] = $value;
$consumed += 4 + $length;
}
- } elseif (\RectorPrefix20220217\React\Dns\Model\Message::TYPE_CAA === $type) {
+ } elseif (\RectorPrefix20220218\React\Dns\Model\Message::TYPE_CAA === $type) {
if ($rdLength > 3) {
list($flag, $tagLength) = \array_values(\unpack('C*', \substr($data, $consumed, 2)));
if ($tagLength > 0 && $rdLength - 2 - $tagLength > 0) {
@@ -209,7 +209,7 @@ final class Parser
if ($consumed !== $expected || $rdata === null) {
return array(null, null);
}
- return array(new \RectorPrefix20220217\React\Dns\Model\Record($name, $type, $class, $ttl, $rdata), $consumed);
+ return array(new \RectorPrefix20220218\React\Dns\Model\Record($name, $type, $class, $ttl, $rdata), $consumed);
}
private function readDomain($data, $consumed)
{
diff --git a/vendor/react/dns/src/Query/CachingExecutor.php b/vendor/react/dns/src/Query/CachingExecutor.php
index 16539c8d175..17c4502fc8d 100644
--- a/vendor/react/dns/src/Query/CachingExecutor.php
+++ b/vendor/react/dns/src/Query/CachingExecutor.php
@@ -1,11 +1,11 @@
executor = $executor;
$this->cache = $cache;
}
- public function query(\RectorPrefix20220217\React\Dns\Query\Query $query)
+ public function query(\RectorPrefix20220218\React\Dns\Query\Query $query)
{
$id = $query->name . ':' . $query->type . ':' . $query->class;
$cache = $this->cache;
$that = $this;
$executor = $this->executor;
$pending = $cache->get($id);
- return new \RectorPrefix20220217\React\Promise\Promise(function ($resolve, $reject) use($query, $id, $cache, $executor, &$pending, $that) {
+ return new \RectorPrefix20220218\React\Promise\Promise(function ($resolve, $reject) use($query, $id, $cache, $executor, &$pending, $that) {
$pending->then(function ($message) use($query, $id, $cache, $executor, &$pending, $that) {
// return cached response message on cache hit
if ($message !== null) {
return $message;
}
// perform DNS lookup if not already cached
- return $pending = $executor->query($query)->then(function (\RectorPrefix20220217\React\Dns\Model\Message $message) use($cache, $id, $that) {
+ return $pending = $executor->query($query)->then(function (\RectorPrefix20220218\React\Dns\Model\Message $message) use($cache, $id, $that) {
// DNS response message received => store in cache when not truncated and return
if (!$message->tc) {
$cache->set($id, $message, $that->ttl($message));
@@ -56,7 +56,7 @@ final class CachingExecutor implements \RectorPrefix20220217\React\Dns\Query\Exe
* @return int
* @internal
*/
- public function ttl(\RectorPrefix20220217\React\Dns\Model\Message $message)
+ public function ttl(\RectorPrefix20220218\React\Dns\Model\Message $message)
{
// select TTL from answers (should all be the same), use smallest value if available
// @link https://tools.ietf.org/html/rfc2181#section-5.2
diff --git a/vendor/react/dns/src/Query/CancellationException.php b/vendor/react/dns/src/Query/CancellationException.php
index 42a4ff4d19b..a1a1a25a71a 100644
--- a/vendor/react/dns/src/Query/CancellationException.php
+++ b/vendor/react/dns/src/Query/CancellationException.php
@@ -1,6 +1,6 @@
executor = $base;
}
- public function query(\RectorPrefix20220217\React\Dns\Query\Query $query)
+ public function query(\RectorPrefix20220218\React\Dns\Query\Query $query)
{
$key = $this->serializeQueryToIdentity($query);
if (isset($this->pending[$key])) {
@@ -67,7 +67,7 @@ final class CoopExecutor implements \RectorPrefix20220217\React\Dns\Query\Execut
// when no other child promise is awaiting the same query.
$pending =& $this->pending;
$counts =& $this->counts;
- return new \RectorPrefix20220217\React\Promise\Promise(function ($resolve, $reject) use($promise) {
+ return new \RectorPrefix20220218\React\Promise\Promise(function ($resolve, $reject) use($promise) {
$promise->then($resolve, $reject);
}, function () use(&$promise, $key, $query, &$pending, &$counts) {
if (--$counts[$key] < 1) {
@@ -78,7 +78,7 @@ final class CoopExecutor implements \RectorPrefix20220217\React\Dns\Query\Execut
throw new \RuntimeException('DNS query for ' . $query->describe() . ' has been cancelled');
});
}
- private function serializeQueryToIdentity(\RectorPrefix20220217\React\Dns\Query\Query $query)
+ private function serializeQueryToIdentity(\RectorPrefix20220218\React\Dns\Query\Query $query)
{
return \sprintf('%s:%s:%s', $query->name, $query->type, $query->class);
}
diff --git a/vendor/react/dns/src/Query/ExecutorInterface.php b/vendor/react/dns/src/Query/ExecutorInterface.php
index 957b235ada0..27cc04ec135 100644
--- a/vendor/react/dns/src/Query/ExecutorInterface.php
+++ b/vendor/react/dns/src/Query/ExecutorInterface.php
@@ -1,6 +1,6 @@
* resolves with response message on success or rejects with an Exception on error
*/
- public function query(\RectorPrefix20220217\React\Dns\Query\Query $query);
+ public function query(\RectorPrefix20220218\React\Dns\Query\Query $query);
}
diff --git a/vendor/react/dns/src/Query/FallbackExecutor.php b/vendor/react/dns/src/Query/FallbackExecutor.php
index 7f74e8f97f3..b043fc854b5 100644
--- a/vendor/react/dns/src/Query/FallbackExecutor.php
+++ b/vendor/react/dns/src/Query/FallbackExecutor.php
@@ -1,23 +1,23 @@
executor = $executor;
$this->fallback = $fallback;
}
- public function query(\RectorPrefix20220217\React\Dns\Query\Query $query)
+ public function query(\RectorPrefix20220218\React\Dns\Query\Query $query)
{
$cancelled = \false;
$fallback = $this->fallback;
$promise = $this->executor->query($query);
- return new \RectorPrefix20220217\React\Promise\Promise(function ($resolve, $reject) use(&$promise, $fallback, $query, &$cancelled) {
+ return new \RectorPrefix20220218\React\Promise\Promise(function ($resolve, $reject) use(&$promise, $fallback, $query, &$cancelled) {
$promise->then($resolve, function (\Exception $e1) use($fallback, $query, $resolve, $reject, &$cancelled, &$promise) {
// reject if primary resolution rejected due to cancellation
if ($cancelled) {
diff --git a/vendor/react/dns/src/Query/HostsFileExecutor.php b/vendor/react/dns/src/Query/HostsFileExecutor.php
index 65a554aead0..75b9d06f571 100644
--- a/vendor/react/dns/src/Query/HostsFileExecutor.php
+++ b/vendor/react/dns/src/Query/HostsFileExecutor.php
@@ -1,11 +1,11 @@
hosts = $hosts;
$this->fallback = $fallback;
}
- public function query(\RectorPrefix20220217\React\Dns\Query\Query $query)
+ public function query(\RectorPrefix20220218\React\Dns\Query\Query $query)
{
- if ($query->class === \RectorPrefix20220217\React\Dns\Model\Message::CLASS_IN && ($query->type === \RectorPrefix20220217\React\Dns\Model\Message::TYPE_A || $query->type === \RectorPrefix20220217\React\Dns\Model\Message::TYPE_AAAA)) {
+ if ($query->class === \RectorPrefix20220218\React\Dns\Model\Message::CLASS_IN && ($query->type === \RectorPrefix20220218\React\Dns\Model\Message::TYPE_A || $query->type === \RectorPrefix20220218\React\Dns\Model\Message::TYPE_AAAA)) {
// forward lookup for type A or AAAA
$records = array();
- $expectsColon = $query->type === \RectorPrefix20220217\React\Dns\Model\Message::TYPE_AAAA;
+ $expectsColon = $query->type === \RectorPrefix20220218\React\Dns\Model\Message::TYPE_AAAA;
foreach ($this->hosts->getIpsForHost($query->name) as $ip) {
// ensure this is an IPv4/IPV6 address according to query type
if ((\strpos($ip, ':') !== \false) === $expectsColon) {
- $records[] = new \RectorPrefix20220217\React\Dns\Model\Record($query->name, $query->type, $query->class, 0, $ip);
+ $records[] = new \RectorPrefix20220218\React\Dns\Model\Record($query->name, $query->type, $query->class, 0, $ip);
}
}
if ($records) {
- return \RectorPrefix20220217\React\Promise\resolve(\RectorPrefix20220217\React\Dns\Model\Message::createResponseWithAnswersForQuery($query, $records));
+ return \RectorPrefix20220218\React\Promise\resolve(\RectorPrefix20220218\React\Dns\Model\Message::createResponseWithAnswersForQuery($query, $records));
}
- } elseif ($query->class === \RectorPrefix20220217\React\Dns\Model\Message::CLASS_IN && $query->type === \RectorPrefix20220217\React\Dns\Model\Message::TYPE_PTR) {
+ } elseif ($query->class === \RectorPrefix20220218\React\Dns\Model\Message::CLASS_IN && $query->type === \RectorPrefix20220218\React\Dns\Model\Message::TYPE_PTR) {
// reverse lookup: extract IPv4 or IPv6 from special `.arpa` domain
$ip = $this->getIpFromHost($query->name);
if ($ip !== null) {
$records = array();
foreach ($this->hosts->getHostsForIp($ip) as $host) {
- $records[] = new \RectorPrefix20220217\React\Dns\Model\Record($query->name, $query->type, $query->class, 0, $host);
+ $records[] = new \RectorPrefix20220218\React\Dns\Model\Record($query->name, $query->type, $query->class, 0, $host);
}
if ($records) {
- return \RectorPrefix20220217\React\Promise\resolve(\RectorPrefix20220217\React\Dns\Model\Message::createResponseWithAnswersForQuery($query, $records));
+ return \RectorPrefix20220218\React\Promise\resolve(\RectorPrefix20220218\React\Dns\Model\Message::createResponseWithAnswersForQuery($query, $records));
}
}
}
diff --git a/vendor/react/dns/src/Query/Query.php b/vendor/react/dns/src/Query/Query.php
index 2533777d3ec..0af2fceaa5e 100644
--- a/vendor/react/dns/src/Query/Query.php
+++ b/vendor/react/dns/src/Query/Query.php
@@ -1,8 +1,8 @@
class !== \RectorPrefix20220217\React\Dns\Model\Message::CLASS_IN ? 'CLASS' . $this->class . ' ' : '';
+ $class = $this->class !== \RectorPrefix20220218\React\Dns\Model\Message::CLASS_IN ? 'CLASS' . $this->class . ' ' : '';
$type = 'TYPE' . $this->type;
- $ref = new \ReflectionClass('RectorPrefix20220217\\React\\Dns\\Model\\Message');
+ $ref = new \ReflectionClass('RectorPrefix20220218\\React\\Dns\\Model\\Message');
foreach ($ref->getConstants() as $name => $value) {
if ($value === $this->type && \strpos($name, 'TYPE_') === 0) {
$type = \substr($name, 5);
diff --git a/vendor/react/dns/src/Query/RetryExecutor.php b/vendor/react/dns/src/Query/RetryExecutor.php
index 09ef34a86b3..f573209e64f 100644
--- a/vendor/react/dns/src/Query/RetryExecutor.php
+++ b/vendor/react/dns/src/Query/RetryExecutor.php
@@ -1,27 +1,27 @@
executor = $executor;
$this->retries = $retries;
}
- public function query(\RectorPrefix20220217\React\Dns\Query\Query $query)
+ public function query(\RectorPrefix20220218\React\Dns\Query\Query $query)
{
return $this->tryQuery($query, $this->retries);
}
- public function tryQuery(\RectorPrefix20220217\React\Dns\Query\Query $query, $retries)
+ public function tryQuery(\RectorPrefix20220218\React\Dns\Query\Query $query, $retries)
{
- $deferred = new \RectorPrefix20220217\React\Promise\Deferred(function () use(&$promise) {
- if ($promise instanceof \RectorPrefix20220217\React\Promise\CancellablePromiseInterface || !\interface_exists('RectorPrefix20220217\\React\\Promise\\CancellablePromiseInterface') && \method_exists($promise, 'cancel')) {
+ $deferred = new \RectorPrefix20220218\React\Promise\Deferred(function () use(&$promise) {
+ if ($promise instanceof \RectorPrefix20220218\React\Promise\CancellablePromiseInterface || !\interface_exists('RectorPrefix20220218\\React\\Promise\\CancellablePromiseInterface') && \method_exists($promise, 'cancel')) {
$promise->cancel();
}
});
@@ -31,7 +31,7 @@ final class RetryExecutor implements \RectorPrefix20220217\React\Dns\Query\Execu
};
$executor = $this->executor;
$errorback = function ($e) use($deferred, &$promise, $query, $success, &$errorback, &$retries, $executor) {
- if (!$e instanceof \RectorPrefix20220217\React\Dns\Query\TimeoutException) {
+ if (!$e instanceof \RectorPrefix20220218\React\Dns\Query\TimeoutException) {
$errorback = null;
$deferred->reject($e);
} elseif ($retries <= 0) {
diff --git a/vendor/react/dns/src/Query/SelectiveTransportExecutor.php b/vendor/react/dns/src/Query/SelectiveTransportExecutor.php
index 7b29375f7ba..d9616ca4af3 100644
--- a/vendor/react/dns/src/Query/SelectiveTransportExecutor.php
+++ b/vendor/react/dns/src/Query/SelectiveTransportExecutor.php
@@ -1,8 +1,8 @@
datagramExecutor = $datagramExecutor;
$this->streamExecutor = $streamExecutor;
}
- public function query(\RectorPrefix20220217\React\Dns\Query\Query $query)
+ public function query(\RectorPrefix20220218\React\Dns\Query\Query $query)
{
$stream = $this->streamExecutor;
$pending = $this->datagramExecutor->query($query);
- return new \RectorPrefix20220217\React\Promise\Promise(function ($resolve, $reject) use(&$pending, $stream, $query) {
+ return new \RectorPrefix20220218\React\Promise\Promise(function ($resolve, $reject) use(&$pending, $stream, $query) {
$pending->then($resolve, function ($e) use(&$pending, $stream, $query, $resolve, $reject) {
if ($e->getCode() === (\defined('SOCKET_EMSGSIZE') ? \SOCKET_EMSGSIZE : 90)) {
$pending = $stream->query($query)->then($resolve, $reject);
diff --git a/vendor/react/dns/src/Query/TcpTransportExecutor.php b/vendor/react/dns/src/Query/TcpTransportExecutor.php
index 8f03c6fc473..1bf614a57af 100644
--- a/vendor/react/dns/src/Query/TcpTransportExecutor.php
+++ b/vendor/react/dns/src/Query/TcpTransportExecutor.php
@@ -1,13 +1,13 @@
= 2 && \strpos($nameserver, '://') === \false) {
// several colons, but not enclosed in square brackets => enclose IPv6 address in square brackets
@@ -135,13 +135,13 @@ class TcpTransportExecutor implements \RectorPrefix20220217\React\Dns\Query\Exec
throw new \InvalidArgumentException('Invalid nameserver address given');
}
$this->nameserver = 'tcp://' . $parts['host'] . ':' . (isset($parts['port']) ? $parts['port'] : 53);
- $this->loop = $loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get();
- $this->parser = new \RectorPrefix20220217\React\Dns\Protocol\Parser();
- $this->dumper = new \RectorPrefix20220217\React\Dns\Protocol\BinaryDumper();
+ $this->loop = $loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get();
+ $this->parser = new \RectorPrefix20220218\React\Dns\Protocol\Parser();
+ $this->dumper = new \RectorPrefix20220218\React\Dns\Protocol\BinaryDumper();
}
- public function query(\RectorPrefix20220217\React\Dns\Query\Query $query)
+ public function query(\RectorPrefix20220218\React\Dns\Query\Query $query)
{
- $request = \RectorPrefix20220217\React\Dns\Model\Message::createRequestForQuery($query);
+ $request = \RectorPrefix20220218\React\Dns\Model\Message::createRequestForQuery($query);
// keep shuffing message ID to avoid using the same message ID for two pending queries at the same time
while (isset($this->pending[$request->id])) {
$request->id = \mt_rand(0, 0xffff);
@@ -150,14 +150,14 @@ class TcpTransportExecutor implements \RectorPrefix20220217\React\Dns\Query\Exec
$queryData = $this->dumper->toBinary($request);
$length = \strlen($queryData);
if ($length > 0xffff) {
- return \RectorPrefix20220217\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Query too large for TCP transport'));
+ return \RectorPrefix20220218\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Query too large for TCP transport'));
}
$queryData = \pack('n', $length) . $queryData;
if ($this->socket === null) {
// create async TCP/IP connection (may take a while)
$socket = @\stream_socket_client($this->nameserver, $errno, $errstr, 0, \STREAM_CLIENT_CONNECT | \STREAM_CLIENT_ASYNC_CONNECT);
if ($socket === \false) {
- return \RectorPrefix20220217\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Unable to connect to DNS server ' . $this->nameserver . ' (' . $errstr . ')', $errno));
+ return \RectorPrefix20220218\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Unable to connect to DNS server ' . $this->nameserver . ' (' . $errstr . ')', $errno));
}
// set socket to non-blocking and wait for it to become writable (connection success/rejected)
\stream_set_blocking($socket, \false);
@@ -179,12 +179,12 @@ class TcpTransportExecutor implements \RectorPrefix20220217\React\Dns\Query\Exec
}
$names =& $this->names;
$that = $this;
- $deferred = new \RectorPrefix20220217\React\Promise\Deferred(function () use($that, &$names, $request) {
+ $deferred = new \RectorPrefix20220218\React\Promise\Deferred(function () use($that, &$names, $request) {
// remove from list of pending names, but remember pending query
$name = $names[$request->id];
unset($names[$request->id]);
$that->checkIdle();
- throw new \RectorPrefix20220217\React\Dns\Query\CancellationException('DNS query for ' . $name . ' has been cancelled');
+ throw new \RectorPrefix20220218\React\Dns\Query\CancellationException('DNS query for ' . $name . ' has been cancelled');
});
$this->pending[$request->id] = $deferred;
$this->names[$request->id] = $query->describe();
diff --git a/vendor/react/dns/src/Query/TimeoutException.php b/vendor/react/dns/src/Query/TimeoutException.php
index b9c9bd931da..8c4e0d92594 100644
--- a/vendor/react/dns/src/Query/TimeoutException.php
+++ b/vendor/react/dns/src/Query/TimeoutException.php
@@ -1,6 +1,6 @@
executor = $executor;
- $this->loop = $loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get();
+ $this->loop = $loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get();
$this->timeout = $timeout;
}
- public function query(\RectorPrefix20220217\React\Dns\Query\Query $query)
+ public function query(\RectorPrefix20220218\React\Dns\Query\Query $query)
{
- return \RectorPrefix20220217\React\Promise\Timer\timeout($this->executor->query($query), $this->timeout, $this->loop)->then(null, function ($e) use($query) {
- if ($e instanceof \RectorPrefix20220217\React\Promise\Timer\TimeoutException) {
- $e = new \RectorPrefix20220217\React\Dns\Query\TimeoutException(\sprintf("DNS query for %s timed out", $query->describe()), 0, $e);
+ return \RectorPrefix20220218\React\Promise\Timer\timeout($this->executor->query($query), $this->timeout, $this->loop)->then(null, function ($e) use($query) {
+ if ($e instanceof \RectorPrefix20220218\React\Promise\Timer\TimeoutException) {
+ $e = new \RectorPrefix20220218\React\Dns\Query\TimeoutException(\sprintf("DNS query for %s timed out", $query->describe()), 0, $e);
}
throw $e;
});
diff --git a/vendor/react/dns/src/Query/UdpTransportExecutor.php b/vendor/react/dns/src/Query/UdpTransportExecutor.php
index dfdd86f19d2..1d2d827b341 100644
--- a/vendor/react/dns/src/Query/UdpTransportExecutor.php
+++ b/vendor/react/dns/src/Query/UdpTransportExecutor.php
@@ -1,13 +1,13 @@
= 2 && \strpos($nameserver, '://') === \false) {
// several colons, but not enclosed in square brackets => enclose IPv6 address in square brackets
@@ -106,21 +106,21 @@ final class UdpTransportExecutor implements \RectorPrefix20220217\React\Dns\Quer
throw new \InvalidArgumentException('Invalid nameserver address given');
}
$this->nameserver = 'udp://' . $parts['host'] . ':' . (isset($parts['port']) ? $parts['port'] : 53);
- $this->loop = $loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get();
- $this->parser = new \RectorPrefix20220217\React\Dns\Protocol\Parser();
- $this->dumper = new \RectorPrefix20220217\React\Dns\Protocol\BinaryDumper();
+ $this->loop = $loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get();
+ $this->parser = new \RectorPrefix20220218\React\Dns\Protocol\Parser();
+ $this->dumper = new \RectorPrefix20220218\React\Dns\Protocol\BinaryDumper();
}
- public function query(\RectorPrefix20220217\React\Dns\Query\Query $query)
+ public function query(\RectorPrefix20220218\React\Dns\Query\Query $query)
{
- $request = \RectorPrefix20220217\React\Dns\Model\Message::createRequestForQuery($query);
+ $request = \RectorPrefix20220218\React\Dns\Model\Message::createRequestForQuery($query);
$queryData = $this->dumper->toBinary($request);
if (isset($queryData[$this->maxPacketSize])) {
- return \RectorPrefix20220217\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Query too large for UDP transport', \defined('SOCKET_EMSGSIZE') ? \SOCKET_EMSGSIZE : 90));
+ return \RectorPrefix20220218\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Query too large for UDP transport', \defined('SOCKET_EMSGSIZE') ? \SOCKET_EMSGSIZE : 90));
}
// UDP connections are instant, so try connection without a loop or timeout
$socket = @\stream_socket_client($this->nameserver, $errno, $errstr, 0);
if ($socket === \false) {
- return \RectorPrefix20220217\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Unable to connect to DNS server ' . $this->nameserver . ' (' . $errstr . ')', $errno));
+ return \RectorPrefix20220218\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Unable to connect to DNS server ' . $this->nameserver . ' (' . $errstr . ')', $errno));
}
// set socket to non-blocking and immediately try to send (fill write buffer)
\stream_set_blocking($socket, \false);
@@ -132,14 +132,14 @@ final class UdpTransportExecutor implements \RectorPrefix20220217\React\Dns\Quer
// fwrite(): send of 8192 bytes failed with errno=111 Connection refused
$error = \error_get_last();
\preg_match('/errno=(\\d+) (.+)/', $error['message'], $m);
- return \RectorPrefix20220217\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Unable to send query to DNS server ' . $this->nameserver . ' (' . (isset($m[2]) ? $m[2] : $error['message']) . ')', isset($m[1]) ? (int) $m[1] : 0));
+ return \RectorPrefix20220218\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Unable to send query to DNS server ' . $this->nameserver . ' (' . (isset($m[2]) ? $m[2] : $error['message']) . ')', isset($m[1]) ? (int) $m[1] : 0));
}
$loop = $this->loop;
- $deferred = new \RectorPrefix20220217\React\Promise\Deferred(function () use($loop, $socket, $query) {
+ $deferred = new \RectorPrefix20220218\React\Promise\Deferred(function () use($loop, $socket, $query) {
// cancellation should remove socket from loop and close socket
$loop->removeReadStream($socket);
\fclose($socket);
- throw new \RectorPrefix20220217\React\Dns\Query\CancellationException('DNS query for ' . $query->describe() . ' has been cancelled');
+ throw new \RectorPrefix20220218\React\Dns\Query\CancellationException('DNS query for ' . $query->describe() . ' has been cancelled');
});
$max = $this->maxPacketSize;
$parser = $this->parser;
diff --git a/vendor/react/dns/src/RecordNotFoundException.php b/vendor/react/dns/src/RecordNotFoundException.php
index 277ce387f70..2197f1ba5bf 100644
--- a/vendor/react/dns/src/RecordNotFoundException.php
+++ b/vendor/react/dns/src/RecordNotFoundException.php
@@ -1,6 +1,6 @@
decorateHostsFileExecutor($this->createExecutor($config, $loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get()));
- return new \RectorPrefix20220217\React\Dns\Resolver\Resolver($executor);
+ $executor = $this->decorateHostsFileExecutor($this->createExecutor($config, $loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get()));
+ return new \RectorPrefix20220218\React\Dns\Resolver\Resolver($executor);
}
/**
* Creates a cached DNS resolver instance for the given DNS config and cache
@@ -56,16 +56,16 @@ final class Factory
* @throws \InvalidArgumentException for invalid DNS server address
* @throws \UnderflowException when given DNS Config object has an empty list of nameservers
*/
- public function createCached($config, \RectorPrefix20220217\React\EventLoop\LoopInterface $loop = null, \RectorPrefix20220217\React\Cache\CacheInterface $cache = null)
+ public function createCached($config, \RectorPrefix20220218\React\EventLoop\LoopInterface $loop = null, \RectorPrefix20220218\React\Cache\CacheInterface $cache = null)
{
// default to keeping maximum of 256 responses in cache unless explicitly given
- if (!$cache instanceof \RectorPrefix20220217\React\Cache\CacheInterface) {
- $cache = new \RectorPrefix20220217\React\Cache\ArrayCache(256);
+ if (!$cache instanceof \RectorPrefix20220218\React\Cache\CacheInterface) {
+ $cache = new \RectorPrefix20220218\React\Cache\ArrayCache(256);
}
- $executor = $this->createExecutor($config, $loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get());
- $executor = new \RectorPrefix20220217\React\Dns\Query\CachingExecutor($executor, $cache);
+ $executor = $this->createExecutor($config, $loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get());
+ $executor = new \RectorPrefix20220218\React\Dns\Query\CachingExecutor($executor, $cache);
$executor = $this->decorateHostsFileExecutor($executor);
- return new \RectorPrefix20220217\React\Dns\Resolver\Resolver($executor);
+ return new \RectorPrefix20220218\React\Dns\Resolver\Resolver($executor);
}
/**
* Tries to load the hosts file and decorates the given executor on success
@@ -74,17 +74,17 @@ final class Factory
* @return ExecutorInterface
* @codeCoverageIgnore
*/
- private function decorateHostsFileExecutor(\RectorPrefix20220217\React\Dns\Query\ExecutorInterface $executor)
+ private function decorateHostsFileExecutor(\RectorPrefix20220218\React\Dns\Query\ExecutorInterface $executor)
{
try {
- $executor = new \RectorPrefix20220217\React\Dns\Query\HostsFileExecutor(\RectorPrefix20220217\React\Dns\Config\HostsFile::loadFromPathBlocking(), $executor);
+ $executor = new \RectorPrefix20220218\React\Dns\Query\HostsFileExecutor(\RectorPrefix20220218\React\Dns\Config\HostsFile::loadFromPathBlocking(), $executor);
} catch (\RuntimeException $e) {
// ignore this file if it can not be loaded
}
// Windows does not store localhost in hosts file by default but handles this internally
// To compensate for this, we explicitly use hard-coded defaults for localhost
if (\DIRECTORY_SEPARATOR === '\\') {
- $executor = new \RectorPrefix20220217\React\Dns\Query\HostsFileExecutor(new \RectorPrefix20220217\React\Dns\Config\HostsFile("127.0.0.1 localhost\n::1 localhost"), $executor);
+ $executor = new \RectorPrefix20220218\React\Dns\Query\HostsFileExecutor(new \RectorPrefix20220218\React\Dns\Config\HostsFile("127.0.0.1 localhost\n::1 localhost"), $executor);
}
return $executor;
}
@@ -95,9 +95,9 @@ final class Factory
* @throws \InvalidArgumentException for invalid DNS server address
* @throws \UnderflowException when given DNS Config object has an empty list of nameservers
*/
- private function createExecutor($nameserver, \RectorPrefix20220217\React\EventLoop\LoopInterface $loop)
+ private function createExecutor($nameserver, \RectorPrefix20220218\React\EventLoop\LoopInterface $loop)
{
- if ($nameserver instanceof \RectorPrefix20220217\React\Dns\Config\Config) {
+ if ($nameserver instanceof \RectorPrefix20220218\React\Dns\Config\Config) {
if (!$nameserver->nameservers) {
throw new \UnderflowException('Empty config with no DNS servers');
}
@@ -108,16 +108,16 @@ final class Factory
$tertiary = \next($nameserver->nameservers);
if ($tertiary !== \false) {
// 3 DNS servers given => nest first with fallback for second and third
- return new \RectorPrefix20220217\React\Dns\Query\CoopExecutor(new \RectorPrefix20220217\React\Dns\Query\RetryExecutor(new \RectorPrefix20220217\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($primary, $loop), new \RectorPrefix20220217\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($secondary, $loop), $this->createSingleExecutor($tertiary, $loop)))));
+ return new \RectorPrefix20220218\React\Dns\Query\CoopExecutor(new \RectorPrefix20220218\React\Dns\Query\RetryExecutor(new \RectorPrefix20220218\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($primary, $loop), new \RectorPrefix20220218\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($secondary, $loop), $this->createSingleExecutor($tertiary, $loop)))));
} elseif ($secondary !== \false) {
// 2 DNS servers given => fallback from first to second
- return new \RectorPrefix20220217\React\Dns\Query\CoopExecutor(new \RectorPrefix20220217\React\Dns\Query\RetryExecutor(new \RectorPrefix20220217\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($primary, $loop), $this->createSingleExecutor($secondary, $loop))));
+ return new \RectorPrefix20220218\React\Dns\Query\CoopExecutor(new \RectorPrefix20220218\React\Dns\Query\RetryExecutor(new \RectorPrefix20220218\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($primary, $loop), $this->createSingleExecutor($secondary, $loop))));
} else {
// 1 DNS server given => use single executor
$nameserver = $primary;
}
}
- return new \RectorPrefix20220217\React\Dns\Query\CoopExecutor(new \RectorPrefix20220217\React\Dns\Query\RetryExecutor($this->createSingleExecutor($nameserver, $loop)));
+ return new \RectorPrefix20220218\React\Dns\Query\CoopExecutor(new \RectorPrefix20220218\React\Dns\Query\RetryExecutor($this->createSingleExecutor($nameserver, $loop)));
}
/**
* @param string $nameserver
@@ -125,7 +125,7 @@ final class Factory
* @return ExecutorInterface
* @throws \InvalidArgumentException for invalid DNS server address
*/
- private function createSingleExecutor($nameserver, \RectorPrefix20220217\React\EventLoop\LoopInterface $loop)
+ private function createSingleExecutor($nameserver, \RectorPrefix20220218\React\EventLoop\LoopInterface $loop)
{
$parts = \parse_url($nameserver);
if (isset($parts['scheme']) && $parts['scheme'] === 'tcp') {
@@ -133,7 +133,7 @@ final class Factory
} elseif (isset($parts['scheme']) && $parts['scheme'] === 'udp') {
$executor = $this->createUdpExecutor($nameserver, $loop);
} else {
- $executor = new \RectorPrefix20220217\React\Dns\Query\SelectiveTransportExecutor($this->createUdpExecutor($nameserver, $loop), $this->createTcpExecutor($nameserver, $loop));
+ $executor = new \RectorPrefix20220218\React\Dns\Query\SelectiveTransportExecutor($this->createUdpExecutor($nameserver, $loop), $this->createTcpExecutor($nameserver, $loop));
}
return $executor;
}
@@ -143,9 +143,9 @@ final class Factory
* @return TimeoutExecutor
* @throws \InvalidArgumentException for invalid DNS server address
*/
- private function createTcpExecutor($nameserver, \RectorPrefix20220217\React\EventLoop\LoopInterface $loop)
+ private function createTcpExecutor($nameserver, \RectorPrefix20220218\React\EventLoop\LoopInterface $loop)
{
- return new \RectorPrefix20220217\React\Dns\Query\TimeoutExecutor(new \RectorPrefix20220217\React\Dns\Query\TcpTransportExecutor($nameserver, $loop), 5.0, $loop);
+ return new \RectorPrefix20220218\React\Dns\Query\TimeoutExecutor(new \RectorPrefix20220218\React\Dns\Query\TcpTransportExecutor($nameserver, $loop), 5.0, $loop);
}
/**
* @param string $nameserver
@@ -153,8 +153,8 @@ final class Factory
* @return TimeoutExecutor
* @throws \InvalidArgumentException for invalid DNS server address
*/
- private function createUdpExecutor($nameserver, \RectorPrefix20220217\React\EventLoop\LoopInterface $loop)
+ private function createUdpExecutor($nameserver, \RectorPrefix20220218\React\EventLoop\LoopInterface $loop)
{
- return new \RectorPrefix20220217\React\Dns\Query\TimeoutExecutor(new \RectorPrefix20220217\React\Dns\Query\UdpTransportExecutor($nameserver, $loop), 5.0, $loop);
+ return new \RectorPrefix20220218\React\Dns\Query\TimeoutExecutor(new \RectorPrefix20220218\React\Dns\Query\UdpTransportExecutor($nameserver, $loop), 5.0, $loop);
}
}
diff --git a/vendor/react/dns/src/Resolver/Resolver.php b/vendor/react/dns/src/Resolver/Resolver.php
index e10cdd20132..ecc56aacdfe 100644
--- a/vendor/react/dns/src/Resolver/Resolver.php
+++ b/vendor/react/dns/src/Resolver/Resolver.php
@@ -1,32 +1,32 @@
executor = $executor;
}
public function resolve($domain)
{
- return $this->resolveAll($domain, \RectorPrefix20220217\React\Dns\Model\Message::TYPE_A)->then(function (array $ips) {
+ return $this->resolveAll($domain, \RectorPrefix20220218\React\Dns\Model\Message::TYPE_A)->then(function (array $ips) {
return $ips[\array_rand($ips)];
});
}
public function resolveAll($domain, $type)
{
- $query = new \RectorPrefix20220217\React\Dns\Query\Query($domain, $type, \RectorPrefix20220217\React\Dns\Model\Message::CLASS_IN);
+ $query = new \RectorPrefix20220218\React\Dns\Query\Query($domain, $type, \RectorPrefix20220218\React\Dns\Model\Message::CLASS_IN);
$that = $this;
- return $this->executor->query($query)->then(function (\RectorPrefix20220217\React\Dns\Model\Message $response) use($query, $that) {
+ return $this->executor->query($query)->then(function (\RectorPrefix20220218\React\Dns\Model\Message $response) use($query, $that) {
return $that->extractValues($query, $response);
});
}
@@ -39,37 +39,37 @@ final class Resolver implements \RectorPrefix20220217\React\Dns\Resolver\Resolve
* @throws RecordNotFoundException when response indicates an error or contains no data
* @internal
*/
- public function extractValues(\RectorPrefix20220217\React\Dns\Query\Query $query, \RectorPrefix20220217\React\Dns\Model\Message $response)
+ public function extractValues(\RectorPrefix20220218\React\Dns\Query\Query $query, \RectorPrefix20220218\React\Dns\Model\Message $response)
{
// reject if response code indicates this is an error response message
$code = $response->rcode;
- if ($code !== \RectorPrefix20220217\React\Dns\Model\Message::RCODE_OK) {
+ if ($code !== \RectorPrefix20220218\React\Dns\Model\Message::RCODE_OK) {
switch ($code) {
- case \RectorPrefix20220217\React\Dns\Model\Message::RCODE_FORMAT_ERROR:
+ case \RectorPrefix20220218\React\Dns\Model\Message::RCODE_FORMAT_ERROR:
$message = 'Format Error';
break;
- case \RectorPrefix20220217\React\Dns\Model\Message::RCODE_SERVER_FAILURE:
+ case \RectorPrefix20220218\React\Dns\Model\Message::RCODE_SERVER_FAILURE:
$message = 'Server Failure';
break;
- case \RectorPrefix20220217\React\Dns\Model\Message::RCODE_NAME_ERROR:
+ case \RectorPrefix20220218\React\Dns\Model\Message::RCODE_NAME_ERROR:
$message = 'Non-Existent Domain / NXDOMAIN';
break;
- case \RectorPrefix20220217\React\Dns\Model\Message::RCODE_NOT_IMPLEMENTED:
+ case \RectorPrefix20220218\React\Dns\Model\Message::RCODE_NOT_IMPLEMENTED:
$message = 'Not Implemented';
break;
- case \RectorPrefix20220217\React\Dns\Model\Message::RCODE_REFUSED:
+ case \RectorPrefix20220218\React\Dns\Model\Message::RCODE_REFUSED:
$message = 'Refused';
break;
default:
$message = 'Unknown error response code ' . $code;
}
- throw new \RectorPrefix20220217\React\Dns\RecordNotFoundException('DNS query for ' . $query->describe() . ' returned an error response (' . $message . ')', $code);
+ throw new \RectorPrefix20220218\React\Dns\RecordNotFoundException('DNS query for ' . $query->describe() . ' returned an error response (' . $message . ')', $code);
}
$answers = $response->answers;
$addresses = $this->valuesByNameAndType($answers, $query->name, $query->type);
// reject if we did not receive a valid answer (domain is valid, but no record for this type could be found)
if (0 === \count($addresses)) {
- throw new \RectorPrefix20220217\React\Dns\RecordNotFoundException('DNS query for ' . $query->describe() . ' did not return a valid answer (NOERROR / NODATA)');
+ throw new \RectorPrefix20220218\React\Dns\RecordNotFoundException('DNS query for ' . $query->describe() . ' did not return a valid answer (NOERROR / NODATA)');
}
return \array_values($addresses);
}
@@ -88,7 +88,7 @@ final class Resolver implements \RectorPrefix20220217\React\Dns\Resolver\Resolve
return $this->mapRecordData($records);
}
// no matching records found? check if there are any matching CNAMEs instead
- $cnameRecords = $this->filterByType($named, \RectorPrefix20220217\React\Dns\Model\Message::TYPE_CNAME);
+ $cnameRecords = $this->filterByType($named, \RectorPrefix20220218\React\Dns\Model\Message::TYPE_CNAME);
if ($cnameRecords) {
$cnames = $this->mapRecordData($cnameRecords);
foreach ($cnames as $cname) {
diff --git a/vendor/react/dns/src/Resolver/ResolverInterface.php b/vendor/react/dns/src/Resolver/ResolverInterface.php
index 4b3b2b2c6c8..bccc2259458 100644
--- a/vendor/react/dns/src/Resolver/ResolverInterface.php
+++ b/vendor/react/dns/src/Resolver/ResolverInterface.php
@@ -1,6 +1,6 @@
loop = new \EvLoop();
- $this->futureTickQueue = new \RectorPrefix20220217\React\EventLoop\Tick\FutureTickQueue();
+ $this->futureTickQueue = new \RectorPrefix20220218\React\EventLoop\Tick\FutureTickQueue();
$this->timers = new \SplObjectStorage();
- $this->signals = new \RectorPrefix20220217\React\EventLoop\SignalsHandler();
+ $this->signals = new \RectorPrefix20220218\React\EventLoop\SignalsHandler();
}
public function addReadStream($stream, $listener)
{
@@ -113,7 +113,7 @@ class ExtEvLoop implements \RectorPrefix20220217\React\EventLoop\LoopInterface
}
public function addTimer($interval, $callback)
{
- $timer = new \RectorPrefix20220217\React\EventLoop\Timer\Timer($interval, $callback, \false);
+ $timer = new \RectorPrefix20220218\React\EventLoop\Timer\Timer($interval, $callback, \false);
$that = $this;
$timers = $this->timers;
$callback = function () use($timer, $timers, $that) {
@@ -128,7 +128,7 @@ class ExtEvLoop implements \RectorPrefix20220217\React\EventLoop\LoopInterface
}
public function addPeriodicTimer($interval, $callback)
{
- $timer = new \RectorPrefix20220217\React\EventLoop\Timer\Timer($interval, $callback, \true);
+ $timer = new \RectorPrefix20220218\React\EventLoop\Timer\Timer($interval, $callback, \true);
$callback = function () use($timer) {
\call_user_func($timer->getCallback(), $timer);
};
@@ -136,7 +136,7 @@ class ExtEvLoop implements \RectorPrefix20220217\React\EventLoop\LoopInterface
$this->timers->attach($timer, $event);
return $timer;
}
- public function cancelTimer(\RectorPrefix20220217\React\EventLoop\TimerInterface $timer)
+ public function cancelTimer(\RectorPrefix20220218\React\EventLoop\TimerInterface $timer)
{
if (!isset($this->timers[$timer])) {
return;
diff --git a/vendor/react/event-loop/src/ExtEventLoop.php b/vendor/react/event-loop/src/ExtEventLoop.php
index 8be3e7a1907..61069a066a5 100644
--- a/vendor/react/event-loop/src/ExtEventLoop.php
+++ b/vendor/react/event-loop/src/ExtEventLoop.php
@@ -1,12 +1,12 @@
requireFeatures(\EventConfig::FEATURE_FDS);
}
$this->eventBase = new \EventBase($config);
- $this->futureTickQueue = new \RectorPrefix20220217\React\EventLoop\Tick\FutureTickQueue();
+ $this->futureTickQueue = new \RectorPrefix20220218\React\EventLoop\Tick\FutureTickQueue();
$this->timerEvents = new \SplObjectStorage();
- $this->signals = new \RectorPrefix20220217\React\EventLoop\SignalsHandler();
+ $this->signals = new \RectorPrefix20220218\React\EventLoop\SignalsHandler();
$this->createTimerCallback();
$this->createStreamCallback();
}
@@ -113,17 +113,17 @@ final class ExtEventLoop implements \RectorPrefix20220217\React\EventLoop\LoopIn
}
public function addTimer($interval, $callback)
{
- $timer = new \RectorPrefix20220217\React\EventLoop\Timer\Timer($interval, $callback, \false);
+ $timer = new \RectorPrefix20220218\React\EventLoop\Timer\Timer($interval, $callback, \false);
$this->scheduleTimer($timer);
return $timer;
}
public function addPeriodicTimer($interval, $callback)
{
- $timer = new \RectorPrefix20220217\React\EventLoop\Timer\Timer($interval, $callback, \true);
+ $timer = new \RectorPrefix20220218\React\EventLoop\Timer\Timer($interval, $callback, \true);
$this->scheduleTimer($timer);
return $timer;
}
- public function cancelTimer(\RectorPrefix20220217\React\EventLoop\TimerInterface $timer)
+ public function cancelTimer(\RectorPrefix20220218\React\EventLoop\TimerInterface $timer)
{
if ($this->timerEvents->contains($timer)) {
$this->timerEvents[$timer]->free();
@@ -173,7 +173,7 @@ final class ExtEventLoop implements \RectorPrefix20220217\React\EventLoop\LoopIn
*
* @param TimerInterface $timer
*/
- private function scheduleTimer(\RectorPrefix20220217\React\EventLoop\TimerInterface $timer)
+ private function scheduleTimer(\RectorPrefix20220218\React\EventLoop\TimerInterface $timer)
{
$flags = \Event::TIMEOUT;
if ($timer->isPeriodic()) {
diff --git a/vendor/react/event-loop/src/ExtLibevLoop.php b/vendor/react/event-loop/src/ExtLibevLoop.php
index 6f8080bdf72..e62e45d355a 100644
--- a/vendor/react/event-loop/src/ExtLibevLoop.php
+++ b/vendor/react/event-loop/src/ExtLibevLoop.php
@@ -1,14 +1,14 @@
loop = new \RectorPrefix20220217\libev\EventLoop();
- $this->futureTickQueue = new \RectorPrefix20220217\React\EventLoop\Tick\FutureTickQueue();
+ $this->loop = new \RectorPrefix20220218\libev\EventLoop();
+ $this->futureTickQueue = new \RectorPrefix20220218\React\EventLoop\Tick\FutureTickQueue();
$this->timerEvents = new \SplObjectStorage();
- $this->signals = new \RectorPrefix20220217\React\EventLoop\SignalsHandler();
+ $this->signals = new \RectorPrefix20220218\React\EventLoop\SignalsHandler();
}
public function addReadStream($stream, $listener)
{
@@ -53,7 +53,7 @@ final class ExtLibevLoop implements \RectorPrefix20220217\React\EventLoop\LoopIn
$callback = function () use($stream, $listener) {
\call_user_func($listener, $stream);
};
- $event = new \RectorPrefix20220217\libev\IOEvent($callback, $stream, \RectorPrefix20220217\libev\IOEvent::READ);
+ $event = new \RectorPrefix20220218\libev\IOEvent($callback, $stream, \RectorPrefix20220218\libev\IOEvent::READ);
$this->loop->add($event);
$this->readEvents[(int) $stream] = $event;
}
@@ -65,7 +65,7 @@ final class ExtLibevLoop implements \RectorPrefix20220217\React\EventLoop\LoopIn
$callback = function () use($stream, $listener) {
\call_user_func($listener, $stream);
};
- $event = new \RectorPrefix20220217\libev\IOEvent($callback, $stream, \RectorPrefix20220217\libev\IOEvent::WRITE);
+ $event = new \RectorPrefix20220218\libev\IOEvent($callback, $stream, \RectorPrefix20220218\libev\IOEvent::WRITE);
$this->loop->add($event);
$this->writeEvents[(int) $stream] = $event;
}
@@ -89,7 +89,7 @@ final class ExtLibevLoop implements \RectorPrefix20220217\React\EventLoop\LoopIn
}
public function addTimer($interval, $callback)
{
- $timer = new \RectorPrefix20220217\React\EventLoop\Timer\Timer($interval, $callback, \false);
+ $timer = new \RectorPrefix20220218\React\EventLoop\Timer\Timer($interval, $callback, \false);
$that = $this;
$timers = $this->timerEvents;
$callback = function () use($timer, $timers, $that) {
@@ -98,23 +98,23 @@ final class ExtLibevLoop implements \RectorPrefix20220217\React\EventLoop\LoopIn
$that->cancelTimer($timer);
}
};
- $event = new \RectorPrefix20220217\libev\TimerEvent($callback, $timer->getInterval());
+ $event = new \RectorPrefix20220218\libev\TimerEvent($callback, $timer->getInterval());
$this->timerEvents->attach($timer, $event);
$this->loop->add($event);
return $timer;
}
public function addPeriodicTimer($interval, $callback)
{
- $timer = new \RectorPrefix20220217\React\EventLoop\Timer\Timer($interval, $callback, \true);
+ $timer = new \RectorPrefix20220218\React\EventLoop\Timer\Timer($interval, $callback, \true);
$callback = function () use($timer) {
\call_user_func($timer->getCallback(), $timer);
};
- $event = new \RectorPrefix20220217\libev\TimerEvent($callback, $interval, $interval);
+ $event = new \RectorPrefix20220218\libev\TimerEvent($callback, $interval, $interval);
$this->timerEvents->attach($timer, $event);
$this->loop->add($event);
return $timer;
}
- public function cancelTimer(\RectorPrefix20220217\React\EventLoop\TimerInterface $timer)
+ public function cancelTimer(\RectorPrefix20220218\React\EventLoop\TimerInterface $timer)
{
if (isset($this->timerEvents[$timer])) {
$this->loop->remove($this->timerEvents[$timer]);
@@ -130,7 +130,7 @@ final class ExtLibevLoop implements \RectorPrefix20220217\React\EventLoop\LoopIn
$this->signals->add($signal, $listener);
if (!isset($this->signalEvents[$signal])) {
$signals = $this->signals;
- $this->signalEvents[$signal] = new \RectorPrefix20220217\libev\SignalEvent(function () use($signals, $signal) {
+ $this->signalEvents[$signal] = new \RectorPrefix20220218\libev\SignalEvent(function () use($signals, $signal) {
$signals->call($signal);
}, $signal);
$this->loop->add($this->signalEvents[$signal]);
@@ -150,9 +150,9 @@ final class ExtLibevLoop implements \RectorPrefix20220217\React\EventLoop\LoopIn
$this->running = \true;
while ($this->running) {
$this->futureTickQueue->tick();
- $flags = \RectorPrefix20220217\libev\EventLoop::RUN_ONCE;
+ $flags = \RectorPrefix20220218\libev\EventLoop::RUN_ONCE;
if (!$this->running || !$this->futureTickQueue->isEmpty()) {
- $flags |= \RectorPrefix20220217\libev\EventLoop::RUN_NOWAIT;
+ $flags |= \RectorPrefix20220218\libev\EventLoop::RUN_NOWAIT;
} elseif (!$this->readEvents && !$this->writeEvents && !$this->timerEvents->count() && $this->signals->isEmpty()) {
break;
}
diff --git a/vendor/react/event-loop/src/ExtLibeventLoop.php b/vendor/react/event-loop/src/ExtLibeventLoop.php
index 4b8e570ca72..c576b9ae184 100644
--- a/vendor/react/event-loop/src/ExtLibeventLoop.php
+++ b/vendor/react/event-loop/src/ExtLibeventLoop.php
@@ -1,12 +1,12 @@
eventBase = \event_base_new();
- $this->futureTickQueue = new \RectorPrefix20220217\React\EventLoop\Tick\FutureTickQueue();
+ $this->futureTickQueue = new \RectorPrefix20220218\React\EventLoop\Tick\FutureTickQueue();
$this->timerEvents = new \SplObjectStorage();
- $this->signals = new \RectorPrefix20220217\React\EventLoop\SignalsHandler();
+ $this->signals = new \RectorPrefix20220218\React\EventLoop\SignalsHandler();
$this->createTimerCallback();
$this->createStreamCallback();
}
@@ -110,17 +110,17 @@ final class ExtLibeventLoop implements \RectorPrefix20220217\React\EventLoop\Loo
}
public function addTimer($interval, $callback)
{
- $timer = new \RectorPrefix20220217\React\EventLoop\Timer\Timer($interval, $callback, \false);
+ $timer = new \RectorPrefix20220218\React\EventLoop\Timer\Timer($interval, $callback, \false);
$this->scheduleTimer($timer);
return $timer;
}
public function addPeriodicTimer($interval, $callback)
{
- $timer = new \RectorPrefix20220217\React\EventLoop\Timer\Timer($interval, $callback, \true);
+ $timer = new \RectorPrefix20220218\React\EventLoop\Timer\Timer($interval, $callback, \true);
$this->scheduleTimer($timer);
return $timer;
}
- public function cancelTimer(\RectorPrefix20220217\React\EventLoop\TimerInterface $timer)
+ public function cancelTimer(\RectorPrefix20220218\React\EventLoop\TimerInterface $timer)
{
if ($this->timerEvents->contains($timer)) {
$event = $this->timerEvents[$timer];
@@ -175,7 +175,7 @@ final class ExtLibeventLoop implements \RectorPrefix20220217\React\EventLoop\Loo
*
* @param TimerInterface $timer
*/
- private function scheduleTimer(\RectorPrefix20220217\React\EventLoop\TimerInterface $timer)
+ private function scheduleTimer(\RectorPrefix20220218\React\EventLoop\TimerInterface $timer)
{
$this->timerEvents[$timer] = $event = \event_timer_new();
\event_timer_set($event, $this->timerCallback, $timer);
@@ -201,7 +201,7 @@ final class ExtLibeventLoop implements \RectorPrefix20220217\React\EventLoop\Loo
}
// Reschedule periodic timers ...
if ($timer->isPeriodic()) {
- \event_add($timers[$timer], $timer->getInterval() * \RectorPrefix20220217\React\EventLoop\ExtLibeventLoop::MICROSECONDS_PER_SECOND);
+ \event_add($timers[$timer], $timer->getInterval() * \RectorPrefix20220218\React\EventLoop\ExtLibeventLoop::MICROSECONDS_PER_SECOND);
// Clean-up one shot timers ...
} else {
$that->cancelTimer($timer);
diff --git a/vendor/react/event-loop/src/ExtUvLoop.php b/vendor/react/event-loop/src/ExtUvLoop.php
index 77eb5ae573d..5024678b416 100644
--- a/vendor/react/event-loop/src/ExtUvLoop.php
+++ b/vendor/react/event-loop/src/ExtUvLoop.php
@@ -1,9 +1,9 @@
uv = \uv_loop_new();
- $this->futureTickQueue = new \RectorPrefix20220217\React\EventLoop\Tick\FutureTickQueue();
+ $this->futureTickQueue = new \RectorPrefix20220218\React\EventLoop\Tick\FutureTickQueue();
$this->timers = new \SplObjectStorage();
$this->streamListener = $this->createStreamListener();
- $this->signals = new \RectorPrefix20220217\React\EventLoop\SignalsHandler();
+ $this->signals = new \RectorPrefix20220218\React\EventLoop\SignalsHandler();
}
/**
* Returns the underlying ext-uv event loop. (Internal ReactPHP use only.)
@@ -99,7 +99,7 @@ final class ExtUvLoop implements \RectorPrefix20220217\React\EventLoop\LoopInter
*/
public function addTimer($interval, $callback)
{
- $timer = new \RectorPrefix20220217\React\EventLoop\Timer\Timer($interval, $callback, \false);
+ $timer = new \RectorPrefix20220218\React\EventLoop\Timer\Timer($interval, $callback, \false);
$that = $this;
$timers = $this->timers;
$callback = function () use($timer, $timers, $that) {
@@ -118,7 +118,7 @@ final class ExtUvLoop implements \RectorPrefix20220217\React\EventLoop\LoopInter
*/
public function addPeriodicTimer($interval, $callback)
{
- $timer = new \RectorPrefix20220217\React\EventLoop\Timer\Timer($interval, $callback, \true);
+ $timer = new \RectorPrefix20220218\React\EventLoop\Timer\Timer($interval, $callback, \true);
$callback = function () use($timer) {
\call_user_func($timer->getCallback(), $timer);
};
@@ -131,7 +131,7 @@ final class ExtUvLoop implements \RectorPrefix20220217\React\EventLoop\LoopInter
/**
* {@inheritdoc}
*/
- public function cancelTimer(\RectorPrefix20220217\React\EventLoop\TimerInterface $timer)
+ public function cancelTimer(\RectorPrefix20220218\React\EventLoop\TimerInterface $timer)
{
if (isset($this->timers[$timer])) {
@\uv_timer_stop($this->timers[$timer]);
@@ -150,8 +150,8 @@ final class ExtUvLoop implements \RectorPrefix20220217\React\EventLoop\LoopInter
$this->signals->add($signal, $listener);
if (!isset($this->signalEvents[$signal])) {
$signals = $this->signals;
- $this->signalEvents[$signal] = \RectorPrefix20220217\uv_signal_init($this->uv);
- \RectorPrefix20220217\uv_signal_start($this->signalEvents[$signal], function () use($signals, $signal) {
+ $this->signalEvents[$signal] = \RectorPrefix20220218\uv_signal_init($this->uv);
+ \RectorPrefix20220218\uv_signal_start($this->signalEvents[$signal], function () use($signals, $signal) {
$signals->call($signal);
}, $signal);
}
@@ -197,7 +197,7 @@ final class ExtUvLoop implements \RectorPrefix20220217\React\EventLoop\LoopInter
private function addStream($stream)
{
if (!isset($this->streamEvents[(int) $stream])) {
- $this->streamEvents[(int) $stream] = \RectorPrefix20220217\uv_poll_init_socket($this->uv, $stream);
+ $this->streamEvents[(int) $stream] = \RectorPrefix20220218\uv_poll_init_socket($this->uv, $stream);
}
if ($this->streamEvents[(int) $stream] !== \false) {
$this->pollStream($stream);
diff --git a/vendor/react/event-loop/src/Factory.php b/vendor/react/event-loop/src/Factory.php
index dbc080cd311..c70983dd7c1 100644
--- a/vendor/react/event-loop/src/Factory.php
+++ b/vendor/react/event-loop/src/Factory.php
@@ -1,6 +1,6 @@
cancelTimer($timer);
}
diff --git a/vendor/react/event-loop/src/LoopInterface.php b/vendor/react/event-loop/src/LoopInterface.php
index 87915feb320..3e9e3d493ed 100644
--- a/vendor/react/event-loop/src/LoopInterface.php
+++ b/vendor/react/event-loop/src/LoopInterface.php
@@ -1,6 +1,6 @@
futureTickQueue = new \RectorPrefix20220217\React\EventLoop\Tick\FutureTickQueue();
- $this->timers = new \RectorPrefix20220217\React\EventLoop\Timer\Timers();
+ $this->futureTickQueue = new \RectorPrefix20220218\React\EventLoop\Tick\FutureTickQueue();
+ $this->timers = new \RectorPrefix20220218\React\EventLoop\Timer\Timers();
$this->pcntl = \function_exists('pcntl_signal') && \function_exists('pcntl_signal_dispatch');
$this->pcntlPoll = $this->pcntl && !\function_exists('pcntl_async_signals');
- $this->signals = new \RectorPrefix20220217\React\EventLoop\SignalsHandler();
+ $this->signals = new \RectorPrefix20220218\React\EventLoop\SignalsHandler();
// prefer async signals if available (PHP 7.1+) or fall back to dispatching on each tick
if ($this->pcntl && !$this->pcntlPoll) {
\pcntl_async_signals(\true);
@@ -102,17 +102,17 @@ final class StreamSelectLoop implements \RectorPrefix20220217\React\EventLoop\Lo
}
public function addTimer($interval, $callback)
{
- $timer = new \RectorPrefix20220217\React\EventLoop\Timer\Timer($interval, $callback, \false);
+ $timer = new \RectorPrefix20220218\React\EventLoop\Timer\Timer($interval, $callback, \false);
$this->timers->add($timer);
return $timer;
}
public function addPeriodicTimer($interval, $callback)
{
- $timer = new \RectorPrefix20220217\React\EventLoop\Timer\Timer($interval, $callback, \true);
+ $timer = new \RectorPrefix20220218\React\EventLoop\Timer\Timer($interval, $callback, \true);
$this->timers->add($timer);
return $timer;
}
- public function cancelTimer(\RectorPrefix20220217\React\EventLoop\TimerInterface $timer)
+ public function cancelTimer(\RectorPrefix20220218\React\EventLoop\TimerInterface $timer)
{
$this->timers->cancel($timer);
}
diff --git a/vendor/react/event-loop/src/Tick/FutureTickQueue.php b/vendor/react/event-loop/src/Tick/FutureTickQueue.php
index affef7728b4..30e94c5b83f 100644
--- a/vendor/react/event-loop/src/Tick/FutureTickQueue.php
+++ b/vendor/react/event-loop/src/Tick/FutureTickQueue.php
@@ -1,6 +1,6 @@
time ?: $this->updateTime();
}
- public function add(\RectorPrefix20220217\React\EventLoop\TimerInterface $timer)
+ public function add(\RectorPrefix20220218\React\EventLoop\TimerInterface $timer)
{
$id = \spl_object_hash($timer);
$this->timers[$id] = $timer;
$this->schedule[$id] = $timer->getInterval() + $this->updateTime();
$this->sorted = \false;
}
- public function contains(\RectorPrefix20220217\React\EventLoop\TimerInterface $timer)
+ public function contains(\RectorPrefix20220218\React\EventLoop\TimerInterface $timer)
{
return isset($this->timers[\spl_object_hash($timer)]);
}
- public function cancel(\RectorPrefix20220217\React\EventLoop\TimerInterface $timer)
+ public function cancel(\RectorPrefix20220218\React\EventLoop\TimerInterface $timer)
{
$id = \spl_object_hash($timer);
unset($this->timers[$id], $this->schedule[$id]);
diff --git a/vendor/react/event-loop/src/TimerInterface.php b/vendor/react/event-loop/src/TimerInterface.php
index 6c404769ff9..80535b591e7 100644
--- a/vendor/react/event-loop/src/TimerInterface.php
+++ b/vendor/react/event-loop/src/TimerInterface.php
@@ -1,6 +1,6 @@
*/
-function timeout(\RectorPrefix20220217\React\Promise\PromiseInterface $promise, $time, \RectorPrefix20220217\React\EventLoop\LoopInterface $loop = null)
+function timeout(\RectorPrefix20220218\React\Promise\PromiseInterface $promise, $time, \RectorPrefix20220218\React\EventLoop\LoopInterface $loop = null)
{
// cancelling this promise will only try to cancel the input promise,
// thus leaving responsibility to the input promise.
$canceller = null;
- if ($promise instanceof \RectorPrefix20220217\React\Promise\CancellablePromiseInterface || !\interface_exists('RectorPrefix20220217\\React\\Promise\\CancellablePromiseInterface') && \method_exists($promise, 'cancel')) {
+ if ($promise instanceof \RectorPrefix20220218\React\Promise\CancellablePromiseInterface || !\interface_exists('RectorPrefix20220218\\React\\Promise\\CancellablePromiseInterface') && \method_exists($promise, 'cancel')) {
// pass promise by reference to clean reference after cancellation handler
// has been invoked once in order to avoid garbage references in call stack.
$canceller = function () use(&$promise) {
@@ -152,9 +152,9 @@ function timeout(\RectorPrefix20220217\React\Promise\PromiseInterface $promise,
};
}
if ($loop === null) {
- $loop = \RectorPrefix20220217\React\EventLoop\Loop::get();
+ $loop = \RectorPrefix20220218\React\EventLoop\Loop::get();
}
- return new \RectorPrefix20220217\React\Promise\Promise(function ($resolve, $reject) use($loop, $time, $promise) {
+ return new \RectorPrefix20220218\React\Promise\Promise(function ($resolve, $reject) use($loop, $time, $promise) {
$timer = null;
$promise = $promise->then(function ($v) use(&$timer, $loop, $resolve) {
if ($timer) {
@@ -175,10 +175,10 @@ function timeout(\RectorPrefix20220217\React\Promise\PromiseInterface $promise,
}
// start timeout timer which will cancel the input promise
$timer = $loop->addTimer($time, function () use($time, &$promise, $reject) {
- $reject(new \RectorPrefix20220217\React\Promise\Timer\TimeoutException($time, 'Timed out after ' . $time . ' seconds'));
+ $reject(new \RectorPrefix20220218\React\Promise\Timer\TimeoutException($time, 'Timed out after ' . $time . ' seconds'));
// try to invoke cancellation handler of input promise and then clean
// reference in order to avoid garbage references in call stack.
- if ($promise instanceof \RectorPrefix20220217\React\Promise\CancellablePromiseInterface || !\interface_exists('RectorPrefix20220217\\React\\Promise\\CancellablePromiseInterface') && \method_exists($promise, 'cancel')) {
+ if ($promise instanceof \RectorPrefix20220218\React\Promise\CancellablePromiseInterface || !\interface_exists('RectorPrefix20220218\\React\\Promise\\CancellablePromiseInterface') && \method_exists($promise, 'cancel')) {
$promise->cancel();
}
$promise = null;
@@ -219,13 +219,13 @@ function timeout(\RectorPrefix20220217\React\Promise\PromiseInterface $promise,
* @param ?LoopInterface $loop
* @return PromiseInterface
*/
-function sleep($time, \RectorPrefix20220217\React\EventLoop\LoopInterface $loop = null)
+function sleep($time, \RectorPrefix20220218\React\EventLoop\LoopInterface $loop = null)
{
if ($loop === null) {
- $loop = \RectorPrefix20220217\React\EventLoop\Loop::get();
+ $loop = \RectorPrefix20220218\React\EventLoop\Loop::get();
}
$timer = null;
- return new \RectorPrefix20220217\React\Promise\Promise(function ($resolve) use($loop, $time, &$timer) {
+ return new \RectorPrefix20220218\React\Promise\Promise(function ($resolve) use($loop, $time, &$timer) {
// resolve the promise when the timer fires in $time seconds
$timer = $loop->addTimer($time, function () use($resolve) {
$resolve();
@@ -274,7 +274,7 @@ function sleep($time, \RectorPrefix20220217\React\EventLoop\LoopInterface $loop
* @deprecated 1.8.0 See `sleep()` instead
* @see sleep()
*/
-function resolve($time, \RectorPrefix20220217\React\EventLoop\LoopInterface $loop = null)
+function resolve($time, \RectorPrefix20220218\React\EventLoop\LoopInterface $loop = null)
{
return \sleep($time, $loop)->then(function () use($time) {
return $time;
@@ -316,9 +316,9 @@ function resolve($time, \RectorPrefix20220217\React\EventLoop\LoopInterface $loo
* @deprecated 1.8.0 See `sleep()` instead
* @see sleep()
*/
-function reject($time, \RectorPrefix20220217\React\EventLoop\LoopInterface $loop = null)
+function reject($time, \RectorPrefix20220218\React\EventLoop\LoopInterface $loop = null)
{
return \sleep($time, $loop)->then(function () use($time) {
- throw new \RectorPrefix20220217\React\Promise\Timer\TimeoutException($time, 'Timer expired after ' . $time . ' seconds');
+ throw new \RectorPrefix20220218\React\Promise\Timer\TimeoutException($time, 'Timer expired after ' . $time . ' seconds');
});
}
diff --git a/vendor/react/promise-timer/src/functions_include.php b/vendor/react/promise-timer/src/functions_include.php
index 63befd26441..6e675396303 100644
--- a/vendor/react/promise-timer/src/functions_include.php
+++ b/vendor/react/promise-timer/src/functions_include.php
@@ -1,7 +1,7 @@
promise) {
- $this->promise = new \RectorPrefix20220217\React\Promise\Promise(function ($resolve, $reject, $notify) {
+ $this->promise = new \RectorPrefix20220218\React\Promise\Promise(function ($resolve, $reject, $notify) {
$this->resolveCallback = $resolve;
$this->rejectCallback = $reject;
$this->notifyCallback = $notify;
diff --git a/vendor/react/promise/src/Exception/LengthException.php b/vendor/react/promise/src/Exception/LengthException.php
index e3a2799581c..ced46dd8982 100644
--- a/vendor/react/promise/src/Exception/LengthException.php
+++ b/vendor/react/promise/src/Exception/LengthException.php
@@ -1,6 +1,6 @@
value = $value;
@@ -23,9 +23,9 @@ class FulfilledPromise implements \RectorPrefix20220217\React\Promise\ExtendedPr
try {
return resolve($onFulfilled($this->value));
} catch (\Throwable $exception) {
- return new \RectorPrefix20220217\React\Promise\RejectedPromise($exception);
+ return new \RectorPrefix20220218\React\Promise\RejectedPromise($exception);
} catch (\Exception $exception) {
- return new \RectorPrefix20220217\React\Promise\RejectedPromise($exception);
+ return new \RectorPrefix20220218\React\Promise\RejectedPromise($exception);
}
}
public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null)
@@ -34,7 +34,7 @@ class FulfilledPromise implements \RectorPrefix20220217\React\Promise\ExtendedPr
return;
}
$result = $onFulfilled($this->value);
- if ($result instanceof \RectorPrefix20220217\React\Promise\ExtendedPromiseInterface) {
+ if ($result instanceof \RectorPrefix20220218\React\Promise\ExtendedPromiseInterface) {
$result->done();
}
}
diff --git a/vendor/react/promise/src/LazyPromise.php b/vendor/react/promise/src/LazyPromise.php
index 1821e2fef59..347edce6f6f 100644
--- a/vendor/react/promise/src/LazyPromise.php
+++ b/vendor/react/promise/src/LazyPromise.php
@@ -1,11 +1,11 @@
promise = resolve(\call_user_func($this->factory));
} catch (\Throwable $exception) {
- $this->promise = new \RectorPrefix20220217\React\Promise\RejectedPromise($exception);
+ $this->promise = new \RectorPrefix20220218\React\Promise\RejectedPromise($exception);
} catch (\Exception $exception) {
- $this->promise = new \RectorPrefix20220217\React\Promise\RejectedPromise($exception);
+ $this->promise = new \RectorPrefix20220218\React\Promise\RejectedPromise($exception);
}
}
return $this->promise;
diff --git a/vendor/react/promise/src/Promise.php b/vendor/react/promise/src/Promise.php
index 294b2499b04..598831a3264 100644
--- a/vendor/react/promise/src/Promise.php
+++ b/vendor/react/promise/src/Promise.php
@@ -1,8 +1,8 @@
result) {
return $this->result->done($onFulfilled, $onRejected, $onProgress);
}
- $this->handlers[] = static function (\RectorPrefix20220217\React\Promise\ExtendedPromiseInterface $promise) use($onFulfilled, $onRejected) {
+ $this->handlers[] = static function (\RectorPrefix20220218\React\Promise\ExtendedPromiseInterface $promise) use($onFulfilled, $onRejected) {
$promise->done($onFulfilled, $onRejected);
};
if ($onProgress) {
@@ -58,7 +58,7 @@ class Promise implements \RectorPrefix20220217\React\Promise\ExtendedPromiseInte
{
return $this->then(null, static function ($reason) use($onRejected) {
if (!_checkTypehint($onRejected, $reason)) {
- return new \RectorPrefix20220217\React\Promise\RejectedPromise($reason);
+ return new \RectorPrefix20220218\React\Promise\RejectedPromise($reason);
}
return $onRejected($reason);
});
@@ -71,7 +71,7 @@ class Promise implements \RectorPrefix20220217\React\Promise\ExtendedPromiseInte
});
}, static function ($reason) use($onFulfilledOrRejected) {
return resolve($onFulfilledOrRejected())->then(function () use($reason) {
- return new \RectorPrefix20220217\React\Promise\RejectedPromise($reason);
+ return new \RectorPrefix20220218\React\Promise\RejectedPromise($reason);
});
});
}
@@ -104,7 +104,7 @@ class Promise implements \RectorPrefix20220217\React\Promise\ExtendedPromiseInte
} else {
$progressHandler = $notify;
}
- $this->handlers[] = static function (\RectorPrefix20220217\React\Promise\ExtendedPromiseInterface $promise) use($onFulfilled, $onRejected, $resolve, $reject, $progressHandler) {
+ $this->handlers[] = static function (\RectorPrefix20220218\React\Promise\ExtendedPromiseInterface $promise) use($onFulfilled, $onRejected, $resolve, $reject, $progressHandler) {
$promise->then($onFulfilled, $onRejected)->done($resolve, $reject, $progressHandler);
};
$this->progressHandlers[] = $progressHandler;
@@ -117,11 +117,11 @@ class Promise implements \RectorPrefix20220217\React\Promise\ExtendedPromiseInte
}
$this->settle(reject($reason));
}
- private function settle(\RectorPrefix20220217\React\Promise\ExtendedPromiseInterface $promise)
+ private function settle(\RectorPrefix20220218\React\Promise\ExtendedPromiseInterface $promise)
{
$promise = $this->unwrap($promise);
if ($promise === $this) {
- $promise = new \RectorPrefix20220217\React\Promise\RejectedPromise(new \LogicException('Cannot resolve a promise with itself.'));
+ $promise = new \RectorPrefix20220218\React\Promise\RejectedPromise(new \LogicException('Cannot resolve a promise with itself.'));
}
$handlers = $this->handlers;
$this->progressHandlers = $this->handlers = [];
@@ -141,7 +141,7 @@ class Promise implements \RectorPrefix20220217\React\Promise\ExtendedPromiseInte
}
private function extract($promise)
{
- if ($promise instanceof \RectorPrefix20220217\React\Promise\LazyPromise) {
+ if ($promise instanceof \RectorPrefix20220218\React\Promise\LazyPromise) {
$promise = $promise->promise();
}
return $promise;
diff --git a/vendor/react/promise/src/PromiseInterface.php b/vendor/react/promise/src/PromiseInterface.php
index 59b63f2d857..e6850240d47 100644
--- a/vendor/react/promise/src/PromiseInterface.php
+++ b/vendor/react/promise/src/PromiseInterface.php
@@ -1,6 +1,6 @@
reason = $reason;
@@ -23,21 +23,21 @@ class RejectedPromise implements \RectorPrefix20220217\React\Promise\ExtendedPro
try {
return resolve($onRejected($this->reason));
} catch (\Throwable $exception) {
- return new \RectorPrefix20220217\React\Promise\RejectedPromise($exception);
+ return new \RectorPrefix20220218\React\Promise\RejectedPromise($exception);
} catch (\Exception $exception) {
- return new \RectorPrefix20220217\React\Promise\RejectedPromise($exception);
+ return new \RectorPrefix20220218\React\Promise\RejectedPromise($exception);
}
}
public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null)
{
if (null === $onRejected) {
- throw \RectorPrefix20220217\React\Promise\UnhandledRejectionException::resolve($this->reason);
+ throw \RectorPrefix20220218\React\Promise\UnhandledRejectionException::resolve($this->reason);
}
$result = $onRejected($this->reason);
if ($result instanceof self) {
- throw \RectorPrefix20220217\React\Promise\UnhandledRejectionException::resolve($result->reason);
+ throw \RectorPrefix20220218\React\Promise\UnhandledRejectionException::resolve($result->reason);
}
- if ($result instanceof \RectorPrefix20220217\React\Promise\ExtendedPromiseInterface) {
+ if ($result instanceof \RectorPrefix20220218\React\Promise\ExtendedPromiseInterface) {
$result->done();
}
}
@@ -52,7 +52,7 @@ class RejectedPromise implements \RectorPrefix20220217\React\Promise\ExtendedPro
{
return $this->then(null, function ($reason) use($onFulfilledOrRejected) {
return resolve($onFulfilledOrRejected())->then(function () use($reason) {
- return new \RectorPrefix20220217\React\Promise\RejectedPromise($reason);
+ return new \RectorPrefix20220218\React\Promise\RejectedPromise($reason);
});
});
}
diff --git a/vendor/react/promise/src/UnhandledRejectionException.php b/vendor/react/promise/src/UnhandledRejectionException.php
index 6be077634a9..35fb12cd383 100644
--- a/vendor/react/promise/src/UnhandledRejectionException.php
+++ b/vendor/react/promise/src/UnhandledRejectionException.php
@@ -1,6 +1,6 @@
then($resolve, $reject, $notify);
}, $canceller);
}
- return new \RectorPrefix20220217\React\Promise\FulfilledPromise($promiseOrValue);
+ return new \RectorPrefix20220218\React\Promise\FulfilledPromise($promiseOrValue);
}
/**
* Creates a rejected promise for the supplied `$promiseOrValue`.
@@ -52,12 +52,12 @@ function resolve($promiseOrValue = null)
*/
function reject($promiseOrValue = null)
{
- if ($promiseOrValue instanceof \RectorPrefix20220217\React\Promise\PromiseInterface) {
+ if ($promiseOrValue instanceof \RectorPrefix20220218\React\Promise\PromiseInterface) {
return resolve($promiseOrValue)->then(function ($value) {
- return new \RectorPrefix20220217\React\Promise\RejectedPromise($value);
+ return new \RectorPrefix20220218\React\Promise\RejectedPromise($value);
});
}
- return new \RectorPrefix20220217\React\Promise\RejectedPromise($promiseOrValue);
+ return new \RectorPrefix20220218\React\Promise\RejectedPromise($promiseOrValue);
}
/**
* Returns a promise that will resolve only once all the items in
@@ -86,9 +86,9 @@ function all($promisesOrValues)
*/
function race($promisesOrValues)
{
- $cancellationQueue = new \RectorPrefix20220217\React\Promise\CancellationQueue();
+ $cancellationQueue = new \RectorPrefix20220218\React\Promise\CancellationQueue();
$cancellationQueue->enqueue($promisesOrValues);
- return new \RectorPrefix20220217\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $cancellationQueue) {
+ return new \RectorPrefix20220218\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $cancellationQueue) {
resolve($promisesOrValues)->done(function ($array) use($cancellationQueue, $resolve, $reject, $notify) {
if (!\is_array($array) || !$array) {
$resolve();
@@ -141,9 +141,9 @@ function any($promisesOrValues)
*/
function some($promisesOrValues, $howMany)
{
- $cancellationQueue = new \RectorPrefix20220217\React\Promise\CancellationQueue();
+ $cancellationQueue = new \RectorPrefix20220218\React\Promise\CancellationQueue();
$cancellationQueue->enqueue($promisesOrValues);
- return new \RectorPrefix20220217\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $howMany, $cancellationQueue) {
+ return new \RectorPrefix20220218\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $howMany, $cancellationQueue) {
resolve($promisesOrValues)->done(function ($array) use($howMany, $cancellationQueue, $resolve, $reject, $notify) {
if (!\is_array($array) || $howMany < 1) {
$resolve([]);
@@ -151,7 +151,7 @@ function some($promisesOrValues, $howMany)
}
$len = \count($array);
if ($len < $howMany) {
- throw new \RectorPrefix20220217\React\Promise\Exception\LengthException(\sprintf('Input array must contain at least %d item%s but contains only %s item%s.', $howMany, 1 === $howMany ? '' : 's', $len, 1 === $len ? '' : 's'));
+ throw new \RectorPrefix20220218\React\Promise\Exception\LengthException(\sprintf('Input array must contain at least %d item%s but contains only %s item%s.', $howMany, 1 === $howMany ? '' : 's', $len, 1 === $len ? '' : 's'));
}
$toResolve = $howMany;
$toReject = $len - $toResolve + 1;
@@ -195,9 +195,9 @@ function some($promisesOrValues, $howMany)
*/
function map($promisesOrValues, callable $mapFunc)
{
- $cancellationQueue = new \RectorPrefix20220217\React\Promise\CancellationQueue();
+ $cancellationQueue = new \RectorPrefix20220218\React\Promise\CancellationQueue();
$cancellationQueue->enqueue($promisesOrValues);
- return new \RectorPrefix20220217\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $mapFunc, $cancellationQueue) {
+ return new \RectorPrefix20220218\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $mapFunc, $cancellationQueue) {
resolve($promisesOrValues)->done(function ($array) use($mapFunc, $cancellationQueue, $resolve, $reject, $notify) {
if (!\is_array($array) || !$array) {
$resolve([]);
@@ -231,9 +231,9 @@ function map($promisesOrValues, callable $mapFunc)
*/
function reduce($promisesOrValues, callable $reduceFunc, $initialValue = null)
{
- $cancellationQueue = new \RectorPrefix20220217\React\Promise\CancellationQueue();
+ $cancellationQueue = new \RectorPrefix20220218\React\Promise\CancellationQueue();
$cancellationQueue->enqueue($promisesOrValues);
- return new \RectorPrefix20220217\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $reduceFunc, $initialValue, $cancellationQueue) {
+ return new \RectorPrefix20220218\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $reduceFunc, $initialValue, $cancellationQueue) {
resolve($promisesOrValues)->done(function ($array) use($reduceFunc, $initialValue, $cancellationQueue, $resolve, $reject, $notify) {
if (!\is_array($array)) {
$array = [];
@@ -292,7 +292,7 @@ function _checkTypehint(callable $callback, $object)
case $type instanceof \ReflectionNamedType:
$types = [$type];
break;
- case $type instanceof \RectorPrefix20220217\ReflectionIntersectionType:
+ case $type instanceof \RectorPrefix20220218\ReflectionIntersectionType:
$isTypeUnion = \false;
case $type instanceof \ReflectionUnionType:
$types = $type->getTypes();
diff --git a/vendor/react/promise/src/functions_include.php b/vendor/react/promise/src/functions_include.php
index f84fd9db805..2fc2bd73fa6 100644
--- a/vendor/react/promise/src/functions_include.php
+++ b/vendor/react/promise/src/functions_include.php
@@ -1,7 +1,7 @@
= 70100 && \PHP_VERSION_ID < 70104;
- $this->input = new \RectorPrefix20220217\React\Stream\DuplexResourceStream($resource, $loop, $clearCompleteBuffer ? -1 : null, new \RectorPrefix20220217\React\Stream\WritableResourceStream($resource, $loop, null, $limitWriteChunks ? 8192 : null));
+ $this->input = new \RectorPrefix20220218\React\Stream\DuplexResourceStream($resource, $loop, $clearCompleteBuffer ? -1 : null, new \RectorPrefix20220218\React\Stream\WritableResourceStream($resource, $loop, null, $limitWriteChunks ? 8192 : null));
$this->stream = $resource;
- \RectorPrefix20220217\React\Stream\Util::forwardEvents($this->input, $this, array('data', 'end', 'error', 'close', 'pipe', 'drain'));
+ \RectorPrefix20220218\React\Stream\Util::forwardEvents($this->input, $this, array('data', 'end', 'error', 'close', 'pipe', 'drain'));
$this->input->on('close', array($this, 'close'));
}
public function isReadable()
@@ -78,7 +78,7 @@ class Connection extends \RectorPrefix20220217\Evenement\EventEmitter implements
{
$this->input->resume();
}
- public function pipe(\RectorPrefix20220217\React\Stream\WritableStreamInterface $dest, array $options = array())
+ public function pipe(\RectorPrefix20220218\React\Stream\WritableStreamInterface $dest, array $options = array())
{
return $this->input->pipe($dest, $options);
}
diff --git a/vendor/react/socket/src/ConnectionInterface.php b/vendor/react/socket/src/ConnectionInterface.php
index 485b21cd8b2..007f5fd0ac5 100644
--- a/vendor/react/socket/src/ConnectionInterface.php
+++ b/vendor/react/socket/src/ConnectionInterface.php
@@ -1,8 +1,8 @@
nameservers) {
$config->nameservers[] = '8.8.8.8';
// @codeCoverageIgnore
}
}
- $factory = new \RectorPrefix20220217\React\Dns\Resolver\Factory();
+ $factory = new \RectorPrefix20220218\React\Dns\Resolver\Factory();
$resolver = $factory->createCached($config, $loop);
}
if ($context['happy_eyeballs'] === \true) {
- $tcp = new \RectorPrefix20220217\React\Socket\HappyEyeBallsConnector($loop, $tcp, $resolver);
+ $tcp = new \RectorPrefix20220218\React\Socket\HappyEyeBallsConnector($loop, $tcp, $resolver);
} else {
- $tcp = new \RectorPrefix20220217\React\Socket\DnsConnector($tcp, $resolver);
+ $tcp = new \RectorPrefix20220218\React\Socket\DnsConnector($tcp, $resolver);
}
}
if ($context['tcp'] !== \false) {
$context['tcp'] = $tcp;
if ($context['timeout'] !== \false) {
- $context['tcp'] = new \RectorPrefix20220217\React\Socket\TimeoutConnector($context['tcp'], $context['timeout'], $loop);
+ $context['tcp'] = new \RectorPrefix20220218\React\Socket\TimeoutConnector($context['tcp'], $context['timeout'], $loop);
}
$this->connectors['tcp'] = $context['tcp'];
}
if ($context['tls'] !== \false) {
- if (!$context['tls'] instanceof \RectorPrefix20220217\React\Socket\ConnectorInterface) {
- $context['tls'] = new \RectorPrefix20220217\React\Socket\SecureConnector($tcp, $loop, \is_array($context['tls']) ? $context['tls'] : array());
+ if (!$context['tls'] instanceof \RectorPrefix20220218\React\Socket\ConnectorInterface) {
+ $context['tls'] = new \RectorPrefix20220218\React\Socket\SecureConnector($tcp, $loop, \is_array($context['tls']) ? $context['tls'] : array());
}
if ($context['timeout'] !== \false) {
- $context['tls'] = new \RectorPrefix20220217\React\Socket\TimeoutConnector($context['tls'], $context['timeout'], $loop);
+ $context['tls'] = new \RectorPrefix20220218\React\Socket\TimeoutConnector($context['tls'], $context['timeout'], $loop);
}
$this->connectors['tls'] = $context['tls'];
}
if ($context['unix'] !== \false) {
- if (!$context['unix'] instanceof \RectorPrefix20220217\React\Socket\ConnectorInterface) {
- $context['unix'] = new \RectorPrefix20220217\React\Socket\UnixConnector($loop);
+ if (!$context['unix'] instanceof \RectorPrefix20220218\React\Socket\ConnectorInterface) {
+ $context['unix'] = new \RectorPrefix20220218\React\Socket\UnixConnector($loop);
}
$this->connectors['unix'] = $context['unix'];
}
@@ -125,7 +125,7 @@ final class Connector implements \RectorPrefix20220217\React\Socket\ConnectorInt
$scheme = (string) \substr($uri, 0, \strpos($uri, '://'));
}
if (!isset($this->connectors[$scheme])) {
- return \RectorPrefix20220217\React\Promise\reject(new \RuntimeException('No connector available for URI scheme "' . $scheme . '" (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22));
+ return \RectorPrefix20220218\React\Promise\reject(new \RuntimeException('No connector available for URI scheme "' . $scheme . '" (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22));
}
return $this->connectors[$scheme]->connect($uri);
}
diff --git a/vendor/react/socket/src/ConnectorInterface.php b/vendor/react/socket/src/ConnectorInterface.php
index 098318310e1..d0f9cefe282 100644
--- a/vendor/react/socket/src/ConnectorInterface.php
+++ b/vendor/react/socket/src/ConnectorInterface.php
@@ -1,6 +1,6 @@
connector = $connector;
$this->resolver = $resolver;
@@ -27,7 +27,7 @@ final class DnsConnector implements \RectorPrefix20220217\React\Socket\Connector
$parts = \parse_url($uri);
}
if (!$parts || !isset($parts['host'])) {
- return \RectorPrefix20220217\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $original . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22));
+ return \RectorPrefix20220218\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $original . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22));
}
$host = \trim($parts['host'], '[]');
$connector = $this->connector;
@@ -37,11 +37,11 @@ final class DnsConnector implements \RectorPrefix20220217\React\Socket\Connector
}
$promise = $this->resolver->resolve($host);
$resolved = null;
- return new \RectorPrefix20220217\React\Promise\Promise(function ($resolve, $reject) use(&$promise, &$resolved, $uri, $connector, $host, $parts) {
+ return new \RectorPrefix20220218\React\Promise\Promise(function ($resolve, $reject) use(&$promise, &$resolved, $uri, $connector, $host, $parts) {
// resolve/reject with result of DNS lookup
$promise->then(function ($ip) use(&$promise, &$resolved, $uri, $connector, $host, $parts) {
$resolved = $ip;
- return $promise = $connector->connect(\RectorPrefix20220217\React\Socket\Connector::uri($parts, $host, $ip))->then(null, function (\Exception $e) use($uri) {
+ return $promise = $connector->connect(\RectorPrefix20220218\React\Socket\Connector::uri($parts, $host, $ip))->then(null, function (\Exception $e) use($uri) {
if ($e instanceof \RuntimeException) {
$message = \preg_replace('/^(Connection to [^ ]+)[&?]hostname=[^ &]+/', '$1', $e->getMessage());
$e = new \RuntimeException('Connection to ' . $uri . ' failed: ' . $message, $e->getCode(), $e);
@@ -76,7 +76,7 @@ final class DnsConnector implements \RectorPrefix20220217\React\Socket\Connector
$reject(new \RuntimeException('Connection to ' . $uri . ' cancelled during DNS lookup (ECONNABORTED)', \defined('SOCKET_ECONNABORTED') ? \SOCKET_ECONNABORTED : 103));
}
// (try to) cancel pending DNS lookup / connection attempt
- if ($promise instanceof \RectorPrefix20220217\React\Promise\CancellablePromiseInterface) {
+ if ($promise instanceof \RectorPrefix20220218\React\Promise\CancellablePromiseInterface) {
// overwrite callback arguments for PHP7+ only, so they do not show
// up in the Exception trace and do not cause a possible cyclic reference.
$_ = $reject = null;
diff --git a/vendor/react/socket/src/FdServer.php b/vendor/react/socket/src/FdServer.php
index 4800c5a011f..1bc81b7426e 100644
--- a/vendor/react/socket/src/FdServer.php
+++ b/vendor/react/socket/src/FdServer.php
@@ -1,10 +1,10 @@
= \PHP_INT_MAX) {
throw new \InvalidArgumentException('Invalid FD number given (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22);
}
- $this->loop = $loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get();
+ $this->loop = $loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get();
$this->master = @\fopen('php://fd/' . $fd, 'r+');
if (\false === $this->master) {
// Match errstr from PHP's warning message.
@@ -90,7 +90,7 @@ final class FdServer extends \RectorPrefix20220217\Evenement\EventEmitter implem
\preg_match('/\\[(\\d+)\\]: (.*)/', $error['message'], $m);
$errno = isset($m[1]) ? (int) $m[1] : 0;
$errstr = isset($m[2]) ? $m[2] : $error['message'];
- throw new \RuntimeException('Failed to listen on FD ' . $fd . ': ' . $errstr . \RectorPrefix20220217\React\Socket\SocketServer::errconst($errno), $errno);
+ throw new \RuntimeException('Failed to listen on FD ' . $fd . ': ' . $errstr . \RectorPrefix20220218\React\Socket\SocketServer::errconst($errno), $errno);
}
$meta = \stream_get_meta_data($this->master);
if (!isset($meta['stream_type']) || $meta['stream_type'] !== 'tcp_socket') {
@@ -146,7 +146,7 @@ final class FdServer extends \RectorPrefix20220217\Evenement\EventEmitter implem
$that = $this;
$this->loop->addReadStream($this->master, function ($master) use($that) {
try {
- $newSocket = \RectorPrefix20220217\React\Socket\SocketServer::accept($master);
+ $newSocket = \RectorPrefix20220218\React\Socket\SocketServer::accept($master);
} catch (\RuntimeException $e) {
$that->emit('error', array($e));
return;
@@ -167,7 +167,7 @@ final class FdServer extends \RectorPrefix20220217\Evenement\EventEmitter implem
/** @internal */
public function handleConnection($socket)
{
- $connection = new \RectorPrefix20220217\React\Socket\Connection($socket, $this->loop);
+ $connection = new \RectorPrefix20220218\React\Socket\Connection($socket, $this->loop);
$connection->unix = $this->unix;
$this->emit('connection', array($connection));
}
diff --git a/vendor/react/socket/src/FixedUriConnector.php b/vendor/react/socket/src/FixedUriConnector.php
index 5c3f7b2bb64..72d1f0073da 100644
--- a/vendor/react/socket/src/FixedUriConnector.php
+++ b/vendor/react/socket/src/FixedUriConnector.php
@@ -1,6 +1,6 @@
connect('localhost:80');
* ```
*/
-class FixedUriConnector implements \RectorPrefix20220217\React\Socket\ConnectorInterface
+class FixedUriConnector implements \RectorPrefix20220218\React\Socket\ConnectorInterface
{
private $uri;
private $connector;
@@ -27,7 +27,7 @@ class FixedUriConnector implements \RectorPrefix20220217\React\Socket\ConnectorI
* @param string $uri
* @param ConnectorInterface $connector
*/
- public function __construct($uri, \RectorPrefix20220217\React\Socket\ConnectorInterface $connector)
+ public function __construct($uri, \RectorPrefix20220218\React\Socket\ConnectorInterface $connector)
{
$this->uri = $uri;
$this->connector = $connector;
diff --git a/vendor/react/socket/src/HappyEyeBallsConnectionBuilder.php b/vendor/react/socket/src/HappyEyeBallsConnectionBuilder.php
index 28de60bb684..c0e8e1808f3 100644
--- a/vendor/react/socket/src/HappyEyeBallsConnectionBuilder.php
+++ b/vendor/react/socket/src/HappyEyeBallsConnectionBuilder.php
@@ -1,13 +1,13 @@
\false, \RectorPrefix20220217\React\Dns\Model\Message::TYPE_AAAA => \false);
+ public $resolved = array(\RectorPrefix20220218\React\Dns\Model\Message::TYPE_A => \false, \RectorPrefix20220218\React\Dns\Model\Message::TYPE_AAAA => \false);
public $resolverPromises = array();
public $connectionPromises = array();
public $connectQueue = array();
@@ -45,7 +45,7 @@ final class HappyEyeBallsConnectionBuilder
public $lastErrorFamily;
public $lastError6;
public $lastError4;
- public function __construct(\RectorPrefix20220217\React\EventLoop\LoopInterface $loop, \RectorPrefix20220217\React\Socket\ConnectorInterface $connector, \RectorPrefix20220217\React\Dns\Resolver\ResolverInterface $resolver, $uri, $host, $parts)
+ public function __construct(\RectorPrefix20220218\React\EventLoop\LoopInterface $loop, \RectorPrefix20220218\React\Socket\ConnectorInterface $connector, \RectorPrefix20220218\React\Dns\Resolver\ResolverInterface $resolver, $uri, $host, $parts)
{
$this->loop = $loop;
$this->connector = $connector;
@@ -58,7 +58,7 @@ final class HappyEyeBallsConnectionBuilder
{
$timer = null;
$that = $this;
- return new \RectorPrefix20220217\React\Promise\Promise(function ($resolve, $reject) use($that, &$timer) {
+ return new \RectorPrefix20220218\React\Promise\Promise(function ($resolve, $reject) use($that, &$timer) {
$lookupResolve = function ($type) use($that, $resolve, $reject) {
return function (array $ips) use($that, $type, $resolve, $reject) {
unset($that->resolverPromises[$type]);
@@ -70,28 +70,28 @@ final class HappyEyeBallsConnectionBuilder
}
};
};
- $that->resolverPromises[\RectorPrefix20220217\React\Dns\Model\Message::TYPE_AAAA] = $that->resolve(\RectorPrefix20220217\React\Dns\Model\Message::TYPE_AAAA, $reject)->then($lookupResolve(\RectorPrefix20220217\React\Dns\Model\Message::TYPE_AAAA));
- $that->resolverPromises[\RectorPrefix20220217\React\Dns\Model\Message::TYPE_A] = $that->resolve(\RectorPrefix20220217\React\Dns\Model\Message::TYPE_A, $reject)->then(function (array $ips) use($that, &$timer) {
+ $that->resolverPromises[\RectorPrefix20220218\React\Dns\Model\Message::TYPE_AAAA] = $that->resolve(\RectorPrefix20220218\React\Dns\Model\Message::TYPE_AAAA, $reject)->then($lookupResolve(\RectorPrefix20220218\React\Dns\Model\Message::TYPE_AAAA));
+ $that->resolverPromises[\RectorPrefix20220218\React\Dns\Model\Message::TYPE_A] = $that->resolve(\RectorPrefix20220218\React\Dns\Model\Message::TYPE_A, $reject)->then(function (array $ips) use($that, &$timer) {
// happy path: IPv6 has resolved already (or could not resolve), continue with IPv4 addresses
- if ($that->resolved[\RectorPrefix20220217\React\Dns\Model\Message::TYPE_AAAA] === \true || !$ips) {
+ if ($that->resolved[\RectorPrefix20220218\React\Dns\Model\Message::TYPE_AAAA] === \true || !$ips) {
return $ips;
}
// Otherwise delay processing IPv4 lookup until short timer passes or IPv6 resolves in the meantime
- $deferred = new \RectorPrefix20220217\React\Promise\Deferred();
+ $deferred = new \RectorPrefix20220218\React\Promise\Deferred();
$timer = $that->loop->addTimer($that::RESOLUTION_DELAY, function () use($deferred, $ips) {
$deferred->resolve($ips);
});
- $that->resolverPromises[\RectorPrefix20220217\React\Dns\Model\Message::TYPE_AAAA]->then(function () use($that, $timer, $deferred, $ips) {
+ $that->resolverPromises[\RectorPrefix20220218\React\Dns\Model\Message::TYPE_AAAA]->then(function () use($that, $timer, $deferred, $ips) {
$that->loop->cancelTimer($timer);
$deferred->resolve($ips);
});
return $deferred->promise();
- })->then($lookupResolve(\RectorPrefix20220217\React\Dns\Model\Message::TYPE_A));
+ })->then($lookupResolve(\RectorPrefix20220218\React\Dns\Model\Message::TYPE_A));
}, function ($_, $reject) use($that, &$timer) {
$reject(new \RuntimeException('Connection to ' . $that->uri . ' cancelled' . (!$that->connectionPromises ? ' during DNS lookup' : '') . ' (ECONNABORTED)', \defined('SOCKET_ECONNABORTED') ? \SOCKET_ECONNABORTED : 103));
$_ = $reject = null;
$that->cleanUp();
- if ($timer instanceof \RectorPrefix20220217\React\EventLoop\TimerInterface) {
+ if ($timer instanceof \RectorPrefix20220218\React\EventLoop\TimerInterface) {
$that->loop->cancelTimer($timer);
}
});
@@ -110,7 +110,7 @@ final class HappyEyeBallsConnectionBuilder
return $that->resolver->resolveAll($that->host, $type)->then(null, function (\Exception $e) use($type, $reject, $that) {
unset($that->resolverPromises[$type]);
$that->resolved[$type] = \true;
- if ($type === \RectorPrefix20220217\React\Dns\Model\Message::TYPE_A) {
+ if ($type === \RectorPrefix20220218\React\Dns\Model\Message::TYPE_A) {
$that->lastError4 = $e->getMessage();
$that->lastErrorFamily = 4;
} else {
@@ -173,7 +173,7 @@ final class HappyEyeBallsConnectionBuilder
});
// Allow next connection attempt in 100ms: https://tools.ietf.org/html/rfc8305#section-5
// Only start timer when more IPs are queued or when DNS query is still pending (might add more IPs)
- if ($this->nextAttemptTimer === null && (\count($this->connectQueue) > 0 || $this->resolved[\RectorPrefix20220217\React\Dns\Model\Message::TYPE_A] === \false || $this->resolved[\RectorPrefix20220217\React\Dns\Model\Message::TYPE_AAAA] === \false)) {
+ if ($this->nextAttemptTimer === null && (\count($this->connectQueue) > 0 || $this->resolved[\RectorPrefix20220218\React\Dns\Model\Message::TYPE_A] === \false || $this->resolved[\RectorPrefix20220218\React\Dns\Model\Message::TYPE_AAAA] === \false)) {
$this->nextAttemptTimer = $this->loop->addTimer(self::CONNECTION_ATTEMPT_DELAY, function () use($that, $resolve, $reject) {
$that->nextAttemptTimer = null;
if ($that->connectQueue) {
@@ -187,7 +187,7 @@ final class HappyEyeBallsConnectionBuilder
*/
public function attemptConnection($ip)
{
- $uri = \RectorPrefix20220217\React\Socket\Connector::uri($this->parts, $this->host, $ip);
+ $uri = \RectorPrefix20220218\React\Socket\Connector::uri($this->parts, $this->host, $ip);
return $this->connector->connect($uri);
}
/**
@@ -198,16 +198,16 @@ final class HappyEyeBallsConnectionBuilder
// clear list of outstanding IPs to avoid creating new connections
$this->connectQueue = array();
foreach ($this->connectionPromises as $connectionPromise) {
- if ($connectionPromise instanceof \RectorPrefix20220217\React\Promise\CancellablePromiseInterface) {
+ if ($connectionPromise instanceof \RectorPrefix20220218\React\Promise\CancellablePromiseInterface) {
$connectionPromise->cancel();
}
}
foreach ($this->resolverPromises as $resolverPromise) {
- if ($resolverPromise instanceof \RectorPrefix20220217\React\Promise\CancellablePromiseInterface) {
+ if ($resolverPromise instanceof \RectorPrefix20220218\React\Promise\CancellablePromiseInterface) {
$resolverPromise->cancel();
}
}
- if ($this->nextAttemptTimer instanceof \RectorPrefix20220217\React\EventLoop\TimerInterface) {
+ if ($this->nextAttemptTimer instanceof \RectorPrefix20220218\React\EventLoop\TimerInterface) {
$this->loop->cancelTimer($this->nextAttemptTimer);
$this->nextAttemptTimer = null;
}
diff --git a/vendor/react/socket/src/HappyEyeBallsConnector.php b/vendor/react/socket/src/HappyEyeBallsConnector.php
index e460a43d30d..88c6c6e4277 100644
--- a/vendor/react/socket/src/HappyEyeBallsConnector.php
+++ b/vendor/react/socket/src/HappyEyeBallsConnector.php
@@ -1,17 +1,17 @@
loop = $loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get();
+ $this->loop = $loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get();
$this->connector = $connector;
$this->resolver = $resolver;
}
@@ -38,14 +38,14 @@ final class HappyEyeBallsConnector implements \RectorPrefix20220217\React\Socket
$parts = \parse_url($uri);
}
if (!$parts || !isset($parts['host'])) {
- return \RectorPrefix20220217\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $original . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22));
+ return \RectorPrefix20220218\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $original . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22));
}
$host = \trim($parts['host'], '[]');
// skip DNS lookup / URI manipulation if this URI already contains an IP
if (@\inet_pton($host) !== \false) {
return $this->connector->connect($original);
}
- $builder = new \RectorPrefix20220217\React\Socket\HappyEyeBallsConnectionBuilder($this->loop, $this->connector, $this->resolver, $uri, $host, $parts);
+ $builder = new \RectorPrefix20220218\React\Socket\HappyEyeBallsConnectionBuilder($this->loop, $this->connector, $this->resolver, $uri, $host, $parts);
return $builder->connect();
}
}
diff --git a/vendor/react/socket/src/LimitingServer.php b/vendor/react/socket/src/LimitingServer.php
index 11abbf3941c..f0987c0e71a 100644
--- a/vendor/react/socket/src/LimitingServer.php
+++ b/vendor/react/socket/src/LimitingServer.php
@@ -1,8 +1,8 @@
server = $server;
$this->limit = $connectionLimit;
@@ -141,7 +141,7 @@ class LimitingServer extends \RectorPrefix20220217\Evenement\EventEmitter implem
$this->server->close();
}
/** @internal */
- public function handleConnection(\RectorPrefix20220217\React\Socket\ConnectionInterface $connection)
+ public function handleConnection(\RectorPrefix20220218\React\Socket\ConnectionInterface $connection)
{
// close connection if limit exceeded
if ($this->limit !== null && \count($this->connections) >= $this->limit) {
@@ -164,7 +164,7 @@ class LimitingServer extends \RectorPrefix20220217\Evenement\EventEmitter implem
$this->emit('connection', array($connection));
}
/** @internal */
- public function handleDisconnection(\RectorPrefix20220217\React\Socket\ConnectionInterface $connection)
+ public function handleDisconnection(\RectorPrefix20220218\React\Socket\ConnectionInterface $connection)
{
unset($this->connections[\array_search($connection, $this->connections)]);
// continue accepting new connection if below limit
diff --git a/vendor/react/socket/src/SecureConnector.php b/vendor/react/socket/src/SecureConnector.php
index 63f0bd53bb7..e659eb2ca19 100644
--- a/vendor/react/socket/src/SecureConnector.php
+++ b/vendor/react/socket/src/SecureConnector.php
@@ -1,28 +1,28 @@
connector = $connector;
- $this->streamEncryption = new \RectorPrefix20220217\React\Socket\StreamEncryption($loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get(), \false);
+ $this->streamEncryption = new \RectorPrefix20220218\React\Socket\StreamEncryption($loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get(), \false);
$this->context = $context;
}
public function connect($uri)
{
if (!\function_exists('stream_socket_enable_crypto')) {
- return \RectorPrefix20220217\React\Promise\reject(new \BadMethodCallException('Encryption not supported on your platform (HHVM < 3.8?)'));
+ return \RectorPrefix20220218\React\Promise\reject(new \BadMethodCallException('Encryption not supported on your platform (HHVM < 3.8?)'));
// @codeCoverageIgnore
}
if (\strpos($uri, '://') === \false) {
@@ -30,15 +30,15 @@ final class SecureConnector implements \RectorPrefix20220217\React\Socket\Connec
}
$parts = \parse_url($uri);
if (!$parts || !isset($parts['scheme']) || $parts['scheme'] !== 'tls') {
- return \RectorPrefix20220217\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $uri . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22));
+ return \RectorPrefix20220218\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $uri . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22));
}
$context = $this->context;
$encryption = $this->streamEncryption;
$connected = \false;
- $promise = $this->connector->connect(\str_replace('tls://', '', $uri))->then(function (\RectorPrefix20220217\React\Socket\ConnectionInterface $connection) use($context, $encryption, $uri, &$promise, &$connected) {
+ $promise = $this->connector->connect(\str_replace('tls://', '', $uri))->then(function (\RectorPrefix20220218\React\Socket\ConnectionInterface $connection) use($context, $encryption, $uri, &$promise, &$connected) {
// (unencrypted) TCP/IP connection succeeded
$connected = \true;
- if (!$connection instanceof \RectorPrefix20220217\React\Socket\Connection) {
+ if (!$connection instanceof \RectorPrefix20220218\React\Socket\Connection) {
$connection->close();
throw new \UnexpectedValueException('Base connector does not use internal Connection class exposing stream resource');
}
@@ -77,7 +77,7 @@ final class SecureConnector implements \RectorPrefix20220217\React\Socket\Connec
}
throw $e;
});
- return new \RectorPrefix20220217\React\Promise\Promise(function ($resolve, $reject) use($promise) {
+ return new \RectorPrefix20220218\React\Promise\Promise(function ($resolve, $reject) use($promise) {
$promise->then($resolve, $reject);
}, function ($_, $reject) use(&$promise, $uri, &$connected) {
if ($connected) {
diff --git a/vendor/react/socket/src/SecureServer.php b/vendor/react/socket/src/SecureServer.php
index 98230692481..1e5825a0570 100644
--- a/vendor/react/socket/src/SecureServer.php
+++ b/vendor/react/socket/src/SecureServer.php
@@ -1,10 +1,10 @@
'');
$this->tcp = $tcp;
- $this->encryption = new \RectorPrefix20220217\React\Socket\StreamEncryption($loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get());
+ $this->encryption = new \RectorPrefix20220218\React\Socket\StreamEncryption($loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get());
$this->context = $context;
$that = $this;
$this->tcp->on('connection', function ($connection) use($that) {
@@ -160,9 +160,9 @@ final class SecureServer extends \RectorPrefix20220217\Evenement\EventEmitter im
return $this->tcp->close();
}
/** @internal */
- public function handleConnection(\RectorPrefix20220217\React\Socket\ConnectionInterface $connection)
+ public function handleConnection(\RectorPrefix20220218\React\Socket\ConnectionInterface $connection)
{
- if (!$connection instanceof \RectorPrefix20220217\React\Socket\Connection) {
+ if (!$connection instanceof \RectorPrefix20220218\React\Socket\Connection) {
$this->emit('error', array(new \UnexpectedValueException('Base server does not use internal Connection class exposing stream resource')));
$connection->close();
return;
diff --git a/vendor/react/socket/src/Server.php b/vendor/react/socket/src/Server.php
index 562c1118209..a3787ceb1a7 100644
--- a/vendor/react/socket/src/Server.php
+++ b/vendor/react/socket/src/Server.php
@@ -1,16 +1,16 @@
$context);
@@ -62,16 +62,16 @@ final class Server extends \RectorPrefix20220217\Evenement\EventEmitter implemen
$scheme = \substr($uri, 0, $pos);
}
if ($scheme === 'unix') {
- $server = new \RectorPrefix20220217\React\Socket\UnixServer($uri, $loop, $context['unix']);
+ $server = new \RectorPrefix20220218\React\Socket\UnixServer($uri, $loop, $context['unix']);
} else {
- $server = new \RectorPrefix20220217\React\Socket\TcpServer(\str_replace('tls://', '', $uri), $loop, $context['tcp']);
+ $server = new \RectorPrefix20220218\React\Socket\TcpServer(\str_replace('tls://', '', $uri), $loop, $context['tcp']);
if ($scheme === 'tls') {
- $server = new \RectorPrefix20220217\React\Socket\SecureServer($server, $loop, $context['tls']);
+ $server = new \RectorPrefix20220218\React\Socket\SecureServer($server, $loop, $context['tls']);
}
}
$this->server = $server;
$that = $this;
- $server->on('connection', function (\RectorPrefix20220217\React\Socket\ConnectionInterface $conn) use($that) {
+ $server->on('connection', function (\RectorPrefix20220218\React\Socket\ConnectionInterface $conn) use($that) {
$that->emit('connection', array($conn));
});
$server->on('error', function (\Exception $error) use($that) {
diff --git a/vendor/react/socket/src/ServerInterface.php b/vendor/react/socket/src/ServerInterface.php
index 056dfb7c8e4..152c408bc49 100644
--- a/vendor/react/socket/src/ServerInterface.php
+++ b/vendor/react/socket/src/ServerInterface.php
@@ -1,8 +1,8 @@
array(), 'tls' => array(), 'unix' => array());
@@ -39,21 +39,21 @@ final class SocketServer extends \RectorPrefix20220217\Evenement\EventEmitter im
$scheme = \substr($uri, 0, $pos);
}
if ($scheme === 'unix') {
- $server = new \RectorPrefix20220217\React\Socket\UnixServer($uri, $loop, $context['unix']);
+ $server = new \RectorPrefix20220218\React\Socket\UnixServer($uri, $loop, $context['unix']);
} elseif ($scheme === 'php') {
- $server = new \RectorPrefix20220217\React\Socket\FdServer($uri, $loop);
+ $server = new \RectorPrefix20220218\React\Socket\FdServer($uri, $loop);
} else {
if (\preg_match('#^(?:\\w+://)?\\d+$#', $uri)) {
throw new \InvalidArgumentException('Invalid URI given (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22);
}
- $server = new \RectorPrefix20220217\React\Socket\TcpServer(\str_replace('tls://', '', $uri), $loop, $context['tcp']);
+ $server = new \RectorPrefix20220218\React\Socket\TcpServer(\str_replace('tls://', '', $uri), $loop, $context['tcp']);
if ($scheme === 'tls') {
- $server = new \RectorPrefix20220217\React\Socket\SecureServer($server, $loop, $context['tls']);
+ $server = new \RectorPrefix20220218\React\Socket\SecureServer($server, $loop, $context['tls']);
}
}
$this->server = $server;
$that = $this;
- $server->on('connection', function (\RectorPrefix20220217\React\Socket\ConnectionInterface $conn) use($that) {
+ $server->on('connection', function (\RectorPrefix20220218\React\Socket\ConnectionInterface $conn) use($that) {
$that->emit('connection', array($conn));
});
$server->on('error', function (\Exception $error) use($that) {
diff --git a/vendor/react/socket/src/StreamEncryption.php b/vendor/react/socket/src/StreamEncryption.php
index 5cfe684b2be..df172b1a351 100644
--- a/vendor/react/socket/src/StreamEncryption.php
+++ b/vendor/react/socket/src/StreamEncryption.php
@@ -1,9 +1,9 @@
loop = $loop;
$this->server = $server;
@@ -40,17 +40,17 @@ class StreamEncryption
}
}
}
- public function enable(\RectorPrefix20220217\React\Socket\Connection $stream)
+ public function enable(\RectorPrefix20220218\React\Socket\Connection $stream)
{
return $this->toggle($stream, \true);
}
- public function toggle(\RectorPrefix20220217\React\Socket\Connection $stream, $toggle)
+ public function toggle(\RectorPrefix20220218\React\Socket\Connection $stream, $toggle)
{
// pause actual stream instance to continue operation on raw stream socket
$stream->pause();
// TODO: add write() event to make sure we're not sending any excessive data
// cancelling this leaves this stream in an inconsistent state…
- $deferred = new \RectorPrefix20220217\React\Promise\Deferred(function () {
+ $deferred = new \RectorPrefix20220218\React\Promise\Deferred(function () {
throw new \RuntimeException();
});
// get actual stream socket from stream instance
@@ -81,7 +81,7 @@ class StreamEncryption
throw $error;
});
}
- public function toggleCrypto($socket, \RectorPrefix20220217\React\Promise\Deferred $deferred, $toggle, $method)
+ public function toggleCrypto($socket, \RectorPrefix20220218\React\Promise\Deferred $deferred, $toggle, $method)
{
$error = null;
\set_error_handler(function ($_, $errstr) use(&$error) {
diff --git a/vendor/react/socket/src/TcpConnector.php b/vendor/react/socket/src/TcpConnector.php
index 0ec5eb23c51..a958561fbe8 100644
--- a/vendor/react/socket/src/TcpConnector.php
+++ b/vendor/react/socket/src/TcpConnector.php
@@ -1,19 +1,19 @@
loop = $loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get();
+ $this->loop = $loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get();
$this->context = $context;
}
public function connect($uri)
@@ -23,11 +23,11 @@ final class TcpConnector implements \RectorPrefix20220217\React\Socket\Connector
}
$parts = \parse_url($uri);
if (!$parts || !isset($parts['scheme'], $parts['host'], $parts['port']) || $parts['scheme'] !== 'tcp') {
- return \RectorPrefix20220217\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $uri . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22));
+ return \RectorPrefix20220218\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $uri . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22));
}
$ip = \trim($parts['host'], '[]');
if (@\inet_pton($ip) === \false) {
- return \RectorPrefix20220217\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $uri . '" does not contain a valid host IP (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22));
+ return \RectorPrefix20220218\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $uri . '" does not contain a valid host IP (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22));
}
// use context given in constructor
$context = array('socket' => $this->context);
@@ -57,11 +57,11 @@ final class TcpConnector implements \RectorPrefix20220217\React\Socket\Connector
$remote = 'tcp://' . $parts['host'] . ':' . $parts['port'];
$stream = @\stream_socket_client($remote, $errno, $errstr, 0, \STREAM_CLIENT_CONNECT | \STREAM_CLIENT_ASYNC_CONNECT, \stream_context_create($context));
if (\false === $stream) {
- return \RectorPrefix20220217\React\Promise\reject(new \RuntimeException('Connection to ' . $uri . ' failed: ' . $errstr . \RectorPrefix20220217\React\Socket\SocketServer::errconst($errno), $errno));
+ return \RectorPrefix20220218\React\Promise\reject(new \RuntimeException('Connection to ' . $uri . ' failed: ' . $errstr . \RectorPrefix20220218\React\Socket\SocketServer::errconst($errno), $errno));
}
// wait for connection
$loop = $this->loop;
- return new \RectorPrefix20220217\React\Promise\Promise(function ($resolve, $reject) use($loop, $stream, $uri) {
+ return new \RectorPrefix20220218\React\Promise\Promise(function ($resolve, $reject) use($loop, $stream, $uri) {
$loop->addWriteStream($stream, function ($stream) use($loop, $resolve, $reject, $uri) {
$loop->removeWriteStream($stream);
// The following hack looks like the only way to
@@ -91,9 +91,9 @@ final class TcpConnector implements \RectorPrefix20220217\React\Socket\Connector
}
// @codeCoverageIgnoreEnd
\fclose($stream);
- $reject(new \RuntimeException('Connection to ' . $uri . ' failed: ' . $errstr . \RectorPrefix20220217\React\Socket\SocketServer::errconst($errno), $errno));
+ $reject(new \RuntimeException('Connection to ' . $uri . ' failed: ' . $errstr . \RectorPrefix20220218\React\Socket\SocketServer::errconst($errno), $errno));
} else {
- $resolve(new \RectorPrefix20220217\React\Socket\Connection($stream, $loop));
+ $resolve(new \RectorPrefix20220218\React\Socket\Connection($stream, $loop));
}
});
}, function () use($loop, $stream, $uri) {
diff --git a/vendor/react/socket/src/TcpServer.php b/vendor/react/socket/src/TcpServer.php
index 96bbac9bfce..f54252360ec 100644
--- a/vendor/react/socket/src/TcpServer.php
+++ b/vendor/react/socket/src/TcpServer.php
@@ -1,10 +1,10 @@
loop = $loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get();
+ $this->loop = $loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get();
// a single port has been given => assume localhost
if ((string) (int) $uri === (string) $uri) {
$uri = '127.0.0.1:' . $uri;
@@ -158,9 +158,9 @@ final class TcpServer extends \RectorPrefix20220217\Evenement\EventEmitter imple
if ($errno === 0) {
// PHP does not seem to report errno, so match errno from errstr
// @link https://3v4l.org/3qOBl
- $errno = \RectorPrefix20220217\React\Socket\SocketServer::errno($errstr);
+ $errno = \RectorPrefix20220218\React\Socket\SocketServer::errno($errstr);
}
- throw new \RuntimeException('Failed to listen on "' . $uri . '": ' . $errstr . \RectorPrefix20220217\React\Socket\SocketServer::errconst($errno), $errno);
+ throw new \RuntimeException('Failed to listen on "' . $uri . '": ' . $errstr . \RectorPrefix20220218\React\Socket\SocketServer::errconst($errno), $errno);
}
\stream_set_blocking($this->master, \false);
$this->resume();
@@ -195,7 +195,7 @@ final class TcpServer extends \RectorPrefix20220217\Evenement\EventEmitter imple
$that = $this;
$this->loop->addReadStream($this->master, function ($master) use($that) {
try {
- $newSocket = \RectorPrefix20220217\React\Socket\SocketServer::accept($master);
+ $newSocket = \RectorPrefix20220218\React\Socket\SocketServer::accept($master);
} catch (\RuntimeException $e) {
$that->emit('error', array($e));
return;
@@ -216,6 +216,6 @@ final class TcpServer extends \RectorPrefix20220217\Evenement\EventEmitter imple
/** @internal */
public function handleConnection($socket)
{
- $this->emit('connection', array(new \RectorPrefix20220217\React\Socket\Connection($socket, $this->loop)));
+ $this->emit('connection', array(new \RectorPrefix20220218\React\Socket\Connection($socket, $this->loop)));
}
}
diff --git a/vendor/react/socket/src/TimeoutConnector.php b/vendor/react/socket/src/TimeoutConnector.php
index c5276784c88..074461b32cc 100644
--- a/vendor/react/socket/src/TimeoutConnector.php
+++ b/vendor/react/socket/src/TimeoutConnector.php
@@ -1,25 +1,25 @@
connector = $connector;
$this->timeout = $timeout;
- $this->loop = $loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get();
+ $this->loop = $loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get();
}
public function connect($uri)
{
- return \RectorPrefix20220217\React\Promise\Timer\timeout($this->connector->connect($uri), $this->timeout, $this->loop)->then(null, self::handler($uri));
+ return \RectorPrefix20220218\React\Promise\Timer\timeout($this->connector->connect($uri), $this->timeout, $this->loop)->then(null, self::handler($uri));
}
/**
* Creates a static rejection handler that reports a proper error message in case of a timeout.
@@ -34,7 +34,7 @@ final class TimeoutConnector implements \RectorPrefix20220217\React\Socket\Conne
private static function handler($uri)
{
return function (\Exception $e) use($uri) {
- if ($e instanceof \RectorPrefix20220217\React\Promise\Timer\TimeoutException) {
+ if ($e instanceof \RectorPrefix20220218\React\Promise\Timer\TimeoutException) {
throw new \RuntimeException('Connection to ' . $uri . ' timed out after ' . $e->getTimeout() . ' seconds (ETIMEDOUT)', \defined('SOCKET_ETIMEDOUT') ? \SOCKET_ETIMEDOUT : 110);
}
throw $e;
diff --git a/vendor/react/socket/src/UnixConnector.php b/vendor/react/socket/src/UnixConnector.php
index 3ff808cb0f0..6ae510bac02 100644
--- a/vendor/react/socket/src/UnixConnector.php
+++ b/vendor/react/socket/src/UnixConnector.php
@@ -1,10 +1,10 @@
loop = $loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get();
+ $this->loop = $loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get();
}
public function connect($path)
{
if (\strpos($path, '://') === \false) {
$path = 'unix://' . $path;
} elseif (\substr($path, 0, 7) !== 'unix://') {
- return \RectorPrefix20220217\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $path . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22));
+ return \RectorPrefix20220218\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $path . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22));
}
$resource = @\stream_socket_client($path, $errno, $errstr, 1.0);
if (!$resource) {
- return \RectorPrefix20220217\React\Promise\reject(new \RuntimeException('Unable to connect to unix domain socket "' . $path . '": ' . $errstr . \RectorPrefix20220217\React\Socket\SocketServer::errconst($errno), $errno));
+ return \RectorPrefix20220218\React\Promise\reject(new \RuntimeException('Unable to connect to unix domain socket "' . $path . '": ' . $errstr . \RectorPrefix20220218\React\Socket\SocketServer::errconst($errno), $errno));
}
- $connection = new \RectorPrefix20220217\React\Socket\Connection($resource, $this->loop);
+ $connection = new \RectorPrefix20220218\React\Socket\Connection($resource, $this->loop);
$connection->unix = \true;
- return \RectorPrefix20220217\React\Promise\resolve($connection);
+ return \RectorPrefix20220218\React\Promise\resolve($connection);
}
}
diff --git a/vendor/react/socket/src/UnixServer.php b/vendor/react/socket/src/UnixServer.php
index b466c08dfa2..9e873374585 100644
--- a/vendor/react/socket/src/UnixServer.php
+++ b/vendor/react/socket/src/UnixServer.php
@@ -1,10 +1,10 @@
loop = $loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get();
+ $this->loop = $loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get();
if (\strpos($path, '://') === \false) {
$path = 'unix://' . $path;
} elseif (\substr($path, 0, 7) !== 'unix://') {
@@ -68,7 +68,7 @@ final class UnixServer extends \RectorPrefix20220217\Evenement\EventEmitter impl
$errno = isset($match[2]) ? (int) $match[2] : 0;
}
}
- throw new \RuntimeException('Failed to listen on Unix domain socket "' . $path . '": ' . $errstr . \RectorPrefix20220217\React\Socket\SocketServer::errconst($errno), $errno);
+ throw new \RuntimeException('Failed to listen on Unix domain socket "' . $path . '": ' . $errstr . \RectorPrefix20220218\React\Socket\SocketServer::errconst($errno), $errno);
}
\stream_set_blocking($this->master, 0);
$this->resume();
@@ -96,7 +96,7 @@ final class UnixServer extends \RectorPrefix20220217\Evenement\EventEmitter impl
$that = $this;
$this->loop->addReadStream($this->master, function ($master) use($that) {
try {
- $newSocket = \RectorPrefix20220217\React\Socket\SocketServer::accept($master);
+ $newSocket = \RectorPrefix20220218\React\Socket\SocketServer::accept($master);
} catch (\RuntimeException $e) {
$that->emit('error', array($e));
return;
@@ -117,7 +117,7 @@ final class UnixServer extends \RectorPrefix20220217\Evenement\EventEmitter impl
/** @internal */
public function handleConnection($socket)
{
- $connection = new \RectorPrefix20220217\React\Socket\Connection($socket, $this->loop);
+ $connection = new \RectorPrefix20220218\React\Socket\Connection($socket, $this->loop);
$connection->unix = \true;
$this->emit('connection', array($connection));
}
diff --git a/vendor/react/stream/composer.json b/vendor/react/stream/composer.json
index 49c9b185fd8..80958d6c3ff 100644
--- a/vendor/react/stream/composer.json
+++ b/vendor/react/stream/composer.json
@@ -45,12 +45,12 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\React\\Stream\\": "src"
+ "RectorPrefix20220218\\React\\Stream\\": "src"
}
},
"autoload-dev": {
"psr-4": {
- "RectorPrefix20220217\\React\\Tests\\Stream\\": "tests"
+ "RectorPrefix20220218\\React\\Tests\\Stream\\": "tests"
}
}
}
\ No newline at end of file
diff --git a/vendor/react/stream/src/CompositeStream.php b/vendor/react/stream/src/CompositeStream.php
index 90731c5529c..eca40e25abc 100644
--- a/vendor/react/stream/src/CompositeStream.php
+++ b/vendor/react/stream/src/CompositeStream.php
@@ -1,14 +1,14 @@
readable = $readable;
$this->writable = $writable;
@@ -16,8 +16,8 @@ final class CompositeStream extends \RectorPrefix20220217\Evenement\EventEmitter
$this->close();
return;
}
- \RectorPrefix20220217\React\Stream\Util::forwardEvents($this->readable, $this, array('data', 'end', 'error'));
- \RectorPrefix20220217\React\Stream\Util::forwardEvents($this->writable, $this, array('drain', 'error', 'pipe'));
+ \RectorPrefix20220218\React\Stream\Util::forwardEvents($this->readable, $this, array('data', 'end', 'error'));
+ \RectorPrefix20220218\React\Stream\Util::forwardEvents($this->writable, $this, array('drain', 'error', 'pipe'));
$this->readable->on('close', array($this, 'close'));
$this->writable->on('close', array($this, 'close'));
}
@@ -36,9 +36,9 @@ final class CompositeStream extends \RectorPrefix20220217\Evenement\EventEmitter
}
$this->readable->resume();
}
- public function pipe(\RectorPrefix20220217\React\Stream\WritableStreamInterface $dest, array $options = array())
+ public function pipe(\RectorPrefix20220218\React\Stream\WritableStreamInterface $dest, array $options = array())
{
- return \RectorPrefix20220217\React\Stream\Util::pipe($this, $dest, $options);
+ return \RectorPrefix20220218\React\Stream\Util::pipe($this, $dest, $options);
}
public function isWritable()
{
diff --git a/vendor/react/stream/src/DuplexResourceStream.php b/vendor/react/stream/src/DuplexResourceStream.php
index 2194d953c03..554223adab2 100644
--- a/vendor/react/stream/src/DuplexResourceStream.php
+++ b/vendor/react/stream/src/DuplexResourceStream.php
@@ -1,12 +1,12 @@
stream = $stream;
- $this->loop = $loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get();
+ $this->loop = $loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get();
$this->bufferSize = $readChunkSize === null ? 65536 : (int) $readChunkSize;
$this->buffer = $buffer;
$that = $this;
@@ -132,9 +132,9 @@ final class DuplexResourceStream extends \RectorPrefix20220217\Evenement\EventEm
$this->pause();
$this->buffer->end($data);
}
- public function pipe(\RectorPrefix20220217\React\Stream\WritableStreamInterface $dest, array $options = array())
+ public function pipe(\RectorPrefix20220218\React\Stream\WritableStreamInterface $dest, array $options = array())
{
- return \RectorPrefix20220217\React\Stream\Util::pipe($this, $dest, $options);
+ return \RectorPrefix20220218\React\Stream\Util::pipe($this, $dest, $options);
}
/** @internal */
public function handleData($stream)
diff --git a/vendor/react/stream/src/DuplexStreamInterface.php b/vendor/react/stream/src/DuplexStreamInterface.php
index 49bf622bf80..d3ce8bc9985 100644
--- a/vendor/react/stream/src/DuplexStreamInterface.php
+++ b/vendor/react/stream/src/DuplexStreamInterface.php
@@ -1,6 +1,6 @@
stream = $stream;
- $this->loop = $loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get();
+ $this->loop = $loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get();
$this->bufferSize = $readChunkSize === null ? 65536 : (int) $readChunkSize;
$this->resume();
}
@@ -84,9 +84,9 @@ final class ReadableResourceStream extends \RectorPrefix20220217\Evenement\Event
$this->listening = \true;
}
}
- public function pipe(\RectorPrefix20220217\React\Stream\WritableStreamInterface $dest, array $options = array())
+ public function pipe(\RectorPrefix20220218\React\Stream\WritableStreamInterface $dest, array $options = array())
{
- return \RectorPrefix20220217\React\Stream\Util::pipe($this, $dest, $options);
+ return \RectorPrefix20220218\React\Stream\Util::pipe($this, $dest, $options);
}
public function close()
{
diff --git a/vendor/react/stream/src/ReadableStreamInterface.php b/vendor/react/stream/src/ReadableStreamInterface.php
index bcd8faa7744..b6697a38a1e 100644
--- a/vendor/react/stream/src/ReadableStreamInterface.php
+++ b/vendor/react/stream/src/ReadableStreamInterface.php
@@ -1,8 +1,8 @@
paused = \false;
}
- public function pipe(\RectorPrefix20220217\React\Stream\WritableStreamInterface $dest, array $options = array())
+ public function pipe(\RectorPrefix20220218\React\Stream\WritableStreamInterface $dest, array $options = array())
{
- return \RectorPrefix20220217\React\Stream\Util::pipe($this, $dest, $options);
+ return \RectorPrefix20220218\React\Stream\Util::pipe($this, $dest, $options);
}
public function isReadable()
{
diff --git a/vendor/react/stream/src/Util.php b/vendor/react/stream/src/Util.php
index 54e9808a94a..a140ebda059 100644
--- a/vendor/react/stream/src/Util.php
+++ b/vendor/react/stream/src/Util.php
@@ -1,6 +1,6 @@
NO-OP
if (!$source->isReadable()) {
diff --git a/vendor/react/stream/src/WritableResourceStream.php b/vendor/react/stream/src/WritableResourceStream.php
index 446d907030f..d69669a66c8 100644
--- a/vendor/react/stream/src/WritableResourceStream.php
+++ b/vendor/react/stream/src/WritableResourceStream.php
@@ -1,11 +1,11 @@
stream = $stream;
- $this->loop = $loop ?: \RectorPrefix20220217\React\EventLoop\Loop::get();
+ $this->loop = $loop ?: \RectorPrefix20220218\React\EventLoop\Loop::get();
$this->softLimit = $writeBufferSoftLimit === null ? 65536 : (int) $writeBufferSoftLimit;
$this->writeChunkSize = $writeChunkSize === null ? -1 : (int) $writeChunkSize;
}
diff --git a/vendor/react/stream/src/WritableStreamInterface.php b/vendor/react/stream/src/WritableStreamInterface.php
index 171ee3ad7e5..226b74f3805 100644
--- a/vendor/react/stream/src/WritableStreamInterface.php
+++ b/vendor/react/stream/src/WritableStreamInterface.php
@@ -1,8 +1,8 @@
filesystem = $filesystem;
$this->localRepository = $localRepository;
@@ -106,7 +106,7 @@ CODE_SAMPLE;
$this->io->write(\sprintf('> %s: installed', $name));
}
}
- private function shouldSkip(\RectorPrefix20220217\Composer\Package\PackageInterface $package) : bool
+ private function shouldSkip(\RectorPrefix20220218\Composer\Package\PackageInterface $package) : bool
{
if ($package->getType() === self::RECTOR_EXTENSION_TYPE) {
return \false;
diff --git a/vendor/rector/rector-cakephp/config/config.php b/vendor/rector/rector-cakephp/config/config.php
index 3548d006e88..7a3b5779eda 100644
--- a/vendor/rector/rector-cakephp/config/config.php
+++ b/vendor/rector/rector-cakephp/config/config.php
@@ -1,7 +1,7 @@
services();
// @see https://github.com/symplify/monorepo-builder#6-release-flow
- $services->set(\RectorPrefix20220217\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class);
- $services->set(\RectorPrefix20220217\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class);
+ $services->set(\RectorPrefix20220218\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class);
+ $services->set(\RectorPrefix20220218\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class);
};
diff --git a/vendor/rector/rector-cakephp/rector.php b/vendor/rector/rector-cakephp/rector.php
index 528c1561b97..099de83c685 100644
--- a/vendor/rector/rector-cakephp/rector.php
+++ b/vendor/rector/rector-cakephp/rector.php
@@ -1,7 +1,7 @@
arraysToFluentCalls = $arraysToFluentCalls;
$factoryMethods = $configuration[self::FACTORY_METHODS] ?? [];
- \RectorPrefix20220217\Webmozart\Assert\Assert::isArray($factoryMethods);
- \RectorPrefix20220217\Webmozart\Assert\Assert::allIsInstanceOf($factoryMethods, \Rector\CakePHP\ValueObject\FactoryMethod::class);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($factoryMethods);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allIsInstanceOf($factoryMethods, \Rector\CakePHP\ValueObject\FactoryMethod::class);
$this->factoryMethods = $factoryMethods;
}
private function matchTypeAndMethodName(\PhpParser\Node\Expr\MethodCall $methodCall) : ?\Rector\CakePHP\ValueObject\FactoryMethod
diff --git a/vendor/rector/rector-cakephp/src/Rector/MethodCall/ModalToGetSetRector.php b/vendor/rector/rector-cakephp/src/Rector/MethodCall/ModalToGetSetRector.php
index 07de2bb035b..9aa9fb9a798 100644
--- a/vendor/rector/rector-cakephp/src/Rector/MethodCall/ModalToGetSetRector.php
+++ b/vendor/rector/rector-cakephp/src/Rector/MethodCall/ModalToGetSetRector.php
@@ -12,7 +12,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @see https://book.cakephp.org/3.0/en/appendices/3-4-migration-guide.html#deprecated-combined-get-set-methods
* @see https://github.com/cakephp/cakephp/commit/326292688c5e6d08945a3cafa4b6ffb33e714eea#diff-e7c0f0d636ca50a0350e9be316d8b0f9
@@ -77,8 +77,8 @@ CODE_SAMPLE
public function configure(array $configuration) : void
{
$unprefixedMethodsToGetSet = $configuration[self::UNPREFIXED_METHODS_TO_GET_SET] ?? $configuration;
- \RectorPrefix20220217\Webmozart\Assert\Assert::isArray($unprefixedMethodsToGetSet);
- \RectorPrefix20220217\Webmozart\Assert\Assert::allIsAOf($unprefixedMethodsToGetSet, \Rector\CakePHP\ValueObject\ModalToGetSet::class);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($unprefixedMethodsToGetSet);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allIsAOf($unprefixedMethodsToGetSet, \Rector\CakePHP\ValueObject\ModalToGetSet::class);
$this->unprefixedMethodsToGetSet = $unprefixedMethodsToGetSet;
}
private function matchTypeAndMethodName(\PhpParser\Node\Expr\MethodCall $methodCall) : ?\Rector\CakePHP\ValueObject\ModalToGetSet
diff --git a/vendor/rector/rector-cakephp/src/Rector/MethodCall/RemoveIntermediaryMethodRector.php b/vendor/rector/rector-cakephp/src/Rector/MethodCall/RemoveIntermediaryMethodRector.php
index 3d7cc68bc33..a306fb813c8 100644
--- a/vendor/rector/rector-cakephp/src/Rector/MethodCall/RemoveIntermediaryMethodRector.php
+++ b/vendor/rector/rector-cakephp/src/Rector/MethodCall/RemoveIntermediaryMethodRector.php
@@ -13,7 +13,7 @@ use Rector\Core\Rector\AbstractRector;
use Rector\Defluent\NodeAnalyzer\FluentChainMethodCallNodeAnalyzer;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @see https://book.cakephp.org/3.0/en/appendices/3-4-migration-guide.html#deprecated-combined-get-set-methods
* @see https://github.com/cakephp/cakephp/commit/326292688c5e6d08945a3cafa4b6ffb33e714eea#diff-e7c0f0d636ca50a0350e9be316d8b0f9
@@ -76,8 +76,8 @@ CODE_SAMPLE
public function configure(array $configuration) : void
{
$removeIntermediaryMethods = $configuration[self::REMOVE_INTERMEDIARY_METHOD] ?? $configuration;
- \RectorPrefix20220217\Webmozart\Assert\Assert::isArray($removeIntermediaryMethods);
- \RectorPrefix20220217\Webmozart\Assert\Assert::allIsAOf($removeIntermediaryMethods, \Rector\CakePHP\ValueObject\RemoveIntermediaryMethod::class);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($removeIntermediaryMethods);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allIsAOf($removeIntermediaryMethods, \Rector\CakePHP\ValueObject\RemoveIntermediaryMethod::class);
$this->removeIntermediaryMethod = $removeIntermediaryMethods;
}
private function matchTypeAndMethodName(\PhpParser\Node\Expr\MethodCall $methodCall) : ?\Rector\CakePHP\ValueObject\RemoveIntermediaryMethod
diff --git a/vendor/rector/rector-cakephp/src/Rector/MethodCall/RenameMethodCallBasedOnParameterRector.php b/vendor/rector/rector-cakephp/src/Rector/MethodCall/RenameMethodCallBasedOnParameterRector.php
index 86731affb19..e32acded9b4 100644
--- a/vendor/rector/rector-cakephp/src/Rector/MethodCall/RenameMethodCallBasedOnParameterRector.php
+++ b/vendor/rector/rector-cakephp/src/Rector/MethodCall/RenameMethodCallBasedOnParameterRector.php
@@ -11,7 +11,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @see https://book.cakephp.org/4.0/en/appendices/4-0-migration-guide.html
* @see https://github.com/cakephp/cakephp/commit/77017145961bb697b4256040b947029259f66a9b
@@ -70,8 +70,8 @@ CODE_SAMPLE
public function configure(array $configuration) : void
{
$callsWithParamRenames = $configuration[self::CALLS_WITH_PARAM_RENAMES] ?? $configuration;
- \RectorPrefix20220217\Webmozart\Assert\Assert::isArray($callsWithParamRenames);
- \RectorPrefix20220217\Webmozart\Assert\Assert::allIsInstanceOf($callsWithParamRenames, \Rector\CakePHP\ValueObject\RenameMethodCallBasedOnParameter::class);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($callsWithParamRenames);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allIsInstanceOf($callsWithParamRenames, \Rector\CakePHP\ValueObject\RenameMethodCallBasedOnParameter::class);
$this->callsWithParamRenames = $callsWithParamRenames;
}
private function matchTypeAndMethodName(\PhpParser\Node\Expr\MethodCall $methodCall) : ?\Rector\CakePHP\ValueObject\RenameMethodCallBasedOnParameter
diff --git a/vendor/rector/rector-cakephp/src/Rector/Property/ChangeSnakedFixtureNameToPascalRector.php b/vendor/rector/rector-cakephp/src/Rector/Property/ChangeSnakedFixtureNameToPascalRector.php
index 2e6f430bdea..6a5250e85b8 100644
--- a/vendor/rector/rector-cakephp/src/Rector/Property/ChangeSnakedFixtureNameToPascalRector.php
+++ b/vendor/rector/rector-cakephp/src/Rector/Property/ChangeSnakedFixtureNameToPascalRector.php
@@ -11,7 +11,7 @@ use PhpParser\Node\Stmt\ClassLike;
use PhpParser\Node\Stmt\Property;
use PhpParser\Node\Stmt\PropertyProperty;
use Rector\Core\Rector\AbstractRector;
-use RectorPrefix20220217\Symfony\Component\String\UnicodeString;
+use RectorPrefix20220218\Symfony\Component\String\UnicodeString;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
/**
@@ -89,7 +89,7 @@ CODE_SAMPLE
[$prefix, $table] = \explode('.', $string->value);
$tableParts = \explode('/', $table);
$pascalCaseTableParts = \array_map(function (string $token) : string {
- $tokenUnicodeString = new \RectorPrefix20220217\Symfony\Component\String\UnicodeString($token);
+ $tokenUnicodeString = new \RectorPrefix20220218\Symfony\Component\String\UnicodeString($token);
return \ucfirst($tokenUnicodeString->camel()->toString());
}, $tableParts);
$table = \implode('/', $pascalCaseTableParts);
diff --git a/vendor/rector/rector-doctrine/config/config.php b/vendor/rector/rector-doctrine/config/config.php
index 526e53297d9..a0b899266be 100644
--- a/vendor/rector/rector-doctrine/config/config.php
+++ b/vendor/rector/rector-doctrine/config/config.php
@@ -1,7 +1,7 @@
services();
// @see https://github.com/symplify/monorepo-builder#6-release-flow
- $services->set(\RectorPrefix20220217\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class);
- $services->set(\RectorPrefix20220217\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class);
+ $services->set(\RectorPrefix20220218\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class);
+ $services->set(\RectorPrefix20220218\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class);
};
diff --git a/vendor/rector/rector-doctrine/rector.php b/vendor/rector/rector-doctrine/rector.php
index 3a0e33fdcf6..62d854e8da2 100644
--- a/vendor/rector/rector-doctrine/rector.php
+++ b/vendor/rector/rector-doctrine/rector.php
@@ -1,7 +1,7 @@
nodeNameResolver = $nodeNameResolver;
$this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser;
diff --git a/vendor/rector/rector-doctrine/src/NodeFactory/ConstructClassMethodFactory.php b/vendor/rector/rector-doctrine/src/NodeFactory/ConstructClassMethodFactory.php
index f4da86c6695..504074fb919 100644
--- a/vendor/rector/rector-doctrine/src/NodeFactory/ConstructClassMethodFactory.php
+++ b/vendor/rector/rector-doctrine/src/NodeFactory/ConstructClassMethodFactory.php
@@ -16,7 +16,7 @@ use Rector\NodeNameResolver\NodeNameResolver;
use Rector\NodeTypeResolver\NodeTypeResolver;
use Rector\PHPStanStaticTypeMapper\Enum\TypeKind;
use Rector\StaticTypeMapper\StaticTypeMapper;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
final class ConstructClassMethodFactory
{
/**
@@ -54,7 +54,7 @@ final class ConstructClassMethodFactory
$params[] = $this->createParam($publicProperty, $propertyName);
$assigns[] = $this->createAssign($propertyName);
}
- $methodBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(\Rector\Core\ValueObject\MethodName::CONSTRUCT);
+ $methodBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(\Rector\Core\ValueObject\MethodName::CONSTRUCT);
$methodBuilder->makePublic();
$methodBuilder->addParams($params);
$methodBuilder->addStmts($assigns);
diff --git a/vendor/rector/rector-doctrine/src/NodeManipulator/DependencyRemover.php b/vendor/rector/rector-doctrine/src/NodeManipulator/DependencyRemover.php
index e4ab38ced19..663bcc47dfb 100644
--- a/vendor/rector/rector-doctrine/src/NodeManipulator/DependencyRemover.php
+++ b/vendor/rector/rector-doctrine/src/NodeManipulator/DependencyRemover.php
@@ -13,7 +13,7 @@ use PhpParser\Node\Stmt\Property;
use PhpParser\NodeTraverser;
use Rector\NodeNameResolver\NodeNameResolver;
use Rector\NodeRemoval\NodeRemover;
-use RectorPrefix20220217\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
+use RectorPrefix20220218\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
final class DependencyRemover
{
/**
@@ -31,7 +31,7 @@ final class DependencyRemover
* @var \Rector\NodeRemoval\NodeRemover
*/
private $nodeRemover;
- public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220217\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeRemoval\NodeRemover $nodeRemover)
+ public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220218\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeRemoval\NodeRemover $nodeRemover)
{
$this->nodeNameResolver = $nodeNameResolver;
$this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser;
diff --git a/vendor/rector/rector-doctrine/src/NodeManipulator/ToOneRelationPropertyTypeResolver.php b/vendor/rector/rector-doctrine/src/NodeManipulator/ToOneRelationPropertyTypeResolver.php
index 22c9f72bead..49dc907dbdf 100644
--- a/vendor/rector/rector-doctrine/src/NodeManipulator/ToOneRelationPropertyTypeResolver.php
+++ b/vendor/rector/rector-doctrine/src/NodeManipulator/ToOneRelationPropertyTypeResolver.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Doctrine\NodeManipulator;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node\Expr;
use PhpParser\Node\Stmt\Property;
use PHPStan\PhpDocParser\Ast\ConstExpr\ConstExprTrueNode;
@@ -84,7 +84,7 @@ final class ToOneRelationPropertyTypeResolver
return new \PHPStan\Type\MixedType();
}
if (\substr_compare($targetEntity, '::class', -\strlen('::class')) === 0) {
- $targetEntity = \RectorPrefix20220217\Nette\Utils\Strings::before($targetEntity, '::class');
+ $targetEntity = \RectorPrefix20220218\Nette\Utils\Strings::before($targetEntity, '::class');
}
// resolve to FQN
$tagFullyQualifiedName = $this->classAnnotationMatcher->resolveTagFullyQualifiedName($targetEntity, $property);
diff --git a/vendor/rector/rector-doctrine/src/PhpDoc/ShortClassExpander.php b/vendor/rector/rector-doctrine/src/PhpDoc/ShortClassExpander.php
index 51bfc465115..2db8a2b4945 100644
--- a/vendor/rector/rector-doctrine/src/PhpDoc/ShortClassExpander.php
+++ b/vendor/rector/rector-doctrine/src/PhpDoc/ShortClassExpander.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Doctrine\PhpDoc;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node;
use PHPStan\Analyser\Scope;
use PHPStan\Reflection\ReflectionProvider;
@@ -59,6 +59,6 @@ final class ShortClassExpander
}
private function getCleanedUpTargetEntity(string $targetEntity) : string
{
- return \RectorPrefix20220217\Nette\Utils\Strings::replace($targetEntity, self::CLASS_CONST_REGEX, '');
+ return \RectorPrefix20220218\Nette\Utils\Strings::replace($targetEntity, self::CLASS_CONST_REGEX, '');
}
}
diff --git a/vendor/rector/rector-doctrine/src/Rector/Class_/AddEntityIdByConditionRector.php b/vendor/rector/rector-doctrine/src/Rector/Class_/AddEntityIdByConditionRector.php
index 8d695ae42f3..124f97bf501 100644
--- a/vendor/rector/rector-doctrine/src/Rector/Class_/AddEntityIdByConditionRector.php
+++ b/vendor/rector/rector-doctrine/src/Rector/Class_/AddEntityIdByConditionRector.php
@@ -13,7 +13,7 @@ use Rector\Core\Rector\AbstractRector;
use Rector\Doctrine\NodeFactory\EntityIdNodeFactory;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @see \Rector\Doctrine\Tests\Rector\Class_\AddEntityIdByConditionRector\AddEntityIdByConditionRectorTest
*/
@@ -109,8 +109,8 @@ CODE_SAMPLE
public function configure(array $configuration) : void
{
$detectTraits = $configuration[self::DETECTED_TRAITS] ?? $configuration;
- \RectorPrefix20220217\Webmozart\Assert\Assert::isArray($detectTraits);
- \RectorPrefix20220217\Webmozart\Assert\Assert::allString($detectTraits);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($detectTraits);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allString($detectTraits);
$this->detectedTraits = $detectTraits;
}
private function shouldSkip(\PhpParser\Node\Stmt\Class_ $class) : bool
diff --git a/vendor/rector/rector-doctrine/src/Rector/Class_/LoggableBehaviorRector.php b/vendor/rector/rector-doctrine/src/Rector/Class_/LoggableBehaviorRector.php
index e4e65e12872..b625edd5a2d 100644
--- a/vendor/rector/rector-doctrine/src/Rector/Class_/LoggableBehaviorRector.php
+++ b/vendor/rector/rector-doctrine/src/Rector/Class_/LoggableBehaviorRector.php
@@ -13,7 +13,7 @@ use Rector\Core\NodeManipulator\ClassInsertManipulator;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Symplify\SimplePhpDocParser\PhpDocNodeTraverser;
+use RectorPrefix20220218\Symplify\SimplePhpDocParser\PhpDocNodeTraverser;
/**
* @see https://github.com/Atlantic18/DoctrineExtensions/blob/v2.4.x/doc/loggable.md
* @see https://github.com/KnpLabs/DoctrineBehaviors/blob/4e0677379dd4adf84178f662d08454a9627781a8/docs/loggable.md
@@ -95,7 +95,7 @@ CODE_SAMPLE
// change the node
$classPhpDocInfo = $this->phpDocInfoFactory->createFromNodeOrEmpty($class);
$hasLoggableAnnotation = \false;
- $phpDocNodeTraverser = new \RectorPrefix20220217\Symplify\SimplePhpDocParser\PhpDocNodeTraverser();
+ $phpDocNodeTraverser = new \RectorPrefix20220218\Symplify\SimplePhpDocParser\PhpDocNodeTraverser();
$phpDocNodeTraverser->traverseWithCallable($classPhpDocInfo->getPhpDocNode(), '', function ($node) use(&$hasLoggableAnnotation) {
if (!$node instanceof \Rector\BetterPhpDocParser\PhpDoc\SpacelessPhpDocTagNode) {
return null;
@@ -108,7 +108,7 @@ CODE_SAMPLE
return null;
}
$hasLoggableAnnotation = \true;
- return \RectorPrefix20220217\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE;
+ return \RectorPrefix20220218\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE;
});
if (!$hasLoggableAnnotation) {
return null;
@@ -124,7 +124,7 @@ CODE_SAMPLE
// remove tag from properties
$phpDocInfo = $this->phpDocInfoFactory->createFromNodeOrEmpty($property);
$hasChanged = \false;
- $phpDocNodeTraverser = new \RectorPrefix20220217\Symplify\SimplePhpDocParser\PhpDocNodeTraverser();
+ $phpDocNodeTraverser = new \RectorPrefix20220218\Symplify\SimplePhpDocParser\PhpDocNodeTraverser();
$phpDocNodeTraverser->traverseWithCallable($phpDocInfo->getPhpDocNode(), '', function ($node) use($phpDocInfo, &$hasChanged) {
if (!$node instanceof \Rector\BetterPhpDocParser\PhpDoc\SpacelessPhpDocTagNode) {
return null;
@@ -137,7 +137,7 @@ CODE_SAMPLE
}
$phpDocInfo->markAsChanged();
$hasChanged = \true;
- return \RectorPrefix20220217\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE;
+ return \RectorPrefix20220218\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE;
});
if (!$hasChanged) {
return null;
diff --git a/vendor/rector/rector-doctrine/src/Rector/MethodCall/EntityAliasToClassConstantReferenceRector.php b/vendor/rector/rector-doctrine/src/Rector/MethodCall/EntityAliasToClassConstantReferenceRector.php
index 0b2f2852cb1..44660f5d022 100644
--- a/vendor/rector/rector-doctrine/src/Rector/MethodCall/EntityAliasToClassConstantReferenceRector.php
+++ b/vendor/rector/rector-doctrine/src/Rector/MethodCall/EntityAliasToClassConstantReferenceRector.php
@@ -11,7 +11,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @see \Rector\Doctrine\Tests\Rector\MethodCall\EntityAliasToClassConstantReferenceRector\EntityAliasToClassConstantReferenceRectorTest
*/
@@ -84,9 +84,9 @@ CODE_SAMPLE
public function configure(array $configuration) : void
{
$aliasesToNamespaces = $configuration[self::ALIASES_TO_NAMESPACES] ?? $configuration;
- \RectorPrefix20220217\Webmozart\Assert\Assert::isArray($aliasesToNamespaces);
- \RectorPrefix20220217\Webmozart\Assert\Assert::allString(\array_keys($aliasesToNamespaces));
- \RectorPrefix20220217\Webmozart\Assert\Assert::allString($aliasesToNamespaces);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($aliasesToNamespaces);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allString(\array_keys($aliasesToNamespaces));
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allString($aliasesToNamespaces);
$this->aliasesToNamespaces = $aliasesToNamespaces;
}
private function isAliasWithConfiguredEntity(string $name) : bool
diff --git a/vendor/rector/rector-doctrine/src/Rector/MethodCall/ReplaceParentRepositoryCallsByRepositoryPropertyRector.php b/vendor/rector/rector-doctrine/src/Rector/MethodCall/ReplaceParentRepositoryCallsByRepositoryPropertyRector.php
index 92c2ad279af..5090c65d44f 100644
--- a/vendor/rector/rector-doctrine/src/Rector/MethodCall/ReplaceParentRepositoryCallsByRepositoryPropertyRector.php
+++ b/vendor/rector/rector-doctrine/src/Rector/MethodCall/ReplaceParentRepositoryCallsByRepositoryPropertyRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Doctrine\Rector\MethodCall;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\ClassConstFetch;
@@ -91,7 +91,7 @@ CODE_SAMPLE
if (!\is_string($entityReferenceName)) {
throw new \Rector\Core\Exception\ShouldNotHappenException();
}
- $lastNamePart = (string) \RectorPrefix20220217\Nette\Utils\Strings::after($entityReferenceName, '\\', -1);
+ $lastNamePart = (string) \RectorPrefix20220218\Nette\Utils\Strings::after($entityReferenceName, '\\', -1);
return \lcfirst($lastNamePart) . 'Repository';
}
private function guessRepositoryType(\PhpParser\Node\Expr $expr) : string
@@ -101,8 +101,8 @@ CODE_SAMPLE
if ($entityClass === null) {
return 'Unknown_Repository_Class';
}
- $entityClassNamespace = (string) \RectorPrefix20220217\Nette\Utils\Strings::before($entityClass, '\\', -2);
- $lastNamePart = (string) \RectorPrefix20220217\Nette\Utils\Strings::after($entityClass, '\\', -1);
+ $entityClassNamespace = (string) \RectorPrefix20220218\Nette\Utils\Strings::before($entityClass, '\\', -2);
+ $lastNamePart = (string) \RectorPrefix20220218\Nette\Utils\Strings::after($entityClass, '\\', -1);
return $entityClassNamespace . '\\Repository\\' . $lastNamePart . 'Repository';
}
return 'Unknown_Repository_Class';
diff --git a/vendor/rector/rector-generator/config/config.php b/vendor/rector/rector-generator/config/config.php
index ac57ea6f784..4f53596170d 100644
--- a/vendor/rector/rector-generator/config/config.php
+++ b/vendor/rector/rector-generator/config/config.php
@@ -1,41 +1,41 @@
import(__DIR__ . '/parameters.php');
$services = $containerConfigurator->services();
$services->defaults()->public()->autowire()->autoconfigure();
$services->load('Rector\\RectorGenerator\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/ValueObject']);
- $services->set(\RectorPrefix20220217\Symplify\PackageBuilder\Parameter\ParameterProvider::class)->arg('$container', \RectorPrefix20220217\Symfony\Component\DependencyInjection\Loader\Configurator\service('service_container'));
+ $services->set(\RectorPrefix20220218\Symplify\PackageBuilder\Parameter\ParameterProvider::class)->arg('$container', \RectorPrefix20220218\Symfony\Component\DependencyInjection\Loader\Configurator\service('service_container'));
// console
- $services->set(\RectorPrefix20220217\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class);
- $services->set(\RectorPrefix20220217\Symfony\Component\Console\Style\SymfonyStyle::class)->factory([\RectorPrefix20220217\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20220217\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class), 'create']);
+ $services->set(\RectorPrefix20220218\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class);
+ $services->set(\RectorPrefix20220218\Symfony\Component\Console\Style\SymfonyStyle::class)->factory([\RectorPrefix20220218\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20220218\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class), 'create']);
// filesystem
- $services->set(\RectorPrefix20220217\Symplify\SmartFileSystem\Json\JsonFileSystem::class);
- $services->set(\RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileSystem::class);
- $services->set(\RectorPrefix20220217\Symplify\SmartFileSystem\Finder\FinderSanitizer::class);
- $services->set(\RectorPrefix20220217\Symplify\SmartFileSystem\FileSystemGuard::class);
+ $services->set(\RectorPrefix20220218\Symplify\SmartFileSystem\Json\JsonFileSystem::class);
+ $services->set(\RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileSystem::class);
+ $services->set(\RectorPrefix20220218\Symplify\SmartFileSystem\Finder\FinderSanitizer::class);
+ $services->set(\RectorPrefix20220218\Symplify\SmartFileSystem\FileSystemGuard::class);
// privates
- $services->set(\RectorPrefix20220217\Symplify\PackageBuilder\Reflection\PrivatesCaller::class);
- $services->set(\RectorPrefix20220217\Symplify\PackageBuilder\Reflection\PrivatesAccessor::class);
+ $services->set(\RectorPrefix20220218\Symplify\PackageBuilder\Reflection\PrivatesCaller::class);
+ $services->set(\RectorPrefix20220218\Symplify\PackageBuilder\Reflection\PrivatesAccessor::class);
// php-parser
$services->set(\PhpParser\PrettyPrinter\Standard::class)->arg('$options', ['shortArraySyntax' => \true]);
$services->set(\PhpParser\ParserFactory::class);
- $services->set(\PhpParser\Parser::class)->factory([\RectorPrefix20220217\Symfony\Component\DependencyInjection\Loader\Configurator\service(\PhpParser\ParserFactory::class), 'create'])->arg('$kind', \PhpParser\ParserFactory::PREFER_PHP7);
+ $services->set(\PhpParser\Parser::class)->factory([\RectorPrefix20220218\Symfony\Component\DependencyInjection\Loader\Configurator\service(\PhpParser\ParserFactory::class), 'create'])->arg('$kind', \PhpParser\ParserFactory::PREFER_PHP7);
};
diff --git a/vendor/rector/rector-generator/config/parameters.php b/vendor/rector/rector-generator/config/parameters.php
index be1b1b6cead..7e61864ecaf 100644
--- a/vendor/rector/rector-generator/config/parameters.php
+++ b/vendor/rector/rector-generator/config/parameters.php
@@ -1,7 +1,7 @@
services();
$services->defaults()->autowire();
// @see https://github.com/symplify/monorepo-builder#6-release-flow
- $services->set(\RectorPrefix20220217\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class);
- $services->set(\RectorPrefix20220217\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class);
+ $services->set(\RectorPrefix20220218\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class);
+ $services->set(\RectorPrefix20220218\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class);
};
diff --git a/vendor/rector/rector-generator/src/Command/GenerateCommand.php b/vendor/rector/rector-generator/src/Command/GenerateCommand.php
index e334406cff6..c3286e92c34 100644
--- a/vendor/rector/rector-generator/src/Command/GenerateCommand.php
+++ b/vendor/rector/rector-generator/src/Command/GenerateCommand.php
@@ -9,15 +9,15 @@ use Rector\RectorGenerator\Generator\RectorGenerator;
use Rector\RectorGenerator\Provider\RectorRecipeProvider;
use Rector\RectorGenerator\TemplateVariablesFactory;
use Rector\RectorGenerator\ValueObject\NamePattern;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Style\SymfonyStyle;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Style\SymfonyStyle;
use Symplify\SmartFileSystem\SmartFileInfo;
/**
* @see \Rector\RectorGenerator\Tests\RectorGenerator\GenerateCommandInteractiveModeTest
*/
-final class GenerateCommand extends \RectorPrefix20220217\Symfony\Component\Console\Command\Command
+final class GenerateCommand extends \RectorPrefix20220218\Symfony\Component\Console\Command\Command
{
/**
* @readonly
@@ -44,7 +44,7 @@ final class GenerateCommand extends \RectorPrefix20220217\Symfony\Component\Cons
* @var \Rector\RectorGenerator\Generator\RectorGenerator
*/
private $rectorGenerator;
- public function __construct(\Rector\RectorGenerator\FileSystem\ConfigFilesystem $configFilesystem, \RectorPrefix20220217\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \Rector\RectorGenerator\TemplateVariablesFactory $templateVariablesFactory, \Rector\RectorGenerator\Provider\RectorRecipeProvider $rectorRecipeProvider, \Rector\RectorGenerator\Generator\RectorGenerator $rectorGenerator)
+ public function __construct(\Rector\RectorGenerator\FileSystem\ConfigFilesystem $configFilesystem, \RectorPrefix20220218\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \Rector\RectorGenerator\TemplateVariablesFactory $templateVariablesFactory, \Rector\RectorGenerator\Provider\RectorRecipeProvider $rectorRecipeProvider, \Rector\RectorGenerator\Generator\RectorGenerator $rectorGenerator)
{
$this->configFilesystem = $configFilesystem;
$this->symfonyStyle = $symfonyStyle;
@@ -58,7 +58,7 @@ final class GenerateCommand extends \RectorPrefix20220217\Symfony\Component\Cons
$this->setName('generate');
$this->setDescription('[DEV] Create a new Rector, in a proper location, with new tests');
}
- protected function execute(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) : int
+ protected function execute(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) : int
{
$rectorRecipe = $this->rectorRecipeProvider->provide();
$targetDirectory = \getcwd();
diff --git a/vendor/rector/rector-generator/src/Command/InitRecipeCommand.php b/vendor/rector/rector-generator/src/Command/InitRecipeCommand.php
index daa5690f64d..6e9b7410cd9 100644
--- a/vendor/rector/rector-generator/src/Command/InitRecipeCommand.php
+++ b/vendor/rector/rector-generator/src/Command/InitRecipeCommand.php
@@ -4,10 +4,10 @@ declare (strict_types=1);
namespace Rector\RectorGenerator\Command;
use Rector\RectorGenerator\TemplateInitializer;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
-final class InitRecipeCommand extends \RectorPrefix20220217\Symfony\Component\Console\Command\Command
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
+final class InitRecipeCommand extends \RectorPrefix20220218\Symfony\Component\Console\Command\Command
{
/**
* @readonly
@@ -24,7 +24,7 @@ final class InitRecipeCommand extends \RectorPrefix20220217\Symfony\Component\Co
$this->setName('init-recipe');
$this->setDescription('[DEV] Initialize "rector-recipe.php" config');
}
- protected function execute(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) : int
+ protected function execute(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) : int
{
$this->templateInitializer->initialize(__DIR__ . '/../../templates/rector-recipe.php', 'rector-recipe.php');
return self::SUCCESS;
diff --git a/vendor/rector/rector-generator/src/FileSystem/ConfigFilesystem.php b/vendor/rector/rector-generator/src/FileSystem/ConfigFilesystem.php
index 9727f5c5e27..df103792661 100644
--- a/vendor/rector/rector-generator/src/FileSystem/ConfigFilesystem.php
+++ b/vendor/rector/rector-generator/src/FileSystem/ConfigFilesystem.php
@@ -3,10 +3,10 @@
declare (strict_types=1);
namespace Rector\RectorGenerator\FileSystem;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use Rector\RectorGenerator\Exception\ShouldNotHappenException;
use Rector\RectorGenerator\TemplateFactory;
-use RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileSystem;
+use RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileSystem;
final class ConfigFilesystem
{
/**
@@ -27,7 +27,7 @@ final class ConfigFilesystem
* @var \Rector\RectorGenerator\TemplateFactory
*/
private $templateFactory;
- public function __construct(\RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\RectorGenerator\TemplateFactory $templateFactory)
+ public function __construct(\RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\RectorGenerator\TemplateFactory $templateFactory)
{
$this->smartFileSystem = $smartFileSystem;
$this->templateFactory = $templateFactory;
@@ -45,7 +45,7 @@ final class ConfigFilesystem
return;
}
$registerServiceLine = \sprintf(';' . \PHP_EOL . ' $services->set(\\%s::class);' . \PHP_EOL . '};', $servicesFullyQualifiedName);
- $setFileContents = \RectorPrefix20220217\Nette\Utils\Strings::replace($setFileContents, self::LAST_ITEM_REGEX, $registerServiceLine);
+ $setFileContents = \RectorPrefix20220218\Nette\Utils\Strings::replace($setFileContents, self::LAST_ITEM_REGEX, $registerServiceLine);
// 3. print the content back to file
$this->smartFileSystem->dumpFile($setFilePath, $setFileContents);
}
diff --git a/vendor/rector/rector-generator/src/FileSystem/TemplateFileSystem.php b/vendor/rector/rector-generator/src/FileSystem/TemplateFileSystem.php
index 402913235b2..9bfcadb1e0f 100644
--- a/vendor/rector/rector-generator/src/FileSystem/TemplateFileSystem.php
+++ b/vendor/rector/rector-generator/src/FileSystem/TemplateFileSystem.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\RectorGenerator\FileSystem;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use Rector\RectorGenerator\Finder\TemplateFinder;
use Rector\RectorGenerator\TemplateFactory;
use Rector\RectorGenerator\ValueObject\RectorRecipe;
@@ -48,15 +48,15 @@ final class TemplateFileSystem
// normalize core package
if (!$rectorRecipe->isRectorRepository()) {
// special keyword for 3rd party Rectors, not for core Github contribution
- $destination = \RectorPrefix20220217\Nette\Utils\Strings::replace($destination, self::PACKAGE_RULES_PATH_REGEX, 'utils/rector/src');
- $destination = \RectorPrefix20220217\Nette\Utils\Strings::replace($destination, self::PACKAGE_RULES_TESTS_PATH_REGEX, 'utils/rector/tests');
+ $destination = \RectorPrefix20220218\Nette\Utils\Strings::replace($destination, self::PACKAGE_RULES_PATH_REGEX, 'utils/rector/src');
+ $destination = \RectorPrefix20220218\Nette\Utils\Strings::replace($destination, self::PACKAGE_RULES_TESTS_PATH_REGEX, 'utils/rector/tests');
}
// remove _Configured|_Extra prefix
$destination = $this->templateFactory->create($destination, $templateVariables);
- $destination = \RectorPrefix20220217\Nette\Utils\Strings::replace($destination, self::CONFIGURED_OR_EXTRA_REGEX, '');
+ $destination = \RectorPrefix20220218\Nette\Utils\Strings::replace($destination, self::CONFIGURED_OR_EXTRA_REGEX, '');
// remove ".inc" protection from PHPUnit if not a test case
if ($this->isNonFixtureFileWithIncSuffix($destination)) {
- $destination = \RectorPrefix20220217\Nette\Utils\Strings::before($destination, '.inc');
+ $destination = \RectorPrefix20220218\Nette\Utils\Strings::before($destination, '.inc');
}
// special hack for tests, to PHPUnit doesn't load the generated file as test case
/** @var string $destination */
@@ -67,7 +67,7 @@ final class TemplateFileSystem
}
private function isNonFixtureFileWithIncSuffix(string $filePath) : bool
{
- if (\RectorPrefix20220217\Nette\Utils\Strings::match($filePath, self::FIXTURE_SHORT_REGEX) !== null) {
+ if (\RectorPrefix20220218\Nette\Utils\Strings::match($filePath, self::FIXTURE_SHORT_REGEX) !== null) {
return \false;
}
return \substr_compare($filePath, '.inc', -\strlen('.inc')) === 0;
diff --git a/vendor/rector/rector-generator/src/Finder/TemplateFinder.php b/vendor/rector/rector-generator/src/Finder/TemplateFinder.php
index c93c8fc733f..41524e2b942 100644
--- a/vendor/rector/rector-generator/src/Finder/TemplateFinder.php
+++ b/vendor/rector/rector-generator/src/Finder/TemplateFinder.php
@@ -4,8 +4,8 @@ declare (strict_types=1);
namespace Rector\RectorGenerator\Finder;
use Rector\RectorGenerator\ValueObject\RectorRecipe;
-use RectorPrefix20220217\Symplify\SmartFileSystem\FileSystemGuard;
-use RectorPrefix20220217\Symplify\SmartFileSystem\Finder\FinderSanitizer;
+use RectorPrefix20220218\Symplify\SmartFileSystem\FileSystemGuard;
+use RectorPrefix20220218\Symplify\SmartFileSystem\Finder\FinderSanitizer;
use Symplify\SmartFileSystem\SmartFileInfo;
final class TemplateFinder
{
@@ -23,7 +23,7 @@ final class TemplateFinder
* @var \Symplify\SmartFileSystem\FileSystemGuard
*/
private $fileSystemGuard;
- public function __construct(\RectorPrefix20220217\Symplify\SmartFileSystem\Finder\FinderSanitizer $finderSanitizer, \RectorPrefix20220217\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard)
+ public function __construct(\RectorPrefix20220218\Symplify\SmartFileSystem\Finder\FinderSanitizer $finderSanitizer, \RectorPrefix20220218\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard)
{
$this->finderSanitizer = $finderSanitizer;
$this->fileSystemGuard = $fileSystemGuard;
diff --git a/vendor/rector/rector-generator/src/Generator/FileGenerator.php b/vendor/rector/rector-generator/src/Generator/FileGenerator.php
index 81aea1fa156..ff253b6ffb8 100644
--- a/vendor/rector/rector-generator/src/Generator/FileGenerator.php
+++ b/vendor/rector/rector-generator/src/Generator/FileGenerator.php
@@ -3,12 +3,12 @@
declare (strict_types=1);
namespace Rector\RectorGenerator\Generator;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use Rector\RectorGenerator\FileSystem\TemplateFileSystem;
use Rector\RectorGenerator\TemplateFactory;
use Rector\RectorGenerator\ValueObject\RectorRecipe;
use Symplify\SmartFileSystem\SmartFileInfo;
-use RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileSystem;
+use RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileSystem;
final class FileGenerator
{
/**
@@ -36,7 +36,7 @@ final class FileGenerator
* @var \Rector\RectorGenerator\FileSystem\TemplateFileSystem
*/
private $templateFileSystem;
- public function __construct(\RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\RectorGenerator\TemplateFactory $templateFactory, \Rector\RectorGenerator\FileSystem\TemplateFileSystem $templateFileSystem)
+ public function __construct(\RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\RectorGenerator\TemplateFactory $templateFactory, \Rector\RectorGenerator\FileSystem\TemplateFileSystem $templateFileSystem)
{
$this->smartFileSystem = $smartFileSystem;
$this->templateFactory = $templateFactory;
@@ -64,8 +64,8 @@ final class FileGenerator
$content = $this->templateFactory->create($smartFileInfo->getContents(), $templateVariables);
// replace "Rector\Utils\" with "Utils\Rector\" for 3rd party packages
if (!$rectorRecipe->isRectorRepository()) {
- $content = \RectorPrefix20220217\Nette\Utils\Strings::replace($content, self::RECTOR_UTILS_REGEX, 'Utils\\Rector');
- $content = \RectorPrefix20220217\Nette\Utils\Strings::replace($content, self::RECTOR_UTILS_TESTS_REGEX, 'Utils\\Rector\\Tests');
+ $content = \RectorPrefix20220218\Nette\Utils\Strings::replace($content, self::RECTOR_UTILS_REGEX, 'Utils\\Rector');
+ $content = \RectorPrefix20220218\Nette\Utils\Strings::replace($content, self::RECTOR_UTILS_TESTS_REGEX, 'Utils\\Rector\\Tests');
}
$this->smartFileSystem->dumpFile($targetFilePath, $content);
return $targetFilePath;
diff --git a/vendor/rector/rector-generator/src/Generator/RectorGenerator.php b/vendor/rector/rector-generator/src/Generator/RectorGenerator.php
index c6773e9cabd..caa621142d4 100644
--- a/vendor/rector/rector-generator/src/Generator/RectorGenerator.php
+++ b/vendor/rector/rector-generator/src/Generator/RectorGenerator.php
@@ -7,7 +7,7 @@ use Rector\RectorGenerator\Finder\TemplateFinder;
use Rector\RectorGenerator\Guard\OverrideGuard;
use Rector\RectorGenerator\TemplateVariablesFactory;
use Rector\RectorGenerator\ValueObject\RectorRecipe;
-use RectorPrefix20220217\Symfony\Component\Console\Style\SymfonyStyle;
+use RectorPrefix20220218\Symfony\Component\Console\Style\SymfonyStyle;
/**
* @see \Rector\RectorGenerator\Tests\RectorGenerator\RectorGeneratorTest
*/
@@ -38,7 +38,7 @@ final class RectorGenerator
* @var \Symfony\Component\Console\Style\SymfonyStyle
*/
private $symfonyStyle;
- public function __construct(\Rector\RectorGenerator\Finder\TemplateFinder $templateFinder, \Rector\RectorGenerator\TemplateVariablesFactory $templateVariablesFactory, \Rector\RectorGenerator\Generator\FileGenerator $fileGenerator, \Rector\RectorGenerator\Guard\OverrideGuard $overrideGuard, \RectorPrefix20220217\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle)
+ public function __construct(\Rector\RectorGenerator\Finder\TemplateFinder $templateFinder, \Rector\RectorGenerator\TemplateVariablesFactory $templateVariablesFactory, \Rector\RectorGenerator\Generator\FileGenerator $fileGenerator, \Rector\RectorGenerator\Guard\OverrideGuard $overrideGuard, \RectorPrefix20220218\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle)
{
$this->templateFinder = $templateFinder;
$this->templateVariablesFactory = $templateVariablesFactory;
diff --git a/vendor/rector/rector-generator/src/Guard/OverrideGuard.php b/vendor/rector/rector-generator/src/Guard/OverrideGuard.php
index 89995384ffa..3b128d2dec5 100644
--- a/vendor/rector/rector-generator/src/Guard/OverrideGuard.php
+++ b/vendor/rector/rector-generator/src/Guard/OverrideGuard.php
@@ -5,7 +5,7 @@ namespace Rector\RectorGenerator\Guard;
use Rector\RectorGenerator\FileSystem\TemplateFileSystem;
use Rector\RectorGenerator\ValueObject\RectorRecipe;
-use RectorPrefix20220217\Symfony\Component\Console\Style\SymfonyStyle;
+use RectorPrefix20220218\Symfony\Component\Console\Style\SymfonyStyle;
use Symplify\SmartFileSystem\SmartFileInfo;
final class OverrideGuard
{
@@ -19,7 +19,7 @@ final class OverrideGuard
* @var \Rector\RectorGenerator\FileSystem\TemplateFileSystem
*/
private $templateFileSystem;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \Rector\RectorGenerator\FileSystem\TemplateFileSystem $templateFileSystem)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \Rector\RectorGenerator\FileSystem\TemplateFileSystem $templateFileSystem)
{
$this->symfonyStyle = $symfonyStyle;
$this->templateFileSystem = $templateFileSystem;
diff --git a/vendor/rector/rector-generator/src/NodeFactory/NodeFactory.php b/vendor/rector/rector-generator/src/NodeFactory/NodeFactory.php
index 86008597f55..b72ee74f92c 100644
--- a/vendor/rector/rector-generator/src/NodeFactory/NodeFactory.php
+++ b/vendor/rector/rector-generator/src/NodeFactory/NodeFactory.php
@@ -14,8 +14,8 @@ use PhpParser\Node\Expr\Variable;
use PhpParser\Node\Name\FullyQualified;
use PhpParser\Node\Stmt\ClassMethod;
use PhpParser\Node\Stmt\Property;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder;
final class NodeFactory
{
/**
@@ -46,13 +46,13 @@ final class NodeFactory
}
public function createPublicMethod(string $methodName) : \PhpParser\Node\Stmt\ClassMethod
{
- $methodBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($methodName);
+ $methodBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($methodName);
$methodBuilder->makePublic();
return $methodBuilder->getNode();
}
public function createPrivateArrayProperty(string $propertyName) : \PhpParser\Node\Stmt\Property
{
- $propertyBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($propertyName);
+ $propertyBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($propertyName);
$propertyBuilder->makePrivate();
$docContent = <<<'CODE_SAMPLE'
/**
diff --git a/vendor/rector/rector-generator/src/TemplateInitializer.php b/vendor/rector/rector-generator/src/TemplateInitializer.php
index 443c18075bb..9ac4b28f1fb 100644
--- a/vendor/rector/rector-generator/src/TemplateInitializer.php
+++ b/vendor/rector/rector-generator/src/TemplateInitializer.php
@@ -3,9 +3,9 @@
declare (strict_types=1);
namespace Rector\RectorGenerator;
-use RectorPrefix20220217\Symfony\Component\Console\Style\SymfonyStyle;
-use RectorPrefix20220217\Symplify\SmartFileSystem\FileSystemGuard;
-use RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileSystem;
+use RectorPrefix20220218\Symfony\Component\Console\Style\SymfonyStyle;
+use RectorPrefix20220218\Symplify\SmartFileSystem\FileSystemGuard;
+use RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileSystem;
final class TemplateInitializer
{
/**
@@ -23,7 +23,7 @@ final class TemplateInitializer
* @var \Symplify\SmartFileSystem\FileSystemGuard
*/
private $fileSystemGuard;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \RectorPrefix20220217\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \RectorPrefix20220218\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard)
{
$this->symfonyStyle = $symfonyStyle;
$this->smartFileSystem = $smartFileSystem;
diff --git a/vendor/rector/rector-generator/src/ValueObject/RectorRecipe.php b/vendor/rector/rector-generator/src/ValueObject/RectorRecipe.php
index 4589eb7ea08..04f05a79083 100644
--- a/vendor/rector/rector-generator/src/ValueObject/RectorRecipe.php
+++ b/vendor/rector/rector-generator/src/ValueObject/RectorRecipe.php
@@ -3,8 +3,8 @@
declare (strict_types=1);
namespace Rector\RectorGenerator\ValueObject;
-use RectorPrefix20220217\Nette\Utils\Json;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Json;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Expr\FuncCall;
use Rector\RectorGenerator\Exception\ConfigurationException;
@@ -213,7 +213,7 @@ final class RectorRecipe
*/
private function resolveCategory(array $nodeTypes) : void
{
- $this->category = (string) \RectorPrefix20220217\Nette\Utils\Strings::after($nodeTypes[0], '\\', -1);
+ $this->category = (string) \RectorPrefix20220218\Nette\Utils\Strings::after($nodeTypes[0], '\\', -1);
}
private function normalizeCode(string $code) : string
{
@@ -233,7 +233,7 @@ final class RectorRecipe
if ($composerJsonContent === \false) {
continue;
}
- $composerJson = \RectorPrefix20220217\Nette\Utils\Json::decode($composerJsonContent, \RectorPrefix20220217\Nette\Utils\Json::FORCE_ARRAY);
+ $composerJson = \RectorPrefix20220218\Nette\Utils\Json::decode($composerJsonContent, \RectorPrefix20220218\Nette\Utils\Json::FORCE_ARRAY);
if (!isset($composerJson['name'])) {
continue;
}
diff --git a/vendor/rector/rector-generator/templates/rector-recipe.php b/vendor/rector/rector-generator/templates/rector-recipe.php
index da106d671c5..f62f1b076ca 100644
--- a/vendor/rector/rector-generator/templates/rector-recipe.php
+++ b/vendor/rector/rector-generator/templates/rector-recipe.php
@@ -1,7 +1,7 @@
services();
$services->defaults()->autowire();
// @see https://github.com/symplify/monorepo-builder#6-release-flow
- $services->set(\RectorPrefix20220217\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class);
- $services->set(\RectorPrefix20220217\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class);
+ $services->set(\RectorPrefix20220218\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class);
+ $services->set(\RectorPrefix20220218\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class);
};
diff --git a/vendor/rector/rector-laravel/rector.php b/vendor/rector/rector-laravel/rector.php
index efb28d446d6..88087fa9bff 100644
--- a/vendor/rector/rector-laravel/rector.php
+++ b/vendor/rector/rector-laravel/rector.php
@@ -1,7 +1,7 @@
nodeNameResolver = $nodeNameResolver;
$this->nodeFactory = $nodeFactory;
@@ -60,7 +60,7 @@ final class ModelFactoryNodeFactory
{
$class = new \PhpParser\Node\Stmt\Class_($name . 'Factory');
$class->extends = new \PhpParser\Node\Name\FullyQualified('Illuminate\\Database\\Eloquent\\Factories\\Factory');
- $propertyBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder('model');
+ $propertyBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder('model');
$propertyBuilder->makeProtected();
$propertyBuilder->setDefault($expr);
$property = $propertyBuilder->getNode();
@@ -155,7 +155,7 @@ final class ModelFactoryNodeFactory
*/
private function createPublicMethod(string $name, array $stmts) : \PhpParser\Node\Stmt\ClassMethod
{
- $methodBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($name);
+ $methodBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($name);
$methodBuilder->makePublic();
$methodBuilder->addStmts($stmts);
return $methodBuilder->getNode();
diff --git a/vendor/rector/rector-laravel/src/Rector/ClassMethod/AddArgumentDefaultValueRector.php b/vendor/rector/rector-laravel/src/Rector/ClassMethod/AddArgumentDefaultValueRector.php
index 884e0add7d2..5137b8b7b18 100644
--- a/vendor/rector/rector-laravel/src/Rector/ClassMethod/AddArgumentDefaultValueRector.php
+++ b/vendor/rector/rector-laravel/src/Rector/ClassMethod/AddArgumentDefaultValueRector.php
@@ -12,7 +12,7 @@ use Rector\Core\Rector\AbstractRector;
use Rector\Laravel\ValueObject\AddArgumentDefaultValue;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @see \Rector\Laravel\Tests\Rector\ClassMethod\AddArgumentDefaultValueRector\AddArgumentDefaultValueRectorTest
*/
@@ -83,8 +83,8 @@ CODE_SAMPLE
public function configure(array $configuration) : void
{
$addedArguments = $configuration[self::ADDED_ARGUMENTS] ?? $configuration;
- \RectorPrefix20220217\Webmozart\Assert\Assert::isArray($addedArguments);
- \RectorPrefix20220217\Webmozart\Assert\Assert::allIsInstanceOf($addedArguments, \Rector\Laravel\ValueObject\AddArgumentDefaultValue::class);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($addedArguments);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allIsInstanceOf($addedArguments, \Rector\Laravel\ValueObject\AddArgumentDefaultValue::class);
$this->addedArguments = $addedArguments;
}
}
diff --git a/vendor/rector/rector-laravel/src/Rector/Class_/UnifyModelDatesWithCastsRector.php b/vendor/rector/rector-laravel/src/Rector/Class_/UnifyModelDatesWithCastsRector.php
index 5d634f8646f..2ac6448fe06 100644
--- a/vendor/rector/rector-laravel/src/Rector/Class_/UnifyModelDatesWithCastsRector.php
+++ b/vendor/rector/rector-laravel/src/Rector/Class_/UnifyModelDatesWithCastsRector.php
@@ -12,10 +12,10 @@ use PhpParser\Node\Stmt\Property;
use PHPStan\Type\ObjectType;
use Rector\Core\NodeManipulator\ClassInsertManipulator;
use Rector\Core\Rector\AbstractRector;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @see https://github.com/laravel/framework/pull/32856
*
@@ -101,7 +101,7 @@ CODE_SAMPLE
$casts = $this->valueResolver->getValue($castsPropertyProperty->default);
// exclude attributes added in $casts
$missingDates = \array_diff($dates, \array_keys($casts));
- \RectorPrefix20220217\Webmozart\Assert\Assert::allString($missingDates);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allString($missingDates);
foreach ($missingDates as $missingDate) {
$castsPropertyProperty->default->items[] = new \PhpParser\Node\Expr\ArrayItem(new \PhpParser\Node\Scalar\String_('datetime'), new \PhpParser\Node\Scalar\String_($missingDate));
}
@@ -110,7 +110,7 @@ CODE_SAMPLE
}
private function createCastsProperty() : \PhpParser\Node\Stmt\Property
{
- $propertyBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder('casts');
+ $propertyBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder('casts');
$propertyBuilder->makeProtected();
$propertyBuilder->setDefault([]);
$property = $propertyBuilder->getNode();
diff --git a/vendor/rector/rector-laravel/src/Rector/MethodCall/FactoryApplyingStatesRector.php b/vendor/rector/rector-laravel/src/Rector/MethodCall/FactoryApplyingStatesRector.php
index 5527181c4e1..268efefb166 100644
--- a/vendor/rector/rector-laravel/src/Rector/MethodCall/FactoryApplyingStatesRector.php
+++ b/vendor/rector/rector-laravel/src/Rector/MethodCall/FactoryApplyingStatesRector.php
@@ -12,7 +12,7 @@ use PHPStan\Type\ObjectType;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @see https://laravel.com/docs/7.x/database-testing#creating-models
* @see https://laravel.com/docs/8.x/database-testing#applying-states
@@ -53,7 +53,7 @@ CODE_SAMPLE
}
$var = $node->var;
$states = $this->getStatesFromArgs($node->args);
- \RectorPrefix20220217\Webmozart\Assert\Assert::allString($states);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allString($states);
foreach ($states as $state) {
$var = $this->nodeFactory->createMethodCall($var, $state);
}
diff --git a/vendor/rector/rector-laravel/src/Rector/PropertyFetch/OptionalToNullsafeOperatorRector.php b/vendor/rector/rector-laravel/src/Rector/PropertyFetch/OptionalToNullsafeOperatorRector.php
index a69a6d940b1..6621ac205dd 100644
--- a/vendor/rector/rector-laravel/src/Rector/PropertyFetch/OptionalToNullsafeOperatorRector.php
+++ b/vendor/rector/rector-laravel/src/Rector/PropertyFetch/OptionalToNullsafeOperatorRector.php
@@ -20,10 +20,10 @@ use Rector\Core\NodeAnalyzer\ArgsAnalyzer;
use Rector\Core\Rector\AbstractRector;
use Rector\Core\ValueObject\PhpVersion;
use Rector\VersionBonding\Contract\MinPhpVersionInterface;
-use RectorPrefix20220217\Symplify\PackageBuilder\Php\TypeChecker;
+use RectorPrefix20220218\Symplify\PackageBuilder\Php\TypeChecker;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @see https://github.com/laravel/laravel/pull/5670
* @see https://github.com/laravel/framework/pull/38868
@@ -55,7 +55,7 @@ final class OptionalToNullsafeOperatorRector extends \Rector\Core\Rector\Abstrac
* @var \Rector\Core\NodeAnalyzer\ArgsAnalyzer
*/
private $argsAnalyzer;
- public function __construct(\RectorPrefix20220217\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\Core\NodeAnalyzer\ArgsAnalyzer $argsAnalyzer)
+ public function __construct(\RectorPrefix20220218\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\Core\NodeAnalyzer\ArgsAnalyzer $argsAnalyzer)
{
$this->typeChecker = $typeChecker;
$this->argsAnalyzer = $argsAnalyzer;
@@ -126,8 +126,8 @@ CODE_SAMPLE
public function configure(array $configuration) : void
{
$excludeMethods = $configuration[self::EXCLUDE_METHODS] ?? $configuration;
- \RectorPrefix20220217\Webmozart\Assert\Assert::isArray($excludeMethods);
- \RectorPrefix20220217\Webmozart\Assert\Assert::allString($excludeMethods);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($excludeMethods);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allString($excludeMethods);
$this->excludeMethods = $excludeMethods;
}
private function hasCallback(\PhpParser\Node\Expr\FuncCall $funcCall) : bool
diff --git a/vendor/rector/rector-laravel/src/Rector/StaticCall/RouteActionCallableRector.php b/vendor/rector/rector-laravel/src/Rector/StaticCall/RouteActionCallableRector.php
index f496caf0b78..9e9f52ed5f1 100644
--- a/vendor/rector/rector-laravel/src/Rector/StaticCall/RouteActionCallableRector.php
+++ b/vendor/rector/rector-laravel/src/Rector/StaticCall/RouteActionCallableRector.php
@@ -19,7 +19,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
use Symplify\SmartFileSystem\SmartFileInfo;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @see https://laravel.com/docs/8.x/upgrade#automatic-controller-namespace-prefixing
*
@@ -117,12 +117,12 @@ CODE_SAMPLE
public function configure(array $configuration) : void
{
$routes = $configuration[self::ROUTES] ?? [];
- \RectorPrefix20220217\Webmozart\Assert\Assert::isArray($routes);
- \RectorPrefix20220217\Webmozart\Assert\Assert::allString(\array_keys($routes));
- \RectorPrefix20220217\Webmozart\Assert\Assert::allString($routes);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($routes);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allString(\array_keys($routes));
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allString($routes);
$this->routes = $routes;
$namespace = $configuration[self::NAMESPACE] ?? self::DEFAULT_NAMESPACE;
- \RectorPrefix20220217\Webmozart\Assert\Assert::string($namespace);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::string($namespace);
$this->namespace = $namespace;
}
/**
diff --git a/vendor/rector/rector-nette/config/config.php b/vendor/rector/rector-nette/config/config.php
index 5121d29af65..e8be2243189 100644
--- a/vendor/rector/rector-nette/config/config.php
+++ b/vendor/rector/rector-nette/config/config.php
@@ -1,7 +1,7 @@
services();
$services->defaults()->public()->autowire()->autoconfigure();
$services->load('Rector\\Nette\\NeonParser\\', __DIR__ . '/../packages/NeonParser')->exclude([__DIR__ . '/../packages/NeonParser/NeonNodeTraverser.php', __DIR__ . '/../packages/NeonParser/Node']);
- $services->set(\RectorPrefix20220217\Nette\Neon\Decoder::class);
+ $services->set(\RectorPrefix20220218\Nette\Neon\Decoder::class);
};
diff --git a/vendor/rector/rector-nette/config/sets/contributte/apitte-attributes.php b/vendor/rector/rector-nette/config/sets/contributte/apitte-attributes.php
index cdd1d034a27..7baa2e67c1e 100644
--- a/vendor/rector/rector-nette/config/sets/contributte/apitte-attributes.php
+++ b/vendor/rector/rector-nette/config/sets/contributte/apitte-attributes.php
@@ -1,7 +1,7 @@
services();
$services->defaults()->autowire();
// @see https://github.com/symplify/monorepo-builder#6-release-flow
- $services->set(\RectorPrefix20220217\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class);
- $services->set(\RectorPrefix20220217\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class);
+ $services->set(\RectorPrefix20220218\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class);
+ $services->set(\RectorPrefix20220218\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class);
};
diff --git a/vendor/rector/rector-nette/packages/NeonParser/Contract/NeonNodeVisitorInterface.php b/vendor/rector/rector-nette/packages/NeonParser/Contract/NeonNodeVisitorInterface.php
index 057f3c362fc..96775a6ae8f 100644
--- a/vendor/rector/rector-nette/packages/NeonParser/Contract/NeonNodeVisitorInterface.php
+++ b/vendor/rector/rector-nette/packages/NeonParser/Contract/NeonNodeVisitorInterface.php
@@ -2,12 +2,12 @@
namespace Rector\Nette\NeonParser\Contract;
-use RectorPrefix20220217\Nette\Neon\Node;
+use RectorPrefix20220218\Nette\Neon\Node;
interface NeonNodeVisitorInterface
{
/**
* @return class-string<\PhpParser\Node>
*/
public function getNodeType() : string;
- public function enterNode(\RectorPrefix20220217\Nette\Neon\Node $node) : \RectorPrefix20220217\Nette\Neon\Node;
+ public function enterNode(\RectorPrefix20220218\Nette\Neon\Node $node) : \RectorPrefix20220218\Nette\Neon\Node;
}
diff --git a/vendor/rector/rector-nette/packages/NeonParser/NeonNodeTraverser.php b/vendor/rector/rector-nette/packages/NeonParser/NeonNodeTraverser.php
index 7204a754386..fb2f2639fd8 100644
--- a/vendor/rector/rector-nette/packages/NeonParser/NeonNodeTraverser.php
+++ b/vendor/rector/rector-nette/packages/NeonParser/NeonNodeTraverser.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Nette\NeonParser;
-use RectorPrefix20220217\Nette\Neon\Node;
+use RectorPrefix20220218\Nette\Neon\Node;
use Rector\Nette\Contract\Rector\NeonRectorInterface;
use Rector\Nette\NeonParser\Contract\NeonNodeVisitorInterface;
use Rector\Nette\NeonParser\Node\Service_;
@@ -35,7 +35,7 @@ final class NeonNodeTraverser
{
$this->neonRectors[] = $neonRector;
}
- public function traverse(\RectorPrefix20220217\Nette\Neon\Node $node) : \RectorPrefix20220217\Nette\Neon\Node
+ public function traverse(\RectorPrefix20220218\Nette\Neon\Node $node) : \RectorPrefix20220218\Nette\Neon\Node
{
foreach ($this->neonRectors as $neonRector) {
// is service node?
diff --git a/vendor/rector/rector-nette/packages/NeonParser/NeonParser.php b/vendor/rector/rector-nette/packages/NeonParser/NeonParser.php
index bc0b3ebccb1..7589b71d234 100644
--- a/vendor/rector/rector-nette/packages/NeonParser/NeonParser.php
+++ b/vendor/rector/rector-nette/packages/NeonParser/NeonParser.php
@@ -3,19 +3,19 @@
declare (strict_types=1);
namespace Rector\Nette\NeonParser;
-use RectorPrefix20220217\Nette\Neon\Decoder;
-use RectorPrefix20220217\Nette\Neon\Node;
+use RectorPrefix20220218\Nette\Neon\Decoder;
+use RectorPrefix20220218\Nette\Neon\Node;
final class NeonParser
{
/**
* @var \Nette\Neon\Decoder
*/
private $decoder;
- public function __construct(\RectorPrefix20220217\Nette\Neon\Decoder $decoder)
+ public function __construct(\RectorPrefix20220218\Nette\Neon\Decoder $decoder)
{
$this->decoder = $decoder;
}
- public function parseString(string $neonContent) : \RectorPrefix20220217\Nette\Neon\Node
+ public function parseString(string $neonContent) : \RectorPrefix20220218\Nette\Neon\Node
{
return $this->decoder->parseToNode($neonContent);
}
diff --git a/vendor/rector/rector-nette/packages/NeonParser/Node/AbstractVirtualNode.php b/vendor/rector/rector-nette/packages/NeonParser/Node/AbstractVirtualNode.php
index fc26f47cfdc..c3a82f6e57e 100644
--- a/vendor/rector/rector-nette/packages/NeonParser/Node/AbstractVirtualNode.php
+++ b/vendor/rector/rector-nette/packages/NeonParser/Node/AbstractVirtualNode.php
@@ -3,9 +3,9 @@
declare (strict_types=1);
namespace Rector\Nette\NeonParser\Node;
-use RectorPrefix20220217\Nette\Neon\Node;
+use RectorPrefix20220218\Nette\Neon\Node;
use Rector\Nette\NeonParser\Exception\UnusedVirtualMethodException;
-abstract class AbstractVirtualNode extends \RectorPrefix20220217\Nette\Neon\Node
+abstract class AbstractVirtualNode extends \RectorPrefix20220218\Nette\Neon\Node
{
/**
* @return mixed
diff --git a/vendor/rector/rector-nette/packages/NeonParser/Node/Service_.php b/vendor/rector/rector-nette/packages/NeonParser/Node/Service_.php
index 6833c1c7ae6..a250e2abfd9 100644
--- a/vendor/rector/rector-nette/packages/NeonParser/Node/Service_.php
+++ b/vendor/rector/rector-nette/packages/NeonParser/Node/Service_.php
@@ -3,8 +3,8 @@
declare (strict_types=1);
namespace Rector\Nette\NeonParser\Node;
-use RectorPrefix20220217\Nette\Neon\Node;
-use RectorPrefix20220217\Nette\Neon\Node\LiteralNode;
+use RectorPrefix20220218\Nette\Neon\Node;
+use RectorPrefix20220218\Nette\Neon\Node\LiteralNode;
use Rector\Nette\NeonParser\Node\Service_\SetupMethodCall;
/**
* Metanode for easier subscribing
@@ -63,10 +63,10 @@ final class Service_ extends \Rector\Nette\NeonParser\Node\AbstractVirtualNode
public function getSubNodes() : array
{
$subNodes = [];
- if ($this->classLiteralNode instanceof \RectorPrefix20220217\Nette\Neon\Node\LiteralNode) {
+ if ($this->classLiteralNode instanceof \RectorPrefix20220218\Nette\Neon\Node\LiteralNode) {
$subNodes[] = $this->classLiteralNode;
}
- if ($this->factoryLiteralNode instanceof \RectorPrefix20220217\Nette\Neon\Node\LiteralNode) {
+ if ($this->factoryLiteralNode instanceof \RectorPrefix20220218\Nette\Neon\Node\LiteralNode) {
$subNodes[] = $this->factoryLiteralNode;
}
return \array_merge($subNodes, $this->setupMethodCalls);
diff --git a/vendor/rector/rector-nette/packages/NeonParser/Node/Service_/SetupMethodCall.php b/vendor/rector/rector-nette/packages/NeonParser/Node/Service_/SetupMethodCall.php
index 47dbbbce3a3..34ad4dc038f 100644
--- a/vendor/rector/rector-nette/packages/NeonParser/Node/Service_/SetupMethodCall.php
+++ b/vendor/rector/rector-nette/packages/NeonParser/Node/Service_/SetupMethodCall.php
@@ -3,8 +3,8 @@
declare (strict_types=1);
namespace Rector\Nette\NeonParser\Node\Service_;
-use RectorPrefix20220217\Nette\Neon\Node\EntityNode;
-use RectorPrefix20220217\Nette\Neon\Node\LiteralNode;
+use RectorPrefix20220218\Nette\Neon\Node\EntityNode;
+use RectorPrefix20220218\Nette\Neon\Node\LiteralNode;
use Rector\Nette\NeonParser\Node\AbstractVirtualNode;
final class SetupMethodCall extends \Rector\Nette\NeonParser\Node\AbstractVirtualNode
{
@@ -20,7 +20,7 @@ final class SetupMethodCall extends \Rector\Nette\NeonParser\Node\AbstractVirtua
* @var \Nette\Neon\Node\EntityNode
*/
public $entityNode;
- public function __construct(string $className, \RectorPrefix20220217\Nette\Neon\Node\LiteralNode $methodNameLiteralNode, \RectorPrefix20220217\Nette\Neon\Node\EntityNode $entityNode)
+ public function __construct(string $className, \RectorPrefix20220218\Nette\Neon\Node\LiteralNode $methodNameLiteralNode, \RectorPrefix20220218\Nette\Neon\Node\EntityNode $entityNode)
{
$this->className = $className;
$this->methodNameLiteralNode = $methodNameLiteralNode;
diff --git a/vendor/rector/rector-nette/packages/NeonParser/NodeFactory/ServiceFactory.php b/vendor/rector/rector-nette/packages/NeonParser/NodeFactory/ServiceFactory.php
index 03037f19c09..8e9b3c3f114 100644
--- a/vendor/rector/rector-nette/packages/NeonParser/NodeFactory/ServiceFactory.php
+++ b/vendor/rector/rector-nette/packages/NeonParser/NodeFactory/ServiceFactory.php
@@ -3,12 +3,12 @@
declare (strict_types=1);
namespace Rector\Nette\NeonParser\NodeFactory;
-use RectorPrefix20220217\Nette\Neon\Node\ArrayItemNode;
-use RectorPrefix20220217\Nette\Neon\Node\ArrayNode;
-use RectorPrefix20220217\Nette\Neon\Node\EntityNode;
-use RectorPrefix20220217\Nette\Neon\Node\LiteralNode;
+use RectorPrefix20220218\Nette\Neon\Node\ArrayItemNode;
+use RectorPrefix20220218\Nette\Neon\Node\ArrayNode;
+use RectorPrefix20220218\Nette\Neon\Node\EntityNode;
+use RectorPrefix20220218\Nette\Neon\Node\LiteralNode;
use Rector\Nette\NeonParser\Node\Service_;
-use RectorPrefix20220217\Nette\Neon\Node;
+use RectorPrefix20220218\Nette\Neon\Node;
use Rector\Nette\NeonParser\Node\Service_\SetupMethodCall;
final class ServiceFactory
{
@@ -27,9 +27,9 @@ final class ServiceFactory
/**
* @return \Rector\Nette\NeonParser\Node\Service_|null
*/
- public function create(\RectorPrefix20220217\Nette\Neon\Node $node)
+ public function create(\RectorPrefix20220218\Nette\Neon\Node $node)
{
- if (!$node instanceof \RectorPrefix20220217\Nette\Neon\Node\ArrayItemNode) {
+ if (!$node instanceof \RectorPrefix20220218\Nette\Neon\Node\ArrayItemNode) {
return null;
}
$class = $this->resolveArrayItemByKeyword($node, self::CLASS_KEYWORD);
@@ -45,23 +45,23 @@ final class ServiceFactory
/**
* @return \Nette\Neon\Node\LiteralNode|null
*/
- private function resolveArrayItemByKeyword(\RectorPrefix20220217\Nette\Neon\Node\ArrayItemNode $arrayItemNode, string $keyword)
+ private function resolveArrayItemByKeyword(\RectorPrefix20220218\Nette\Neon\Node\ArrayItemNode $arrayItemNode, string $keyword)
{
- if (!$arrayItemNode->value instanceof \RectorPrefix20220217\Nette\Neon\Node\ArrayNode) {
+ if (!$arrayItemNode->value instanceof \RectorPrefix20220218\Nette\Neon\Node\ArrayNode) {
return null;
}
$arrayNode = $arrayItemNode->value;
foreach ($arrayNode->items as $arrayItemNode) {
- if (!$arrayItemNode->key instanceof \RectorPrefix20220217\Nette\Neon\Node\LiteralNode) {
+ if (!$arrayItemNode->key instanceof \RectorPrefix20220218\Nette\Neon\Node\LiteralNode) {
continue;
}
if ($arrayItemNode->key->toString() !== $keyword) {
continue;
}
- if ($arrayItemNode->value instanceof \RectorPrefix20220217\Nette\Neon\Node\EntityNode) {
+ if ($arrayItemNode->value instanceof \RectorPrefix20220218\Nette\Neon\Node\EntityNode) {
return $arrayItemNode->value->value;
}
- if ($arrayItemNode->value instanceof \RectorPrefix20220217\Nette\Neon\Node\LiteralNode) {
+ if ($arrayItemNode->value instanceof \RectorPrefix20220218\Nette\Neon\Node\LiteralNode) {
return $arrayItemNode->value;
}
}
@@ -70,26 +70,26 @@ final class ServiceFactory
/**
* @return SetupMethodCall[]
*/
- private function resolveSetupMethodCalls(string $className, \RectorPrefix20220217\Nette\Neon\Node\ArrayItemNode $arrayItemNode) : array
+ private function resolveSetupMethodCalls(string $className, \RectorPrefix20220218\Nette\Neon\Node\ArrayItemNode $arrayItemNode) : array
{
- if (!$arrayItemNode->value instanceof \RectorPrefix20220217\Nette\Neon\Node\ArrayNode) {
+ if (!$arrayItemNode->value instanceof \RectorPrefix20220218\Nette\Neon\Node\ArrayNode) {
return [];
}
$setupMethodCalls = [];
$arrayNode = $arrayItemNode->value;
foreach ($arrayNode->items as $arrayItemNode) {
- if ($arrayItemNode->key instanceof \RectorPrefix20220217\Nette\Neon\Node\LiteralNode) {
+ if ($arrayItemNode->key instanceof \RectorPrefix20220218\Nette\Neon\Node\LiteralNode) {
if ($arrayItemNode->key->toString() !== self::SETUP_KEYWORD) {
continue;
}
- if (!$arrayItemNode->value instanceof \RectorPrefix20220217\Nette\Neon\Node\ArrayNode) {
+ if (!$arrayItemNode->value instanceof \RectorPrefix20220218\Nette\Neon\Node\ArrayNode) {
continue;
}
foreach ($arrayItemNode->value->items as $setupArrayItemNode) {
- if ($setupArrayItemNode->value instanceof \RectorPrefix20220217\Nette\Neon\Node\EntityNode) {
+ if ($setupArrayItemNode->value instanceof \RectorPrefix20220218\Nette\Neon\Node\EntityNode) {
// probably method call
$entityNode = $setupArrayItemNode->value;
- if ($entityNode->value instanceof \RectorPrefix20220217\Nette\Neon\Node\LiteralNode) {
+ if ($entityNode->value instanceof \RectorPrefix20220218\Nette\Neon\Node\LiteralNode) {
// not a method call - probably property assign
if (\strncmp($entityNode->value->toString(), '$', \strlen('$')) === 0) {
continue;
diff --git a/vendor/rector/rector-nette/packages/NeonParser/Printer/FormatPreservingNeonPrinter.php b/vendor/rector/rector-nette/packages/NeonParser/Printer/FormatPreservingNeonPrinter.php
index da2aee34e48..d59ca9889d1 100644
--- a/vendor/rector/rector-nette/packages/NeonParser/Printer/FormatPreservingNeonPrinter.php
+++ b/vendor/rector/rector-nette/packages/NeonParser/Printer/FormatPreservingNeonPrinter.php
@@ -3,8 +3,8 @@
declare (strict_types=1);
namespace Rector\Nette\NeonParser\Printer;
-use RectorPrefix20220217\Nette\Neon\Node;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Neon\Node;
+use RectorPrefix20220218\Nette\Utils\Strings;
final class FormatPreservingNeonPrinter
{
/**
@@ -15,20 +15,20 @@ final class FormatPreservingNeonPrinter
* @var string
*/
private const INDENT_SPACES = 'spaces';
- public function printNode(\RectorPrefix20220217\Nette\Neon\Node $node, string $originalContenet) : string
+ public function printNode(\RectorPrefix20220218\Nette\Neon\Node $node, string $originalContenet) : string
{
$neonContent = $node->toString();
$indentType = $this->resolveIndentType($originalContenet);
$neonContent = $this->formatIndent($neonContent, $indentType);
// replace quotes - @todo resolve defaults
- return \RectorPrefix20220217\Nette\Utils\Strings::replace($neonContent, '#\\"#', '\'');
+ return \RectorPrefix20220218\Nette\Utils\Strings::replace($neonContent, '#\\"#', '\'');
}
/**
* Some files prefer tabs, some spaces. This will resolve first found space.
*/
private function resolveIndentType(string $neonContent) : string
{
- $indentMatch = \RectorPrefix20220217\Nette\Utils\Strings::match($neonContent, '#(\\t| )#ms');
+ $indentMatch = \RectorPrefix20220218\Nette\Utils\Strings::match($neonContent, '#(\\t| )#ms');
if ($indentMatch[0] === "\t") {
return self::INDENT_TABS;
}
@@ -37,7 +37,7 @@ final class FormatPreservingNeonPrinter
private function formatIndent(string $neonContent, string $indentType) : string
{
if ($indentType === self::INDENT_SPACES) {
- return \RectorPrefix20220217\Nette\Utils\Strings::replace($neonContent, '#\\t#', ' ');
+ return \RectorPrefix20220218\Nette\Utils\Strings::replace($neonContent, '#\\t#', ' ');
}
return $neonContent;
}
diff --git a/vendor/rector/rector-nette/packages/NeonParser/Services/ServiceTypeResolver.php b/vendor/rector/rector-nette/packages/NeonParser/Services/ServiceTypeResolver.php
index 214635beca3..a2aa0727ea0 100644
--- a/vendor/rector/rector-nette/packages/NeonParser/Services/ServiceTypeResolver.php
+++ b/vendor/rector/rector-nette/packages/NeonParser/Services/ServiceTypeResolver.php
@@ -3,10 +3,10 @@
declare (strict_types=1);
namespace Rector\Nette\NeonParser\Services;
-use RectorPrefix20220217\Nette\Neon\Node;
-use RectorPrefix20220217\Nette\Neon\Node\ArrayItemNode;
-use RectorPrefix20220217\Nette\Neon\Node\ArrayNode;
-use RectorPrefix20220217\Nette\Neon\Node\EntityNode;
+use RectorPrefix20220218\Nette\Neon\Node;
+use RectorPrefix20220218\Nette\Neon\Node\ArrayItemNode;
+use RectorPrefix20220218\Nette\Neon\Node\ArrayNode;
+use RectorPrefix20220218\Nette\Neon\Node\EntityNode;
final class ServiceTypeResolver
{
/**
@@ -20,12 +20,12 @@ final class ServiceTypeResolver
/**
* @return string|null
*/
- public function resolve(\RectorPrefix20220217\Nette\Neon\Node $serviceNode)
+ public function resolve(\RectorPrefix20220218\Nette\Neon\Node $serviceNode)
{
- if (!$serviceNode instanceof \RectorPrefix20220217\Nette\Neon\Node\ArrayItemNode) {
+ if (!$serviceNode instanceof \RectorPrefix20220218\Nette\Neon\Node\ArrayItemNode) {
return null;
}
- if (!$serviceNode->value instanceof \RectorPrefix20220217\Nette\Neon\Node\ArrayNode) {
+ if (!$serviceNode->value instanceof \RectorPrefix20220218\Nette\Neon\Node\ArrayNode) {
return null;
}
foreach ($serviceNode->value->items as $serviceConfigurationItem) {
@@ -33,13 +33,13 @@ final class ServiceTypeResolver
continue;
}
if ($serviceConfigurationItem->key->toString() === self::FACTORY_KEYWORD) {
- if ($serviceConfigurationItem->value instanceof \RectorPrefix20220217\Nette\Neon\Node\EntityNode) {
+ if ($serviceConfigurationItem->value instanceof \RectorPrefix20220218\Nette\Neon\Node\EntityNode) {
return $serviceConfigurationItem->value->value->toString();
}
return $serviceConfigurationItem->value->toString();
}
if ($serviceConfigurationItem->key->toString() === self::CLASS_KEYWORD) {
- if ($serviceConfigurationItem->value instanceof \RectorPrefix20220217\Nette\Neon\Node\EntityNode) {
+ if ($serviceConfigurationItem->value instanceof \RectorPrefix20220218\Nette\Neon\Node\EntityNode) {
return $serviceConfigurationItem->value->value->toString();
}
return $serviceConfigurationItem->value->toString();
diff --git a/vendor/rector/rector-nette/rector.php b/vendor/rector/rector-nette/rector.php
index 1bfe4d85c24..002e17e6abc 100644
--- a/vendor/rector/rector-nette/rector.php
+++ b/vendor/rector/rector-nette/rector.php
@@ -1,7 +1,7 @@
classNaming->getShortName($class);
// "onMagic" => "Magic"
- $shortPropertyName = \RectorPrefix20220217\Nette\Utils\Strings::substring($property, \strlen('on'));
+ $shortPropertyName = \RectorPrefix20220218\Nette\Utils\Strings::substring($property, \strlen('on'));
return $shortClassName . $shortPropertyName . self::EVENT;
}
}
diff --git a/vendor/rector/rector-nette/src/Kdyby/NodeFactory/EventValueObjectClassFactory.php b/vendor/rector/rector-nette/src/Kdyby/NodeFactory/EventValueObjectClassFactory.php
index 1ded329ffbd..f2273868233 100644
--- a/vendor/rector/rector-nette/src/Kdyby/NodeFactory/EventValueObjectClassFactory.php
+++ b/vendor/rector/rector-nette/src/Kdyby/NodeFactory/EventValueObjectClassFactory.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Nette\Kdyby\NodeFactory;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node\Arg;
use PhpParser\Node\Expr\Variable;
use PhpParser\Node\Name\FullyQualified;
@@ -20,9 +20,9 @@ use Rector\Core\ValueObject\MethodName;
use Rector\Nette\Kdyby\BlueprintFactory\VariableWithTypesFactory;
use Rector\Nette\Kdyby\ValueObject\VariableWithType;
use Rector\NodeNameResolver\NodeNameResolver;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder;
/**
* @todo decouple to generic object factory for better re-use, e.g. this is just value object pattern
*/
@@ -70,10 +70,10 @@ final class EventValueObjectClassFactory
$nodeTraverser->traverse([$class]);
return $this->wrapClassToNamespace($className, $class);
}
- private function createEventClassBuilder(string $className) : \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder
+ private function createEventClassBuilder(string $className) : \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder
{
$shortClassName = $this->classNaming->getShortName($className);
- $classBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder($shortClassName);
+ $classBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder($shortClassName);
$classBuilder->makeFinal();
$classBuilder->extend(new \PhpParser\Node\Name\FullyQualified('Symfony\\Contracts\\EventDispatcher\\Event'));
return $classBuilder;
@@ -81,7 +81,7 @@ final class EventValueObjectClassFactory
/**
* @param Arg[] $args
*/
- private function decorateWithConstructorIfHasArgs(\RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder $classBuilder, array $args) : void
+ private function decorateWithConstructorIfHasArgs(\RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder $classBuilder, array $args) : void
{
if ($args === []) {
return;
@@ -103,15 +103,15 @@ final class EventValueObjectClassFactory
}
private function wrapClassToNamespace(string $className, \PhpParser\Node\Stmt\Class_ $class) : \PhpParser\Node\Stmt\Namespace_
{
- $namespace = \RectorPrefix20220217\Nette\Utils\Strings::before($className, '\\', -1);
- $namespaceBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder($namespace);
+ $namespace = \RectorPrefix20220218\Nette\Utils\Strings::before($className, '\\', -1);
+ $namespaceBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder($namespace);
$namespaceBuilder->addStmt($class);
return $namespaceBuilder->getNode();
}
/**
* @param VariableWithType[] $variablesWithTypes
*/
- private function ensureVariablesAreUnique(array $variablesWithTypes, \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder $classBuilder) : void
+ private function ensureVariablesAreUnique(array $variablesWithTypes, \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder $classBuilder) : void
{
$usedVariableNames = [];
foreach ($variablesWithTypes as $variablesWithType) {
@@ -128,7 +128,7 @@ final class EventValueObjectClassFactory
*/
private function createConstructClassMethod(array $variableWithTypes) : \PhpParser\Node\Stmt\ClassMethod
{
- $methodBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(\Rector\Core\ValueObject\MethodName::CONSTRUCT);
+ $methodBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(\Rector\Core\ValueObject\MethodName::CONSTRUCT);
$methodBuilder->makePublic();
foreach ($variableWithTypes as $variableWithType) {
$param = new \PhpParser\Node\Param(new \PhpParser\Node\Expr\Variable($variableWithType->getName()));
diff --git a/vendor/rector/rector-nette/src/Kdyby/NodeManipulator/GetSubscribedEventsArrayManipulator.php b/vendor/rector/rector-nette/src/Kdyby/NodeManipulator/GetSubscribedEventsArrayManipulator.php
index 1db21933e67..592c0378ec1 100644
--- a/vendor/rector/rector-nette/src/Kdyby/NodeManipulator/GetSubscribedEventsArrayManipulator.php
+++ b/vendor/rector/rector-nette/src/Kdyby/NodeManipulator/GetSubscribedEventsArrayManipulator.php
@@ -10,7 +10,7 @@ use PhpParser\Node\Expr\ClassConstFetch;
use PhpParser\Node\Name\FullyQualified;
use Rector\Core\PhpParser\Node\Value\ValueResolver;
use Rector\Nette\Kdyby\ValueObject\NetteEventToContributeEventClass;
-use RectorPrefix20220217\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
+use RectorPrefix20220218\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
final class GetSubscribedEventsArrayManipulator
{
/**
@@ -23,7 +23,7 @@ final class GetSubscribedEventsArrayManipulator
* @var \Rector\Core\PhpParser\Node\Value\ValueResolver
*/
private $valueResolver;
- public function __construct(\RectorPrefix20220217\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver)
+ public function __construct(\RectorPrefix20220218\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver)
{
$this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser;
$this->valueResolver = $valueResolver;
diff --git a/vendor/rector/rector-nette/src/Kdyby/NodeResolver/ListeningMethodsCollector.php b/vendor/rector/rector-nette/src/Kdyby/NodeResolver/ListeningMethodsCollector.php
index e79e4e59419..3cd8bcd2ee9 100644
--- a/vendor/rector/rector-nette/src/Kdyby/NodeResolver/ListeningMethodsCollector.php
+++ b/vendor/rector/rector-nette/src/Kdyby/NodeResolver/ListeningMethodsCollector.php
@@ -14,7 +14,7 @@ use Rector\Core\PhpParser\Node\Value\ValueResolver;
use Rector\Nette\Kdyby\Naming\EventClassNaming;
use Rector\Nette\Kdyby\ValueObject\EventClassAndClassMethod;
use Rector\Nette\Kdyby\ValueObject\NetteEventToContributeEventClass;
-use RectorPrefix20220217\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
+use RectorPrefix20220218\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
final class ListeningMethodsCollector
{
/**
@@ -49,7 +49,7 @@ final class ListeningMethodsCollector
* @var \Rector\Core\PhpParser\Node\BetterNodeFinder
*/
private $betterNodeFinder;
- public function __construct(\RectorPrefix20220217\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Nette\Kdyby\Naming\EventClassNaming $eventClassNaming, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder)
+ public function __construct(\RectorPrefix20220218\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Nette\Kdyby\Naming\EventClassNaming $eventClassNaming, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder)
{
$this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser;
$this->eventClassNaming = $eventClassNaming;
diff --git a/vendor/rector/rector-nette/src/Kdyby/Rector/ClassMethod/ChangeNetteEventNamesInGetSubscribedEventsRector.php b/vendor/rector/rector-nette/src/Kdyby/Rector/ClassMethod/ChangeNetteEventNamesInGetSubscribedEventsRector.php
index 6f3903392ec..5fb3e192afc 100644
--- a/vendor/rector/rector-nette/src/Kdyby/Rector/ClassMethod/ChangeNetteEventNamesInGetSubscribedEventsRector.php
+++ b/vendor/rector/rector-nette/src/Kdyby/Rector/ClassMethod/ChangeNetteEventNamesInGetSubscribedEventsRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Nette\Kdyby\Rector\ClassMethod;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\Array_;
@@ -164,7 +164,7 @@ CODE_SAMPLE
throw new \Rector\Core\Exception\ShouldNotHappenException();
}
if (\strpos($kdybyEventName, '::') !== \false) {
- return (string) \RectorPrefix20220217\Nette\Utils\Strings::after($kdybyEventName, '::', -1);
+ return (string) \RectorPrefix20220218\Nette\Utils\Strings::after($kdybyEventName, '::', -1);
}
throw new \Rector\Core\Exception\NotImplementedYetException($kdybyEventName);
}
diff --git a/vendor/rector/rector-nette/src/Latte/Parser/TemplateTypeParser.php b/vendor/rector/rector-nette/src/Latte/Parser/TemplateTypeParser.php
index 736de98b833..4be8dbe85fc 100644
--- a/vendor/rector/rector-nette/src/Latte/Parser/TemplateTypeParser.php
+++ b/vendor/rector/rector-nette/src/Latte/Parser/TemplateTypeParser.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Nette\Latte\Parser;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PHPStan\BetterReflection\Reflection\ReflectionClass;
use PHPStan\BetterReflection\Reflection\ReflectionNamedType;
use PHPStan\BetterReflection\Reflector\Exception\IdentifierNotFound;
@@ -20,7 +20,7 @@ final class TemplateTypeParser
*/
public function parse(string $content) : array
{
- $templateTypeMatch = \RectorPrefix20220217\Nette\Utils\Strings::match($content, self::TEMPLATE_TYPE_REGEX);
+ $templateTypeMatch = \RectorPrefix20220218\Nette\Utils\Strings::match($content, self::TEMPLATE_TYPE_REGEX);
if (!isset($templateTypeMatch['template'])) {
return [];
}
diff --git a/vendor/rector/rector-nette/src/Latte/Parser/VarTypeParser.php b/vendor/rector/rector-nette/src/Latte/Parser/VarTypeParser.php
index 882ba2ebc33..65c0fe26883 100644
--- a/vendor/rector/rector-nette/src/Latte/Parser/VarTypeParser.php
+++ b/vendor/rector/rector-nette/src/Latte/Parser/VarTypeParser.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Nette\Latte\Parser;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use Rector\Nette\ValueObject\LatteVariableType;
final class VarTypeParser
{
@@ -17,7 +17,7 @@ final class VarTypeParser
*/
public function parse(string $content) : array
{
- $matches = \RectorPrefix20220217\Nette\Utils\Strings::matchAll($content, self::VAR_TYPE_REGEX);
+ $matches = \RectorPrefix20220218\Nette\Utils\Strings::matchAll($content, self::VAR_TYPE_REGEX);
$variableTypes = [];
foreach ($matches as $match) {
$variableTypes[] = new \Rector\Nette\ValueObject\LatteVariableType($match['variable'], $match['type']);
diff --git a/vendor/rector/rector-nette/src/Naming/NetteControlNaming.php b/vendor/rector/rector-nette/src/Naming/NetteControlNaming.php
index 16b813a09d2..ce858d31ef8 100644
--- a/vendor/rector/rector-nette/src/Naming/NetteControlNaming.php
+++ b/vendor/rector/rector-nette/src/Naming/NetteControlNaming.php
@@ -3,12 +3,12 @@
declare (strict_types=1);
namespace Rector\Nette\Naming;
-use RectorPrefix20220217\Symfony\Component\String\UnicodeString;
+use RectorPrefix20220218\Symfony\Component\String\UnicodeString;
final class NetteControlNaming
{
public function createVariableName(string $shortName) : string
{
- $variableNameUnicodeString = new \RectorPrefix20220217\Symfony\Component\String\UnicodeString($shortName);
+ $variableNameUnicodeString = new \RectorPrefix20220218\Symfony\Component\String\UnicodeString($shortName);
$variableName = $variableNameUnicodeString->camel()->toString();
if (\substr_compare($variableName, 'Form', -\strlen('Form')) === 0) {
return $variableName;
@@ -17,7 +17,7 @@ final class NetteControlNaming
}
public function createCreateComponentClassMethodName(string $shortName) : string
{
- $shortNameUnicodeString = new \RectorPrefix20220217\Symfony\Component\String\UnicodeString($shortName);
+ $shortNameUnicodeString = new \RectorPrefix20220218\Symfony\Component\String\UnicodeString($shortName);
$componentName = $shortNameUnicodeString->upper()->camel()->toString();
return 'createComponent' . $componentName;
}
diff --git a/vendor/rector/rector-nette/src/NodeAnalyzer/ArrayDimFetchRenamer.php b/vendor/rector/rector-nette/src/NodeAnalyzer/ArrayDimFetchRenamer.php
index 96e18a2877b..a66949df146 100644
--- a/vendor/rector/rector-nette/src/NodeAnalyzer/ArrayDimFetchRenamer.php
+++ b/vendor/rector/rector-nette/src/NodeAnalyzer/ArrayDimFetchRenamer.php
@@ -13,7 +13,7 @@ use PhpParser\Node\Stmt\Function_;
use PhpParser\NodeTraverser;
use Rector\Core\PhpParser\Comparing\NodeComparator;
use Rector\Naming\VariableRenamer;
-use RectorPrefix20220217\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
+use RectorPrefix20220218\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
final class ArrayDimFetchRenamer
{
/**
@@ -26,7 +26,7 @@ final class ArrayDimFetchRenamer
* @var \Rector\Core\PhpParser\Comparing\NodeComparator
*/
private $nodeComparator;
- public function __construct(\RectorPrefix20220217\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator)
+ public function __construct(\RectorPrefix20220218\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator)
{
$this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser;
$this->nodeComparator = $nodeComparator;
diff --git a/vendor/rector/rector-nette/src/NodeFactory/CheckRequirementsClassMethodFactory.php b/vendor/rector/rector-nette/src/NodeFactory/CheckRequirementsClassMethodFactory.php
index d191bf13aa5..d2b64aebdff 100644
--- a/vendor/rector/rector-nette/src/NodeFactory/CheckRequirementsClassMethodFactory.php
+++ b/vendor/rector/rector-nette/src/NodeFactory/CheckRequirementsClassMethodFactory.php
@@ -10,8 +10,8 @@ use PhpParser\Node\Expr\Variable;
use PhpParser\Node\Identifier;
use PhpParser\Node\Name;
use PhpParser\Node\Stmt\ClassMethod;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder;
final class CheckRequirementsClassMethodFactory
{
/**
@@ -32,9 +32,9 @@ final class CheckRequirementsClassMethodFactory
*/
public function create(array $getUserStmts) : \PhpParser\Node\Stmt\ClassMethod
{
- $methodBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(self::CHECK_REQUIREMENTS_METHOD_NAME);
+ $methodBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(self::CHECK_REQUIREMENTS_METHOD_NAME);
$methodBuilder->makePublic();
- $paramBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder('element');
+ $paramBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder('element');
$methodBuilder->addParam($paramBuilder);
$methodBuilder->setReturnType('void');
$parentStaticCall = $this->creatParentStaticCall();
diff --git a/vendor/rector/rector-nette/src/NodeFactory/ClassWithPublicPropertiesFactory.php b/vendor/rector/rector-nette/src/NodeFactory/ClassWithPublicPropertiesFactory.php
index 15ad05d539d..f808a2b664f 100644
--- a/vendor/rector/rector-nette/src/NodeFactory/ClassWithPublicPropertiesFactory.php
+++ b/vendor/rector/rector-nette/src/NodeFactory/ClassWithPublicPropertiesFactory.php
@@ -6,10 +6,10 @@ namespace Rector\Nette\NodeFactory;
use PhpParser\Node\NullableType;
use PhpParser\Node\Stmt\Class_;
use PhpParser\Node\Stmt\Namespace_;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\TraitUseBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\TraitUseBuilder;
/**
* @see \Rector\Nette\Tests\NodeFactory\ClassWithPublicPropertiesFactory\ClassWithPublicPropertiesFactoryTest
*/
@@ -29,14 +29,14 @@ final class ClassWithPublicPropertiesFactory
$namespace = \implode('\\', $namespaceParts);
$namespaceBuilder = null;
if ($namespace !== '') {
- $namespaceBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder($namespace);
+ $namespaceBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder($namespace);
}
- $classBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder($className);
+ $classBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder($className);
if ($parent !== null && $parent !== '') {
$classBuilder->extend($this->fixFullyQualifiedName($parent));
}
foreach ($traits as $trait) {
- $classBuilder->addStmt(new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\TraitUseBuilder($this->fixFullyQualifiedName($trait)));
+ $classBuilder->addStmt(new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\TraitUseBuilder($this->fixFullyQualifiedName($trait)));
}
foreach ($properties as $propertyName => $propertySettings) {
$propertyType = $propertySettings['type'];
@@ -44,7 +44,7 @@ final class ClassWithPublicPropertiesFactory
if ($nullable) {
$propertyType = new \PhpParser\Node\NullableType($propertyType);
}
- $propertyBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($propertyName);
+ $propertyBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($propertyName);
$propertyBuilder->setType($propertyType);
$classBuilder->addStmt($propertyBuilder);
}
diff --git a/vendor/rector/rector-nette/src/NodeFactory/ParentGetterStmtsToExternalStmtsFactory.php b/vendor/rector/rector-nette/src/NodeFactory/ParentGetterStmtsToExternalStmtsFactory.php
index 41211bb5a27..4ebfad9bc34 100644
--- a/vendor/rector/rector-nette/src/NodeFactory/ParentGetterStmtsToExternalStmtsFactory.php
+++ b/vendor/rector/rector-nette/src/NodeFactory/ParentGetterStmtsToExternalStmtsFactory.php
@@ -13,7 +13,7 @@ use PhpParser\Node\Stmt\Return_;
use PHPStan\Type\ObjectType;
use Rector\Core\PhpParser\Comparing\NodeComparator;
use Rector\NodeTypeResolver\NodeTypeResolver;
-use RectorPrefix20220217\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
+use RectorPrefix20220218\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
final class ParentGetterStmtsToExternalStmtsFactory
{
/**
@@ -31,7 +31,7 @@ final class ParentGetterStmtsToExternalStmtsFactory
* @var \Rector\Core\PhpParser\Comparing\NodeComparator
*/
private $nodeComparator;
- public function __construct(\Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \RectorPrefix20220217\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator)
+ public function __construct(\Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \RectorPrefix20220218\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator)
{
$this->nodeTypeResolver = $nodeTypeResolver;
$this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser;
diff --git a/vendor/rector/rector-nette/src/Rector/Class_/FormDataRector.php b/vendor/rector/rector-nette/src/Rector/Class_/FormDataRector.php
index 37a1573064f..404602f2d59 100644
--- a/vendor/rector/rector-nette/src/Rector/Class_/FormDataRector.php
+++ b/vendor/rector/rector-nette/src/Rector/Class_/FormDataRector.php
@@ -19,7 +19,7 @@ use Rector\Nette\NodeFinder\FormOnSuccessCallbackValuesParamFinder;
use Rector\Nette\NodeFinder\FormVariableFinder;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @see https://doc.nette.org/en/3.1/form-presenter#toc-mapping-to-classes
* @see \Rector\Nette\Tests\Rector\Class_\FormDataRector\FormDataRectorTest
@@ -120,13 +120,13 @@ CODE_SAMPLE
{
if (isset($configuration[self::FORM_DATA_CLASS_PARENT])) {
$formDataClassParent = $configuration[self::FORM_DATA_CLASS_PARENT];
- \RectorPrefix20220217\Webmozart\Assert\Assert::string($formDataClassParent);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::string($formDataClassParent);
$this->formDataClassParent = $formDataClassParent;
}
if (isset($configuration[self::FORM_DATA_CLASS_TRAITS])) {
$formDataClassTraits = $configuration[self::FORM_DATA_CLASS_TRAITS];
- \RectorPrefix20220217\Webmozart\Assert\Assert::isArray($formDataClassTraits);
- \RectorPrefix20220217\Webmozart\Assert\Assert::allString($formDataClassTraits);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($formDataClassTraits);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allString($formDataClassTraits);
$this->formDataClassTraits = $formDataClassTraits;
}
}
diff --git a/vendor/rector/rector-nette/src/Rector/Class_/TemplateTypeBasedOnPresenterTemplateParametersRector.php b/vendor/rector/rector-nette/src/Rector/Class_/TemplateTypeBasedOnPresenterTemplateParametersRector.php
index db5e4a5ec7e..8f6eb5ba605 100644
--- a/vendor/rector/rector-nette/src/Rector/Class_/TemplateTypeBasedOnPresenterTemplateParametersRector.php
+++ b/vendor/rector/rector-nette/src/Rector/Class_/TemplateTypeBasedOnPresenterTemplateParametersRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Nette\Rector\Class_;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Expr\Assign;
use PhpParser\Node\Expr\PropertyFetch;
@@ -19,7 +19,7 @@ use Rector\Nette\NodeFactory\ClassWithPublicPropertiesFactory;
use Rector\Nette\ValueObject\LatteVariableType;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @see \Rector\Nette\Tests\Rector\Class_\TemplateTypeBasedOnPresenterTemplateParametersRector\TemplateTypeBasedOnPresenterTemplateParametersRectorTest
*/
@@ -110,12 +110,12 @@ CODE_SAMPLE
{
if (isset($configuration[self::TEMPLATE_CLASS_PARENT])) {
$templateClassParent = $configuration[self::TEMPLATE_CLASS_PARENT];
- \RectorPrefix20220217\Webmozart\Assert\Assert::string($templateClassParent);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::string($templateClassParent);
$this->templateClassParent = $templateClassParent;
}
if (isset($configuration[self::TEMPLATE_CLASS_TRAITS])) {
$templateClassTraits = $configuration[self::TEMPLATE_CLASS_TRAITS];
- \RectorPrefix20220217\Webmozart\Assert\Assert::isArray($templateClassTraits);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($templateClassTraits);
$this->templateClassTraits = $templateClassTraits;
}
}
@@ -214,7 +214,7 @@ CODE_SAMPLE
$upperCasedActionName = \ucfirst($actionName);
$templateClassName = $presenterName . $upperCasedActionName . 'Template';
$presenterPattern = '#Presenter$#';
- $fullTemplateClassName = '\\' . \RectorPrefix20220217\Nette\Utils\Strings::replace($fullPresenterName, $presenterPattern, $upperCasedActionName . 'Template');
+ $fullTemplateClassName = '\\' . \RectorPrefix20220218\Nette\Utils\Strings::replace($fullPresenterName, $presenterPattern, $upperCasedActionName . 'Template');
$templateClass = $this->classWithPublicPropertiesFactory->createNode($fullTemplateClassName, $properties, $this->templateClassParent, $this->templateClassTraits);
$printedClassContent = "betterStandardPrinter->print($templateClass) . "\n";
$smartFileInfo = $this->file->getSmartFileInfo();
diff --git a/vendor/rector/rector-nette/src/Rector/FuncCall/PregFunctionToNetteUtilsStringsRector.php b/vendor/rector/rector-nette/src/Rector/FuncCall/PregFunctionToNetteUtilsStringsRector.php
index 3e5425bd085..3e501095cc1 100644
--- a/vendor/rector/rector-nette/src/Rector/FuncCall/PregFunctionToNetteUtilsStringsRector.php
+++ b/vendor/rector/rector-nette/src/Rector/FuncCall/PregFunctionToNetteUtilsStringsRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Nette\Rector\FuncCall;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Arg;
use PhpParser\Node\Expr;
@@ -178,7 +178,7 @@ CODE_SAMPLE
if (!\is_string($patternValue)) {
return;
}
- $match = \RectorPrefix20220217\Nette\Utils\Strings::match($patternValue, self::SLASH_REGEX);
+ $match = \RectorPrefix20220218\Nette\Utils\Strings::match($patternValue, self::SLASH_REGEX);
if ($match === null) {
return;
}
diff --git a/vendor/rector/rector-nette/src/Rector/LNumber/ReplaceTimeNumberWithDateTimeConstantRector.php b/vendor/rector/rector-nette/src/Rector/LNumber/ReplaceTimeNumberWithDateTimeConstantRector.php
index 0d01aac3134..df076e72061 100644
--- a/vendor/rector/rector-nette/src/Rector/LNumber/ReplaceTimeNumberWithDateTimeConstantRector.php
+++ b/vendor/rector/rector-nette/src/Rector/LNumber/ReplaceTimeNumberWithDateTimeConstantRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Nette\Rector\LNumber;
-use RectorPrefix20220217\Nette\Utils\DateTime;
+use RectorPrefix20220218\Nette\Utils\DateTime;
use PhpParser\Node;
use PhpParser\Node\Scalar\LNumber;
use Rector\Core\Rector\AbstractRector;
@@ -18,7 +18,7 @@ final class ReplaceTimeNumberWithDateTimeConstantRector extends \Rector\Core\Rec
* @noRector
* @var array
*/
- private const NUMBER_TO_CONSTANT_NAME = [\RectorPrefix20220217\Nette\Utils\DateTime::HOUR => 'HOUR', \RectorPrefix20220217\Nette\Utils\DateTime::DAY => 'DAY', \RectorPrefix20220217\Nette\Utils\DateTime::WEEK => 'WEEK', \RectorPrefix20220217\Nette\Utils\DateTime::MONTH => 'MONTH', \RectorPrefix20220217\Nette\Utils\DateTime::YEAR => 'YEAR'];
+ private const NUMBER_TO_CONSTANT_NAME = [\RectorPrefix20220218\Nette\Utils\DateTime::HOUR => 'HOUR', \RectorPrefix20220218\Nette\Utils\DateTime::DAY => 'DAY', \RectorPrefix20220218\Nette\Utils\DateTime::WEEK => 'WEEK', \RectorPrefix20220218\Nette\Utils\DateTime::MONTH => 'MONTH', \RectorPrefix20220218\Nette\Utils\DateTime::YEAR => 'YEAR'];
public function getRuleDefinition() : \Symplify\RuleDocGenerator\ValueObject\RuleDefinition
{
return new \Symplify\RuleDocGenerator\ValueObject\RuleDefinition('Replace time numbers with Nette\\Utils\\DateTime constants', [new \Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample(<<<'CODE_SAMPLE'
diff --git a/vendor/rector/rector-nette/src/Rector/Neon/RenameMethodNeonRector.php b/vendor/rector/rector-nette/src/Rector/Neon/RenameMethodNeonRector.php
index e83cada3bb7..f397d5f01d2 100644
--- a/vendor/rector/rector-nette/src/Rector/Neon/RenameMethodNeonRector.php
+++ b/vendor/rector/rector-nette/src/Rector/Neon/RenameMethodNeonRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Nette\Rector\Neon;
-use RectorPrefix20220217\Nette\Neon\Node;
+use RectorPrefix20220218\Nette\Neon\Node;
use Rector\Nette\Contract\Rector\NeonRectorInterface;
use Rector\Nette\NeonParser\Node\Service_\SetupMethodCall;
use Rector\Renaming\Collector\MethodCallRenameCollector;
@@ -51,7 +51,7 @@ CODE_SAMPLE
* @param SetupMethodCall $node
* @return \Nette\Neon\Node|null
*/
- public function enterNode(\RectorPrefix20220217\Nette\Neon\Node $node)
+ public function enterNode(\RectorPrefix20220218\Nette\Neon\Node $node)
{
foreach ($this->methodCallRenameCollector->getMethodCallRenames() as $methodCallRename) {
if (!\is_a($node->className, $methodCallRename->getClass(), \true)) {
diff --git a/vendor/rector/rector-phpoffice/config/config.php b/vendor/rector/rector-phpoffice/config/config.php
index 84f6fed2c6d..9816c05fd77 100644
--- a/vendor/rector/rector-phpoffice/config/config.php
+++ b/vendor/rector/rector-phpoffice/config/config.php
@@ -1,7 +1,7 @@
services();
// @see https://github.com/symplify/monorepo-builder#6-release-flow
- $services->set(\RectorPrefix20220217\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class);
- $services->set(\RectorPrefix20220217\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class);
+ $services->set(\RectorPrefix20220218\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class);
+ $services->set(\RectorPrefix20220218\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class);
};
diff --git a/vendor/rector/rector-phpoffice/rector.php b/vendor/rector/rector-phpoffice/rector.php
index cdcdc1de4b1..2fe918fef5f 100644
--- a/vendor/rector/rector-phpoffice/rector.php
+++ b/vendor/rector/rector-phpoffice/rector.php
@@ -1,7 +1,7 @@
services();
// @see https://github.com/symplify/monorepo-builder#6-release-flow
- $services->set(\RectorPrefix20220217\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class);
- $services->set(\RectorPrefix20220217\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class);
+ $services->set(\RectorPrefix20220218\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class);
+ $services->set(\RectorPrefix20220218\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class);
};
diff --git a/vendor/rector/rector-phpunit/rector.php b/vendor/rector/rector-phpunit/rector.php
index a991345bd59..a2dd5d34b99 100644
--- a/vendor/rector/rector-phpunit/rector.php
+++ b/vendor/rector/rector-phpunit/rector.php
@@ -1,7 +1,7 @@
getMethodName());
+ $methodBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($dataProviderClassMethodRecipe->getMethodName());
$methodBuilder->makePublic();
$classMethod = $methodBuilder->getNode();
foreach ($dataProviderClassMethodRecipe->getArgs() as $arg) {
diff --git a/vendor/rector/rector-phpunit/src/NodeFactory/SetUpClassMethodFactory.php b/vendor/rector/rector-phpunit/src/NodeFactory/SetUpClassMethodFactory.php
index d913b720f53..0a992be46f0 100644
--- a/vendor/rector/rector-phpunit/src/NodeFactory/SetUpClassMethodFactory.php
+++ b/vendor/rector/rector-phpunit/src/NodeFactory/SetUpClassMethodFactory.php
@@ -12,7 +12,7 @@ use Rector\Core\PhpParser\Node\NodeFactory;
use Rector\Core\ValueObject\MethodName;
use Rector\PhpSpecToPHPUnit\PHPUnitTypeDeclarationDecorator;
use Rector\PHPUnit\NodeManipulator\StmtManipulator;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
final class SetUpClassMethodFactory
{
/**
@@ -42,7 +42,7 @@ final class SetUpClassMethodFactory
public function createSetUpMethod(array $stmts) : \PhpParser\Node\Stmt\ClassMethod
{
$stmts = $this->stmtManipulator->normalizeStmts($stmts);
- $classMethodBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(\Rector\Core\ValueObject\MethodName::SET_UP);
+ $classMethodBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(\Rector\Core\ValueObject\MethodName::SET_UP);
$classMethodBuilder->makeProtected();
$classMethodBuilder->addStmt($this->createParentStaticCall());
$classMethodBuilder->addStmts($stmts);
diff --git a/vendor/rector/rector-phpunit/src/Rector/ClassMethod/AddDoesNotPerformAssertionToNonAssertingTestRector.php b/vendor/rector/rector-phpunit/src/Rector/ClassMethod/AddDoesNotPerformAssertionToNonAssertingTestRector.php
index 671d152279c..227d8faa44e 100644
--- a/vendor/rector/rector-phpunit/src/Rector/ClassMethod/AddDoesNotPerformAssertionToNonAssertingTestRector.php
+++ b/vendor/rector/rector-phpunit/src/Rector/ClassMethod/AddDoesNotPerformAssertionToNonAssertingTestRector.php
@@ -10,7 +10,7 @@ use PhpParser\Node\Stmt\ClassMethod;
use PHPStan\PhpDocParser\Ast\PhpDoc\GenericTagValueNode;
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode;
use PHPStan\Type\TypeWithClassName;
-use RectorPrefix20220217\PHPUnit\Framework\MockObject\MockBuilder;
+use RectorPrefix20220218\PHPUnit\Framework\MockObject\MockBuilder;
use Rector\Core\PhpParser\AstResolver;
use Rector\Core\Rector\AbstractRector;
use Rector\PHPUnit\NodeAnalyzer\TestsNodeAnalyzer;
@@ -147,7 +147,7 @@ CODE_SAMPLE
return (bool) $this->betterNodeFinder->findFirst((array) $classMethod->stmts, function (\PhpParser\Node $node) : bool {
if ($node instanceof \PhpParser\Node\Expr\MethodCall) {
$type = $this->nodeTypeResolver->getType($node->var);
- if ($type instanceof \Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType && $type->getClassName() === \RectorPrefix20220217\PHPUnit\Framework\MockObject\MockBuilder::class) {
+ if ($type instanceof \Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType && $type->getClassName() === \RectorPrefix20220218\PHPUnit\Framework\MockObject\MockBuilder::class) {
return \true;
}
return $this->isNames($node->name, [
diff --git a/vendor/rector/rector-phpunit/src/Rector/Class_/ArrayArgumentToDataProviderRector.php b/vendor/rector/rector-phpunit/src/Rector/Class_/ArrayArgumentToDataProviderRector.php
index b764b7b85ee..ba3378a3bf9 100644
--- a/vendor/rector/rector-phpunit/src/Rector/Class_/ArrayArgumentToDataProviderRector.php
+++ b/vendor/rector/rector-phpunit/src/Rector/Class_/ArrayArgumentToDataProviderRector.php
@@ -17,7 +17,7 @@ use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode;
use PHPStan\PhpDocParser\Ast\Type\TypeNode;
use PHPStan\Type\Type;
use PHPStan\Type\UnionType;
-use RectorPrefix20220217\PHPUnit\Framework\TestCase;
+use RectorPrefix20220218\PHPUnit\Framework\TestCase;
use Rector\Core\Contract\Rector\ConfigurableRectorInterface;
use Rector\Core\Exception\ShouldNotHappenException;
use Rector\Core\Rector\AbstractRector;
@@ -30,7 +30,7 @@ use Rector\PHPUnit\ValueObject\DataProviderClassMethodRecipe;
use Rector\PHPUnit\ValueObject\ParamAndArg;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @see \Rector\PHPUnit\Tests\Rector\Class_\ArrayArgumentToDataProviderRector\ArrayArgumentToDataProviderRectorTest
*
@@ -106,7 +106,7 @@ class SomeServiceTest extends TestCase
}
}
CODE_SAMPLE
-, [self::ARRAY_ARGUMENTS_TO_DATA_PROVIDERS => [new \Rector\PHPUnit\ValueObject\ArrayArgumentToDataProvider(\RectorPrefix20220217\PHPUnit\Framework\TestCase::class, 'doTestMultiple', 'doTestSingle', 'number')]])]);
+, [self::ARRAY_ARGUMENTS_TO_DATA_PROVIDERS => [new \Rector\PHPUnit\ValueObject\ArrayArgumentToDataProvider(\RectorPrefix20220218\PHPUnit\Framework\TestCase::class, 'doTestMultiple', 'doTestSingle', 'number')]])]);
}
/**
* @return array>
@@ -146,8 +146,8 @@ CODE_SAMPLE
public function configure(array $configuration) : void
{
$arrayArgumentsToDataProviders = $configuration[self::ARRAY_ARGUMENTS_TO_DATA_PROVIDERS] ?? $configuration;
- \RectorPrefix20220217\Webmozart\Assert\Assert::isArray($arrayArgumentsToDataProviders);
- \RectorPrefix20220217\Webmozart\Assert\Assert::allIsAOf($arrayArgumentsToDataProviders, \Rector\PHPUnit\ValueObject\ArrayArgumentToDataProvider::class);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($arrayArgumentsToDataProviders);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allIsAOf($arrayArgumentsToDataProviders, \Rector\PHPUnit\ValueObject\ArrayArgumentToDataProvider::class);
$this->arrayArgumentsToDataProviders = $arrayArgumentsToDataProviders;
}
private function refactorMethodCallWithConfiguration(\PhpParser\Node\Expr\MethodCall $methodCall, \Rector\PHPUnit\ValueObject\ArrayArgumentToDataProvider $arrayArgumentToDataProvider) : void
diff --git a/vendor/rector/rector-phpunit/src/Rector/Class_/RemoveDataProviderTestPrefixRector.php b/vendor/rector/rector-phpunit/src/Rector/Class_/RemoveDataProviderTestPrefixRector.php
index d0b8b21730c..989799389dc 100644
--- a/vendor/rector/rector-phpunit/src/Rector/Class_/RemoveDataProviderTestPrefixRector.php
+++ b/vendor/rector/rector-phpunit/src/Rector/Class_/RemoveDataProviderTestPrefixRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\PHPUnit\Rector\Class_;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Identifier;
use PhpParser\Node\Stmt\Class_;
@@ -108,7 +108,7 @@ CODE_SAMPLE
continue;
}
$newMethodName = $this->createNewMethodName($oldMethodName);
- $dataProviderTagValueNode->value->value = \RectorPrefix20220217\Nette\Utils\Strings::replace($oldMethodName, '#' . \preg_quote($oldMethodName, '#') . '#', $newMethodName);
+ $dataProviderTagValueNode->value->value = \RectorPrefix20220218\Nette\Utils\Strings::replace($oldMethodName, '#' . \preg_quote($oldMethodName, '#') . '#', $newMethodName);
// invoke reprint
$dataProviderTagValueNode->setAttribute(\Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey::START_AND_END, null);
$phpDocInfo->markAsChanged();
@@ -131,7 +131,7 @@ CODE_SAMPLE
}
private function createNewMethodName(string $oldMethodName) : string
{
- $newMethodName = \RectorPrefix20220217\Nette\Utils\Strings::substring($oldMethodName, \strlen('test'));
+ $newMethodName = \RectorPrefix20220218\Nette\Utils\Strings::substring($oldMethodName, \strlen('test'));
return \lcfirst($newMethodName);
}
}
diff --git a/vendor/rector/rector-symfony/bin/parse-missing-return-types-to-rules.php b/vendor/rector/rector-symfony/bin/parse-missing-return-types-to-rules.php
index 8b78765bce7..a4a58763c72 100644
--- a/vendor/rector/rector-symfony/bin/parse-missing-return-types-to-rules.php
+++ b/vendor/rector/rector-symfony/bin/parse-missing-return-types-to-rules.php
@@ -1,14 +1,14 @@
symfonyStyle = $symfonyStyleFactory->create();
}
public function run() : void
@@ -46,16 +46,16 @@ final class MissingReturnTypeParser
*/
private function resolveDiffFileToReturnTypeChanges(string $fileDiffPath) : array
{
- $diffFileContent = \RectorPrefix20220217\Nette\Utils\FileSystem::read($fileDiffPath);
+ $diffFileContent = \RectorPrefix20220218\Nette\Utils\FileSystem::read($fileDiffPath);
$fileDiffs = \explode('diff --git', $diffFileContent);
$returnTypeChanges = [];
foreach ($fileDiffs as $fileDiff) {
- $matches = \RectorPrefix20220217\Nette\Utils\Strings::matchAll($fileDiff, self::DIFF_LINES_REGEX);
+ $matches = \RectorPrefix20220218\Nette\Utils\Strings::matchAll($fileDiff, self::DIFF_LINES_REGEX);
if ($matches === []) {
continue;
}
// match file name
- $filenameMatch = \RectorPrefix20220217\Nette\Utils\Strings::match($matches[0]['before'], '# a/src/(?.*?).php$#');
+ $filenameMatch = \RectorPrefix20220218\Nette\Utils\Strings::match($matches[0]['before'], '# a/src/(?.*?).php$#');
if ($filenameMatch === null) {
continue;
}
@@ -63,8 +63,8 @@ final class MissingReturnTypeParser
unset($matches[0]);
foreach ($matches as $match) {
// match method name
- $methodNameMatch = \RectorPrefix20220217\Nette\Utils\Strings::match($match['before'], '#(?\\w+)\\(#');
- $newTypeMatch = \RectorPrefix20220217\Nette\Utils\Strings::match($match['after'], '#\\): (?.*?);?$#');
+ $methodNameMatch = \RectorPrefix20220218\Nette\Utils\Strings::match($match['before'], '#(?\\w+)\\(#');
+ $newTypeMatch = \RectorPrefix20220218\Nette\Utils\Strings::match($match['after'], '#\\): (?.*?);?$#');
$returnTypeChanges[] = new \Rector\Symfony\Utils\ValueObject\ReturnTypeChange($className, $methodNameMatch['method_name'], $newTypeMatch['return_type']);
}
}
@@ -72,5 +72,5 @@ final class MissingReturnTypeParser
}
}
\class_alias('MissingReturnTypeParser', 'MissingReturnTypeParser', \false);
-$missingReturnTypeParser = new \RectorPrefix20220217\MissingReturnTypeParser();
+$missingReturnTypeParser = new \RectorPrefix20220218\MissingReturnTypeParser();
$missingReturnTypeParser->run();
diff --git a/vendor/rector/rector-symfony/config/config.php b/vendor/rector/rector-symfony/config/config.php
index 886640a223f..581aec254f4 100644
--- a/vendor/rector/rector-symfony/config/config.php
+++ b/vendor/rector/rector-symfony/config/config.php
@@ -1,12 +1,12 @@
parameters();
$parameters->set(\Rector\Core\Configuration\Option::SYMFONY_CONTAINER_XML_PATH_PARAMETER, null);
@@ -14,5 +14,5 @@ return static function (\Symfony\Component\DependencyInjection\Loader\Configurat
$services->defaults()->public()->autowire()->autoconfigure();
$services->load('Rector\\Symfony\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/{Rector,ValueObject}']);
$services->set(\Rector\Core\NonPhpFile\Rector\RenameClassNonPhpRector::class);
- $services->set(\RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileSystem::class);
+ $services->set(\RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileSystem::class);
};
diff --git a/vendor/rector/rector-symfony/config/sets/jms/remove-jms-inject.php b/vendor/rector/rector-symfony/config/sets/jms/remove-jms-inject.php
index 2270d3ba9bd..e8ee471314e 100644
--- a/vendor/rector/rector-symfony/config/sets/jms/remove-jms-inject.php
+++ b/vendor/rector/rector-symfony/config/sets/jms/remove-jms-inject.php
@@ -1,7 +1,7 @@
newInstanceWithoutConstructor();
- $privatesAccessor = new \RectorPrefix20220217\Symplify\PackageBuilder\Reflection\PrivatesAccessor();
+ $privatesAccessor = new \RectorPrefix20220218\Symplify\PackageBuilder\Reflection\PrivatesAccessor();
$privatesAccessor->setPrivateProperty($scalarArrayObjectUnionType, 'types', $scalarArrayObjectUnionedTypes);
// @see https://github.com/symfony/symfony/pull/42064
$services = $containerConfigurator->services();
diff --git a/vendor/rector/rector-symfony/config/sets/symfony/symfony60.php b/vendor/rector/rector-symfony/config/sets/symfony/symfony60.php
index f86bddc52ee..04ba33ed251 100644
--- a/vendor/rector/rector-symfony/config/sets/symfony/symfony60.php
+++ b/vendor/rector/rector-symfony/config/sets/symfony/symfony60.php
@@ -1,7 +1,7 @@
services();
// @see https://github.com/symplify/monorepo-builder#6-release-flow
- $services->set(\RectorPrefix20220217\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class);
- $services->set(\RectorPrefix20220217\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class);
+ $services->set(\RectorPrefix20220218\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class);
+ $services->set(\RectorPrefix20220218\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class);
};
diff --git a/vendor/rector/rector-symfony/rector.php b/vendor/rector/rector-symfony/rector.php
index 46e817607c0..946d2dd41a6 100644
--- a/vendor/rector/rector-symfony/rector.php
+++ b/vendor/rector/rector-symfony/rector.php
@@ -1,7 +1,7 @@
parameterProvider = $parameterProvider;
$this->serviceMapFactory = $serviceMapFactory;
diff --git a/vendor/rector/rector-symfony/src/FormHelper/FormTypeStringToTypeProvider.php b/vendor/rector/rector-symfony/src/FormHelper/FormTypeStringToTypeProvider.php
index 2717e7868dc..68f5a45e722 100644
--- a/vendor/rector/rector-symfony/src/FormHelper/FormTypeStringToTypeProvider.php
+++ b/vendor/rector/rector-symfony/src/FormHelper/FormTypeStringToTypeProvider.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Symfony\FormHelper;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use Rector\Symfony\Contract\Tag\TagInterface;
use Rector\Symfony\DataProvider\ServiceMapProvider;
final class FormTypeStringToTypeProvider
@@ -29,7 +29,7 @@ final class FormTypeStringToTypeProvider
{
$nameToTypeMap = $this->getNameToTypeMap();
if (\strncmp($name, 'form.type.', \strlen('form.type.')) === 0) {
- $name = \RectorPrefix20220217\Nette\Utils\Strings::substring($name, \strlen('form.type.'));
+ $name = \RectorPrefix20220218\Nette\Utils\Strings::substring($name, \strlen('form.type.'));
}
return $nameToTypeMap[$name] ?? null;
}
diff --git a/vendor/rector/rector-symfony/src/Helper/TemplateGuesser.php b/vendor/rector/rector-symfony/src/Helper/TemplateGuesser.php
index 5740b8c944b..83f5777f1aa 100644
--- a/vendor/rector/rector-symfony/src/Helper/TemplateGuesser.php
+++ b/vendor/rector/rector-symfony/src/Helper/TemplateGuesser.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Symfony\Helper;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node\Stmt\ClassMethod;
use PHPStan\Analyser\Scope;
use Rector\Core\Exception\ShouldNotHappenException;
@@ -80,7 +80,7 @@ final class TemplateGuesser
{
$bundle = $this->resolveBundle($class, $namespace);
$controller = $this->resolveController($class);
- $action = \RectorPrefix20220217\Nette\Utils\Strings::replace($method, self::ACTION_MATCH_REGEX, '');
+ $action = \RectorPrefix20220218\Nette\Utils\Strings::replace($method, self::ACTION_MATCH_REGEX, '');
$fullPath = '';
if ($bundle !== '') {
$fullPath .= $bundle . '/';
@@ -96,17 +96,17 @@ final class TemplateGuesser
if ($shortBundleClass !== null) {
return '@' . $shortBundleClass;
}
- $bundle = \RectorPrefix20220217\Nette\Utils\Strings::match($namespace, self::BUNDLE_NAME_MATCHING_REGEX)['bundle'] ?? '';
- $bundle = \RectorPrefix20220217\Nette\Utils\Strings::replace($bundle, self::BUNDLE_SUFFIX_REGEX, '');
+ $bundle = \RectorPrefix20220218\Nette\Utils\Strings::match($namespace, self::BUNDLE_NAME_MATCHING_REGEX)['bundle'] ?? '';
+ $bundle = \RectorPrefix20220218\Nette\Utils\Strings::replace($bundle, self::BUNDLE_SUFFIX_REGEX, '');
return $bundle !== '' ? '@' . $bundle : '';
}
private function resolveController(string $class) : string
{
- $match = \RectorPrefix20220217\Nette\Utils\Strings::match($class, self::CONTROLLER_NAME_MATCH_REGEX);
+ $match = \RectorPrefix20220218\Nette\Utils\Strings::match($class, self::CONTROLLER_NAME_MATCH_REGEX);
if ($match === null) {
return '';
}
- $controller = \RectorPrefix20220217\Nette\Utils\Strings::replace($match['class_name_without_suffix'], self::SMALL_LETTER_BIG_LETTER_REGEX, '1_\\2');
+ $controller = \RectorPrefix20220218\Nette\Utils\Strings::replace($match['class_name_without_suffix'], self::SMALL_LETTER_BIG_LETTER_REGEX, '1_\\2');
return \str_replace('\\', '/', $controller);
}
}
diff --git a/vendor/rector/rector-symfony/src/NodeFactory/OnSuccessLogoutClassMethodFactory.php b/vendor/rector/rector-symfony/src/NodeFactory/OnSuccessLogoutClassMethodFactory.php
index a5c0d6fd8a3..6bd9ebb8e2e 100644
--- a/vendor/rector/rector-symfony/src/NodeFactory/OnSuccessLogoutClassMethodFactory.php
+++ b/vendor/rector/rector-symfony/src/NodeFactory/OnSuccessLogoutClassMethodFactory.php
@@ -15,7 +15,7 @@ use PhpParser\Node\Stmt\Return_;
use Rector\Core\PhpParser\Node\NodeFactory;
use Rector\NodeNameResolver\NodeNameResolver;
use Rector\NodeTypeResolver\Node\AttributeKey;
-use RectorPrefix20220217\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
+use RectorPrefix20220218\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser;
final class OnSuccessLogoutClassMethodFactory
{
/**
@@ -42,7 +42,7 @@ final class OnSuccessLogoutClassMethodFactory
* @var \Rector\Symfony\NodeFactory\BareLogoutClassMethodFactory
*/
private $bareLogoutClassMethodFactory;
- public function __construct(\Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220217\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Symfony\NodeFactory\BareLogoutClassMethodFactory $bareLogoutClassMethodFactory)
+ public function __construct(\Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20220218\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Symfony\NodeFactory\BareLogoutClassMethodFactory $bareLogoutClassMethodFactory)
{
$this->nodeFactory = $nodeFactory;
$this->nodeNameResolver = $nodeNameResolver;
diff --git a/vendor/rector/rector-symfony/src/Rector/ClassMethod/ActionSuffixRemoverRector.php b/vendor/rector/rector-symfony/src/Rector/ClassMethod/ActionSuffixRemoverRector.php
index edc18a77289..91cf83e8b14 100644
--- a/vendor/rector/rector-symfony/src/Rector/ClassMethod/ActionSuffixRemoverRector.php
+++ b/vendor/rector/rector-symfony/src/Rector/ClassMethod/ActionSuffixRemoverRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Symfony\Rector\ClassMethod;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Identifier;
use PhpParser\Node\Stmt\ClassMethod;
@@ -66,7 +66,7 @@ CODE_SAMPLE
private function removeSuffix(\PhpParser\Node\Stmt\ClassMethod $classMethod, string $suffixToRemove) : void
{
$name = $this->nodeNameResolver->getName($classMethod);
- $newName = \RectorPrefix20220217\Nette\Utils\Strings::replace($name, \sprintf('#%s$#', $suffixToRemove), '');
+ $newName = \RectorPrefix20220218\Nette\Utils\Strings::replace($name, \sprintf('#%s$#', $suffixToRemove), '');
$classMethod->name = new \PhpParser\Node\Identifier($newName);
}
}
diff --git a/vendor/rector/rector-symfony/src/Rector/ClassMethod/RemoveDefaultGetBlockPrefixRector.php b/vendor/rector/rector-symfony/src/Rector/ClassMethod/RemoveDefaultGetBlockPrefixRector.php
index e26d70aa5b4..2c7d9bc11d6 100644
--- a/vendor/rector/rector-symfony/src/Rector/ClassMethod/RemoveDefaultGetBlockPrefixRector.php
+++ b/vendor/rector/rector-symfony/src/Rector/ClassMethod/RemoveDefaultGetBlockPrefixRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Symfony\Rector\ClassMethod;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Stmt\Class_;
@@ -13,7 +13,7 @@ use PhpParser\Node\Stmt\Return_;
use PHPStan\Type\ObjectType;
use Rector\Core\Exception\ShouldNotHappenException;
use Rector\Core\Rector\AbstractRector;
-use RectorPrefix20220217\Symfony\Component\String\UnicodeString;
+use RectorPrefix20220218\Symfony\Component\String\UnicodeString;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
/**
@@ -75,9 +75,9 @@ CODE_SAMPLE
}
$shortClassName = $this->nodeNameResolver->getShortName($className);
if (\substr_compare($shortClassName, 'Type', -\strlen('Type')) === 0) {
- $shortClassName = (string) \RectorPrefix20220217\Nette\Utils\Strings::before($shortClassName, 'Type');
+ $shortClassName = (string) \RectorPrefix20220218\Nette\Utils\Strings::before($shortClassName, 'Type');
}
- $shortClassNameUnicodeString = new \RectorPrefix20220217\Symfony\Component\String\UnicodeString($shortClassName);
+ $shortClassNameUnicodeString = new \RectorPrefix20220218\Symfony\Component\String\UnicodeString($shortClassName);
$underscoredClassShortName = $shortClassNameUnicodeString->snake()->toString();
if ($underscoredClassShortName !== $returnedValue) {
return null;
diff --git a/vendor/rector/rector-symfony/src/Rector/Class_/ChangeFileLoaderInExtensionAndKernelRector.php b/vendor/rector/rector-symfony/src/Rector/Class_/ChangeFileLoaderInExtensionAndKernelRector.php
index 609c1183117..d58d5317277 100644
--- a/vendor/rector/rector-symfony/src/Rector/Class_/ChangeFileLoaderInExtensionAndKernelRector.php
+++ b/vendor/rector/rector-symfony/src/Rector/Class_/ChangeFileLoaderInExtensionAndKernelRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Symfony\Rector\Class_;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Expr\MethodCall;
use PhpParser\Node\Expr\New_;
@@ -15,9 +15,9 @@ use PHPStan\Type\ObjectType;
use Rector\Core\Contract\Rector\ConfigurableRectorInterface;
use Rector\Core\Rector\AbstractRector;
use Rector\Symfony\Exception\InvalidConfigurationException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Loader\PhpFileLoader;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Loader\PhpFileLoader;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
/**
@@ -161,7 +161,7 @@ CODE_SAMPLE
if (!$node instanceof \PhpParser\Node\Scalar\String_) {
return null;
}
- $node->value = \RectorPrefix20220217\Nette\Utils\Strings::replace($node->value, '#\\.' . $from . '$#', '.' . $to);
+ $node->value = \RectorPrefix20220218\Nette\Utils\Strings::replace($node->value, '#\\.' . $from . '$#', '.' . $to);
return $node;
});
}
diff --git a/vendor/rector/rector-symfony/src/Rector/Class_/EventListenerToEventSubscriberRector.php b/vendor/rector/rector-symfony/src/Rector/Class_/EventListenerToEventSubscriberRector.php
index 503fb0eddaa..e0a817bc7c8 100644
--- a/vendor/rector/rector-symfony/src/Rector/Class_/EventListenerToEventSubscriberRector.php
+++ b/vendor/rector/rector-symfony/src/Rector/Class_/EventListenerToEventSubscriberRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Symfony\Rector\Class_;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Identifier;
use PhpParser\Node\Name\FullyQualified;
@@ -156,7 +156,7 @@ CODE_SAMPLE
$class->implements[] = new \PhpParser\Node\Name\FullyQualified(self::EVENT_SUBSCRIBER_INTERFACE);
$classShortName = $this->nodeNameResolver->getShortName($class);
// remove suffix
- $classShortName = \RectorPrefix20220217\Nette\Utils\Strings::replace($classShortName, self::LISTENER_MATCH_REGEX, '$1');
+ $classShortName = \RectorPrefix20220218\Nette\Utils\Strings::replace($classShortName, self::LISTENER_MATCH_REGEX, '$1');
$class->name = new \PhpParser\Node\Identifier($classShortName . 'EventSubscriber');
$classMethod = $this->getSubscribedEventsClassMethodFactory->createFromServiceDefinitionsAndEventsToMethods($eventsToMethods, $this->eventNamesToClassConstants);
$class->stmts[] = $classMethod;
diff --git a/vendor/rector/rector-symfony/src/Rector/Class_/MakeCommandLazyRector.php b/vendor/rector/rector-symfony/src/Rector/Class_/MakeCommandLazyRector.php
index d38142f96c5..33ce6f061d3 100644
--- a/vendor/rector/rector-symfony/src/Rector/Class_/MakeCommandLazyRector.php
+++ b/vendor/rector/rector-symfony/src/Rector/Class_/MakeCommandLazyRector.php
@@ -20,7 +20,7 @@ use PHPStan\Type\StringType;
use Rector\Core\NodeAnalyzer\ParamAnalyzer;
use Rector\Core\Rector\AbstractRector;
use Rector\Core\ValueObject\MethodName;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
/**
@@ -203,7 +203,7 @@ CODE_SAMPLE
}
private function createStaticProtectedPropertyWithDefault(string $name, \PhpParser\Node $node) : \PhpParser\Node\Stmt\Property
{
- $propertyBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name);
+ $propertyBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name);
$propertyBuilder->makeProtected();
$propertyBuilder->makeStatic();
$propertyBuilder->setDefault($node);
diff --git a/vendor/rector/rector-symfony/src/Rector/FuncCall/ReplaceServiceArgumentRector.php b/vendor/rector/rector-symfony/src/Rector/FuncCall/ReplaceServiceArgumentRector.php
index 434892cddd0..560c81d98f2 100644
--- a/vendor/rector/rector-symfony/src/Rector/FuncCall/ReplaceServiceArgumentRector.php
+++ b/vendor/rector/rector-symfony/src/Rector/FuncCall/ReplaceServiceArgumentRector.php
@@ -12,7 +12,7 @@ use Rector\Core\Rector\AbstractRector;
use Rector\Symfony\ValueObject\ReplaceServiceArgument;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @see \Rector\Symfony\Tests\Rector\FuncCall\ReplaceServiceArgumentRector\ReplaceServiceArgumentRectorTest
*/
@@ -69,7 +69,7 @@ CODE_SAMPLE
*/
public function configure(array $configuration) : void
{
- \RectorPrefix20220217\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Symfony\ValueObject\ReplaceServiceArgument::class);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\Symfony\ValueObject\ReplaceServiceArgument::class);
$this->replaceServiceArguments = $configuration;
}
}
diff --git a/vendor/rector/rector-symfony/src/Rector/MethodCall/GetParameterToConstructorInjectionRector.php b/vendor/rector/rector-symfony/src/Rector/MethodCall/GetParameterToConstructorInjectionRector.php
index e84a7db5c55..f8516c6cad8 100644
--- a/vendor/rector/rector-symfony/src/Rector/MethodCall/GetParameterToConstructorInjectionRector.php
+++ b/vendor/rector/rector-symfony/src/Rector/MethodCall/GetParameterToConstructorInjectionRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Symfony\Rector\MethodCall;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Arg;
use PhpParser\Node\Expr\MethodCall;
@@ -99,7 +99,7 @@ CODE_SAMPLE
return null;
}
$parameterName = $stringArgument->value;
- $parameterName = \RectorPrefix20220217\Nette\Utils\Strings::replace($parameterName, '#\\.#', '_');
+ $parameterName = \RectorPrefix20220218\Nette\Utils\Strings::replace($parameterName, '#\\.#', '_');
$propertyName = $this->propertyNaming->underscoreToName($parameterName);
$class = $this->betterNodeFinder->findParentType($node, \PhpParser\Node\Stmt\Class_::class);
if (!$class instanceof \PhpParser\Node\Stmt\Class_) {
diff --git a/vendor/rector/rector-symfony/src/Rector/New_/StringToArrayArgumentProcessRector.php b/vendor/rector/rector-symfony/src/Rector/New_/StringToArrayArgumentProcessRector.php
index ca9e6a474b3..622b4a33902 100644
--- a/vendor/rector/rector-symfony/src/Rector/New_/StringToArrayArgumentProcessRector.php
+++ b/vendor/rector/rector-symfony/src/Rector/New_/StringToArrayArgumentProcessRector.php
@@ -17,8 +17,8 @@ use PHPStan\Type\ObjectType;
use PHPStan\Type\StringType;
use Rector\Core\PhpParser\NodeTransformer;
use Rector\Core\Rector\AbstractRector;
-use RectorPrefix20220217\Symfony\Component\Console\Input\StringInput;
-use RectorPrefix20220217\Symplify\PackageBuilder\Reflection\PrivatesCaller;
+use RectorPrefix20220218\Symfony\Component\Console\Input\StringInput;
+use RectorPrefix20220218\Symplify\PackageBuilder\Reflection\PrivatesCaller;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
/**
@@ -132,8 +132,8 @@ CODE_SAMPLE
*/
private function splitProcessCommandToItems(string $process) : array
{
- $privatesCaller = new \RectorPrefix20220217\Symplify\PackageBuilder\Reflection\PrivatesCaller();
- return $privatesCaller->callPrivateMethod(new \RectorPrefix20220217\Symfony\Component\Console\Input\StringInput(''), 'tokenize', [$process]);
+ $privatesCaller = new \RectorPrefix20220218\Symplify\PackageBuilder\Reflection\PrivatesCaller();
+ return $privatesCaller->callPrivateMethod(new \RectorPrefix20220218\Symfony\Component\Console\Input\StringInput(''), 'tokenize', [$process]);
}
private function processPreviousAssign(\PhpParser\Node $node, \PhpParser\Node\Expr $firstArgumentExpr) : void
{
diff --git a/vendor/rector/rector-symfony/src/Rector/StaticCall/ParseFileRector.php b/vendor/rector/rector-symfony/src/Rector/StaticCall/ParseFileRector.php
index d06f08ede6d..18a9355ce69 100644
--- a/vendor/rector/rector-symfony/src/Rector/StaticCall/ParseFileRector.php
+++ b/vendor/rector/rector-symfony/src/Rector/StaticCall/ParseFileRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\Symfony\Rector\StaticCall;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Arg;
use PhpParser\Node\Expr\StaticCall;
@@ -91,6 +91,6 @@ final class ParseFileRector extends \Rector\Core\Rector\AbstractRector
if (!$nodeType instanceof \PHPStan\Type\Constant\ConstantStringType) {
return \false;
}
- return (bool) \RectorPrefix20220217\Nette\Utils\Strings::match($nodeType->getValue(), self::YAML_SUFFIX_REGEX);
+ return (bool) \RectorPrefix20220218\Nette\Utils\Strings::match($nodeType->getValue(), self::YAML_SUFFIX_REGEX);
}
}
diff --git a/vendor/rector/rector-symfony/src/ValueObjectFactory/ServiceMapFactory.php b/vendor/rector/rector-symfony/src/ValueObjectFactory/ServiceMapFactory.php
index 1706459cf19..ddad4c95d00 100644
--- a/vendor/rector/rector-symfony/src/ValueObjectFactory/ServiceMapFactory.php
+++ b/vendor/rector/rector-symfony/src/ValueObjectFactory/ServiceMapFactory.php
@@ -3,15 +3,15 @@
declare (strict_types=1);
namespace Rector\Symfony\ValueObjectFactory;
-use RectorPrefix20220217\Nette\Utils\Json;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Json;
+use RectorPrefix20220218\Nette\Utils\Strings;
use Rector\Symfony\Exception\XmlContainerNotExistsException;
use Rector\Symfony\ValueObject\ServiceDefinition;
use Rector\Symfony\ValueObject\ServiceMap\ServiceMap;
use Rector\Symfony\ValueObject\Tag;
use Rector\Symfony\ValueObject\Tag\EventListenerTag;
use SimpleXMLElement;
-use RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileSystem;
+use RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileSystem;
final class ServiceMapFactory
{
/**
@@ -23,7 +23,7 @@ final class ServiceMapFactory
* @var \Symplify\SmartFileSystem\SmartFileSystem
*/
private $smartFileSystem;
- public function __construct(\RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem)
+ public function __construct(\RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem)
{
$this->smartFileSystem = $smartFileSystem;
}
@@ -86,7 +86,7 @@ final class ServiceMapFactory
private function createServiceFromXmlAndTagsData(\SimpleXMLElement $attrs, array $tags) : \Rector\Symfony\ValueObject\ServiceDefinition
{
$tags = $this->createTagsFromData($tags);
- return new \Rector\Symfony\ValueObject\ServiceDefinition(\strncmp((string) $attrs->id, '.', \strlen('.')) === 0 ? \RectorPrefix20220217\Nette\Utils\Strings::substring((string) $attrs->id, 1) : (string) $attrs->id, \property_exists($attrs, 'class') && $attrs->class !== null ? (string) $attrs->class : null, !(\property_exists($attrs, 'public') && $attrs->public !== null) || (string) $attrs->public !== 'false', \property_exists($attrs, 'synthetic') && $attrs->synthetic !== null && (string) $attrs->synthetic === 'true', \property_exists($attrs, 'alias') && $attrs->alias !== null ? (string) $attrs->alias : null, $tags);
+ return new \Rector\Symfony\ValueObject\ServiceDefinition(\strncmp((string) $attrs->id, '.', \strlen('.')) === 0 ? \RectorPrefix20220218\Nette\Utils\Strings::substring((string) $attrs->id, 1) : (string) $attrs->id, \property_exists($attrs, 'class') && $attrs->class !== null ? (string) $attrs->class : null, !(\property_exists($attrs, 'public') && $attrs->public !== null) || (string) $attrs->public !== 'false', \property_exists($attrs, 'synthetic') && $attrs->synthetic !== null && (string) $attrs->synthetic === 'true', \property_exists($attrs, 'alias') && $attrs->alias !== null ? (string) $attrs->alias : null, $tags);
}
/**
* @param ServiceDefinition[] $aliases
@@ -136,7 +136,7 @@ final class ServiceMapFactory
*/
private function convertXmlToArray(\SimpleXMLElement $simpleXMLElement) : array
{
- $data = \RectorPrefix20220217\Nette\Utils\Json::decode(\RectorPrefix20220217\Nette\Utils\Json::encode((array) $simpleXMLElement), \RectorPrefix20220217\Nette\Utils\Json::FORCE_ARRAY);
+ $data = \RectorPrefix20220218\Nette\Utils\Json::decode(\RectorPrefix20220218\Nette\Utils\Json::encode((array) $simpleXMLElement), \RectorPrefix20220218\Nette\Utils\Json::FORCE_ARRAY);
$data = $this->unWrapAttributes($data);
foreach ($data as $key => $value) {
if (\is_array($value)) {
diff --git a/vendor/scoper-autoload.php b/vendor/scoper-autoload.php
index 64cb3de5276..f4dedb4dc51 100644
--- a/vendor/scoper-autoload.php
+++ b/vendor/scoper-autoload.php
@@ -7,201 +7,201 @@ $loader = require_once __DIR__.'/autoload.php';
// Aliases for the whitelisted classes. For more information see:
// https://github.com/humbug/php-scoper/blob/master/README.md#class-whitelisting
if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
- spl_autoload_call('RectorPrefix20220217\AutoloadIncluder');
+ spl_autoload_call('RectorPrefix20220218\AutoloadIncluder');
}
-if (!class_exists('ComposerAutoloaderInitfbf0dbbd0e9eabf37f18841bef4a77e9', false) && !interface_exists('ComposerAutoloaderInitfbf0dbbd0e9eabf37f18841bef4a77e9', false) && !trait_exists('ComposerAutoloaderInitfbf0dbbd0e9eabf37f18841bef4a77e9', false)) {
- spl_autoload_call('RectorPrefix20220217\ComposerAutoloaderInitfbf0dbbd0e9eabf37f18841bef4a77e9');
+if (!class_exists('ComposerAutoloaderInit0a560f6a4ef102a1bb62767624b1e73e', false) && !interface_exists('ComposerAutoloaderInit0a560f6a4ef102a1bb62767624b1e73e', false) && !trait_exists('ComposerAutoloaderInit0a560f6a4ef102a1bb62767624b1e73e', false)) {
+ spl_autoload_call('RectorPrefix20220218\ComposerAutoloaderInit0a560f6a4ef102a1bb62767624b1e73e');
}
if (!class_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !interface_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !trait_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false)) {
- spl_autoload_call('RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Statement');
+ spl_autoload_call('RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Statement');
}
if (!class_exists('Helmich\TypoScriptParser\Parser\Traverser\Traverser', false) && !interface_exists('Helmich\TypoScriptParser\Parser\Traverser\Traverser', false) && !trait_exists('Helmich\TypoScriptParser\Parser\Traverser\Traverser', false)) {
- spl_autoload_call('RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Traverser\Traverser');
+ spl_autoload_call('RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Traverser\Traverser');
}
if (!class_exists('MissingReturnTypeParser', false) && !interface_exists('MissingReturnTypeParser', false) && !trait_exists('MissingReturnTypeParser', false)) {
- spl_autoload_call('RectorPrefix20220217\MissingReturnTypeParser');
+ spl_autoload_call('RectorPrefix20220218\MissingReturnTypeParser');
}
if (!class_exists('Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator', false) && !interface_exists('Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator', false) && !trait_exists('Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator', false)) {
- spl_autoload_call('RectorPrefix20220217\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator');
+ spl_autoload_call('RectorPrefix20220218\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator');
}
if (!class_exists('Normalizer', false) && !interface_exists('Normalizer', false) && !trait_exists('Normalizer', false)) {
- spl_autoload_call('RectorPrefix20220217\Normalizer');
+ spl_autoload_call('RectorPrefix20220218\Normalizer');
}
if (!class_exists('ReturnTypeWillChange', false) && !interface_exists('ReturnTypeWillChange', false) && !trait_exists('ReturnTypeWillChange', false)) {
- spl_autoload_call('RectorPrefix20220217\ReturnTypeWillChange');
+ spl_autoload_call('RectorPrefix20220218\ReturnTypeWillChange');
}
if (!class_exists('Symplify\ComposerJsonManipulator\ValueObject\ComposerJson', false) && !interface_exists('Symplify\ComposerJsonManipulator\ValueObject\ComposerJson', false) && !trait_exists('Symplify\ComposerJsonManipulator\ValueObject\ComposerJson', false)) {
- spl_autoload_call('RectorPrefix20220217\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson');
+ spl_autoload_call('RectorPrefix20220218\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson');
}
if (!class_exists('Symplify\SmartFileSystem\SmartFileInfo', false) && !interface_exists('Symplify\SmartFileSystem\SmartFileInfo', false) && !trait_exists('Symplify\SmartFileSystem\SmartFileInfo', false)) {
- spl_autoload_call('RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileInfo');
+ spl_autoload_call('RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileInfo');
}
// Functions whitelisting. For more information see:
// https://github.com/humbug/php-scoper/blob/master/README.md#functions-whitelisting
if (!function_exists('dump_with_depth')) {
function dump_with_depth() {
- return \RectorPrefix20220217\dump_with_depth(...func_get_args());
+ return \RectorPrefix20220218\dump_with_depth(...func_get_args());
}
}
if (!function_exists('dn')) {
function dn() {
- return \RectorPrefix20220217\dn(...func_get_args());
+ return \RectorPrefix20220218\dn(...func_get_args());
}
}
if (!function_exists('dump_node')) {
function dump_node() {
- return \RectorPrefix20220217\dump_node(...func_get_args());
+ return \RectorPrefix20220218\dump_node(...func_get_args());
}
}
if (!function_exists('print_node')) {
function print_node() {
- return \RectorPrefix20220217\print_node(...func_get_args());
+ return \RectorPrefix20220218\print_node(...func_get_args());
}
}
-if (!function_exists('composerRequirefbf0dbbd0e9eabf37f18841bef4a77e9')) {
- function composerRequirefbf0dbbd0e9eabf37f18841bef4a77e9() {
- return \RectorPrefix20220217\composerRequirefbf0dbbd0e9eabf37f18841bef4a77e9(...func_get_args());
+if (!function_exists('composerRequire0a560f6a4ef102a1bb62767624b1e73e')) {
+ function composerRequire0a560f6a4ef102a1bb62767624b1e73e() {
+ return \RectorPrefix20220218\composerRequire0a560f6a4ef102a1bb62767624b1e73e(...func_get_args());
}
}
if (!function_exists('scanPath')) {
function scanPath() {
- return \RectorPrefix20220217\scanPath(...func_get_args());
+ return \RectorPrefix20220218\scanPath(...func_get_args());
}
}
if (!function_exists('lintFile')) {
function lintFile() {
- return \RectorPrefix20220217\lintFile(...func_get_args());
+ return \RectorPrefix20220218\lintFile(...func_get_args());
}
}
if (!function_exists('parseArgs')) {
function parseArgs() {
- return \RectorPrefix20220217\parseArgs(...func_get_args());
+ return \RectorPrefix20220218\parseArgs(...func_get_args());
}
}
if (!function_exists('showHelp')) {
function showHelp() {
- return \RectorPrefix20220217\showHelp(...func_get_args());
+ return \RectorPrefix20220218\showHelp(...func_get_args());
}
}
if (!function_exists('formatErrorMessage')) {
function formatErrorMessage() {
- return \RectorPrefix20220217\formatErrorMessage(...func_get_args());
+ return \RectorPrefix20220218\formatErrorMessage(...func_get_args());
}
}
if (!function_exists('preprocessGrammar')) {
function preprocessGrammar() {
- return \RectorPrefix20220217\preprocessGrammar(...func_get_args());
+ return \RectorPrefix20220218\preprocessGrammar(...func_get_args());
}
}
if (!function_exists('resolveNodes')) {
function resolveNodes() {
- return \RectorPrefix20220217\resolveNodes(...func_get_args());
+ return \RectorPrefix20220218\resolveNodes(...func_get_args());
}
}
if (!function_exists('resolveMacros')) {
function resolveMacros() {
- return \RectorPrefix20220217\resolveMacros(...func_get_args());
+ return \RectorPrefix20220218\resolveMacros(...func_get_args());
}
}
if (!function_exists('resolveStackAccess')) {
function resolveStackAccess() {
- return \RectorPrefix20220217\resolveStackAccess(...func_get_args());
+ return \RectorPrefix20220218\resolveStackAccess(...func_get_args());
}
}
if (!function_exists('magicSplit')) {
function magicSplit() {
- return \RectorPrefix20220217\magicSplit(...func_get_args());
+ return \RectorPrefix20220218\magicSplit(...func_get_args());
}
}
if (!function_exists('assertArgs')) {
function assertArgs() {
- return \RectorPrefix20220217\assertArgs(...func_get_args());
+ return \RectorPrefix20220218\assertArgs(...func_get_args());
}
}
if (!function_exists('removeTrailingWhitespace')) {
function removeTrailingWhitespace() {
- return \RectorPrefix20220217\removeTrailingWhitespace(...func_get_args());
+ return \RectorPrefix20220218\removeTrailingWhitespace(...func_get_args());
}
}
if (!function_exists('regex')) {
function regex() {
- return \RectorPrefix20220217\regex(...func_get_args());
+ return \RectorPrefix20220218\regex(...func_get_args());
}
}
if (!function_exists('execCmd')) {
function execCmd() {
- return \RectorPrefix20220217\execCmd(...func_get_args());
+ return \RectorPrefix20220218\execCmd(...func_get_args());
}
}
if (!function_exists('ensureDirExists')) {
function ensureDirExists() {
- return \RectorPrefix20220217\ensureDirExists(...func_get_args());
+ return \RectorPrefix20220218\ensureDirExists(...func_get_args());
}
}
if (!function_exists('uv_signal_init')) {
function uv_signal_init() {
- return \RectorPrefix20220217\uv_signal_init(...func_get_args());
+ return \RectorPrefix20220218\uv_signal_init(...func_get_args());
}
}
if (!function_exists('uv_signal_start')) {
function uv_signal_start() {
- return \RectorPrefix20220217\uv_signal_start(...func_get_args());
+ return \RectorPrefix20220218\uv_signal_start(...func_get_args());
}
}
if (!function_exists('uv_poll_init_socket')) {
function uv_poll_init_socket() {
- return \RectorPrefix20220217\uv_poll_init_socket(...func_get_args());
+ return \RectorPrefix20220218\uv_poll_init_socket(...func_get_args());
}
}
if (!function_exists('setproctitle')) {
function setproctitle() {
- return \RectorPrefix20220217\setproctitle(...func_get_args());
+ return \RectorPrefix20220218\setproctitle(...func_get_args());
}
}
if (!function_exists('trigger_deprecation')) {
function trigger_deprecation() {
- return \RectorPrefix20220217\trigger_deprecation(...func_get_args());
+ return \RectorPrefix20220218\trigger_deprecation(...func_get_args());
}
}
if (!function_exists('array_is_list')) {
function array_is_list() {
- return \RectorPrefix20220217\array_is_list(...func_get_args());
+ return \RectorPrefix20220218\array_is_list(...func_get_args());
}
}
if (!function_exists('enum_exists')) {
function enum_exists() {
- return \RectorPrefix20220217\enum_exists(...func_get_args());
+ return \RectorPrefix20220218\enum_exists(...func_get_args());
}
}
if (!function_exists('includeIfExists')) {
function includeIfExists() {
- return \RectorPrefix20220217\includeIfExists(...func_get_args());
+ return \RectorPrefix20220218\includeIfExists(...func_get_args());
}
}
if (!function_exists('dump')) {
function dump() {
- return \RectorPrefix20220217\dump(...func_get_args());
+ return \RectorPrefix20220218\dump(...func_get_args());
}
}
if (!function_exists('dumpe')) {
function dumpe() {
- return \RectorPrefix20220217\dumpe(...func_get_args());
+ return \RectorPrefix20220218\dumpe(...func_get_args());
}
}
if (!function_exists('bdump')) {
function bdump() {
- return \RectorPrefix20220217\bdump(...func_get_args());
+ return \RectorPrefix20220218\bdump(...func_get_args());
}
}
if (!function_exists('compressJs')) {
function compressJs() {
- return \RectorPrefix20220217\compressJs(...func_get_args());
+ return \RectorPrefix20220218\compressJs(...func_get_args());
}
}
if (!function_exists('compressCss')) {
function compressCss() {
- return \RectorPrefix20220217\compressCss(...func_get_args());
+ return \RectorPrefix20220218\compressCss(...func_get_args());
}
}
diff --git a/vendor/sebastian/diff/src/Chunk.php b/vendor/sebastian/diff/src/Chunk.php
index 4467a842b4d..d43e67c518d 100644
--- a/vendor/sebastian/diff/src/Chunk.php
+++ b/vendor/sebastian/diff/src/Chunk.php
@@ -9,7 +9,7 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\SebastianBergmann\Diff;
+namespace RectorPrefix20220218\SebastianBergmann\Diff;
final class Chunk
{
@@ -70,8 +70,8 @@ final class Chunk
public function setLines(array $lines) : void
{
foreach ($lines as $line) {
- if (!$line instanceof \RectorPrefix20220217\SebastianBergmann\Diff\Line) {
- throw new \RectorPrefix20220217\SebastianBergmann\Diff\InvalidArgumentException();
+ if (!$line instanceof \RectorPrefix20220218\SebastianBergmann\Diff\Line) {
+ throw new \RectorPrefix20220218\SebastianBergmann\Diff\InvalidArgumentException();
}
}
$this->lines = $lines;
diff --git a/vendor/sebastian/diff/src/Diff.php b/vendor/sebastian/diff/src/Diff.php
index 60db421f3a8..845c5fe26b9 100644
--- a/vendor/sebastian/diff/src/Diff.php
+++ b/vendor/sebastian/diff/src/Diff.php
@@ -9,7 +9,7 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\SebastianBergmann\Diff;
+namespace RectorPrefix20220218\SebastianBergmann\Diff;
final class Diff
{
diff --git a/vendor/sebastian/diff/src/Differ.php b/vendor/sebastian/diff/src/Differ.php
index a74d60eb283..3deb27b0370 100644
--- a/vendor/sebastian/diff/src/Differ.php
+++ b/vendor/sebastian/diff/src/Differ.php
@@ -9,7 +9,7 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\SebastianBergmann\Diff;
+namespace RectorPrefix20220218\SebastianBergmann\Diff;
use const PHP_INT_SIZE;
use const PREG_SPLIT_DELIM_CAPTURE;
@@ -32,8 +32,8 @@ use function prev;
use function reset;
use function sprintf;
use function substr;
-use RectorPrefix20220217\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface;
-use RectorPrefix20220217\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder;
+use RectorPrefix20220218\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface;
+use RectorPrefix20220218\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder;
final class Differ
{
public const OLD = 0;
@@ -52,17 +52,17 @@ final class Differ
*/
public function __construct($outputBuilder = null)
{
- if ($outputBuilder instanceof \RectorPrefix20220217\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface) {
+ if ($outputBuilder instanceof \RectorPrefix20220218\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface) {
$this->outputBuilder = $outputBuilder;
} elseif (null === $outputBuilder) {
- $this->outputBuilder = new \RectorPrefix20220217\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder();
+ $this->outputBuilder = new \RectorPrefix20220218\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder();
} elseif (\is_string($outputBuilder)) {
// PHPUnit 6.1.4, 6.2.0, 6.2.1, 6.2.2, and 6.2.3 support
// @see https://github.com/sebastianbergmann/phpunit/issues/2734#issuecomment-314514056
// @deprecated
- $this->outputBuilder = new \RectorPrefix20220217\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder($outputBuilder);
+ $this->outputBuilder = new \RectorPrefix20220218\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder($outputBuilder);
} else {
- throw new \RectorPrefix20220217\SebastianBergmann\Diff\InvalidArgumentException(\sprintf('Expected builder to be an instance of DiffOutputBuilderInterface, or a string, got %s.', \is_object($outputBuilder) ? 'instance of "' . \get_class($outputBuilder) . '"' : \gettype($outputBuilder) . ' "' . $outputBuilder . '"'));
+ throw new \RectorPrefix20220218\SebastianBergmann\Diff\InvalidArgumentException(\sprintf('Expected builder to be an instance of DiffOutputBuilderInterface, or a string, got %s.', \is_object($outputBuilder) ? 'instance of "' . \get_class($outputBuilder) . '"' : \gettype($outputBuilder) . ' "' . $outputBuilder . '"'));
}
}
/**
@@ -71,7 +71,7 @@ final class Differ
* @param array|string $from
* @param array|string $to
*/
- public function diff($from, $to, \RectorPrefix20220217\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator $lcs = null) : string
+ public function diff($from, $to, \RectorPrefix20220218\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator $lcs = null) : string
{
$diff = $this->diffToArray($this->normalizeDiffInput($from), $this->normalizeDiffInput($to), $lcs);
return $this->outputBuilder->getDiff($diff);
@@ -91,17 +91,17 @@ final class Differ
* @param array|string $to
* @param LongestCommonSubsequenceCalculator $lcs
*/
- public function diffToArray($from, $to, \RectorPrefix20220217\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator $lcs = null) : array
+ public function diffToArray($from, $to, \RectorPrefix20220218\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator $lcs = null) : array
{
if (\is_string($from)) {
$from = $this->splitStringByLines($from);
} elseif (!\is_array($from)) {
- throw new \RectorPrefix20220217\SebastianBergmann\Diff\InvalidArgumentException('"from" must be an array or string.');
+ throw new \RectorPrefix20220218\SebastianBergmann\Diff\InvalidArgumentException('"from" must be an array or string.');
}
if (\is_string($to)) {
$to = $this->splitStringByLines($to);
} elseif (!\is_array($to)) {
- throw new \RectorPrefix20220217\SebastianBergmann\Diff\InvalidArgumentException('"to" must be an array or string.');
+ throw new \RectorPrefix20220218\SebastianBergmann\Diff\InvalidArgumentException('"to" must be an array or string.');
}
[$from, $to, $start, $end] = self::getArrayDiffParted($from, $to);
if ($lcs === null) {
@@ -158,7 +158,7 @@ final class Differ
{
return \preg_split('/(.*\\R)/', $input, -1, \PREG_SPLIT_DELIM_CAPTURE | \PREG_SPLIT_NO_EMPTY);
}
- private function selectLcsImplementation(array $from, array $to) : \RectorPrefix20220217\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator
+ private function selectLcsImplementation(array $from, array $to) : \RectorPrefix20220218\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator
{
// We do not want to use the time-efficient implementation if its memory
// footprint will probably exceed this value. Note that the footprint
@@ -166,9 +166,9 @@ final class Differ
// will typically allocate a bit more memory than this.
$memoryLimit = 100 * 1024 * 1024;
if ($this->calculateEstimatedFootprint($from, $to) > $memoryLimit) {
- return new \RectorPrefix20220217\SebastianBergmann\Diff\MemoryEfficientLongestCommonSubsequenceCalculator();
+ return new \RectorPrefix20220218\SebastianBergmann\Diff\MemoryEfficientLongestCommonSubsequenceCalculator();
}
- return new \RectorPrefix20220217\SebastianBergmann\Diff\TimeEfficientLongestCommonSubsequenceCalculator();
+ return new \RectorPrefix20220218\SebastianBergmann\Diff\TimeEfficientLongestCommonSubsequenceCalculator();
}
/**
* Calculates the estimated memory footprint for the DP-based method.
diff --git a/vendor/sebastian/diff/src/Exception/ConfigurationException.php b/vendor/sebastian/diff/src/Exception/ConfigurationException.php
index 84c9f1437e6..0768708a11f 100644
--- a/vendor/sebastian/diff/src/Exception/ConfigurationException.php
+++ b/vendor/sebastian/diff/src/Exception/ConfigurationException.php
@@ -9,14 +9,14 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\SebastianBergmann\Diff;
+namespace RectorPrefix20220218\SebastianBergmann\Diff;
use function get_class;
use function gettype;
use function is_object;
use function sprintf;
use Exception;
-final class ConfigurationException extends \RectorPrefix20220217\SebastianBergmann\Diff\InvalidArgumentException
+final class ConfigurationException extends \RectorPrefix20220218\SebastianBergmann\Diff\InvalidArgumentException
{
public function __construct(string $option, string $expected, $value, int $code = 0, \Exception $previous = null)
{
diff --git a/vendor/sebastian/diff/src/Exception/Exception.php b/vendor/sebastian/diff/src/Exception/Exception.php
index d108d878dd4..e51a067967b 100644
--- a/vendor/sebastian/diff/src/Exception/Exception.php
+++ b/vendor/sebastian/diff/src/Exception/Exception.php
@@ -9,7 +9,7 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\SebastianBergmann\Diff;
+namespace RectorPrefix20220218\SebastianBergmann\Diff;
use Throwable;
interface Exception extends \Throwable
diff --git a/vendor/sebastian/diff/src/Exception/InvalidArgumentException.php b/vendor/sebastian/diff/src/Exception/InvalidArgumentException.php
index ef6c5fbc98c..91d9abefc2c 100644
--- a/vendor/sebastian/diff/src/Exception/InvalidArgumentException.php
+++ b/vendor/sebastian/diff/src/Exception/InvalidArgumentException.php
@@ -9,8 +9,8 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\SebastianBergmann\Diff;
+namespace RectorPrefix20220218\SebastianBergmann\Diff;
-class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20220217\SebastianBergmann\Diff\Exception
+class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20220218\SebastianBergmann\Diff\Exception
{
}
diff --git a/vendor/sebastian/diff/src/Line.php b/vendor/sebastian/diff/src/Line.php
index 44b8d63f29f..99e95b9d282 100644
--- a/vendor/sebastian/diff/src/Line.php
+++ b/vendor/sebastian/diff/src/Line.php
@@ -9,7 +9,7 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\SebastianBergmann\Diff;
+namespace RectorPrefix20220218\SebastianBergmann\Diff;
final class Line
{
diff --git a/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php b/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php
index d32b140ceb0..96ec71ace3e 100644
--- a/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php
+++ b/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php
@@ -9,7 +9,7 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\SebastianBergmann\Diff;
+namespace RectorPrefix20220218\SebastianBergmann\Diff;
interface LongestCommonSubsequenceCalculator
{
diff --git a/vendor/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php b/vendor/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php
index 4e339277e96..bb90c7ee933 100644
--- a/vendor/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php
+++ b/vendor/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php
@@ -9,7 +9,7 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\SebastianBergmann\Diff;
+namespace RectorPrefix20220218\SebastianBergmann\Diff;
use function array_fill;
use function array_merge;
@@ -18,7 +18,7 @@ use function array_slice;
use function count;
use function in_array;
use function max;
-final class MemoryEfficientLongestCommonSubsequenceCalculator implements \RectorPrefix20220217\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator
+final class MemoryEfficientLongestCommonSubsequenceCalculator implements \RectorPrefix20220218\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator
{
/**
* {@inheritdoc}
diff --git a/vendor/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php b/vendor/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php
index 97935532d3c..4d8d624c584 100644
--- a/vendor/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php
+++ b/vendor/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php
@@ -9,10 +9,10 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\SebastianBergmann\Diff\Output;
+namespace RectorPrefix20220218\SebastianBergmann\Diff\Output;
use function count;
-abstract class AbstractChunkOutputBuilder implements \RectorPrefix20220217\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface
+abstract class AbstractChunkOutputBuilder implements \RectorPrefix20220218\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface
{
/**
* Takes input of the diff array and returns the common parts.
diff --git a/vendor/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php b/vendor/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php
index fde41ddebf0..e746c12fc55 100644
--- a/vendor/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php
+++ b/vendor/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php
@@ -9,19 +9,19 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\SebastianBergmann\Diff\Output;
+namespace RectorPrefix20220218\SebastianBergmann\Diff\Output;
use function fclose;
use function fopen;
use function fwrite;
use function stream_get_contents;
use function substr;
-use RectorPrefix20220217\SebastianBergmann\Diff\Differ;
+use RectorPrefix20220218\SebastianBergmann\Diff\Differ;
/**
* Builds a diff string representation in a loose unified diff format
* listing only changes lines. Does not include line numbers.
*/
-final class DiffOnlyOutputBuilder implements \RectorPrefix20220217\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface
+final class DiffOnlyOutputBuilder implements \RectorPrefix20220218\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface
{
/**
* @var string
@@ -41,11 +41,11 @@ final class DiffOnlyOutputBuilder implements \RectorPrefix20220217\SebastianBerg
}
}
foreach ($diff as $diffEntry) {
- if ($diffEntry[1] === \RectorPrefix20220217\SebastianBergmann\Diff\Differ::ADDED) {
+ if ($diffEntry[1] === \RectorPrefix20220218\SebastianBergmann\Diff\Differ::ADDED) {
\fwrite($buffer, '+' . $diffEntry[0]);
- } elseif ($diffEntry[1] === \RectorPrefix20220217\SebastianBergmann\Diff\Differ::REMOVED) {
+ } elseif ($diffEntry[1] === \RectorPrefix20220218\SebastianBergmann\Diff\Differ::REMOVED) {
\fwrite($buffer, '-' . $diffEntry[0]);
- } elseif ($diffEntry[1] === \RectorPrefix20220217\SebastianBergmann\Diff\Differ::DIFF_LINE_END_WARNING) {
+ } elseif ($diffEntry[1] === \RectorPrefix20220218\SebastianBergmann\Diff\Differ::DIFF_LINE_END_WARNING) {
\fwrite($buffer, ' ' . $diffEntry[0]);
continue;
// Warnings should not be tested for line break, it will always be there
diff --git a/vendor/sebastian/diff/src/Output/DiffOutputBuilderInterface.php b/vendor/sebastian/diff/src/Output/DiffOutputBuilderInterface.php
index e12da797a57..6d31f443534 100644
--- a/vendor/sebastian/diff/src/Output/DiffOutputBuilderInterface.php
+++ b/vendor/sebastian/diff/src/Output/DiffOutputBuilderInterface.php
@@ -9,7 +9,7 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\SebastianBergmann\Diff\Output;
+namespace RectorPrefix20220218\SebastianBergmann\Diff\Output;
/**
* Defines how an output builder should take a generated
diff --git a/vendor/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php b/vendor/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php
index ee4107499f5..aed5c53138c 100644
--- a/vendor/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php
+++ b/vendor/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php
@@ -9,7 +9,7 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\SebastianBergmann\Diff\Output;
+namespace RectorPrefix20220218\SebastianBergmann\Diff\Output;
use function array_merge;
use function array_splice;
@@ -25,14 +25,14 @@ use function min;
use function sprintf;
use function stream_get_contents;
use function substr;
-use RectorPrefix20220217\SebastianBergmann\Diff\ConfigurationException;
-use RectorPrefix20220217\SebastianBergmann\Diff\Differ;
+use RectorPrefix20220218\SebastianBergmann\Diff\ConfigurationException;
+use RectorPrefix20220218\SebastianBergmann\Diff\Differ;
/**
* Strict Unified diff output builder.
*
* Generates (strict) Unified diff's (unidiffs) with hunks.
*/
-final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20220217\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface
+final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20220218\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface
{
private static $default = [
'collapseRanges' => \true,
@@ -70,13 +70,13 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20220217\Seba
{
$options = \array_merge(self::$default, $options);
if (!\is_bool($options['collapseRanges'])) {
- throw new \RectorPrefix20220217\SebastianBergmann\Diff\ConfigurationException('collapseRanges', 'a bool', $options['collapseRanges']);
+ throw new \RectorPrefix20220218\SebastianBergmann\Diff\ConfigurationException('collapseRanges', 'a bool', $options['collapseRanges']);
}
if (!\is_int($options['contextLines']) || $options['contextLines'] < 0) {
- throw new \RectorPrefix20220217\SebastianBergmann\Diff\ConfigurationException('contextLines', 'an int >= 0', $options['contextLines']);
+ throw new \RectorPrefix20220218\SebastianBergmann\Diff\ConfigurationException('contextLines', 'an int >= 0', $options['contextLines']);
}
if (!\is_int($options['commonLineThreshold']) || $options['commonLineThreshold'] <= 0) {
- throw new \RectorPrefix20220217\SebastianBergmann\Diff\ConfigurationException('commonLineThreshold', 'an int > 0', $options['commonLineThreshold']);
+ throw new \RectorPrefix20220218\SebastianBergmann\Diff\ConfigurationException('commonLineThreshold', 'an int > 0', $options['commonLineThreshold']);
}
$this->assertString($options, 'fromFile');
$this->assertString($options, 'toFile');
@@ -114,7 +114,7 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20220217\Seba
if (0 === $diff[$upperLimit - 1][1]) {
$lc = \substr($diff[$upperLimit - 1][0], -1);
if ("\n" !== $lc) {
- \array_splice($diff, $upperLimit, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20220217\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]);
+ \array_splice($diff, $upperLimit, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20220218\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]);
}
} else {
// search back for the last `+` and `-` line,
@@ -125,7 +125,7 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20220217\Seba
unset($toFind[$diff[$i][1]]);
$lc = \substr($diff[$i][0], -1);
if ("\n" !== $lc) {
- \array_splice($diff, $i + 1, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20220217\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]);
+ \array_splice($diff, $i + 1, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20220218\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]);
}
if (!\count($toFind)) {
break;
@@ -172,18 +172,18 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20220217\Seba
continue;
}
$sameCount = 0;
- if ($entry[1] === \RectorPrefix20220217\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) {
+ if ($entry[1] === \RectorPrefix20220218\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) {
continue;
}
$this->changed = \true;
if (\false === $hunkCapture) {
$hunkCapture = $i;
}
- if (\RectorPrefix20220217\SebastianBergmann\Diff\Differ::ADDED === $entry[1]) {
+ if (\RectorPrefix20220218\SebastianBergmann\Diff\Differ::ADDED === $entry[1]) {
// added
++$toRange;
}
- if (\RectorPrefix20220217\SebastianBergmann\Diff\Differ::REMOVED === $entry[1]) {
+ if (\RectorPrefix20220218\SebastianBergmann\Diff\Differ::REMOVED === $entry[1]) {
// removed
++$fromRange;
}
@@ -213,15 +213,15 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20220217\Seba
}
\fwrite($output, " @@\n");
for ($i = $diffStartIndex; $i < $diffEndIndex; ++$i) {
- if ($diff[$i][1] === \RectorPrefix20220217\SebastianBergmann\Diff\Differ::ADDED) {
+ if ($diff[$i][1] === \RectorPrefix20220218\SebastianBergmann\Diff\Differ::ADDED) {
$this->changed = \true;
\fwrite($output, '+' . $diff[$i][0]);
- } elseif ($diff[$i][1] === \RectorPrefix20220217\SebastianBergmann\Diff\Differ::REMOVED) {
+ } elseif ($diff[$i][1] === \RectorPrefix20220218\SebastianBergmann\Diff\Differ::REMOVED) {
$this->changed = \true;
\fwrite($output, '-' . $diff[$i][0]);
- } elseif ($diff[$i][1] === \RectorPrefix20220217\SebastianBergmann\Diff\Differ::OLD) {
+ } elseif ($diff[$i][1] === \RectorPrefix20220218\SebastianBergmann\Diff\Differ::OLD) {
\fwrite($output, ' ' . $diff[$i][0]);
- } elseif ($diff[$i][1] === \RectorPrefix20220217\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) {
+ } elseif ($diff[$i][1] === \RectorPrefix20220218\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) {
$this->changed = \true;
\fwrite($output, $diff[$i][0]);
}
@@ -235,13 +235,13 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20220217\Seba
private function assertString(array $options, string $option) : void
{
if (!\is_string($options[$option])) {
- throw new \RectorPrefix20220217\SebastianBergmann\Diff\ConfigurationException($option, 'a string', $options[$option]);
+ throw new \RectorPrefix20220218\SebastianBergmann\Diff\ConfigurationException($option, 'a string', $options[$option]);
}
}
private function assertStringOrNull(array $options, string $option) : void
{
if (null !== $options[$option] && !\is_string($options[$option])) {
- throw new \RectorPrefix20220217\SebastianBergmann\Diff\ConfigurationException($option, 'a string or ', $options[$option]);
+ throw new \RectorPrefix20220218\SebastianBergmann\Diff\ConfigurationException($option, 'a string or ', $options[$option]);
}
}
}
diff --git a/vendor/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php b/vendor/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php
index b7cdb2a75f3..7966bc133e3 100644
--- a/vendor/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php
+++ b/vendor/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php
@@ -9,7 +9,7 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\SebastianBergmann\Diff\Output;
+namespace RectorPrefix20220218\SebastianBergmann\Diff\Output;
use function array_splice;
use function count;
@@ -21,11 +21,11 @@ use function min;
use function stream_get_contents;
use function strlen;
use function substr;
-use RectorPrefix20220217\SebastianBergmann\Diff\Differ;
+use RectorPrefix20220218\SebastianBergmann\Diff\Differ;
/**
* Builds a diff string representation in unified diff format in chunks.
*/
-final class UnifiedDiffOutputBuilder extends \RectorPrefix20220217\SebastianBergmann\Diff\Output\AbstractChunkOutputBuilder
+final class UnifiedDiffOutputBuilder extends \RectorPrefix20220218\SebastianBergmann\Diff\Output\AbstractChunkOutputBuilder
{
/**
* @var bool
@@ -78,7 +78,7 @@ final class UnifiedDiffOutputBuilder extends \RectorPrefix20220217\SebastianBerg
if (0 === $diff[$upperLimit - 1][1]) {
$lc = \substr($diff[$upperLimit - 1][0], -1);
if ("\n" !== $lc) {
- \array_splice($diff, $upperLimit, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20220217\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]);
+ \array_splice($diff, $upperLimit, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20220218\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]);
}
} else {
// search back for the last `+` and `-` line,
@@ -89,7 +89,7 @@ final class UnifiedDiffOutputBuilder extends \RectorPrefix20220217\SebastianBerg
unset($toFind[$diff[$i][1]]);
$lc = \substr($diff[$i][0], -1);
if ("\n" !== $lc) {
- \array_splice($diff, $i + 1, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20220217\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]);
+ \array_splice($diff, $i + 1, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20220218\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]);
}
if (!\count($toFind)) {
break;
@@ -136,16 +136,16 @@ final class UnifiedDiffOutputBuilder extends \RectorPrefix20220217\SebastianBerg
continue;
}
$sameCount = 0;
- if ($entry[1] === \RectorPrefix20220217\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) {
+ if ($entry[1] === \RectorPrefix20220218\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) {
continue;
}
if (\false === $hunkCapture) {
$hunkCapture = $i;
}
- if (\RectorPrefix20220217\SebastianBergmann\Diff\Differ::ADDED === $entry[1]) {
+ if (\RectorPrefix20220218\SebastianBergmann\Diff\Differ::ADDED === $entry[1]) {
++$toRange;
}
- if (\RectorPrefix20220217\SebastianBergmann\Diff\Differ::REMOVED === $entry[1]) {
+ if (\RectorPrefix20220218\SebastianBergmann\Diff\Differ::REMOVED === $entry[1]) {
++$fromRange;
}
}
@@ -178,13 +178,13 @@ final class UnifiedDiffOutputBuilder extends \RectorPrefix20220217\SebastianBerg
\fwrite($output, "@@ @@\n");
}
for ($i = $diffStartIndex; $i < $diffEndIndex; ++$i) {
- if ($diff[$i][1] === \RectorPrefix20220217\SebastianBergmann\Diff\Differ::ADDED) {
+ if ($diff[$i][1] === \RectorPrefix20220218\SebastianBergmann\Diff\Differ::ADDED) {
\fwrite($output, '+' . $diff[$i][0]);
- } elseif ($diff[$i][1] === \RectorPrefix20220217\SebastianBergmann\Diff\Differ::REMOVED) {
+ } elseif ($diff[$i][1] === \RectorPrefix20220218\SebastianBergmann\Diff\Differ::REMOVED) {
\fwrite($output, '-' . $diff[$i][0]);
- } elseif ($diff[$i][1] === \RectorPrefix20220217\SebastianBergmann\Diff\Differ::OLD) {
+ } elseif ($diff[$i][1] === \RectorPrefix20220218\SebastianBergmann\Diff\Differ::OLD) {
\fwrite($output, ' ' . $diff[$i][0]);
- } elseif ($diff[$i][1] === \RectorPrefix20220217\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) {
+ } elseif ($diff[$i][1] === \RectorPrefix20220218\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) {
\fwrite($output, "\n");
// $diff[$i][0]
} else {
diff --git a/vendor/sebastian/diff/src/Parser.php b/vendor/sebastian/diff/src/Parser.php
index be946a13816..f4b7ad6fb88 100644
--- a/vendor/sebastian/diff/src/Parser.php
+++ b/vendor/sebastian/diff/src/Parser.php
@@ -9,7 +9,7 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\SebastianBergmann\Diff;
+namespace RectorPrefix20220218\SebastianBergmann\Diff;
use function array_pop;
use function count;
@@ -41,7 +41,7 @@ final class Parser
$diffs[] = $diff;
$collected = [];
}
- $diff = new \RectorPrefix20220217\SebastianBergmann\Diff\Diff($fromMatch['file'], $toMatch['file']);
+ $diff = new \RectorPrefix20220218\SebastianBergmann\Diff\Diff($fromMatch['file'], $toMatch['file']);
++$i;
} else {
if (\preg_match('/^(?:diff --git |index [\\da-f\\.]+|[+-]{3} [ab])/', $lines[$i])) {
@@ -56,26 +56,26 @@ final class Parser
}
return $diffs;
}
- private function parseFileDiff(\RectorPrefix20220217\SebastianBergmann\Diff\Diff $diff, array $lines) : void
+ private function parseFileDiff(\RectorPrefix20220218\SebastianBergmann\Diff\Diff $diff, array $lines) : void
{
$chunks = [];
$chunk = null;
$diffLines = [];
foreach ($lines as $line) {
if (\preg_match('/^@@\\s+-(?P\\d+)(?:,\\s*(?P\\d+))?\\s+\\+(?P\\d+)(?:,\\s*(?P\\d+))?\\s+@@/', $line, $match)) {
- $chunk = new \RectorPrefix20220217\SebastianBergmann\Diff\Chunk((int) $match['start'], isset($match['startrange']) ? \max(1, (int) $match['startrange']) : 1, (int) $match['end'], isset($match['endrange']) ? \max(1, (int) $match['endrange']) : 1);
+ $chunk = new \RectorPrefix20220218\SebastianBergmann\Diff\Chunk((int) $match['start'], isset($match['startrange']) ? \max(1, (int) $match['startrange']) : 1, (int) $match['end'], isset($match['endrange']) ? \max(1, (int) $match['endrange']) : 1);
$chunks[] = $chunk;
$diffLines = [];
continue;
}
if (\preg_match('/^(?P[+ -])?(?P.*)/', $line, $match)) {
- $type = \RectorPrefix20220217\SebastianBergmann\Diff\Line::UNCHANGED;
+ $type = \RectorPrefix20220218\SebastianBergmann\Diff\Line::UNCHANGED;
if ($match['type'] === '+') {
- $type = \RectorPrefix20220217\SebastianBergmann\Diff\Line::ADDED;
+ $type = \RectorPrefix20220218\SebastianBergmann\Diff\Line::ADDED;
} elseif ($match['type'] === '-') {
- $type = \RectorPrefix20220217\SebastianBergmann\Diff\Line::REMOVED;
+ $type = \RectorPrefix20220218\SebastianBergmann\Diff\Line::REMOVED;
}
- $diffLines[] = new \RectorPrefix20220217\SebastianBergmann\Diff\Line($type, $match['line']);
+ $diffLines[] = new \RectorPrefix20220218\SebastianBergmann\Diff\Line($type, $match['line']);
if (null !== $chunk) {
$chunk->setLines($diffLines);
}
diff --git a/vendor/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php b/vendor/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php
index ad11822a30f..4b6de7f1638 100644
--- a/vendor/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php
+++ b/vendor/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php
@@ -9,13 +9,13 @@ declare (strict_types=1);
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\SebastianBergmann\Diff;
+namespace RectorPrefix20220218\SebastianBergmann\Diff;
use function array_reverse;
use function count;
use function max;
use SplFixedArray;
-final class TimeEfficientLongestCommonSubsequenceCalculator implements \RectorPrefix20220217\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator
+final class TimeEfficientLongestCommonSubsequenceCalculator implements \RectorPrefix20220218\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator
{
/**
* {@inheritdoc}
diff --git a/vendor/ssch/typo3-rector/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/Code/ClassAliasMap.php
index f4d43ebca7c..a710fd71e92 100644
--- a/vendor/ssch/typo3-rector/Migrations/Code/ClassAliasMap.php
+++ b/vendor/ssch/typo3-rector/Migrations/Code/ClassAliasMap.php
@@ -1,5 +1,5 @@
'TYPO3\\CMS\\About\\Controller\\AboutController', 'Tx_About_Domain_Model_Extension' => 'TYPO3\\CMS\\About\\Domain\\Model\\Extension', 'Tx_About_Domain_Repository_ExtensionRepository' => 'TYPO3\\CMS\\About\\Domain\\Repository\\ExtensionRepository', 'Tx_Aboutmodules_Controller_ModulesController' => 'TYPO3\\CMS\\Aboutmodules\\Controller\\ModulesController', 'AjaxLogin' => 'TYPO3\\CMS\\Backend\\AjaxLoginHandler', 'clickMenu' => 'TYPO3\\CMS\\Backend\\ClickMenu\\ClickMenu', 't3lib_cli' => 'TYPO3\\CMS\\Core\\Controller\\CommandLineController', 't3lib_clipboard' => 'TYPO3\\CMS\\Backend\\Clipboard\\Clipboard', 't3lib_transl8tools' => 'TYPO3\\CMS\\Backend\\Configuration\\TranslationConfigurationProvider', 't3lib_TSparser' => 'TYPO3\\CMS\\Core\\TypoScript\\Parser\\TypoScriptParser', 't3lib_TSparser_TSconfig' => 'TYPO3\\CMS\\Backend\\Configuration\\TsConfigParser', 't3lib_matchCondition_backend' => 'TYPO3\\CMS\\Backend\\Configuration\\TypoScript\\ConditionMatching\\ConditionMatcher', 't3lib_contextmenu_AbstractContextMenu' => 'TYPO3\\CMS\\Backend\\ContextMenu\\AbstractContextMenu', 't3lib_contextmenu_AbstractDataProvider' => 'TYPO3\\CMS\\Backend\\ContextMenu\\AbstractContextMenuDataProvider', 't3lib_contextmenu_Action' => 'TYPO3\\CMS\\Backend\\ContextMenu\\ContextMenuAction', 't3lib_contextmenu_ActionCollection' => 'TYPO3\\CMS\\Backend\\ContextMenu\\ContextMenuActionCollection', 't3lib_contextmenu_extdirect_ContextMenu' => 'TYPO3\\CMS\\Backend\\ContextMenu\\Extdirect\\AbstractExtdirectContextMenu', 't3lib_contextmenu_pagetree_DataProvider' => 'TYPO3\\CMS\\Backend\\ContextMenu\\Pagetree\\ContextMenuDataProvider', 't3lib_contextmenu_pagetree_extdirect_ContextMenu' => 'TYPO3\\CMS\\Backend\\ContextMenu\\Pagetree\\Extdirect\\ContextMenuConfiguration', 't3lib_contextmenu_renderer_Abstract' => 'TYPO3\\CMS\\Backend\\ContextMenu\\Renderer\\AbstractContextMenuRenderer', 't3lib_extMgm' => 'TYPO3\\CMS\\Core\\Utility\\ExtensionManagementUtility', 'TYPO3backend' => 'TYPO3\\CMS\\Backend\\Controller\\BackendController', 'SC_wizard_backend_layout' => 'TYPO3\\CMS\\Backend\\Controller\\BackendLayoutWizardController', 'SC_alt_clickmenu' => 'TYPO3\\CMS\\Backend\\Controller\\ClickMenuController', 'SC_show_rechis' => 'TYPO3\\CMS\\Backend\\Controller\\ContentElement\\ElementHistoryController', 'SC_show_item' => 'TYPO3\\CMS\\Backend\\Controller\\ContentElement\\ElementInformationController', 'SC_move_el' => 'TYPO3\\CMS\\Backend\\Controller\\ContentElement\\MoveElementController', 'SC_db_new_content_el' => 'TYPO3\\CMS\\Backend\\Controller\\ContentElement\\NewContentElementController', 'SC_db_layout' => 'TYPO3\\CMS\\Backend\\Controller\\PageLayoutController', 'SC_dummy' => 'TYPO3\\CMS\\Backend\\Controller\\DummyController', 'SC_alt_doc' => 'TYPO3\\CMS\\Backend\\Controller\\EditDocumentController', 'SC_file_newfolder' => 'TYPO3\\CMS\\Backend\\Controller\\File\\CreateFolderController', 'SC_file_edit' => 'TYPO3\\CMS\\Backend\\Controller\\File\\EditFileController', 'TYPO3_tcefile' => 'TYPO3\\CMS\\Backend\\Controller\\File\\FileController', 'SC_file_upload' => 'TYPO3\\CMS\\Backend\\Controller\\File\\FileUploadController', 'SC_file_rename' => 'TYPO3\\CMS\\Backend\\Controller\\File\\RenameFileController', 'SC_alt_file_navframe' => 'TYPO3\\CMS\\Backend\\Controller\\FileSystemNavigationFrameController', 'SC_listframe_loader' => 'TYPO3\\CMS\\Backend\\Controller\\ListFrameLoaderController', 'SC_index' => 'TYPO3\\CMS\\Backend\\Controller\\LoginController', 'SC_login_frameset' => 'TYPO3\\CMS\\Backend\\Controller\\LoginFramesetController', 'SC_logout' => 'TYPO3\\CMS\\Backend\\Controller\\LogoutController', 'SC_db_new' => 'TYPO3\\CMS\\Backend\\Controller\\NewRecordController', 'SC_alt_db_navframe' => 'TYPO3\\CMS\\Backend\\Controller\\PageTreeNavigationController', 'SC_tce_db' => 'TYPO3\\CMS\\Backend\\Controller\\SimpleDataHandlerController', 'SC_wizard_add' => 'TYPO3\\CMS\\Backend\\Controller\\Wizard\\AddController', 'SC_wizard_colorpicker' => 'TYPO3\\CMS\\Backend\\Controller\\Wizard\\ColorpickerController', 'SC_wizard_edit' => 'TYPO3\\CMS\\Backend\\Controller\\Wizard\\EditController', 'SC_wizard_forms' => 'TYPO3\\CMS\\Compatibility6\\Controller\\Wizard\\FormsController', 'SC_wizard_list' => 'TYPO3\\CMS\\Backend\\Controller\\Wizard\\ListController', 'SC_wizard_rte' => 'TYPO3\\CMS\\Backend\\Controller\\Wizard\\RteController', 'SC_wizard_table' => 'TYPO3\\CMS\\Backend\\Controller\\Wizard\\TableController', 't3lib_tceformsInlineHook' => 'TYPO3\\CMS\\Backend\\Form\\Element\\InlineElementHookInterface', 't3lib_TCEforms_dbFileIconsHook' => 'TYPO3\\CMS\\Backend\\Form\\DatabaseFileIconsHookInterface', 't3lib_TCEforms_Suggest' => 'TYPO3\\CMS\\Backend\\Form\\Wizard\\SuggestWizard', 't3lib_TCEforms_Suggest_DefaultReceiver' => 'TYPO3\\CMS\\Backend\\Form\\Wizard\\SuggestWizardDefaultReceiver', 't3lib_TCEforms_ValueSlider' => 'TYPO3\\CMS\\Backend\\Form\\Wizard\\ValueSliderWizard', 't3lib_tsfeBeUserAuth' => 'TYPO3\\CMS\\Backend\\FrontendBackendUserAuthentication', 'recordHistory' => 'TYPO3\\CMS\\Backend\\History\\RecordHistory', 'extDirect_DataProvider_State' => 'TYPO3\\CMS\\Backend\\InterfaceState\\ExtDirect\\DataProvider', 't3lib_extobjbase' => 'TYPO3\\CMS\\Backend\\Module\\AbstractFunctionModule', 't3lib_SCbase' => 'TYPO3\\CMS\\Backend\\Module\\BaseScriptClass', 't3lib_loadModules' => 'TYPO3\\CMS\\Backend\\Module\\ModuleLoader', 'Typo3_ModuleStorage' => 'TYPO3\\CMS\\Backend\\Module\\ModuleStorage', 't3lib_modSettings' => 'TYPO3\\CMS\\Backend\\ModuleSettings', 't3lib_recordList' => 'TYPO3\\CMS\\Backend\\RecordList\\AbstractRecordList', 'TBE_browser_recordList' => 'TYPO3\\CMS\\Backend\\RecordList\\ElementBrowserRecordList', 't3lib_localRecordListGetTableHook' => 'TYPO3\\CMS\\Backend\\RecordList\\RecordListGetTableHookInterface', 't3lib_search_liveSearch' => 'TYPO3\\CMS\\Backend\\Search\\LiveSearch\\LiveSearch', 't3lib_search_liveSearch_queryParser' => 'TYPO3\\CMS\\Backend\\Search\\LiveSearch\\QueryParser', 't3lib_spritemanager_AbstractHandler' => 'TYPO3\\CMS\\Backend\\Sprite\\AbstractSpriteHandler', 't3lib_spritemanager_SimpleHandler' => 'TYPO3\\CMS\\Backend\\Sprite\\SimpleSpriteHandler', 't3lib_spritemanager_SpriteBuildingHandler' => 'TYPO3\\CMS\\Backend\\Sprite\\SpriteBuildingHandler', 't3lib_spritemanager_SpriteGenerator' => 'TYPO3\\CMS\\Backend\\Sprite\\SpriteGenerator', 't3lib_spritemanager_SpriteIconGenerator' => 'TYPO3\\CMS\\Backend\\Sprite\\SpriteIconGeneratorInterface', 't3lib_SpriteManager' => 'TYPO3\\CMS\\Backend\\Sprite\\SpriteManager', 'template' => 'TYPO3\\CMS\\Backend\\Template\\DocumentTemplate', 'frontendDoc' => 'TYPO3\\CMS\\Compatibility6\\Template\\FrontendDocumentTemplate', 'TYPO3\\CMS\\Backend\\Template\\FrontendDocumentTemplate' => 'TYPO3\\CMS\\Compatibility6\\Template\\FrontendDocumentTemplate', 't3lib_tree_ExtDirect_AbstractExtJsTree' => 'TYPO3\\CMS\\Backend\\Tree\\AbstractExtJsTree', 't3lib_tree_AbstractTree' => 'TYPO3\\CMS\\Backend\\Tree\\AbstractTree', 't3lib_tree_AbstractDataProvider' => 'TYPO3\\CMS\\Backend\\Tree\\AbstractTreeDataProvider', 't3lib_tree_AbstractStateProvider' => 'TYPO3\\CMS\\Backend\\Tree\\AbstractTreeStateProvider', 't3lib_tree_ComparableNode' => 'TYPO3\\CMS\\Backend\\Tree\\ComparableNodeInterface', 't3lib_tree_DraggableAndDropable' => 'TYPO3\\CMS\\Backend\\Tree\\DraggableAndDropableNodeInterface', 't3lib_tree_LabelEditable' => 'TYPO3\\CMS\\Backend\\Tree\\EditableNodeLabelInterface', 't3lib_tree_extdirect_Node' => 'TYPO3\\CMS\\Backend\\Tree\\ExtDirectNode', 't3lib_tree_pagetree_interfaces_CollectionProcessor' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\CollectionProcessorInterface', 't3lib_tree_pagetree_Commands' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\Commands', 't3lib_tree_pagetree_DataProvider' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\DataProvider', 't3lib_tree_pagetree_extdirect_Commands' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\ExtdirectTreeCommands', 't3lib_tree_pagetree_extdirect_Tree' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\ExtdirectTreeDataProvider', 't3lib_tree_pagetree_Indicator' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\Indicator', 't3lib_tree_pagetree_interfaces_IndicatorProvider' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\IndicatorProviderInterface', 't3lib_tree_pagetree_Node' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\PagetreeNode', 't3lib_tree_pagetree_NodeCollection' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\PagetreeNodeCollection', 't3lib_tree_Renderer_Abstract' => 'TYPO3\\CMS\\Backend\\Tree\\Renderer\\AbstractTreeRenderer', 't3lib_tree_Renderer_ExtJsJson' => 'TYPO3\\CMS\\Backend\\Tree\\Renderer\\ExtJsJsonTreeRenderer', 't3lib_tree_Renderer_UnorderedList' => 'TYPO3\\CMS\\Backend\\Tree\\Renderer\\UnorderedListTreeRenderer', 't3lib_tree_SortedNodeCollection' => 'TYPO3\\CMS\\Backend\\Tree\\SortedTreeNodeCollection', 't3lib_tree_Node' => 'TYPO3\\CMS\\Backend\\Tree\\TreeNode', 't3lib_tree_NodeCollection' => 'TYPO3\\CMS\\Backend\\Tree\\TreeNodeCollection', 't3lib_tree_RepresentationNode' => 'TYPO3\\CMS\\Backend\\Tree\\TreeRepresentationNode', 't3lib_treeView' => 'TYPO3\\CMS\\Backend\\Tree\\View\\AbstractTreeView', 't3lib_browseTree' => 'TYPO3\\CMS\\Backend\\Tree\\View\\BrowseTreeView', 't3lib_folderTree' => 'TYPO3\\CMS\\Backend\\Tree\\View\\FolderTreeView', 't3lib_positionMap' => 'TYPO3\\CMS\\Backend\\Tree\\View\\PagePositionMap', 't3lib_pageTree' => 'TYPO3\\CMS\\Backend\\Tree\\View\\PageTreeView', 't3lib_BEfunc' => 'TYPO3\\CMS\\Backend\\Utility\\BackendUtility', 't3lib_iconWorks' => 'TYPO3\\CMS\\Backend\\Utility\\IconUtility', 'tx_cms_BackendLayout' => 'TYPO3\\CMS\\Backend\\View\\BackendLayoutView', 'ModuleMenu' => 'TYPO3\\CMS\\Backend\\View\\ModuleMenuView', 'tx_cms_layout' => 'TYPO3\\CMS\\Backend\\View\\PageLayoutView', 'tx_cms_layout_tt_content_drawItemHook' => 'TYPO3\\CMS\\Backend\\View\\PageLayoutViewDrawItemHookInterface', 'webPageTree' => 'TYPO3\\CMS\\Backend\\View\\PageTreeView', 'SC_t3lib_thumbs' => 'TYPO3\\CMS\\Backend\\View\\ThumbnailView', 'TYPO3Logo' => 'TYPO3\\CMS\\Backend\\View\\LogoView', 'cms_newContentElementWizardsHook' => 'TYPO3\\CMS\\Backend\\Wizard\\NewContentElementWizardHookInterface', 't3lib_extjs_ExtDirectRouter' => 'TYPO3\\CMS\\Core\\ExtDirect\\ExtDirectRouter', 't3lib_extjs_ExtDirectApi' => 'TYPO3\\CMS\\Core\\ExtDirect\\ExtDirectApi', 't3lib_extjs_ExtDirectDebug' => 'TYPO3\\CMS\\Core\\ExtDirect\\ExtDirectDebug', 't3lib_userAuth' => 'TYPO3\\CMS\\Core\\Authentication\\AbstractUserAuthentication', 't3lib_beUserAuth' => 'TYPO3\\CMS\\Core\\Authentication\\BackendUserAuthentication', 't3lib_cache_backend_AbstractBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\AbstractBackend', 't3lib_cache_backend_ApcBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\ApcBackend', 't3lib_cache_backend_Backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\BackendInterface', 't3lib_cache_backend_FileBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\FileBackend', 't3lib_cache_backend_MemcachedBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\MemcachedBackend', 't3lib_cache_backend_NullBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\NullBackend', 't3lib_cache_backend_PdoBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\PdoBackend', 't3lib_cache_backend_PhpCapableBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\PhpCapableBackendInterface', 't3lib_cache_backend_RedisBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend', 't3lib_cache_backend_TransientMemoryBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\TransientMemoryBackend', 't3lib_cache_backend_DbBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend', 't3lib_cache_Factory' => 'TYPO3\\CMS\\Core\\Cache\\CacheFactory', 't3lib_cache_Manager' => 'TYPO3\\CMS\\Core\\Cache\\CacheManager', 't3lib_cache_Exception' => 'TYPO3\\CMS\\Core\\Cache\\Exception', 't3lib_cache_exception_ClassAlreadyLoaded' => 'TYPO3\\CMS\\Core\\Cache\\Exception\\ClassAlreadyLoadedException', 't3lib_cache_exception_DuplicateIdentifier' => 'TYPO3\\CMS\\Core\\Cache\\Exception\\DuplicateIdentifierException', 't3lib_cache_exception_InvalidBackend' => 'TYPO3\\CMS\\Core\\Cache\\Exception\\InvalidBackendException', 't3lib_cache_exception_InvalidCache' => 'TYPO3\\CMS\\Core\\Cache\\Exception\\InvalidCacheException', 't3lib_cache_exception_InvalidData' => 'TYPO3\\CMS\\Core\\Cache\\Exception\\InvalidDataException', 't3lib_cache_exception_NoSuchCache' => 'TYPO3\\CMS\\Core\\Cache\\Exception\\NoSuchCacheException', 't3lib_cache_frontend_AbstractFrontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\AbstractFrontend', 't3lib_cache_frontend_Frontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\FrontendInterface', 't3lib_cache_frontend_PhpFrontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\PhpFrontend', 't3lib_cache_frontend_StringFrontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\StringFrontend', 't3lib_cache_frontend_VariableFrontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\VariableFrontend', 't3lib_cs' => 'TYPO3\\CMS\\Core\\Charset\\CharsetConverter', 't3lib_collection_AbstractRecordCollection' => 'TYPO3\\CMS\\Core\\Collection\\AbstractRecordCollection', 't3lib_collection_Collection' => 'TYPO3\\CMS\\Core\\Collection\\CollectionInterface', 't3lib_collection_Editable' => 'TYPO3\\CMS\\Core\\Collection\\EditableCollectionInterface', 't3lib_collection_Nameable' => 'TYPO3\\CMS\\Core\\Collection\\NameableCollectionInterface', 't3lib_collection_Persistable' => 'TYPO3\\CMS\\Core\\Collection\\PersistableCollectionInterface', 't3lib_collection_RecordCollection' => 'TYPO3\\CMS\\Core\\Collection\\RecordCollectionInterface', 't3lib_collection_RecordCollectionRepository' => 'TYPO3\\CMS\\Core\\Collection\\RecordCollectionRepository', 't3lib_collection_Sortable' => 'TYPO3\\CMS\\Core\\Collection\\SortableCollectionInterface', 't3lib_collection_StaticRecordCollection' => 'TYPO3\\CMS\\Core\\Collection\\StaticRecordCollection', 't3lib_flexformtools' => 'TYPO3\\CMS\\Core\\Configuration\\FlexForm\\FlexFormTools', 't3lib_matchCondition_abstract' => 'TYPO3\\CMS\\Core\\Configuration\\TypoScript\\ConditionMatching\\AbstractConditionMatcher', 't3lib_DB' => 'TYPO3\\CMS\\Core\\Database\\DatabaseConnection', 't3lib_DB_postProcessQueryHook' => 'TYPO3\\CMS\\Core\\Database\\PostProcessQueryHookInterface', 't3lib_DB_preProcessQueryHook' => 'TYPO3\\CMS\\Core\\Database\\PreProcessQueryHookInterface', 't3lib_PdoHelper' => 'TYPO3\\CMS\\Core\\Database\\PdoHelper', 't3lib_db_PreparedStatement' => 'TYPO3\\CMS\\Core\\Database\\PreparedStatement', 't3lib_queryGenerator' => 'TYPO3\\CMS\\Core\\Database\\QueryGenerator', 't3lib_fullsearch' => 'TYPO3\\CMS\\Core\\Database\\QueryView', 't3lib_refindex' => 'TYPO3\\CMS\\Core\\Database\\ReferenceIndex', 't3lib_loadDBGroup' => 'TYPO3\\CMS\\Core\\Database\\RelationHandler', 't3lib_softrefproc' => 'TYPO3\\CMS\\Core\\Database\\SoftReferenceIndex', 't3lib_sqlparser' => 'TYPO3\\CMS\\Dbal\\Database\\SqlParser', 'TYPO3\\CMS\\Core\\Database\\SqlParser' => 'TYPO3\\CMS\\Dbal\\Database\\SqlParser', 't3lib_extTables_PostProcessingHook' => 'TYPO3\\CMS\\Core\\Database\\TableConfigurationPostProcessingHookInterface', 't3lib_TCEmain' => 'TYPO3\\CMS\\Core\\DataHandling\\DataHandler', 't3lib_TCEmain_checkModifyAccessListHook' => 'TYPO3\\CMS\\Core\\DataHandling\\DataHandlerCheckModifyAccessListHookInterface', 't3lib_TCEmain_processUploadHook' => 'TYPO3\\CMS\\Core\\DataHandling\\DataHandlerProcessUploadHookInterface', 't3lib_codec_JavaScriptEncoder' => 'TYPO3\\CMS\\Core\\Encoder\\JavaScriptEncoder', 't3lib_error_AbstractExceptionHandler' => 'TYPO3\\CMS\\Core\\Error\\AbstractExceptionHandler', 't3lib_error_DebugExceptionHandler' => 'TYPO3\\CMS\\Core\\Error\\DebugExceptionHandler', 't3lib_error_ErrorHandler' => 'TYPO3\\CMS\\Core\\Error\\ErrorHandler', 't3lib_error_ErrorHandlerInterface' => 'TYPO3\\CMS\\Core\\Error\\ErrorHandlerInterface', 't3lib_error_Exception' => 'TYPO3\\CMS\\Core\\Error\\Exception', 't3lib_error_ExceptionHandlerInterface' => 'TYPO3\\CMS\\Core\\Error\\ExceptionHandlerInterface', 't3lib_error_http_AbstractClientErrorException' => 'TYPO3\\CMS\\Core\\Error\\Http\\AbstractClientErrorException', 't3lib_error_http_AbstractServerErrorException' => 'TYPO3\\CMS\\Core\\Error\\Http\\AbstractServerErrorException', 't3lib_error_http_BadRequestException' => 'TYPO3\\CMS\\Core\\Error\\Http\\BadRequestException', 't3lib_error_http_ForbiddenException' => 'TYPO3\\CMS\\Core\\Error\\Http\\ForbiddenException', 't3lib_error_http_PageNotFoundException' => 'TYPO3\\CMS\\Core\\Error\\Http\\PageNotFoundException', 't3lib_error_http_ServiceUnavailableException' => 'TYPO3\\CMS\\Core\\Error\\Http\\ServiceUnavailableException', 't3lib_error_http_StatusException' => 'TYPO3\\CMS\\Core\\Error\\Http\\StatusException', 't3lib_error_http_UnauthorizedException' => 'TYPO3\\CMS\\Core\\Error\\Http\\UnauthorizedException', 't3lib_error_ProductionExceptionHandler' => 'TYPO3\\CMS\\Core\\Error\\ProductionExceptionHandler', 't3lib_exception' => 'TYPO3\\CMS\\Core\\Exception', 't3lib_formprotection_Abstract' => 'TYPO3\\CMS\\Core\\FormProtection\\AbstractFormProtection', 't3lib_formprotection_BackendFormProtection' => 'TYPO3\\CMS\\Core\\FormProtection\\BackendFormProtection', 't3lib_formprotection_DisabledFormProtection' => 'TYPO3\\CMS\\Core\\FormProtection\\DisabledFormProtection', 't3lib_formprotection_InvalidTokenException' => 'TYPO3\\CMS\\Core\\FormProtection\\Exception', 't3lib_formprotection_Factory' => 'TYPO3\\CMS\\Core\\FormProtection\\FormProtectionFactory', 't3lib_formprotection_InstallToolFormProtection' => 'TYPO3\\CMS\\Core\\FormProtection\\InstallToolFormProtection', 't3lib_frontendedit' => 'TYPO3\\CMS\\Core\\FrontendEditing\\FrontendEditingController', 't3lib_parsehtml' => 'TYPO3\\CMS\\Core\\Html\\HtmlParser', 't3lib_parsehtml_proc' => 'TYPO3\\CMS\\Core\\Html\\RteHtmlParser', 'TYPO3AJAX' => 'TYPO3\\CMS\\Core\\Http\\AjaxRequestHandler', 't3lib_http_Request' => 'TYPO3\\CMS\\Core\\Http\\HttpRequest', 't3lib_http_observer_Download' => 'TYPO3\\CMS\\Core\\Http\\Observer\\Download', 't3lib_stdGraphic' => 'TYPO3\\CMS\\Core\\Imaging\\GraphicalFunctions', 't3lib_admin' => 'TYPO3\\CMS\\Core\\Integrity\\DatabaseIntegrityCheck', 't3lib_l10n_exception_FileNotFound' => 'TYPO3\\CMS\\Core\\Localization\\Exception\\FileNotFoundException', 't3lib_l10n_exception_InvalidParser' => 'TYPO3\\CMS\\Core\\Localization\\Exception\\InvalidParserException', 't3lib_l10n_exception_InvalidXmlFile' => 'TYPO3\\CMS\\Core\\Localization\\Exception\\InvalidXmlFileException', 't3lib_l10n_Store' => 'TYPO3\\CMS\\Core\\Localization\\LanguageStore', 't3lib_l10n_Locales' => 'TYPO3\\CMS\\Core\\Localization\\Locales', 't3lib_l10n_Factory' => 'TYPO3\\CMS\\Core\\Localization\\LocalizationFactory', 't3lib_l10n_parser_AbstractXml' => 'TYPO3\\CMS\\Core\\Localization\\Parser\\AbstractXmlParser', 't3lib_l10n_parser' => 'TYPO3\\CMS\\Core\\Localization\\Parser\\LocalizationParserInterface', 't3lib_l10n_parser_Llphp' => 'TYPO3\\CMS\\Core\\Localization\\Parser\\LocallangArrayParser', 't3lib_l10n_parser_Llxml' => 'TYPO3\\CMS\\Core\\Localization\\Parser\\LocallangXmlParser', 't3lib_l10n_parser_Xliff' => 'TYPO3\\CMS\\Core\\Localization\\Parser\\XliffParser', 't3lib_lock' => 'TYPO3\\CMS\\Core\\Locking\\Locker', 't3lib_mail_Mailer' => 'TYPO3\\CMS\\Core\\Mail\\Mailer', 't3lib_mail_MailerAdapter' => 'TYPO3\\CMS\\Core\\Mail\\MailerAdapterInterface', 't3lib_mail_Message' => 'TYPO3\\CMS\\Core\\Mail\\MailMessage', 't3lib_mail_MboxTransport' => 'TYPO3\\CMS\\Core\\Mail\\MboxTransport', 't3lib_mail_Rfc822AddressesParser' => 'TYPO3\\CMS\\Core\\Mail\\Rfc822AddressesParser', 't3lib_message_AbstractMessage' => 'TYPO3\\CMS\\Core\\Messaging\\AbstractMessage', 't3lib_message_AbstractStandaloneMessage' => 'TYPO3\\CMS\\Core\\Messaging\\AbstractStandaloneMessage', 't3lib_message_ErrorpageMessage' => 'TYPO3\\CMS\\Core\\Messaging\\ErrorpageMessage', 't3lib_FlashMessage' => 'TYPO3\\CMS\\Core\\Messaging\\FlashMessage', 't3lib_FlashMessageQueue' => 'TYPO3\\CMS\\Core\\Messaging\\FlashMessageQueue', 't3lib_PageRenderer' => 'TYPO3\\CMS\\Core\\Page\\PageRenderer', 't3lib_Registry' => 'TYPO3\\CMS\\Core\\Registry', 't3lib_Compressor' => 'TYPO3\\CMS\\Core\\Resource\\ResourceCompressor', 't3lib_svbase' => 'TYPO3\\CMS\\Core\\Service\\AbstractService', 't3lib_Singleton' => 'TYPO3\\CMS\\Core\\SingletonInterface', 't3lib_TimeTrackNull' => 'TYPO3\\CMS\\Core\\TimeTracker\\NullTimeTracker', 't3lib_timeTrack' => 'TYPO3\\CMS\\Core\\TimeTracker\\TimeTracker', 't3lib_tree_Tca_AbstractTcaTreeDataProvider' => 'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\AbstractTableConfigurationTreeDataProvider', 't3lib_tree_Tca_DatabaseTreeDataProvider' => 'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\DatabaseTreeDataProvider', 't3lib_tree_Tca_DatabaseNode' => 'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\DatabaseTreeNode', 't3lib_tree_Tca_ExtJsArrayRenderer' => 'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\ExtJsArrayTreeRenderer', 't3lib_tree_Tca_TcaTree' => 'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\TableConfigurationTree', 't3lib_tree_Tca_DataProviderFactory' => 'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\TreeDataProviderFactory', 't3lib_tsStyleConfig' => 'TYPO3\\CMS\\Core\\TypoScript\\ConfigurationForm', 't3lib_tsparser_ext' => 'TYPO3\\CMS\\Core\\TypoScript\\ExtendedTemplateService', 't3lib_TStemplate' => 'TYPO3\\CMS\\Core\\TypoScript\\TemplateService', 't3lib_utility_Array' => 'TYPO3\\CMS\\Core\\Utility\\ArrayUtility', 't3lib_utility_Client' => 'TYPO3\\CMS\\Core\\Utility\\ClientUtility', 't3lib_exec' => 'TYPO3\\CMS\\Core\\Utility\\CommandUtility', 't3lib_utility_Command' => 'TYPO3\\CMS\\Core\\Utility\\CommandUtility', 't3lib_utility_Debug' => 'TYPO3\\CMS\\Core\\Utility\\DebugUtility', 't3lib_diff' => 'TYPO3\\CMS\\Core\\Utility\\DiffUtility', 't3lib_basicFileFunctions' => 'TYPO3\\CMS\\Core\\Utility\\File\\BasicFileUtility', 't3lib_extFileFunctions' => 'TYPO3\\CMS\\Core\\Utility\\File\\ExtendedFileUtility', 't3lib_extFileFunctions_processDataHook' => 'TYPO3\\CMS\\Core\\Utility\\File\\ExtendedFileUtilityProcessDataHookInterface', 't3lib_div' => 'TYPO3\\CMS\\Core\\Utility\\GeneralUtility', 't3lib_utility_Http' => 'TYPO3\\CMS\\Core\\Utility\\HttpUtility', 't3lib_utility_Mail' => 'TYPO3\\CMS\\Core\\Utility\\MailUtility', 't3lib_utility_Math' => 'TYPO3\\CMS\\Core\\Utility\\MathUtility', 't3lib_utility_Monitor' => 'TYPO3\\CMS\\Core\\Utility\\MonitorUtility', 't3lib_utility_Path' => 'TYPO3\\CMS\\Core\\Utility\\PathUtility', 't3lib_utility_PhpOptions' => 'TYPO3\\CMS\\Core\\Utility\\PhpOptionsUtility', 't3lib_utility_VersionNumber' => 'TYPO3\\CMS\\Core\\Utility\\VersionNumberUtility', 'tx_cssstyledcontent_pi1' => 'TYPO3\\CMS\\CssStyledContent\\Controller\\CssStyledContentController', 'tx_dbal_module1' => 'TYPO3\\CMS\\Dbal\\Controller\\ModuleController', 'tx_dbal_querycache' => 'TYPO3\\CMS\\Dbal\\QueryCache', 'ux_t3lib_DB' => 'TYPO3\\CMS\\Dbal\\Database\\DatabaseConnection', 'ux_t3lib_sqlparser' => 'TYPO3\\CMS\\Dbal\\Database\\SqlParser', 'ux_localRecordList' => 'TYPO3\\CMS\\Dbal\\RecordList\\DatabaseRecordList', 'Tx_Extbase_Command_HelpCommandController' => 'TYPO3\\CMS\\Extbase\\Command\\HelpCommandController', 'Tx_Extbase_Configuration_AbstractConfigurationManager' => 'TYPO3\\CMS\\Extbase\\Configuration\\AbstractConfigurationManager', 'Tx_Extbase_Configuration_BackendConfigurationManager' => 'TYPO3\\CMS\\Extbase\\Configuration\\BackendConfigurationManager', 'Tx_Extbase_Configuration_ConfigurationManager' => 'TYPO3\\CMS\\Extbase\\Configuration\\ConfigurationManager', 'Tx_Extbase_Configuration_ConfigurationManagerInterface' => 'TYPO3\\CMS\\Extbase\\Configuration\\ConfigurationManagerInterface', 'Tx_Extbase_Configuration_Exception' => 'TYPO3\\CMS\\Extbase\\Configuration\\Exception', 'Tx_Extbase_Configuration_Exception_ContainerIsLocked' => 'TYPO3\\CMS\\Extbase\\Configuration\\Exception\\ContainerIsLockedException', 'Tx_Extbase_Configuration_Exception_InvalidConfigurationType' => 'TYPO3\\CMS\\Extbase\\Configuration\\Exception\\InvalidConfigurationTypeException', 'Tx_Extbase_Configuration_Exception_NoSuchFile' => 'TYPO3\\CMS\\Extbase\\Configuration\\Exception\\NoSuchFileException', 'Tx_Extbase_Configuration_Exception_NoSuchOption' => 'TYPO3\\CMS\\Extbase\\Configuration\\Exception\\NoSuchOptionException', 'Tx_Extbase_Configuration_Exception_ParseError' => 'TYPO3\\CMS\\Extbase\\Configuration\\Exception\\ParseErrorException', 'Tx_Extbase_Configuration_FrontendConfigurationManager' => 'TYPO3\\CMS\\Extbase\\Configuration\\FrontendConfigurationManager', 'Tx_Extbase_Core_Bootstrap' => 'TYPO3\\CMS\\Extbase\\Core\\Bootstrap', 'Tx_Extbase_Core_BootstrapInterface' => 'TYPO3\\CMS\\Extbase\\Core\\BootstrapInterface', 'Tx_Extbase_Domain_Model_AbstractFileCollection' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\AbstractFileCollection', 'Tx_Extbase_Domain_Model_AbstractFileFolder' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\AbstractFileFolder', 'Tx_Extbase_Domain_Model_BackendUser' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\BackendUser', 'Tx_Extbase_Domain_Model_BackendUserGroup' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\BackendUserGroup', 'Tx_Extbase_Domain_Model_Category' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\Category', 'Tx_Extbase_Domain_Model_File' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\File', 'Tx_Extbase_Domain_Model_FileMount' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\FileMount', 'Tx_Extbase_Domain_Model_FileReference' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\FileReference', 'Tx_Extbase_Domain_Model_Folder' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\Folder', 'Tx_Extbase_Domain_Model_FolderBasedFileCollection' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\FolderBasedFileCollection', 'Tx_Extbase_Domain_Model_FrontendUser' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\FrontendUser', 'Tx_Extbase_Domain_Model_FrontendUserGroup' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\FrontendUserGroup', 'Tx_Extbase_Domain_Model_StaticFileCollection' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\StaticFileCollection', 'Tx_Extbase_Domain_Repository_BackendUserRepository' => 'TYPO3\\CMS\\Extbase\\Domain\\Repository\\BackendUserGroupRepository', 'Tx_Extbase_Domain_Repository_BackendUserGroupRepository' => 'TYPO3\\CMS\\Extbase\\Domain\\Repository\\BackendUserGroupRepository', 'Tx_Extbase_Domain_Repository_CategoryRepository' => 'TYPO3\\CMS\\Extbase\\Domain\\Repository\\CategoryRepository', 'Tx_Extbase_Domain_Repository_FileMountRepository' => 'TYPO3\\CMS\\Extbase\\Domain\\Repository\\FileMountRepository', 'Tx_Extbase_Domain_Repository_FrontendUserGroupRepository' => 'TYPO3\\CMS\\Extbase\\Domain\\Repository\\FrontendUserGroupRepository', 'Tx_Extbase_Domain_Repository_FrontendUserRepository' => 'TYPO3\\CMS\\Extbase\\Domain\\Repository\\FrontendUserRepository', 'Tx_Extbase_DomainObject_AbstractDomainObject' => 'TYPO3\\CMS\\Extbase\\DomainObject\\AbstractDomainObject', 'Tx_Extbase_DomainObject_AbstractEntity' => 'TYPO3\\CMS\\Extbase\\DomainObject\\AbstractEntity', 'Tx_Extbase_DomainObject_AbstractValueObject' => 'TYPO3\\CMS\\Extbase\\DomainObject\\AbstractValueObject', 'Tx_Extbase_DomainObject_DomainObjectInterface' => 'TYPO3\\CMS\\Extbase\\DomainObject\\DomainObjectInterface', 'Tx_Extbase_Error_Error' => 'TYPO3\\CMS\\Extbase\\Error\\Error', 'Tx_Extbase_Error_Message' => 'TYPO3\\CMS\\Extbase\\Error\\Message', 'Tx_Extbase_Error_Notice' => 'TYPO3\\CMS\\Extbase\\Error\\Notice', 'Tx_Extbase_Error_Result' => 'TYPO3\\CMS\\Extbase\\Error\\Result', 'Tx_Extbase_Error_Warning' => 'TYPO3\\CMS\\Extbase\\Error\\Warning', 'Tx_Extbase_Exception' => 'TYPO3\\CMS\\Extbase\\Exception', 'Tx_Extbase_MVC_CLI_Command' => 'TYPO3\\CMS\\Extbase\\Mvc\\Cli\\Command', 'Tx_Extbase_MVC_CLI_CommandArgumentDefinition' => 'TYPO3\\CMS\\Extbase\\Mvc\\Cli\\CommandArgumentDefinition', 'Tx_Extbase_MVC_CLI_CommandManager' => 'TYPO3\\CMS\\Extbase\\Mvc\\Cli\\CommandManager', 'Tx_Extbase_MVC_CLI_Request' => 'TYPO3\\CMS\\Extbase\\Mvc\\Cli\\Request', 'Tx_Extbase_MVC_CLI_RequestBuilder' => 'TYPO3\\CMS\\Extbase\\Mvc\\Cli\\RequestBuilder', 'Tx_Extbase_MVC_CLI_RequestHandler' => 'TYPO3\\CMS\\Extbase\\Mvc\\Cli\\RequestHandler', 'Tx_Extbase_MVC_CLI_Response' => 'TYPO3\\CMS\\Extbase\\Mvc\\Cli\\Response', 'Tx_Extbase_MVC_Controller_AbstractController' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\AbstractController', 'Tx_Extbase_MVC_Controller_ActionController' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\ActionController', 'Tx_Extbase_MVC_Controller_Argument' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\Argument', 'Tx_Extbase_MVC_Controller_Arguments' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\Arguments', 'Tx_Extbase_MVC_Controller_CommandController' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\CommandController', 'Tx_Extbase_MVC_Controller_CommandControllerInterface' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\CommandControllerInterface', 'Tx_Extbase_MVC_Controller_ControllerContext' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\ControllerContext', 'Tx_Extbase_MVC_Controller_ControllerInterface' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\ControllerInterface', 'Tx_Extbase_MVC_Controller_Exception_RequiredArgumentMissingException' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\Exception\\RequiredArgumentMissingException', 'Tx_Extbase_MVC_Controller_MvcPropertyMappingConfiguration' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\MvcPropertyMappingConfiguration', 'Tx_Extbase_MVC_Dispatcher' => 'TYPO3\\CMS\\Extbase\\Mvc\\Dispatcher', 'Tx_Extbase_MVC_Exception' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception', 'Tx_Extbase_MVC_Exception_AmbiguousCommandIdentifier' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\AmbiguousCommandIdentifierException', 'Tx_Extbase_MVC_Exception_Command' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\CommandException', 'Tx_Extbase_MVC_Exception_InfiniteLoop' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InfiniteLoopException', 'Tx_Extbase_MVC_Exception_InvalidActionName' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidActionNameException', 'Tx_Extbase_MVC_Exception_InvalidArgumentMixing' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidArgumentMixingException', 'Tx_Extbase_MVC_Exception_InvalidArgumentName' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidArgumentNameException', 'Tx_Extbase_MVC_Exception_InvalidArgumentType' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidArgumentTypeException', 'Tx_Extbase_MVC_Exception_InvalidArgumentValue' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidArgumentValueException', 'Tx_Extbase_MVC_Exception_InvalidCommandIdentifier' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidCommandIdentifierException', 'Tx_Extbase_MVC_Exception_InvalidController' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidControllerException', 'Tx_Extbase_MVC_Exception_InvalidControllerName' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidControllerNameException', 'Tx_Extbase_MVC_Exception_InvalidExtensionName' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidExtensionNameException', 'Tx_Extbase_MVC_Exception_InvalidMarker' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidMarkerException', 'Tx_Extbase_MVC_Exception_InvalidOrNoRequestHash' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidOrNoRequestHashException', 'Tx_Extbase_MVC_Exception_InvalidRequestMethod' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidRequestMethodException', 'Tx_Extbase_MVC_Exception_InvalidRequestType' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidRequestTypeException', 'Tx_Extbase_MVC_Exception_InvalidTemplateResource' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidTemplateResourceException', 'Tx_Extbase_MVC_Exception_InvalidUriPattern' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidUriPatternException', 'Tx_Extbase_MVC_Exception_InvalidViewHelper' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidViewHelperException', 'Tx_Extbase_MVC_Exception_NoSuchAction' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\NoSuchActionException', 'Tx_Extbase_MVC_Exception_NoSuchArgument' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\NoSuchArgumentException', 'Tx_Extbase_MVC_Exception_NoSuchCommand' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\NoSuchCommandException', 'Tx_Extbase_MVC_Exception_NoSuchController' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\NoSuchControllerException', 'Tx_Extbase_MVC_Exception_RequiredArgumentMissing' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\RequiredArgumentMissingException', 'Tx_Extbase_MVC_Exception_StopAction' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\StopActionException', 'Tx_Extbase_MVC_Exception_UnsupportedRequestType' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\UnsupportedRequestTypeException', 'Tx_Extbase_MVC_Request' => 'TYPO3\\CMS\\Extbase\\Mvc\\Request', 'Tx_Extbase_MVC_RequestHandlerInterface' => 'TYPO3\\CMS\\Extbase\\Mvc\\RequestHandlerInterface', 'Tx_Extbase_MVC_RequestHandlerResolver' => 'TYPO3\\CMS\\Extbase\\Mvc\\RequestHandlerResolver', 'Tx_Extbase_MVC_RequestInterface' => 'TYPO3\\CMS\\Extbase\\Mvc\\RequestInterface', 'Tx_Extbase_MVC_Response' => 'TYPO3\\CMS\\Extbase\\Mvc\\Response', 'Tx_Extbase_MVC_ResponseInterface' => 'TYPO3\\CMS\\Extbase\\Mvc\\ResponseInterface', 'Tx_Extbase_MVC_View_AbstractView' => 'TYPO3\\CMS\\Extbase\\Mvc\\View\\AbstractView', 'Tx_Extbase_MVC_View_EmptyView' => 'TYPO3\\CMS\\Extbase\\Mvc\\View\\EmptyView', 'Tx_Extbase_MVC_View_NotFoundView' => 'TYPO3\\CMS\\Extbase\\Mvc\\View\\NotFoundView', 'Tx_Extbase_MVC_View_ViewInterface' => 'TYPO3\\CMS\\Extbase\\Mvc\\View\\ViewInterface', 'Tx_Extbase_MVC_Web_AbstractRequestHandler' => 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\AbstractRequestHandler', 'Tx_Extbase_MVC_Web_BackendRequestHandler' => 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\BackendRequestHandler', 'Tx_Extbase_MVC_Web_FrontendRequestHandler' => 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\FrontendRequestHandler', 'Tx_Extbase_MVC_Web_Request' => 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Request', 'Tx_Extbase_MVC_Web_RequestBuilder' => 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\RequestBuilder', 'Tx_Extbase_MVC_Web_Response' => 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Response', 'Tx_Extbase_MVC_Web_Routing_UriBuilder' => 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Routing\\UriBuilder', 'Tx_Extbase_Object_Container_ClassInfo' => 'TYPO3\\CMS\\Extbase\\Object\\Container\\ClassInfo', 'Tx_Extbase_Object_Container_ClassInfoCache' => 'TYPO3\\CMS\\Extbase\\Object\\Container\\ClassInfoCache', 'Tx_Extbase_Object_Container_ClassInfoFactory' => 'TYPO3\\CMS\\Extbase\\Object\\Container\\ClassInfoFactory', 'Tx_Extbase_Object_Container_Container' => 'TYPO3\\CMS\\Extbase\\Object\\Container\\Container', 'Tx_Extbase_Object_Container_Exception_CannotInitializeCacheException' => 'TYPO3\\CMS\\Extbase\\Object\\Container\\Exception\\CannotInitializeCacheException', 'Tx_Extbase_Object_Container_Exception_TooManyRecursionLevelsException' => 'TYPO3\\CMS\\Extbase\\Object\\Container\\Exception\\TooManyRecursionLevelsException', 'Tx_Extbase_Object_Container_Exception_UnknownObjectException' => 'TYPO3\\CMS\\Extbase\\Object\\Container\\Exception\\UnknownObjectException', 'Tx_Extbase_Object_Exception' => 'TYPO3\\CMS\\Extbase\\Object\\Exception', 'Tx_Extbase_Object_Exception_CannotBuildObject' => 'TYPO3\\CMS\\Extbase\\Object\\Exception\\CannotBuildObjectException', 'Tx_Extbase_Object_Exception_CannotReconstituteObject' => 'TYPO3\\CMS\\Extbase\\Object\\Exception\\CannotReconstituteObjectException', 'Tx_Extbase_Object_Exception_WrongScope' => 'TYPO3\\CMS\\Extbase\\Object\\Exception\\WrongScopeException', 'Tx_Extbase_Object_InvalidClass' => 'TYPO3\\CMS\\Extbase\\Object\\InvalidClassException', 'Tx_Extbase_Object_InvalidObjectConfiguration' => 'TYPO3\\CMS\\Extbase\\Object\\InvalidObjectConfigurationException', 'Tx_Extbase_Object_InvalidObject' => 'TYPO3\\CMS\\Extbase\\Object\\InvalidObjectException', 'Tx_Extbase_Object_ObjectAlreadyRegistered' => 'TYPO3\\CMS\\Extbase\\Object\\ObjectAlreadyRegisteredException', 'Tx_Extbase_Object_ObjectManager' => 'TYPO3\\CMS\\Extbase\\Object\\ObjectManager', 'Tx_Extbase_Object_ObjectManagerInterface' => 'TYPO3\\CMS\\Extbase\\Object\\ObjectManagerInterface', 'Tx_Extbase_Object_UnknownClass' => 'TYPO3\\CMS\\Extbase\\Object\\UnknownClassException', 'Tx_Extbase_Object_UnknownInterface' => 'TYPO3\\CMS\\Extbase\\Object\\UnknownInterfaceException', 'Tx_Extbase_Object_UnresolvedDependencies' => 'TYPO3\\CMS\\Extbase\\Object\\UnresolvedDependenciesException', 'Tx_Extbase_Persistence_Backend' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Backend', 'Tx_Extbase_Persistence_BackendInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\BackendInterface', 'Tx_Extbase_Persistence_Exception' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception', 'Tx_Extbase_Persistence_Exception_CleanStateNotMemorized' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\CleanStateNotMemorizedException', 'Tx_Extbase_Persistence_Exception_IllegalObjectType' => 'TYPO3\\CMS\\Extbase\\Persistence\\Exception\\IllegalObjectTypeException', 'Tx_Extbase_Persistence_Exception_InvalidClass' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\InvalidClassException', 'Tx_Extbase_Persistence_Exception_InvalidNumberOfConstraints' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\InvalidNumberOfConstraintsException', 'Tx_Extbase_Persistence_Exception_InvalidPropertyType' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\InvalidPropertyTypeException', 'Tx_Extbase_Persistence_Exception_MissingBackend' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\MissingBackendException', 'Tx_Extbase_Persistence_Exception_RepositoryException' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\RepositoryException', 'Tx_Extbase_Persistence_Exception_TooDirty' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\TooDirtyException', 'Tx_Extbase_Persistence_Exception_UnexpectedTypeException' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\UnexpectedTypeException', 'Tx_Extbase_Persistence_Exception_UnknownObject' => 'TYPO3\\CMS\\Extbase\\Persistence\\Exception\\UnknownObjectException', 'Tx_Extbase_Persistence_Exception_UnsupportedMethod' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\UnsupportedMethodException', 'Tx_Extbase_Persistence_Exception_UnsupportedOrder' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\UnsupportedOrderException', 'Tx_Extbase_Persistence_Exception_UnsupportedRelation' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\UnsupportedRelationException', 'Tx_Extbase_Persistence_Generic_Exception_InconsistentQuerySettings' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\InconsistentQuerySettingsException', 'Tx_Extbase_Persistence_LazyLoadingProxy' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\LazyLoadingProxy', 'Tx_Extbase_Persistence_LazyObjectStorage' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\LazyObjectStorage', 'Tx_Extbase_Persistence_LoadingStrategyInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\LoadingStrategyInterface', 'Tx_Extbase_Persistence_Mapper_ColumnMap' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Mapper\\ColumnMap', 'Tx_Extbase_Persistence_Mapper_DataMap' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Mapper\\DataMap', 'Tx_Extbase_Persistence_Mapper_DataMapFactory' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Mapper\\DataMapFactory', 'Tx_Extbase_Persistence_Mapper_DataMapper' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Mapper\\DataMapper', 'Tx_Extbase_Persistence_ObjectMonitoringInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\ObjectMonitoringInterface', 'Tx_Extbase_Persistence_ObjectStorage' => 'TYPO3\\CMS\\Extbase\\Persistence\\ObjectStorage', 'Tx_Extbase_Persistence_Manager' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\PersistenceManager', 'Tx_Extbase_Persistence_PersistenceManagerInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\PersistenceManagerInterface', 'Tx_Extbase_Persistence_ManagerInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\PersistenceManagerInterface', 'Tx_Extbase_Persistence_PropertyType' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\PropertyType', 'Tx_Extbase_Persistence_QOM_AndInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\AndInterface', 'Tx_Extbase_Persistence_QOM_BindVariableValue' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\BindVariableValue', 'Tx_Extbase_Persistence_QOM_BindVariableValueInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\BindVariableValueInterface', 'Tx_Extbase_Persistence_QOM_Comparison' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\Comparison', 'Tx_Extbase_Persistence_QOM_ComparisonInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\ComparisonInterface', 'Tx_Extbase_Persistence_QOM_ConstraintInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\ConstraintInterface', 'Tx_Extbase_Persistence_QOM_DynamicOperandInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\DynamicOperandInterface', 'Tx_Extbase_Persistence_QOM_EquiJoinCondition' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\EquiJoinCondition', 'Tx_Extbase_Persistence_QOM_EquiJoinConditionInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\EquiJoinConditionInterface', 'Tx_Extbase_Persistence_QOM_Join' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\Join', 'Tx_Extbase_Persistence_QOM_JoinConditionInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\JoinConditionInterface', 'Tx_Extbase_Persistence_QOM_JoinInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\JoinInterface', 'Tx_Extbase_Persistence_QOM_LogicalAnd' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\LogicalAnd', 'Tx_Extbase_Persistence_QOM_LogicalNot' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\LogicalNot', 'Tx_Extbase_Persistence_QOM_LogicalOr' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\LogicalOr', 'Tx_Extbase_Persistence_QOM_LowerCase' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\LowerCase', 'Tx_Extbase_Persistence_QOM_LowerCaseInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\LowerCaseInterface', 'Tx_Extbase_Persistence_QOM_NotInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\NotInterface', 'Tx_Extbase_Persistence_QOM_OperandInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\OperandInterface', 'Tx_Extbase_Persistence_QOM_Ordering' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\Ordering', 'Tx_Extbase_Persistence_QOM_OrderingInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\OrderingInterface', 'Tx_Extbase_Persistence_QOM_OrInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\OrInterface', 'Tx_Extbase_Persistence_QOM_PropertyValue' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\PropertyValue', 'Tx_Extbase_Persistence_QOM_PropertyValueInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\PropertyValueInterface', 'Tx_Extbase_Persistence_QOM_QueryObjectModelFactory' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\QueryObjectModelFactory', 'Tx_Extbase_Persistence_QOM_Selector' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\Selector', 'Tx_Extbase_Persistence_QOM_SelectorInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\SelectorInterface', 'Tx_Extbase_Persistence_QOM_SourceInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\SourceInterface', 'Tx_Extbase_Persistence_QOM_Statement' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\Statement', 'Tx_Extbase_Persistence_QOM_StaticOperandInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\StaticOperandInterface', 'Tx_Extbase_Persistence_QOM_UpperCase' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\UpperCase', 'Tx_Extbase_Persistence_QOM_UpperCaseInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\UpperCaseInterface', 'Tx_Extbase_Persistence_Query' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Query', 'Tx_Extbase_Persistence_QueryFactory' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QueryFactory', 'Tx_Extbase_Persistence_QueryFactoryInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QueryFactoryInterface', 'Tx_Extbase_Persistence_QueryInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\QueryInterface', 'Tx_Extbase_Persistence_QueryResult' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QueryResult', 'Tx_Extbase_Persistence_QueryResultInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\QueryResultInterface', 'Tx_Extbase_Persistence_QuerySettingsInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QuerySettingsInterface', 'Tx_Extbase_Persistence_Repository' => 'TYPO3\\CMS\\Extbase\\Persistence\\Repository', 'Tx_Extbase_Persistence_RepositoryInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\RepositoryInterface', 'Tx_Extbase_Persistence_Session' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Session', 'Tx_Extbase_Persistence_Storage_BackendInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Storage\\BackendInterface', 'Tx_Extbase_Persistence_Storage_Exception_BadConstraint' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Storage\\Exception\\BadConstraintException', 'Tx_Extbase_Persistence_Storage_Exception_SqlError' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Storage\\Exception\\SqlErrorException', 'Tx_Extbase_Persistence_Storage_Typo3DbBackend' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Storage\\Typo3DbBackend', 'Tx_Extbase_Persistence_Typo3QuerySettings' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Typo3QuerySettings', 'Tx_Extbase_Property_Exception' => 'TYPO3\\CMS\\Extbase\\Property\\Exception', 'Tx_Extbase_Property_Exception_DuplicateObjectException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\DuplicateObjectException', 'Tx_Extbase_Property_Exception_DuplicateTypeConverterException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\DuplicateTypeConverterException', 'Tx_Extbase_Property_Exception_FormatNotSupportedException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\FormatNotSupportedException', 'Tx_Extbase_Property_Exception_InvalidDataTypeException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\InvalidDataTypeException', 'Tx_Extbase_Property_Exception_InvalidFormatException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\InvalidFormatException', 'Tx_Extbase_Property_Exception_InvalidPropertyException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\InvalidPropertyException', 'Tx_Extbase_Property_Exception_InvalidPropertyMappingConfigurationException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\InvalidPropertyMappingConfigurationException', 'Tx_Extbase_Property_Exception_InvalidSource' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\InvalidSourceException', 'Tx_Extbase_Property_Exception_InvalidSourceException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\InvalidSourceException', 'Tx_Extbase_Property_Exception_InvalidTarget' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\InvalidTargetException', 'Tx_Extbase_Property_Exception_InvalidTargetException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\InvalidTargetException', 'Tx_Extbase_Property_Exception_TargetNotFoundException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\TargetNotFoundException', 'Tx_Extbase_Property_Exception_TypeConverterException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\TypeConverterException', 'Tx_Extbase_Property_PropertyMapper' => 'TYPO3\\CMS\\Extbase\\Property\\PropertyMapper', 'Tx_Extbase_Property_PropertyMappingConfiguration' => 'TYPO3\\CMS\\Extbase\\Property\\PropertyMappingConfiguration', 'Tx_Extbase_Property_PropertyMappingConfigurationBuilder' => 'TYPO3\\CMS\\Extbase\\Property\\PropertyMappingConfigurationBuilder', 'Tx_Extbase_Property_PropertyMappingConfigurationInterface' => 'TYPO3\\CMS\\Extbase\\Property\\PropertyMappingConfigurationInterface', 'Tx_Extbase_Property_TypeConverter_AbstractFileCollectionConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\AbstractFileCollectionConverter', 'Tx_Extbase_Property_TypeConverter_AbstractFileFolderConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\AbstractFileFolderConverter', 'Tx_Extbase_Property_TypeConverter_AbstractTypeConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\AbstractTypeConverter', 'Tx_Extbase_Property_TypeConverter_ArrayConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\ArrayConverter', 'Tx_Extbase_Property_TypeConverter_BooleanConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\BooleanConverter', 'Tx_Extbase_Property_TypeConverter_DateTimeConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\DateTimeConverter', 'Tx_Extbase_Property_TypeConverter_FileConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\FileConverter', 'Tx_Extbase_Property_TypeConverter_FileReferenceConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\FileReferenceConverter', 'Tx_Extbase_Property_TypeConverter_FloatConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\FloatConverter', 'Tx_Extbase_Property_TypeConverter_FolderBasedFileCollectionConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\FolderBasedFileCollectionConverter', 'Tx_Extbase_Property_TypeConverter_FolderConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\FolderConverter', 'Tx_Extbase_Property_TypeConverter_IntegerConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\IntegerConverter', 'Tx_Extbase_Property_TypeConverter_ObjectStorageConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\ObjectStorageConverter', 'Tx_Extbase_Property_TypeConverter_PersistentObjectConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\PersistentObjectConverter', 'Tx_Extbase_Property_TypeConverter_StaticFileCollectionConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\StaticFileCollectionConverter', 'Tx_Extbase_Property_TypeConverter_StringConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\StringConverter', 'Tx_Extbase_Property_TypeConverterInterface' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverterInterface', 'Tx_Extbase_Reflection_ClassReflection' => 'TYPO3\\CMS\\Extbase\\Reflection\\ClassReflection', 'Tx_Extbase_Reflection_ClassSchema' => 'TYPO3\\CMS\\Extbase\\Reflection\\ClassSchema', 'Tx_Extbase_Reflection_DocCommentParser' => 'TYPO3\\CMS\\Extbase\\Reflection\\DocCommentParser', 'Tx_Extbase_Reflection_Exception' => 'TYPO3\\CMS\\Extbase\\Reflection\\Exception', 'Tx_Extbase_Reflection_Exception_InvalidPropertyType' => 'TYPO3\\CMS\\Extbase\\Reflection\\Exception\\InvalidPropertyTypeException', 'Tx_Extbase_Reflection_Exception_PropertyNotAccessibleException' => 'TYPO3\\CMS\\Extbase\\Reflection\\Exception\\PropertyNotAccessibleException', 'Tx_Extbase_Reflection_Exception_UnknownClass' => 'TYPO3\\CMS\\Extbase\\Reflection\\Exception\\UnknownClassException', 'Tx_Extbase_Reflection_MethodReflection' => 'TYPO3\\CMS\\Extbase\\Reflection\\MethodReflection', 'Tx_Extbase_Reflection_ObjectAccess' => 'TYPO3\\CMS\\Extbase\\Reflection\\ObjectAccess', 'Tx_Extbase_Reflection_ParameterReflection' => 'TYPO3\\CMS\\Extbase\\Reflection\\ParameterReflection', 'Tx_Extbase_Reflection_PropertyReflection' => 'TYPO3\\CMS\\Extbase\\Reflection\\PropertyReflection', 'Tx_Extbase_Reflection_Service' => 'TYPO3\\CMS\\Extbase\\Reflection\\ReflectionService', 'Tx_Extbase_Scheduler_FieldProvider' => 'TYPO3\\CMS\\Extbase\\Scheduler\\FieldProvider', 'Tx_Extbase_Scheduler_Task' => 'TYPO3\\CMS\\Extbase\\Scheduler\\Task', 'Tx_Extbase_Scheduler_TaskExecutor' => 'TYPO3\\CMS\\Extbase\\Scheduler\\TaskExecutor', 'Tx_Extbase_Security_Cryptography_HashService' => 'TYPO3\\CMS\\Extbase\\Security\\Cryptography\\HashService', 'Tx_Extbase_Security_Exception' => 'TYPO3\\CMS\\Extbase\\Security\\Exception', 'Tx_Extbase_Security_Exception_InvalidArgumentForHashGeneration' => 'TYPO3\\CMS\\Extbase\\Security\\Exception\\InvalidArgumentForHashGenerationException', 'Tx_Extbase_Security_Exception_InvalidArgumentForRequestHashGeneration' => 'TYPO3\\CMS\\Extbase\\Security\\Exception\\InvalidArgumentForRequestHashGenerationException', 'Tx_Extbase_Security_Exception_InvalidHash' => 'TYPO3\\CMS\\Extbase\\Security\\Exception\\InvalidHashException', 'Tx_Extbase_Security_Exception_SyntacticallyWrongRequestHash' => 'TYPO3\\CMS\\Extbase\\Security\\Exception\\SyntacticallyWrongRequestHashException', 'Tx_Extbase_Service_CacheService' => 'TYPO3\\CMS\\Extbase\\Service\\CacheService', 'Tx_Extbase_Service_ExtensionService' => 'TYPO3\\CMS\\Extbase\\Service\\ExtensionService', 'Tx_Extbase_Service_FlexFormService' => 'TYPO3\\CMS\\Extbase\\Service\\FlexFormService', 'Tx_Extbase_Service_TypoScriptService' => 'TYPO3\\CMS\\Extbase\\Service\\TypoScriptService', 'Tx_Extbase_SignalSlot_Dispatcher' => 'TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher', 'Tx_Extbase_SignalSlot_Exception_InvalidSlotException' => 'TYPO3\\CMS\\Extbase\\SignalSlot\\Exception\\InvalidSlotException', 'Tx_Extbase_Tests_Unit_BaseTestCase' => 'TYPO3\\CMS\\Core\\Tests\\UnitTestCase', 'TYPO3\\CMS\\Extbase\\Tests\\Unit\\BaseTestCase' => 'TYPO3\\CMS\\Core\\Tests\\UnitTestCase', 'Tx_Extbase_Utility_Arrays' => 'TYPO3\\CMS\\Extbase\\Utility\\ArrayUtility', 'Tx_Extbase_Utility_Debugger' => 'TYPO3\\CMS\\Extbase\\Utility\\DebuggerUtility', 'Tx_Extbase_Utility_ExtbaseRequirementsCheck' => 'TYPO3\\CMS\\Extbase\\Utility\\ExtbaseRequirementsCheckUtility', 'Tx_Extbase_Utility_Extension' => 'TYPO3\\CMS\\Extbase\\Utility\\ExtensionUtility', 'Tx_Extbase_Utility_FrontendSimulator' => 'TYPO3\\CMS\\Extbase\\Utility\\FrontendSimulatorUtility', 'Tx_Extbase_Utility_Localization' => 'TYPO3\\CMS\\Extbase\\Utility\\LocalizationUtility', 'Tx_Extbase_Validation_Error' => 'TYPO3\\CMS\\Extbase\\Validation\\Error', 'Tx_Extbase_Validation_Exception' => 'TYPO3\\CMS\\Extbase\\Validation\\Exception', 'Tx_Extbase_Validation_Exception_InvalidSubject' => 'TYPO3\\CMS\\Extbase\\Validation\\Exception\\InvalidSubjectException', 'Tx_Extbase_Validation_Exception_InvalidValidationConfiguration' => 'TYPO3\\CMS\\Extbase\\Validation\\Exception\\InvalidValidationConfigurationException', 'Tx_Extbase_Validation_Exception_InvalidValidationOptions' => 'TYPO3\\CMS\\Extbase\\Validation\\Exception\\InvalidValidationOptionsException', 'Tx_Extbase_Validation_Exception_NoSuchValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Exception\\NoSuchValidatorException', 'Tx_Extbase_Validation_Exception_NoValidatorFound' => 'TYPO3\\CMS\\Extbase\\Validation\\Exception\\NoValidatorFoundException', 'Tx_Extbase_Validation_Validator_AbstractCompositeValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\AbstractCompositeValidator', 'Tx_Extbase_Validation_Validator_AbstractValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\AbstractValidator', 'Tx_Extbase_Validation_Validator_AlphanumericValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\AlphanumericValidator', 'Tx_Extbase_Validation_Validator_ConjunctionValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\ConjunctionValidator', 'Tx_Extbase_Validation_Validator_DateTimeValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\DateTimeValidator', 'Tx_Extbase_Validation_Validator_DisjunctionValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\DisjunctionValidator', 'Tx_Extbase_Validation_Validator_EmailAddressValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\EmailAddressValidator', 'Tx_Extbase_Validation_Validator_FloatValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\FloatValidator', 'Tx_Extbase_Validation_Validator_GenericObjectValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\GenericObjectValidator', 'Tx_Extbase_Validation_Validator_IntegerValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\IntegerValidator', 'Tx_Extbase_Validation_Validator_NotEmptyValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\NotEmptyValidator', 'Tx_Extbase_Validation_Validator_NumberRangeValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\NumberRangeValidator', 'Tx_Extbase_Validation_Validator_NumberValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\NumberValidator', 'Tx_Extbase_Validation_Validator_ObjectValidatorInterface' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\ObjectValidatorInterface', 'Tx_Extbase_Validation_Validator_RawValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\RawValidator', 'Tx_Extbase_Validation_Validator_RegularExpressionValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\RegularExpressionValidator', 'Tx_Extbase_Validation_Validator_StringLengthValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\StringLengthValidator', 'Tx_Extbase_Validation_Validator_StringValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\StringValidator', 'Tx_Extbase_Validation_Validator_TextValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\TextValidator', 'Tx_Extbase_Validation_Validator_ValidatorInterface' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\ValidatorInterface', 'Tx_Extbase_Validation_ValidatorResolver' => 'TYPO3\\CMS\\Extbase\\Validation\\ValidatorResolver', 'tx_em_Tasks_UpdateExtensionList' => 'TYPO3\\CMS\\Extensionmanager\\Task\\UpdateExtensionListTask', 'tx_feedit_editpanel' => 'TYPO3\\CMS\\Feedit\\FrontendEditPanel', 'SC_file_list' => 'TYPO3\\CMS\\Filelist\\Controller\\FileListController', 'fileList' => 'TYPO3\\CMS\\Filelist\\FileList', 'fileList_editIconHook' => 'TYPO3\\CMS\\Filelist\\FileListEditIconHookInterface', 'filelistFolderTree' => 'TYPO3\\CMS\\Filelist\\FileListFolderTree', 'Tx_Fluid_Compatibility_DocbookGeneratorService' => 'TYPO3\\CMS\\Fluid\\Compatibility\\DocbookGeneratorService', 'Tx_Fluid_Compatibility_TemplateParserBuilder' => 'TYPO3\\CMS\\Fluid\\Compatibility\\TemplateParserBuilder', 'Tx_Fluid_Core_Compiler_AbstractCompiledTemplate' => 'TYPO3\\CMS\\Fluid\\Core\\Compiler\\AbstractCompiledTemplate', 'Tx_Fluid_Core_Compiler_TemplateCompiler' => 'TYPO3\\CMS\\Fluid\\Core\\Compiler\\TemplateCompiler', 'Tx_Fluid_Core_Exception' => 'TYPO3\\CMS\\Fluid\\Core\\Exception', 'Tx_Fluid_Core_Parser_Configuration' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\Configuration', 'Tx_Fluid_Core_Parser_Exception' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\Exception', 'Tx_Fluid_Core_Parser_Interceptor_Escape' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\Interceptor\\Escape', 'Tx_Fluid_Core_Parser_InterceptorInterface' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\InterceptorInterface', 'Tx_Fluid_Core_Parser_ParsedTemplateInterface' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\ParsedTemplateInterface', 'Tx_Fluid_Core_Parser_ParsingState' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\ParsingState', 'Tx_Fluid_Core_Parser_SyntaxTree_AbstractNode' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\AbstractNode', 'Tx_Fluid_Core_Parser_SyntaxTree_ArrayNode' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\ArrayNode', 'Tx_Fluid_Core_Parser_SyntaxTree_BooleanNode' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\BooleanNode', 'Tx_Fluid_Core_Parser_SyntaxTree_NodeInterface' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\NodeInterface', 'Tx_Fluid_Core_Parser_SyntaxTree_ObjectAccessorNode' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\ObjectAccessorNode', 'Tx_Fluid_Core_Parser_SyntaxTree_RootNode' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\RootNode', 'Tx_Fluid_Core_Parser_SyntaxTree_TextNode' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\TextNode', 'Tx_Fluid_Core_Parser_SyntaxTree_ViewHelperNode' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\ViewHelperNode', 'Tx_Fluid_Core_Parser_TemplateParser' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\TemplateParser', 'Tx_Fluid_Core_Rendering_RenderingContext' => 'TYPO3\\CMS\\Fluid\\Core\\Rendering\\RenderingContext', 'Tx_Fluid_Core_Rendering_RenderingContextInterface' => 'TYPO3\\CMS\\Fluid\\Core\\Rendering\\RenderingContextInterface', 'Tx_Fluid_Core_ViewHelper_AbstractConditionViewHelper' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\AbstractConditionViewHelper', 'Tx_Fluid_Core_ViewHelper_AbstractTagBasedViewHelper' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\AbstractTagBasedViewHelper', 'Tx_Fluid_Core_ViewHelper_AbstractViewHelper' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\AbstractViewHelper', 'Tx_Fluid_Core_ViewHelper_ArgumentDefinition' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\ArgumentDefinition', 'Tx_Fluid_Core_ViewHelper_Arguments' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\Arguments', 'Tx_Fluid_Core_ViewHelper_Exception' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\Exception', 'Tx_Fluid_Core_ViewHelper_Exception_InvalidVariableException' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\Exception\\InvalidVariableException', 'Tx_Fluid_Core_ViewHelper_Exception_RenderingContextNotAccessibleException' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\Exception\\RenderingContextNotAccessibleException', 'Tx_Fluid_Core_ViewHelper_Facets_ChildNodeAccessInterface' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\Facets\\ChildNodeAccessInterface', 'Tx_Fluid_Core_ViewHelper_Facets_CompilableInterface' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\Facets\\CompilableInterface', 'Tx_Fluid_Core_ViewHelper_Facets_PostParseInterface' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\Facets\\PostParseInterface', 'Tx_Fluid_Core_ViewHelper_TagBuilder' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\TagBuilder', 'Tx_Fluid_Core_ViewHelper_TemplateVariableContainer' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\TemplateVariableContainer', 'Tx_Fluid_Core_ViewHelper_ViewHelperInterface' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\ViewHelperInterface', 'Tx_Fluid_Core_ViewHelper_ViewHelperVariableContainer' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\ViewHelperVariableContainer', 'Tx_Fluid_Core_Widget_AbstractWidgetController' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\AbstractWidgetController', 'Tx_Fluid_Core_Widget_AbstractWidgetViewHelper' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\AbstractWidgetViewHelper', 'Tx_Fluid_Core_Widget_AjaxWidgetContextHolder' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\AjaxWidgetContextHolder', 'Tx_Fluid_Core_Widget_Bootstrap' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\Bootstrap', 'Tx_Fluid_Core_Widget_Exception' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\Exception', 'Tx_Fluid_Core_Widget_Exception_MissingControllerException' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\Exception\\MissingControllerException', 'Tx_Fluid_Core_Widget_Exception_RenderingContextNotFoundException' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\Exception\\RenderingContextNotFoundException', 'Tx_Fluid_Core_Widget_Exception_WidgetContextNotFoundException' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\Exception\\WidgetContextNotFoundException', 'Tx_Fluid_Core_Widget_Exception_WidgetRequestNotFoundException' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\Exception\\WidgetRequestNotFoundException', 'Tx_Fluid_Core_Widget_WidgetContext' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\WidgetContext', 'Tx_Fluid_Core_Widget_WidgetRequest' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\WidgetRequest', 'Tx_Fluid_Core_Widget_WidgetRequestBuilder' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\WidgetRequestBuilder', 'Tx_Fluid_Core_Widget_WidgetRequestHandler' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\WidgetRequestHandler', 'Tx_Fluid_Exception' => 'TYPO3\\CMS\\Fluid\\Exception', 'Tx_Fluid_Fluid' => 'TYPO3\\CMS\\Fluid\\Fluid', 'Tx_Fluid_Service_DocbookGenerator' => 'TYPO3\\CMS\\Fluid\\Service\\DocbookGenerator', 'Tx_Fluid_View_AbstractTemplateView' => 'TYPO3\\CMS\\Fluid\\View\\AbstractTemplateView', 'Tx_Fluid_View_Exception' => 'TYPO3\\CMS\\Fluid\\View\\Exception', 'Tx_Fluid_View_Exception_InvalidSectionException' => 'TYPO3\\CMS\\Fluid\\View\\Exception\\InvalidSectionException', 'Tx_Fluid_View_Exception_InvalidTemplateResourceException' => 'TYPO3\\CMS\\Fluid\\View\\Exception\\InvalidTemplateResourceException', 'Tx_Fluid_View_StandaloneView' => 'TYPO3\\CMS\\Fluid\\View\\StandaloneView', 'Tx_Fluid_View_TemplateView' => 'TYPO3\\CMS\\Fluid\\View\\TemplateView', 'Tx_Fluid_ViewHelpers_AliasViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\AliasViewHelper', 'Tx_Fluid_ViewHelpers_BaseViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\BaseViewHelper', 'Tx_Fluid_ViewHelpers_Be_AbstractBackendViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\AbstractBackendViewHelper', 'Tx_Fluid_ViewHelpers_Be_Buttons_CshViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\Buttons\\CshViewHelper', 'Tx_Fluid_ViewHelpers_Be_Buttons_IconViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\Buttons\\IconViewHelper', 'Tx_Fluid_ViewHelpers_Be_Buttons_ShortcutViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\Buttons\\ShortcutViewHelper', 'Tx_Fluid_ViewHelpers_Be_ContainerViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\ContainerViewHelper', 'Tx_Fluid_ViewHelpers_Be_Menus_ActionMenuItemViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\Menus\\ActionMenuItemViewHelper', 'Tx_Fluid_ViewHelpers_Be_Menus_ActionMenuViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\Menus\\ActionMenuViewHelper', 'Tx_Fluid_ViewHelpers_Be_PageInfoViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\PageInfoViewHelper', 'Tx_Fluid_ViewHelpers_Be_PagePathViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\PagePathViewHelper', 'Tx_Fluid_ViewHelpers_Be_Security_IfAuthenticatedViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\Security\\IfAuthenticatedViewHelper', 'Tx_Fluid_ViewHelpers_Be_Security_IfHasRoleViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\Security\\IfHasRoleViewHelper', 'Tx_Fluid_ViewHelpers_Be_TableListViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\TableListViewHelper', 'Tx_Fluid_ViewHelpers_CObjectViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\CObjectViewHelper', 'Tx_Fluid_ViewHelpers_CommentViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\CommentViewHelper', 'Tx_Fluid_ViewHelpers_CountViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\CountViewHelper', 'Tx_Fluid_ViewHelpers_CycleViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\CycleViewHelper', 'Tx_Fluid_ViewHelpers_DebugViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\DebugViewHelper', 'Tx_Fluid_ViewHelpers_ElseViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\ElseViewHelper', 'Tx_Fluid_ViewHelpers_FlashMessagesViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\FlashMessagesViewHelper', 'Tx_Fluid_ViewHelpers_Form_AbstractFormFieldViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\AbstractFormFieldViewHelper', 'Tx_Fluid_ViewHelpers_Form_AbstractFormViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\AbstractFormViewHelper', 'Tx_Fluid_ViewHelpers_Form_CheckboxViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\CheckboxViewHelper', 'Tx_Fluid_ViewHelpers_Form_HiddenViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\HiddenViewHelper', 'Tx_Fluid_ViewHelpers_Form_PasswordViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\PasswordViewHelper', 'Tx_Fluid_ViewHelpers_Form_RadioViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\RadioViewHelper', 'Tx_Fluid_ViewHelpers_Form_SelectViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\SelectViewHelper', 'Tx_Fluid_ViewHelpers_Form_SubmitViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\SubmitViewHelper', 'Tx_Fluid_ViewHelpers_Form_TextareaViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\TextareaViewHelper', 'Tx_Fluid_ViewHelpers_Form_TextfieldViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\TextfieldViewHelper', 'Tx_Fluid_ViewHelpers_Form_UploadViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\UploadViewHelper', 'Tx_Fluid_ViewHelpers_Form_ValidationResultsViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\ValidationResultsViewHelper', 'Tx_Fluid_ViewHelpers_Format_AbstractEncodingViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\AbstractEncodingViewHelper', 'Tx_Fluid_ViewHelpers_Format_CdataViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\CdataViewHelper', 'Tx_Fluid_ViewHelpers_Format_CropViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\CropViewHelper', 'Tx_Fluid_ViewHelpers_Format_CurrencyViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\CurrencyViewHelper', 'Tx_Fluid_ViewHelpers_Format_DateViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\DateViewHelper', 'Tx_Fluid_ViewHelpers_Format_HtmlentitiesDecodeViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\HtmlentitiesDecodeViewHelper', 'Tx_Fluid_ViewHelpers_Format_HtmlentitiesViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\HtmlentitiesViewHelper', 'Tx_Fluid_ViewHelpers_Format_HtmlspecialcharsViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\HtmlspecialcharsViewHelper', 'Tx_Fluid_ViewHelpers_Format_HtmlViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\HtmlViewHelper', 'Tx_Fluid_ViewHelpers_Format_Nl2brViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\Nl2brViewHelper', 'Tx_Fluid_ViewHelpers_Format_NumberViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\NumberViewHelper', 'Tx_Fluid_ViewHelpers_Format_PaddingViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\PaddingViewHelper', 'Tx_Fluid_ViewHelpers_Format_PrintfViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\PrintfViewHelper', 'Tx_Fluid_ViewHelpers_Format_RawViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\RawViewHelper', 'Tx_Fluid_ViewHelpers_Format_StripTagsViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\StripTagsViewHelper', 'Tx_Fluid_ViewHelpers_Format_UrlencodeViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\UrlencodeViewHelper', 'Tx_Fluid_ViewHelpers_FormViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\FormViewHelper', 'Tx_Fluid_ViewHelpers_ForViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\ForViewHelper', 'Tx_Fluid_ViewHelpers_GroupedForViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\GroupedForViewHelper', 'Tx_Fluid_ViewHelpers_IfViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\IfViewHelper', 'Tx_Fluid_ViewHelpers_ImageViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\ImageViewHelper', 'Tx_Fluid_ViewHelpers_LayoutViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\LayoutViewHelper', 'Tx_Fluid_ViewHelpers_Link_ActionViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Link\\ActionViewHelper', 'Tx_Fluid_ViewHelpers_Link_EmailViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Link\\EmailViewHelper', 'Tx_Fluid_ViewHelpers_Link_ExternalViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Link\\ExternalViewHelper', 'Tx_Fluid_ViewHelpers_Link_PageViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Link\\PageViewHelper', 'Tx_Fluid_ViewHelpers_RenderChildrenViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\RenderChildrenViewHelper', 'Tx_Fluid_ViewHelpers_RenderViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\RenderViewHelper', 'Tx_Fluid_ViewHelpers_SectionViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\SectionViewHelper', 'Tx_Fluid_ViewHelpers_Security_IfAuthenticatedViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Security\\IfAuthenticatedViewHelper', 'Tx_Fluid_ViewHelpers_Security_IfHasRoleViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Security\\IfHasRoleViewHelper', 'Tx_Fluid_ViewHelpers_ThenViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\ThenViewHelper', 'Tx_Fluid_ViewHelpers_TranslateViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\TranslateViewHelper', 'Tx_Fluid_ViewHelpers_Uri_ActionViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Uri\\ActionViewHelper', 'Tx_Fluid_ViewHelpers_Uri_EmailViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Uri\\EmailViewHelper', 'Tx_Fluid_ViewHelpers_Uri_ExternalViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Uri\\ExternalViewHelper', 'Tx_Fluid_ViewHelpers_Uri_ImageViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Uri\\ImageViewHelper', 'Tx_Fluid_ViewHelpers_Uri_PageViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Uri\\PageViewHelper', 'Tx_Fluid_ViewHelpers_Uri_ResourceViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Uri\\ResourceViewHelper', 'Tx_Fluid_ViewHelpers_Widget_AutocompleteViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Widget\\AutocompleteViewHelper', 'Tx_Fluid_ViewHelpers_Widget_Controller_AutocompleteController' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Widget\\Controller\\AutocompleteController', 'Tx_Fluid_ViewHelpers_Widget_Controller_PaginateController' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Widget\\Controller\\PaginateController', 'Tx_Fluid_ViewHelpers_Widget_LinkViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Widget\\LinkViewHelper', 'Tx_Fluid_ViewHelpers_Widget_PaginateViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Widget\\PaginateViewHelper', 'Tx_Fluid_ViewHelpers_Widget_UriViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Widget\\UriViewHelper', 'tx_form_Controller_Form' => 'TYPO3\\CMS\\Form\\Controller\\FrontendController', 'tx_form_Controller_Wizard' => 'TYPO3\\CMS\\Form\\Controller\\WizardController', 'tx_form_Domain_Factory_JsonToTyposcript' => 'TYPO3\\CMS\\Form\\Domain\\Factory\\JsonToTypoScript', 'tx_form_Domain_Model_Content' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Content', 'tx_form_Domain_Model_JSON_Element' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\AbstractJsonElement', 'tx_form_Domain_Model_JSON_Button' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\ButtonJsonElement', 'tx_form_Domain_Model_JSON_Checkboxgroup' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\CheckboxGroupJsonElement', 'tx_form_Domain_Model_JSON_Checkbox' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\CheckboxJsonElement', 'tx_form_Domain_Model_JSON_Container' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\ContainerJsonElement', 'tx_form_Domain_Model_JSON_Fieldset' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\FieldsetJsonElement', 'tx_form_Domain_Model_JSON_Fileupload' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\FileuploadJsonElement', 'tx_form_Domain_Model_JSON_Form' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\FormJsonElement', 'tx_form_Domain_Model_JSON_Header' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\HeaderJsonElement', 'tx_form_Domain_Model_JSON_Hidden' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\HiddenJsonElement', 'tx_form_Domain_Model_JSON_Name' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\NameJsonElement', 'tx_form_Domain_Model_JSON_Password' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\PasswordJsonElement', 'tx_form_Domain_Model_JSON_Radiogroup' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\RadioGroupJsonElement', 'tx_form_Domain_Model_JSON_Radio' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\RadioJsonElement', 'tx_form_Domain_Model_JSON_Reset' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\ResetJsonElement', 'tx_form_Domain_Model_JSON_Select' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\SelectJsonElement', 'tx_form_Domain_Model_JSON_Submit' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\SubmitJsonElement', 'tx_form_Domain_Model_JSON_Textarea' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\TextareaJsonElement', 'tx_form_Domain_Model_JSON_Textblock' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\TextblockJsonElement', 'tx_form_Domain_Model_JSON_Textline' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\TextlineJsonElement', 'tx_form_Domain_Repository_Content' => 'TYPO3\\CMS\\Form\\Domain\\Repository\\ContentRepository', 'tx_form_Domain_Factory_TyposcriptToJson' => 'TYPO3\\CMS\\Form\\Utility\\TypoScriptToJsonConverter', 'tx_form_System_Elementcounter' => 'TYPO3\\CMS\\Form\\Utility\\ElementCounter', 'tx_form_System_Filter_Alphabetic' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\AlphabeticFilter', 'tx_form_System_Filter_Alphanumeric' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\AlphanumericFilter', 'tx_form_System_Filter_Currency' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\CurrencyFilter', 'tx_form_System_Filter_Digit' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\DigitFilter', 'tx_form_System_Filter_Interface' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\FilterInterface', 'tx_form_System_Filter_Integer' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\IntegerFilter', 'tx_form_System_Filter_Lowercase' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\LowerCaseFilter', 'tx_form_System_Filter_Regexp' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\RegExpFilter', 'tx_form_System_Filter_Removexss' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\RemoveXssFilter', 'tx_form_System_Filter_Stripnewlines' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\StripNewLinesFilter', 'tx_form_System_Filter_Titlecase' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\TitleCaseFilter', 'tx_form_System_Filter_Trim' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\TrimFilter', 'tx_form_System_Filter_Uppercase' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\UpperCaseFilter', 'tx_form_System_Postprocessor_Mail' => 'TYPO3\\CMS\\Form\\PostProcess\\MailPostProcessor', 'tx_form_System_Postprocessor' => 'TYPO3\\CMS\\Form\\PostProcess\\PostProcessor', 'tx_form_System_Postprocessor_Interface' => 'TYPO3\\CMS\\Form\\PostProcess\\PostProcessorInterface', 'tx_form_Common' => 'TYPO3\\CMS\\Form\\Utility\\FormUtility', 'tx_form_System_Validate_Abstract' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\AbstractValidator', 'tx_form_System_Validate_Alphabetic' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\AlphabeticValidator', 'tx_form_System_Validate_Alphanumeric' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\AlphanumericValidator', 'tx_form_System_Validate_Between' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\BetweenValidator', 'tx_form_System_Validate_Date' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\DateValidator', 'tx_form_System_Validate_Digit' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\DigitValidator', 'tx_form_System_Validate_Email' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\EmailValidator', 'tx_form_System_Validate_Equals' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\EqualsValidator', 'tx_form_System_Validate_Fileallowedtypes' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\FileAllowedTypesValidator', 'tx_form_System_Validate_Filemaximumsize' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\FileMaximumSizeValidator', 'tx_form_System_Validate_Fileminimumsize' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\FileMinimumSizeValidator', 'tx_form_System_Validate_Float' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\FloatValidator', 'tx_form_System_Validate_Greaterthan' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\GreaterThanValidator', 'tx_form_System_Validate_Inarray' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\InArrayValidator', 'tx_form_System_Validate_Integer' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\IntegerValidator', 'tx_form_System_Validate_Ip' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\IpValidator', 'tx_form_System_Validate_Length' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\LengthValidator', 'tx_form_System_Validate_Lessthan' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\LessthanValidator', 'tx_form_System_Validate_Regexp' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\RegExpValidator', 'tx_form_System_Validate_Required' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\RequiredValidator', 'tx_form_System_Validate_Uri' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\UriValidator', 'tx_form_View_Wizard_Wizard' => 'TYPO3\\CMS\\Form\\View\\Wizard\\WizardView', 'tslib_feUserAuth' => 'TYPO3\\CMS\\Frontend\\Authentication\\FrontendUserAuthentication', 't3lib_matchCondition_frontend' => 'TYPO3\\CMS\\Frontend\\Configuration\\TypoScript\\ConditionMatching\\ConditionMatcher', 't3lib_formmail' => 'TYPO3\\CMS\\Compatibility6\\Controller\\FormDataSubmissionController', 'tslib_content_Abstract' => 'TYPO3\\CMS\\Frontend\\ContentObject\\AbstractContentObject', 'tslib_content_Case' => 'TYPO3\\CMS\\Frontend\\ContentObject\\CaseContentObject', 'tslib_content_ClearGif' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\ClearGifContentObject', 'tslib_content_Columns' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\ColumnsContentObject', 'tslib_content_Content' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentContentObject', 'tslib_content_ContentObjectArray' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectArrayContentObject', 'tslib_content_ContentObjectArrayInternal' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectArrayInternalContentObject', 'tslib_content_getDataHook' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectGetDataHookInterface', 'tslib_cObj_getImgResourceHook' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectGetImageResourceHookInterface', 'tslib_content_getPublicUrlForFileHook' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectGetPublicUrlForFileHookInterface', 'tslib_content_cObjGetSingleHook' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectGetSingleHookInterface', 'tslib_content_PostInitHook' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectPostInitHookInterface', 'tslib_cObj' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer', 'tslib_content_stdWrapHook' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectStdWrapHookInterface', 'tslib_content_ContentTable' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\ContentTableContentObject', 'tslib_content_EditPanel' => 'TYPO3\\CMS\\Frontend\\ContentObject\\EditPanelContentObject', 'tslib_content_File' => 'TYPO3\\CMS\\Frontend\\ContentObject\\FileContentObject', 'tslib_content_fileLinkHook' => 'TYPO3\\CMS\\Frontend\\ContentObject\\FileLinkHookInterface', 'tslib_content_Files' => 'TYPO3\\CMS\\Frontend\\ContentObject\\FilesContentObject', 'tslib_content_FluidTemplate' => 'TYPO3\\CMS\\Frontend\\ContentObject\\FluidTemplateContentObject', 'tslib_content_Form' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\FormContentObject', 'tslib_content_HierarchicalMenu' => 'TYPO3\\CMS\\Frontend\\ContentObject\\HierarchicalMenuContentObject', 'tslib_content_HorizontalRuler' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\HorizontalRulerContentObject', 'tslib_content_Image' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ImageContentObject', 'tslib_content_ImageResource' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ImageResourceContentObject', 'tslib_content_ImageText' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\ImageTextContentObject', 'tslib_content_LoadRegister' => 'TYPO3\\CMS\\Frontend\\ContentObject\\LoadRegisterContentObject', 'tslib_content_OffsetTable' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\OffsetTableContentObject', 'tslib_content_Records' => 'TYPO3\\CMS\\Frontend\\ContentObject\\RecordsContentObject', 'tslib_content_RestoreRegister' => 'TYPO3\\CMS\\Frontend\\ContentObject\\RestoreRegisterContentObject', 'tslib_content_ScalableVectorGraphics' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ScalableVectorGraphicsContentObject', 'tslib_content_SearchResult' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\SearchResultContentObject', 'tslib_content_Template' => 'TYPO3\\CMS\\Frontend\\ContentObject\\TemplateContentObject', 'tslib_content_Text' => 'TYPO3\\CMS\\Frontend\\ContentObject\\TextContentObject', 'tslib_content_User' => 'TYPO3\\CMS\\Frontend\\ContentObject\\UserContentObject', 'tslib_content_UserInternal' => 'TYPO3\\CMS\\Frontend\\ContentObject\\UserInternalContentObject', 'tslib_menu' => 'TYPO3\\CMS\\Frontend\\ContentObject\\Menu\\AbstractMenuContentObject', 'tslib_menu_filterMenuPagesHook' => 'TYPO3\\CMS\\Frontend\\ContentObject\\Menu\\AbstractMenuFilterPagesHookInterface', 'tslib_gmenu' => 'TYPO3\\CMS\\Frontend\\ContentObject\\Menu\\GraphicalMenuContentObject', 'tslib_imgmenu' => 'TYPO3\\CMS\\Frontend\\ContentObject\\Menu\\ImageMenuContentObject', 'tslib_jsmenu' => 'TYPO3\\CMS\\Frontend\\ContentObject\\Menu\\JavaScriptMenuContentObject', 'tslib_tmenu' => 'TYPO3\\CMS\\Frontend\\ContentObject\\Menu\\TextMenuContentObject', 'tslib_tableOffset' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\OffsetTableContentObject', 'tslib_search' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\SearchResultContentObject', 'tslib_controlTable' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\TableRenderer', 'tslib_ExtDirectEid' => 'TYPO3\\CMS\\Frontend\\Controller\\ExtDirectEidController', 'tx_cms_webinfo_page' => 'TYPO3\\CMS\\Frontend\\Controller\\PageInformationController', 'SC_tslib_showpic' => 'TYPO3\\CMS\\Frontend\\Controller\\ShowImageController', 'tx_cms_webinfo_lang' => 'TYPO3\\CMS\\Frontend\\Controller\\TranslationStatusController', 'tslib_fe' => 'TYPO3\\CMS\\Frontend\\Controller\\TypoScriptFrontendController', 'tx_cms_fehooks' => 'TYPO3\\CMS\\Frontend\\Hooks\\FrontendHooks', 'tx_cms_mediaItems' => 'TYPO3\\CMS\\Frontend\\Hooks\\MediaItemHooks', 'tx_cms_treelistCacheUpdate' => 'TYPO3\\CMS\\Frontend\\Hooks\\TreelistCacheUpdateHooks', 'tslib_gifBuilder' => 'TYPO3\\CMS\\Frontend\\Imaging\\GifBuilder', 't3lib_cacheHash' => 'TYPO3\\CMS\\Frontend\\Page\\CacheHashCalculator', 'tslib_frameset' => 'TYPO3\\CMS\\Frontend\\Page\\FramesetRenderer', 'TSpagegen' => 'TYPO3\\CMS\\Frontend\\Page\\PageGenerator', 't3lib_pageSelect' => 'TYPO3\\CMS\\Frontend\\Page\\PageRepository', 't3lib_pageSelect_getPageHook' => 'TYPO3\\CMS\\Frontend\\Page\\PageRepositoryGetPageHookInterface', 't3lib_pageSelect_getPageOverlayHook' => 'TYPO3\\CMS\\Frontend\\Page\\PageRepositoryGetPageOverlayHookInterface', 't3lib_pageSelect_getRecordOverlayHook' => 'TYPO3\\CMS\\Frontend\\Page\\PageRepositoryGetRecordOverlayHookInterface', 'tslib_pibase' => 'TYPO3\\CMS\\Frontend\\Plugin\\AbstractPlugin', 'tslib_fecompression' => 'TYPO3\\CMS\\Frontend\\Utility\\CompressionUtility', 'tslib_eidtools' => 'TYPO3\\CMS\\Frontend\\Utility\\EidUtility', 'tslib_AdminPanel' => 'TYPO3\\CMS\\Frontend\\View\\AdminPanelView', 'tslib_adminPanelHook' => 'TYPO3\\CMS\\Frontend\\View\\AdminPanelViewHookInterface', 'SC_mod_web_func_index' => 'TYPO3\\CMS\\Func\\Controller\\PageFunctionsController', 'tx_funcwizards_webfunc' => 'TYPO3\\CMS\\Compatibility6\\Controller\\WebFunctionWizardsBaseController', 'TYPO3\\CMS\\FuncWizards\\Controller\\WebFunctionWizardsBaseController' => 'TYPO3\\CMS\\Compatibility6\\Controller\\WebFunctionWizardsBaseController', 'tx_impexp_clickmenu' => 'TYPO3\\CMS\\Impexp\\Clickmenu', 'SC_mod_tools_log_index' => 'TYPO3\\CMS\\Impexp\\Controller\\ImportExportController', 'tx_impexp' => 'TYPO3\\CMS\\Impexp\\ImportExport', 'tx_impexp_localPageTree' => 'TYPO3\\CMS\\Impexp\\View\\ExportPageTreeView', 'tx_impexp_task' => 'TYPO3\\CMS\\Impexp\\Task\\ImportExportTask', 'Tx_IndexedSearch_Domain_Repository_IndexSearchRepository' => 'TYPO3\\CMS\\IndexedSearch\\Domain\\Repository\\IndexSearchRepository', 'tx_indexedsearch_files' => 'TYPO3\\CMS\\IndexedSearch\\Hook\\CrawlerFilesHook', 'tx_indexedsearch_crawler' => 'TYPO3\\CMS\\IndexedSearch\\Hook\\CrawlerHook', 'tx_indexedsearch_mysql' => 'TYPO3\\CMS\\IndexedSearchMysql\\Hook\\MysqlFulltextIndexHook', 'tx_indexedsearch_tslib_fe_hook' => 'TYPO3\\CMS\\IndexedSearch\\Hook\\TypoScriptFrontendHook', 'tx_indexedsearch_indexer' => 'TYPO3\\CMS\\IndexedSearch\\Indexer', 'tx_indexedsearch_lexer' => 'TYPO3\\CMS\\IndexedSearch\\Lexer', 'tx_indexedsearch_util' => 'TYPO3\\CMS\\IndexedSearch\\Utility\\IndexedSearchUtility', 'tx_indexed_search_extparse' => 'TYPO3\\CMS\\IndexedSearch\\FileContentParser', 'user_DoubleMetaPhone' => 'TYPO3\\CMS\\IndexedSearch\\Utility\\DoubleMetaPhoneUtility', 'Tx_IndexedSearch_ViewHelpers_PageBrowsingResultsViewHelper' => 'TYPO3\\CMS\\IndexedSearch\\ViewHelpers\\PageBrowsingResultsViewHelper', 'Tx_IndexedSearch_ViewHelpers_PageBrowsingViewHelper' => 'TYPO3\\CMS\\IndexedSearch\\ViewHelpers\\PageBrowsingViewHelper', 'SC_mod_web_info_index' => 'TYPO3\\CMS\\Info\\Controller\\InfoModuleController', 'tx_infopagetsconfig_webinfo' => 'TYPO3\\CMS\\InfoPagetsconfig\\Controller\\InfoPageTyposcriptConfigController', 'Tx_Install_Service_BasicService' => 'TYPO3\\CMS\\Install\\Service\\EnableFileService', 'TYPO3\\CMS\\Install\\EnableFileService' => 'TYPO3\\CMS\\Install\\Service\\EnableFileService', 'tx_install_report_InstallStatus' => 'TYPO3\\CMS\\Install\\Report\\InstallStatusReport', 'tx_install_session' => 'TYPO3\\CMS\\Install\\Service\\SessionService', 'TYPO3\\CMS\\Install\\Session' => 'TYPO3\\CMS\\Install\\Service\\SessionService', 't3lib_install_Sql' => 'TYPO3\\CMS\\Install\\Service\\SqlSchemaMigrationService', 'TYPO3\\CMS\\Install\\Sql\\SchemaMigrator' => 'TYPO3\\CMS\\Install\\Service\\SqlSchemaMigrationService', 'Tx_Install_Updates_Base' => 'TYPO3\\CMS\\Install\\Updates\\AbstractUpdate', 'language' => 'TYPO3\\CMS\\Lang\\LanguageService', 'tx_felogin_pi1' => 'TYPO3\\CMS\\Felogin\\Controller\\FrontendLoginController', 'tx_linkvalidator_Processor' => 'TYPO3\\CMS\\Linkvalidator\\LinkAnalyzer', 'tx_linkvalidator_linktype_Abstract' => 'TYPO3\\CMS\\Linkvalidator\\Linktype\\AbstractLinktype', 'tx_linkvalidator_linktype_External' => 'TYPO3\\CMS\\Linkvalidator\\Linktype\\ExternalLinktype', 'tx_linkvalidator_linktype_File' => 'TYPO3\\CMS\\Linkvalidator\\Linktype\\FileLinktype', 'tx_linkvalidator_linktype_Internal' => 'TYPO3\\CMS\\Linkvalidator\\Linktype\\InternalLinktype', 'tx_linkvalidator_linktype_LinkHandler' => 'TYPO3\\CMS\\Linkvalidator\\Linktype\\LinkHandler', 'tx_linkvalidator_linktype_Interface' => 'TYPO3\\CMS\\Linkvalidator\\Linktype\\LinktypeInterface', 'tx_linkvalidator_ModFuncReport' => 'TYPO3\\CMS\\Linkvalidator\\Report\\LinkValidatorReport', 'tx_linkvalidator_tasks_Validator' => 'TYPO3\\CMS\\Linkvalidator\\Task\\ValidatorTask', 'tx_linkvalidator_tasks_ValidatorAdditionalFieldProvider' => 'TYPO3\\CMS\\Linkvalidator\\Task\\ValidatorTaskAdditionalFieldProvider', 'tx_lowlevel_admin_core' => 'TYPO3\\CMS\\Lowlevel\\AdminCommand', 'tx_lowlevel_cleaner_core' => 'TYPO3\\CMS\\Lowlevel\\CleanerCommand', 'tx_lowlevel_cleanflexform' => 'TYPO3\\CMS\\Lowlevel\\CleanFlexformCommand', 'tx_lowlevel_deleted' => 'TYPO3\\CMS\\Lowlevel\\DeletedRecordsCommand', 'tx_lowlevel_double_files' => 'TYPO3\\CMS\\Lowlevel\\DoubleFilesCommand', 'tx_lowlevel_lost_files' => 'TYPO3\\CMS\\Lowlevel\\LostFilesCommand', 'tx_lowlevel_missing_files' => 'TYPO3\\CMS\\Lowlevel\\MissingFilesCommand', 'tx_lowlevel_missing_relations' => 'TYPO3\\CMS\\Lowlevel\\MissingRelationsCommand', 'tx_lowlevel_orphan_records' => 'TYPO3\\CMS\\Lowlevel\\OrphanRecordsCommand', 'tx_lowlevel_rte_images' => 'TYPO3\\CMS\\Lowlevel\\RteImagesCommand', 'tx_lowlevel_syslog' => 'TYPO3\\CMS\\Lowlevel\\SyslogCommand', 'tx_lowlevel_versions' => 'TYPO3\\CMS\\Lowlevel\\VersionsCommand', 't3lib_arrayBrowser' => 'TYPO3\\CMS\\Lowlevel\\Utility\\ArrayBrowser', 'SC_mod_tools_config_index' => 'TYPO3\\CMS\\Lowlevel\\View\\ConfigurationView', 'SC_mod_tools_dbint_index' => 'TYPO3\\CMS\\Lowlevel\\View\\DatabaseIntegrityView', 'SC_mod_web_perm_ajax' => 'TYPO3\\CMS\\Beuser\\Controller\\PermissionAjaxController', 'SC_mod_web_perm_index' => 'TYPO3\\CMS\\Beuser\\Controller\\PermissionController', 'SC_browse_links' => 'TYPO3\\CMS\\Recordlist\\Controller\\ElementBrowserController', 'SC_browser' => 'TYPO3\\CMS\\Recordlist\\Controller\\ElementBrowserFramesetController', 'SC_db_list' => 'TYPO3\\CMS\\Recordlist\\RecordList', 'recordList' => 'TYPO3\\CMS\\Recordlist\\RecordList\\AbstractDatabaseRecordList', 'localRecordList' => 'TYPO3\\CMS\\Recordlist\\RecordList\\DatabaseRecordList', 'localRecordList_actionsHook' => 'TYPO3\\CMS\\Recordlist\\RecordList\\RecordListHookInterface', 'tx_recycler_view_deletedRecords' => 'TYPO3\\CMS\\Recycler\\Controller\\DeletedRecordsController', 'tx_recycler_controller_ajax' => 'TYPO3\\CMS\\Recycler\\Controller\\RecyclerAjaxController', 'tx_recycler_module1' => 'TYPO3\\CMS\\Recycler\\Controller\\RecyclerModuleController', 'tx_recycler_model_deletedRecords' => 'TYPO3\\CMS\\Recycler\\Domain\\Model\\DeletedRecords', 'tx_recycler_model_tables' => 'TYPO3\\CMS\\Recycler\\Domain\\Model\\Tables', 'tx_recycler_helper' => 'TYPO3\\CMS\\Recycler\\Utility\\RecyclerUtility', 'Tx_Reports_Controller_ReportController' => 'TYPO3\\CMS\\Reports\\Controller\\ReportController', 'tx_reports_reports_status_ConfigurationStatus' => 'TYPO3\\CMS\\Reports\\Report\\Status\\ConfigurationStatus', 'tx_reports_reports_status_SecurityStatus' => 'TYPO3\\CMS\\Reports\\Report\\Status\\SecurityStatus', 'tx_reports_reports_Status' => 'TYPO3\\CMS\\Reports\\Report\\Status\\Status', 'tx_reports_reports_status_Status' => 'TYPO3\\CMS\\Reports\\Status', 'tx_reports_reports_status_SystemStatus' => 'TYPO3\\CMS\\Reports\\Report\\Status\\SystemStatus', 'tx_reports_reports_status_Typo3Status' => 'TYPO3\\CMS\\Reports\\Report\\Status\\Typo3Status', 'tx_reports_reports_status_WarningMessagePostProcessor' => 'TYPO3\\CMS\\Reports\\Report\\Status\\WarningMessagePostProcessor', 'tx_reports_Report' => 'TYPO3\\CMS\\Reports\\ReportInterface', 'tx_reports_StatusProvider' => 'TYPO3\\CMS\\Reports\\StatusProviderInterface', 'tx_reports_tasks_SystemStatusUpdateTask' => 'TYPO3\\CMS\\Reports\\Task\\SystemStatusUpdateTask', 'tx_reports_tasks_SystemStatusUpdateTaskNotificationEmailField' => 'TYPO3\\CMS\\Reports\\Task\\SystemStatusUpdateTaskNotificationEmailField', 'Tx_Reports_ViewHelpers_IconViewHelper' => 'TYPO3\\CMS\\Reports\\ViewHelpers\\IconViewHelper', 'tx_rsaauth_abstract_backend' => 'TYPO3\\CMS\\Rsaauth\\Backend\\AbstractBackend', 'tx_rsaauth_backendfactory' => 'TYPO3\\CMS\\Rsaauth\\Backend\\BackendFactory', 'tx_rsaauth_cmdline_backend' => 'TYPO3\\CMS\\Rsaauth\\Backend\\CommandLineBackend', 'tx_rsaauth_php_backend' => 'TYPO3\\CMS\\Rsaauth\\Backend\\PhpBackend', 'tx_rsaauth_backendwarnings' => 'TYPO3\\CMS\\Rsaauth\\BackendWarnings', 'tx_rsaauth_feloginhook' => 'TYPO3\\CMS\\Rsaauth\\Hook\\FrontendLoginHook', 'tx_rsaauth_usersetuphook' => 'TYPO3\\CMS\\Rsaauth\\Hook\\UserSetupHook', 'tx_rsaauth_keypair' => 'TYPO3\\CMS\\Rsaauth\\Keypair', 'tx_rsaauth_sv1' => 'TYPO3\\CMS\\Rsaauth\\RsaAuthService', 'tx_rsaauth_abstract_storage' => 'TYPO3\\CMS\\Rsaauth\\Storage\\AbstractStorage', 'tx_rsaauth_session_storage' => 'TYPO3\\CMS\\Rsaauth\\Storage\\SessionStorage', 'tx_rsaauth_split_storage' => 'TYPO3\\CMS\\Rsaauth\\Storage\\SplitStorage', 'tx_rsaauth_storagefactory' => 'TYPO3\\CMS\\Rsaauth\\Storage\\StorageFactory', 'tx_rtehtmlarea_parse_html' => 'TYPO3\\CMS\\Rtehtmlarea\\Controller\\ParseHtmlController', 'tx_rtehtmlarea_SC_browse_links' => 'TYPO3\\CMS\\Rtehtmlarea\\Controller\\BrowseLinksController', 'tx_rtehtmlarea_pi3' => 'TYPO3\\CMS\\Rtehtmlarea\\Controller\\CustomAttributeController', 'tx_rtehtmlarea_SC_select_image' => 'TYPO3\\CMS\\Rtehtmlarea\\Controller\\SelectImageController', 'tx_rtehtmlarea_pi1' => 'TYPO3\\CMS\\Rtehtmlarea\\Controller\\SpellCheckingController', 'tx_rtehtmlarea_abouteditor' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\AboutEditor', 'tx_rtehtmlarea_acronym' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\Abbreviation', 'tx_rtehtmlarea_blockelements' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\BlockElements', 'tx_rtehtmlarea_blockstyle' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\BlockStyle', 'tx_rtehtmlarea_charactermap' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\CharacterMap', 'tx_rtehtmlarea_contextmenu' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\ContextMenu', 'tx_rtehtmlarea_copypaste' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\CopyPaste', 'tx_rtehtmlarea_defaultclean' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\DefaultClean', 'tx_rtehtmlarea_defaultimage' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\DefaultImage', 'tx_rtehtmlarea_defaultinline' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\DefaultInline', 'tx_rtehtmlarea_defaultlink' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\DefaultLink', 'tx_rtehtmlarea_definitionlist' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\DefinitionList', 'tx_rtehtmlarea_editelement' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\EditElement', 'tx_rtehtmlarea_editormode' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\EditorMode', 'tx_rtehtmlarea_findreplace' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\FindReplace', 'tx_rtehtmlarea_inlineelements' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\InlineElements', 'tx_rtehtmlarea_insertsmiley' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\InsertSmiley', 'tx_rtehtmlarea_language' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\Language', 'tx_rtehtmlarea_microdataschema' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\MicroDataSchema', 'tx_rtehtmlarea_plaintext' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\Plaintext', 'tx_rtehtmlarea_quicktag' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\QuickTag', 'tx_rtehtmlarea_removeformat' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\RemoveFormat', 'tx_rtehtmlarea_selectfont' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\SelectFont', 'tx_rtehtmlarea_spellchecker' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\Spellchecker', 'tx_rtehtmlarea_tableoperations' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\TableOperations', 'tx_rtehtmlarea_textindicator' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\TextIndicator', 'tx_rtehtmlarea_textstyle' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\TextStyle', 'tx_rtehtmlarea_typo3color' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\Typo3Color', 'tx_rtehtmlarea_typo3htmlparser' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\Typo3HtmlParser', 'tx_rtehtmlarea_typo3image' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\Typo3Image', 'tx_rtehtmlarea_typo3link' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\Typo3Link', 'tx_rtehtmlarea_undoredo' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\UndoRedo', 'tx_rtehtmlarea_userelements' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\UserElements', 'tx_rtehtmlarea_deprecatedRteProperties' => 'TYPO3\\CMS\\Rtehtmlarea\\Hook\\Install\\DeprecatedRteProperties', 'tx_rtehtmlarea_softrefproc' => 'TYPO3\\CMS\\Rtehtmlarea\\Hook\\SoftReferenceHook', 'tx_rtehtmlarea_statusReport_conflictsCheck' => 'TYPO3\\CMS\\Rtehtmlarea\\Hook\\StatusReportConflictsCheckHook', 'tx_rtehtmlarea_api' => 'TYPO3\\CMS\\Rtehtmlarea\\RteHtmlAreaApi', 'tx_rtehtmlarea_select_image' => 'TYPO3\\CMS\\Rtehtmlarea\\SelectImage', 'tx_rtehtmlarea_user' => 'TYPO3\\CMS\\Rtehtmlarea\\Controller\\UserElementsController', 'tx_saltedpasswords_eval_be' => 'TYPO3\\CMS\\Saltedpasswords\\Evaluation\\BackendEvaluator', 'tx_saltedpasswords_eval' => 'TYPO3\\CMS\\Saltedpasswords\\Evaluation\\Evaluator', 'tx_saltedpasswords_eval_fe' => 'TYPO3\\CMS\\Saltedpasswords\\Evaluation\\FrontendEvaluator', 'tx_saltedpasswords_abstract_salts' => 'TYPO3\\CMS\\Saltedpasswords\\Salt\\AbstractSalt', 'tx_saltedpasswords_salts_blowfish' => 'TYPO3\\CMS\\Saltedpasswords\\Salt\\BlowfishSalt', 'tx_saltedpasswords_salts_md5' => 'TYPO3\\CMS\\Saltedpasswords\\Salt\\Md5Salt', 'tx_saltedpasswords_salts_phpass' => 'TYPO3\\CMS\\Saltedpasswords\\Salt\\PhpassSalt', 'tx_saltedpasswords_salts_factory' => 'TYPO3\\CMS\\Saltedpasswords\\Salt\\SaltFactory', 'tx_saltedpasswords_salts' => 'TYPO3\\CMS\\Saltedpasswords\\Salt\\SaltInterface', 'tx_saltedpasswords_sv1' => 'TYPO3\\CMS\\Saltedpasswords\\SaltedPasswordService', 'tx_saltedpasswords_Tasks_BulkUpdate_AdditionalFieldProvider' => 'TYPO3\\CMS\\Saltedpasswords\\Task\\BulkUpdateFieldProvider', 'tx_saltedpasswords_Tasks_BulkUpdate' => 'TYPO3\\CMS\\Saltedpasswords\\Task\\BulkUpdateTask', 'tx_saltedpasswords_emconfhelper' => 'TYPO3\\CMS\\Saltedpasswords\\Utility\\ExtensionManagerConfigurationUtility', 'tx_saltedpasswords_div' => 'TYPO3\\CMS\\Saltedpasswords\\Utility\\SaltedPasswordsUtility', 'tx_scheduler_AdditionalFieldProvider' => 'TYPO3\\CMS\\Scheduler\\AdditionalFieldProviderInterface', 'tx_scheduler_Module' => 'TYPO3\\CMS\\Scheduler\\Controller\\SchedulerModuleController', 'tx_scheduler_CronCmd' => 'TYPO3\\CMS\\Scheduler\\CronCommand\\CronCommand', 'tx_scheduler_CronCmd_Normalize' => 'TYPO3\\CMS\\Scheduler\\CronCommand\\NormalizeCommand', 'tx_scheduler_SleepTask' => 'TYPO3\\CMS\\Scheduler\\Example\\SleepTask', 'tx_scheduler_SleepTask_AdditionalFieldProvider' => 'TYPO3\\CMS\\Scheduler\\Example\\SleepTaskAdditionalFieldProvider', 'tx_scheduler_Execution' => 'TYPO3\\CMS\\Scheduler\\Execution', 'tx_scheduler_FailedExecutionException' => 'TYPO3\\CMS\\Scheduler\\FailedExecutionException', 'tx_scheduler_ProgressProvider' => 'TYPO3\\CMS\\Scheduler\\ProgressProviderInterface', 'tx_scheduler' => 'TYPO3\\CMS\\Scheduler\\Scheduler', 'tx_scheduler_Task' => 'TYPO3\\CMS\\Scheduler\\Task\\AbstractTask', 'tx_scheduler_CachingFrameworkGarbageCollection_AdditionalFieldProvider' => 'TYPO3\\CMS\\Scheduler\\Task\\CachingFrameworkGarbageCollectionAdditionalFieldProvider', 'tx_scheduler_CachingFrameworkGarbageCollection' => 'TYPO3\\CMS\\Scheduler\\Task\\CachingFrameworkGarbageCollectionTask', 'tx_scheduler_RecyclerGarbageCollection_AdditionalFieldProvider' => 'TYPO3\\CMS\\Scheduler\\Task\\RecyclerGarbageCollectionAdditionalFieldProvider', 'tx_scheduler_RecyclerGarbageCollection' => 'TYPO3\\CMS\\Scheduler\\Task\\RecyclerGarbageCollectionTask', 'tx_scheduler_TableGarbageCollection_AdditionalFieldProvider' => 'TYPO3\\CMS\\Scheduler\\Task\\TableGarbageCollectionAdditionalFieldProvider', 'tx_scheduler_TableGarbageCollection' => 'TYPO3\\CMS\\Scheduler\\Task\\TableGarbageCollectionTask', 'SC_mod_user_setup_index' => 'TYPO3\\CMS\\Setup\\Controller\\SetupModuleController', 'tx_sv_authbase' => 'TYPO3\\CMS\\Sv\\AbstractAuthenticationService', 'tx_sv_auth' => 'TYPO3\\CMS\\Sv\\AuthenticationService', 'tx_sv_reports_ServicesList' => 'TYPO3\\CMS\\Sv\\Report\\ServicesListReport', 'tx_sysaction_list' => 'TYPO3\\CMS\\SysAction\\ActionList', 'tx_sysaction_task' => 'TYPO3\\CMS\\SysAction\\ActionTask', 'tx_t3editor_codecompletion' => 'TYPO3\\CMS\\T3editor\\CodeCompletion', 'tx_t3editor_hooks_fileedit' => 'TYPO3\\CMS\\T3editor\\Hook\\FileEditHook', 'tx_t3editor_hooks_tstemplateinfo' => 'TYPO3\\CMS\\T3editor\\Hook\\TypoScriptTemplateInfoHook', 'tx_t3editor' => 'TYPO3\\CMS\\T3editor\\T3editor', 'tx_t3editor_TSrefLoader' => 'TYPO3\\CMS\\T3editor\\TypoScriptReferenceLoader', 'SC_mod_user_task_index' => 'TYPO3\\CMS\\Taskcenter\\Controller\\TaskModuleController', 'tx_taskcenter_Task' => 'TYPO3\\CMS\\Taskcenter\\TaskInterface', 'tx_taskcenter_status' => 'TYPO3\\CMS\\Taskcenter\\TaskStatus', 'SC_mod_web_ts_index' => 'TYPO3\\CMS\\Tstemplate\\Controller\\TypoScriptTemplateModuleController', 'tx_tstemplateanalyzer' => 'TYPO3\\CMS\\Tstemplate\\Controller\\TemplateAnalyzerModuleFunctionController', 'tx_tstemplateceditor' => 'TYPO3\\CMS\\Tstemplate\\Controller\\TypoScriptTemplateConstantEditorModuleFunctionController', 'tx_tstemplateinfo' => 'TYPO3\\CMS\\Tstemplate\\Controller\\TypoScriptTemplateInformationModuleFunctionController', 'tx_tstemplateobjbrowser' => 'TYPO3\\CMS\\Tstemplate\\Controller\\TypoScriptTemplateObjectBrowserModuleFunctionController', 'tx_version_cm1' => 'TYPO3\\CMS\\Version\\Controller\\VersionModuleController', 'tx_version_tcemain_CommandMap' => 'TYPO3\\CMS\\Version\\DataHandler\\CommandMap', 'tx_version_tcemain' => 'TYPO3\\CMS\\Version\\Hook\\DataHandlerHook', 'Tx_Version_Preview' => 'TYPO3\\CMS\\Version\\Hook\\PreviewHook', 'tx_version_tasks_AutoPublish' => 'TYPO3\\CMS\\Version\\Task\\AutoPublishTask', 't3lib_utility_Dependency_Factory' => 'TYPO3\\CMS\\Version\\Dependency\\DependencyEntityFactory', 't3lib_utility_Dependency' => 'TYPO3\\CMS\\Version\\Dependency\\DependencyResolver', 't3lib_utility_Dependency_Element' => 'TYPO3\\CMS\\Version\\Dependency\\ElementEntity', 't3lib_utility_Dependency_Callback' => 'TYPO3\\CMS\\Version\\Dependency\\EventCallback', 't3lib_utility_Dependency_Reference' => 'TYPO3\\CMS\\Version\\Dependency\\ReferenceEntity', 'wslib' => 'TYPO3\\CMS\\Version\\Utility\\WorkspacesUtility', 'tx_version_gui' => 'TYPO3\\CMS\\Version\\View\\VersionView', 'tx_wizardcrpages_webfunc_2' => 'TYPO3\\CMS\\WizardCrpages\\Controller\\CreatePagesWizardModuleFunctionController', 'tx_wizardsortpages_webfunc_2' => 'TYPO3\\CMS\\WizardSortPages\\View\\SortPagesWizardModuleFunction', 'Tx_Workspaces_Controller_AbstractController' => 'TYPO3\\CMS\\Workspaces\\Controller\\AbstractController', 'Tx_Workspaces_Controller_PreviewController' => 'TYPO3\\CMS\\Workspaces\\Controller\\PreviewController', 'Tx_Workspaces_Controller_ReviewController' => 'TYPO3\\CMS\\Workspaces\\Controller\\ReviewController', 'Tx_Workspaces_Domain_Model_CombinedRecord' => 'TYPO3\\CMS\\Workspaces\\Domain\\Model\\CombinedRecord', 'Tx_Workspaces_Domain_Model_DatabaseRecord' => 'TYPO3\\CMS\\Workspaces\\Domain\\Model\\DatabaseRecord', 'Tx_Workspaces_ExtDirect_AbstractHandler' => 'TYPO3\\CMS\\Workspaces\\ExtDirect\\AbstractHandler', 'Tx_Workspaces_ExtDirect_ActionHandler' => 'TYPO3\\CMS\\Workspaces\\ExtDirect\\ActionHandler', 'Tx_Workspaces_ExtDirect_Server' => 'TYPO3\\CMS\\Workspaces\\ExtDirect\\ExtDirectServer', 'Tx_Workspaces_ExtDirect_MassActionHandler' => 'TYPO3\\CMS\\Workspaces\\ExtDirect\\MassActionHandler', 'Tx_Workspaces_ExtDirect_PagetreeCollectionsProcessor' => 'TYPO3\\CMS\\Workspaces\\ExtDirect\\PagetreeCollectionsProcessor', 'Tx_Workspaces_Service_Befunc' => 'TYPO3\\CMS\\Workspaces\\Hook\\BackendUtilityHook', 'Tx_Workspaces_Service_Tcemain' => 'TYPO3\\CMS\\Workspaces\\Hook\\DataHandlerHook', 'Tx_Workspaces_Service_Fehooks' => 'TYPO3\\CMS\\Workspaces\\Hook\\TypoScriptFrontendControllerHook', 'Tx_Workspaces_Service_AutoPublish' => 'TYPO3\\CMS\\Workspaces\\Service\\AutoPublishService', 'Tx_Workspaces_Service_GridData' => 'TYPO3\\CMS\\Workspaces\\Service\\GridDataService', 'Tx_Workspaces_Service_History' => 'TYPO3\\CMS\\Workspaces\\Service\\HistoryService', 'Tx_Workspaces_Service_Integrity' => 'TYPO3\\CMS\\Workspaces\\Service\\IntegrityService', 'Tx_Workspaces_Service_Stages' => 'TYPO3\\CMS\\Workspaces\\Service\\StagesService', 'Tx_Workspaces_Service_Workspaces' => 'TYPO3\\CMS\\Workspaces\\Service\\WorkspaceService', 'Tx_Workspaces_Service_AutoPublishTask' => 'TYPO3\\CMS\\Workspaces\\Task\\AutoPublishTask', 'Tx_Workspaces_Service_CleanupPreviewLinkTask' => 'TYPO3\\CMS\\Workspaces\\Task\\CleanupPreviewLinkTask', 'ext_posMap_pages' => 'TYPO3\\CMS\\Backend\\Tree\\View\\PageMovingPagePositionMap', 'ext_posMap_tt_content' => 'TYPO3\\CMS\\Backend\\Tree\\View\\ContentMovingPagePositionMap', 'localPageTree' => 'TYPO3\\CMS\\Backend\\Tree\\View\\ElementBrowserPageTreeView', 'TBE_PageTree' => 'TYPO3\\CMS\\Recordlist\\Tree\\View\\ElementBrowserPageTreeView', 'localFolderTree' => 'TYPO3\\CMS\\Backend\\Tree\\View\\ElementBrowserFolderTreeView', 'TBE_FolderTree' => 'TYPO3\\CMS\\Backend\\Tree\\View\\ElementBrowserFolderTreeView', 'TYPO3\\CMS\\Recordlist\\Tree\\View\\ElementBrowserFolderTreeView' => 'TYPO3\\CMS\\Backend\\Tree\\View\\ElementBrowserFolderTreeView', 'newRecordLocalPageTree' => 'TYPO3\\CMS\\Backend\\Tree\\View\\NewRecordPageTreeView', 'backend_cacheActionsHook' => 'TYPO3\\CMS\\Backend\\Toolbar\\ClearCacheActionsHookInterface', 'TYPO3\\CMS\\Frontend\\ContentObject\\SearchResultContentObject' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\SearchResultContentObject', 'TYPO3\\CMS\\Frontend\\ContentObject\\ImageTextContentObject' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\ImageTextContentObject', 'TYPO3\\CMS\\Frontend\\ContentObject\\ClearGifContentObject' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\ClearGifContentObject', 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentTableContentObject' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\ContentTableContentObject', 'TYPO3\\CMS\\Frontend\\ContentObject\\OffsetTableContentObject' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\OffsetTableContentObject', 'TYPO3\\CMS\\Frontend\\ContentObject\\ColumnsContentObject' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\ColumnsContentObject', 'TYPO3\\CMS\\Frontend\\ContentObject\\HorizontalRulerContentObject' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\HorizontalRulerContentObject', 'TYPO3\\CMS\\Frontend\\ContentObject\\FormContentObject' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\FormContentObject', 'TYPO3\\CMS\\Frontend\\Controller\\Wizard\\FormsController' => 'TYPO3\\CMS\\Compatibility6\\Controller\\Wizard\\FormsController', 'TYPO3\\CMS\\Frontend\\Controller\\DataSubmissionController' => 'TYPO3\\CMS\\Compatibility6\\Controller\\FormDataSubmissionController'];
diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/10.4/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/10.4/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php
index 9fe16be5a9d..745510d3ecd 100644
--- a/vendor/ssch/typo3-rector/Migrations/TYPO3/10.4/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php
+++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/10.4/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php
@@ -1,6 +1,6 @@
'TYPO3\\CMS\\Core\\TypoScript\\TypoScriptService'];
diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/fluid/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/fluid/Migrations/Code/ClassAliasMap.php
index 8fe8eb3f4f6..f910fd5c0d6 100644
--- a/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/fluid/Migrations/Code/ClassAliasMap.php
+++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/fluid/Migrations/Code/ClassAliasMap.php
@@ -1,6 +1,6 @@
'TYPO3Fluid\\Fluid\\Core\\Compiler\\TemplateCompiler',
diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/version/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/version/Migrations/Code/ClassAliasMap.php
index a12f979e27c..8c3a0ac5517 100644
--- a/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/version/Migrations/Code/ClassAliasMap.php
+++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/version/Migrations/Code/ClassAliasMap.php
@@ -1,5 +1,5 @@
'TYPO3\\CMS\\Workspaces\\Hook\\PreviewHook', 'TYPO3\\CMS\\Version\\Task\\AutoPublishTask' => 'TYPO3\\CMS\\Workspaces\\Task\\AutoPublishTask', 'TYPO3\\CMS\\Version\\Utility\\WorkspacesUtility' => 'TYPO3\\CMS\\Workspaces\\Service\\WorkspaceService'];
diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/adminpanel/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/adminpanel/Migrations/Code/ClassAliasMap.php
index cafb7181ee8..2efa044c2bb 100644
--- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/adminpanel/Migrations/Code/ClassAliasMap.php
+++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/adminpanel/Migrations/Code/ClassAliasMap.php
@@ -1,5 +1,5 @@
'TYPO3\\CMS\\Adminpanel\\View\\AdminPanelView', 'TYPO3\\CMS\\Frontend\\View\\AdminPanelViewHookInterface' => 'TYPO3\\CMS\\Adminpanel\\View\\AdminPanelViewHookInterface'];
diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php
index b2fa50f9dce..60593caaf87 100644
--- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php
+++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php
@@ -1,5 +1,5 @@
'TYPO3\\CMS\\Backend\\Controller\\AjaxLoginController', 'TYPO3\\CMS\\Backend\\Form\\Wizard\\ImageManipulationWizard' => 'TYPO3\\CMS\\Backend\\Controller\\Wizard\\ImageManipulationController', 'TYPO3\\CMS\\Cshmanual\\Domain\\Repository\\TableManualRepository' => 'TYPO3\\CMS\\Backend\\Domain\\Repository\\TableManualRepository'];
diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/core/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/core/Migrations/Code/ClassAliasMap.php
index f5346a3058c..51c1dc0457a 100644
--- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/core/Migrations/Code/ClassAliasMap.php
+++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/core/Migrations/Code/ClassAliasMap.php
@@ -1,5 +1,5 @@
'TYPO3\\CMS\\Core\\Localization\\LanguageService', 'TYPO3\\CMS\\ContextHelp\\Controller\\ContextHelpAjaxController' => 'TYPO3\\CMS\\Backend\\Controller\\ContextHelpAjaxController', 'TYPO3\\CMS\\Sv\\AbstractAuthenticationService' => 'TYPO3\\CMS\\Core\\Authentication\\AbstractAuthenticationService', 'TYPO3\\CMS\\Sv\\AuthenticationService' => 'TYPO3\\CMS\\Core\\Authentication\\AuthenticationService', 'TYPO3\\CMS\\Core\\IO\\PharStreamWrapper' => 'TYPO3\\PharStreamWrapper\\PharStreamWrapper', 'TYPO3\\CMS\\Core\\IO\\PharStreamWrapperException' => 'TYPO3\\PharStreamWrapper\\Exception', 'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\ExtJsArrayTreeRenderer' => 'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\ArrayTreeRenderer', 'TYPO3\\CMS\\Core\\History\\RecordHistory' => 'TYPO3\\CMS\\Core\\DataHandling\\History\\RecordHistoryStore', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\AbstractSalt' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\AbstractComposedSalt', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\AbstractComposedSalt' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\AbstractComposedSalt', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\Argon2iSalt' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Argon2iPasswordHash', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\BcryptSalt' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\BcryptPasswordHash', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\BlowfishSalt' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\BlowfishPasswordHash', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\ComposedSaltInterface' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\ComposedPasswordHashInterface', 'TYPO3\\CMS\\Saltedpasswords\\Utility\\ExensionManagerConfigurationUtility' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\ExtensionManagerConfigurationUtility', 'TYPO3\\CMS\\Saltedpasswords\\Exception\\InvalidSaltException' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\InvalidPasswordHashException', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\Md5Salt' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Md5PasswordHash', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\SaltFactory' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\PasswordHashFactory', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\SaltInterface' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\PasswordHashInterface', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\Pbkdf2Salt' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Pbkdf2PasswordHash', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\PhpassSalt' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\PhpassPasswordHash', 'TYPO3\\CMS\\Saltedpasswords\\SaltedPasswordService' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\SaltedPasswordService', 'TYPO3\\CMS\\Saltedpasswords\\Utility\\SaltedPasswordsUtility' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\SaltedPasswordsUtility'];
diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/extbase/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/extbase/Migrations/Code/ClassAliasMap.php
index 5413907d414..31b3bc3501c 100644
--- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/extbase/Migrations/Code/ClassAliasMap.php
+++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/extbase/Migrations/Code/ClassAliasMap.php
@@ -1,6 +1,6 @@
'TYPO3\\CMS\\Info\\Controller\\PageInformationController', 'TYPO3\\CMS\\Frontend\\Controller\\TranslationStatusController' => 'TYPO3\\CMS\\Info\\Controller\\TranslationStatusController', 'TYPO3\\CMS\\InfoPagetsconfig\\Controller\\InfoPageTyposcriptConfigController' => 'TYPO3\\CMS\\Info\\Controller\\InfoPageTyposcriptConfigController'];
diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/lowlevel/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/lowlevel/Migrations/Code/ClassAliasMap.php
index 257a5539515..a31ee6fa877 100644
--- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/lowlevel/Migrations/Code/ClassAliasMap.php
+++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/lowlevel/Migrations/Code/ClassAliasMap.php
@@ -1,5 +1,5 @@
'TYPO3\\CMS\\Lowlevel\\Controller\\ConfigurationController', 'TYPO3\\CMS\\Lowlevel\\View\\DatabaseIntegrityView' => 'TYPO3\\CMS\\Lowlevel\\Controller\\DatabaseIntegrityController'];
diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/recordlist/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/recordlist/Migrations/Code/ClassAliasMap.php
index 5eb2797b880..74258f2d69f 100644
--- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/recordlist/Migrations/Code/ClassAliasMap.php
+++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/recordlist/Migrations/Code/ClassAliasMap.php
@@ -1,5 +1,5 @@
'TYPO3\\CMS\\Recordlist\\Controller\\RecordListController'];
diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/reports/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/reports/Migrations/Code/ClassAliasMap.php
index 6aa94f6838a..7c6d115f015 100644
--- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/reports/Migrations/Code/ClassAliasMap.php
+++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/reports/Migrations/Code/ClassAliasMap.php
@@ -1,5 +1,5 @@
'TYPO3\\CMS\\Reports\\Report\\ServicesListReport'];
diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/t3editor/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/t3editor/Migrations/Code/ClassAliasMap.php
index 4140b993009..d1be773b858 100644
--- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/t3editor/Migrations/Code/ClassAliasMap.php
+++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/t3editor/Migrations/Code/ClassAliasMap.php
@@ -1,5 +1,5 @@
'TYPO3\\CMS\\T3editor\\Controller\\CodeCompletionController', 'TYPO3\\CMS\\T3editor\\TypoScriptReferenceLoader' => 'TYPO3\\CMS\\T3editor\\Controller\\TypoScriptReferenceController'];
diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/workspaces/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/workspaces/Migrations/Code/ClassAliasMap.php
index f60ea6e0b44..1bfef3df20b 100644
--- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/workspaces/Migrations/Code/ClassAliasMap.php
+++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/workspaces/Migrations/Code/ClassAliasMap.php
@@ -1,5 +1,5 @@
'TYPO3\\CMS\\Workspaces\\Command\\WorkspaceVersionRecordsCommand', 'TYPO3\\CMS\\Version\\DataHandler\\CommandMap' => 'TYPO3\\CMS\\Workspaces\\DataHandler\\CommandMap', 'TYPO3\\CMS\\Version\\Dependency\\DependencyEntityFactory' => 'TYPO3\\CMS\\Workspaces\\Dependency\\DependencyEntityFactory', 'TYPO3\\CMS\\Version\\Dependency\\DependencyResolver' => 'TYPO3\\CMS\\Workspaces\\Dependency\\DependencyResolver', 'TYPO3\\CMS\\Version\\Dependency\\ElementEntity' => 'TYPO3\\CMS\\Workspaces\\Dependency\\ElementEntity', 'TYPO3\\CMS\\Version\\Dependency\\ElementEntityProcessor' => 'TYPO3\\CMS\\Workspaces\\Dependency\\ElementEntityProcessor', 'TYPO3\\CMS\\Version\\Dependency\\EventCallback' => 'TYPO3\\CMS\\Workspaces\\Dependency\\EventCallback', 'TYPO3\\CMS\\Version\\Dependency\\ReferenceEntity' => 'TYPO3\\CMS\\Workspaces\\Dependency\\ReferenceEntity', 'TYPO3\\CMS\\Version\\Hook\\DataHandlerHook' => 'TYPO3\\CMS\\Workspaces\\Hook\\DataHandlerHook', 'TYPO3\\CMS\\Version\\Hook\\PreviewHook' => 'TYPO3\\CMS\\Workspaces\\Preview\\PreviewUriBuilder', 'TYPO3\\CMS\\Version\\Task\\AutoPublishTask' => 'TYPO3\\CMS\\Workspaces\\Task\\AutoPublishTask', 'TYPO3\\CMS\\Version\\Utility\\WorkspacesUtility' => 'TYPO3\\CMS\\Workspaces\\Service\\WorkspaceService'];
diff --git a/vendor/ssch/typo3-rector/config/composer/move_extension_from_ter_to_packagist.php b/vendor/ssch/typo3-rector/config/composer/move_extension_from_ter_to_packagist.php
index c1949fb8222..77e752851bf 100644
--- a/vendor/ssch/typo3-rector/config/composer/move_extension_from_ter_to_packagist.php
+++ b/vendor/ssch/typo3-rector/config/composer/move_extension_from_ter_to_packagist.php
@@ -1,7 +1,7 @@
import(__DIR__ . '/../config.php');
diff --git a/vendor/ssch/typo3-rector/config/composer/typo3-110-composer-packages-core.php b/vendor/ssch/typo3-rector/config/composer/typo3-110-composer-packages-core.php
index 63c2f1f8fa1..d584da06277 100644
--- a/vendor/ssch/typo3-rector/config/composer/typo3-110-composer-packages-core.php
+++ b/vendor/ssch/typo3-rector/config/composer/typo3-110-composer-packages-core.php
@@ -1,7 +1,7 @@
import(__DIR__ . '/../config.php');
diff --git a/vendor/ssch/typo3-rector/config/composer/typo3-87-composer-packages-extensions.php b/vendor/ssch/typo3-rector/config/composer/typo3-87-composer-packages-extensions.php
index 4fceff9bef4..ad5768e3104 100644
--- a/vendor/ssch/typo3-rector/config/composer/typo3-87-composer-packages-extensions.php
+++ b/vendor/ssch/typo3-rector/config/composer/typo3-87-composer-packages-extensions.php
@@ -1,7 +1,7 @@
import(__DIR__ . '/../config.php');
diff --git a/vendor/ssch/typo3-rector/config/composer/typo3-95-composer-packages-core.php b/vendor/ssch/typo3-rector/config/composer/typo3-95-composer-packages-core.php
index 0dfb777bc5d..e4b6ef0ebe6 100644
--- a/vendor/ssch/typo3-rector/config/composer/typo3-95-composer-packages-core.php
+++ b/vendor/ssch/typo3-rector/config/composer/typo3-95-composer-packages-core.php
@@ -1,7 +1,7 @@
import(__DIR__ . '/../config.php');
diff --git a/vendor/ssch/typo3-rector/config/config.php b/vendor/ssch/typo3-rector/config/config.php
index 27c8450cdb2..e7747cf3c52 100644
--- a/vendor/ssch/typo3-rector/config/config.php
+++ b/vendor/ssch/typo3-rector/config/config.php
@@ -1,21 +1,21 @@
import(__DIR__ . '/../utils/**/config/config.php', null, \true);
@@ -23,15 +23,15 @@ return static function (\Symfony\Component\DependencyInjection\Loader\Configurat
$services->defaults()->public()->autowire();
$services->load('Ssch\\TYPO3Rector\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/Rector', __DIR__ . '/../src/Set', __DIR__ . '/../src/ValueObject', __DIR__ . '/../src/FileProcessor/TypoScript/Conditions', __DIR__ . '/../src/FileProcessor/TypoScript/Rector', __DIR__ . '/../src/FileProcessor/TypoScript/PostRector', __DIR__ . '/../src/FileProcessor/Yaml/Form/Rector', __DIR__ . '/../src/FileProcessor/Composer/Rector', __DIR__ . '/../src/FileProcessor/FlexForms/Rector', __DIR__ . '/../src/FileProcessor/Resources/Icons/Rector', __DIR__ . '/../src/FileProcessor/Fluid/Rector']);
$services->set(\Helmich\TypoScriptParser\Parser\Traverser\Traverser::class);
- $services->set(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\Tokenizer::class);
- $services->alias(\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenizerInterface::class, \RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\Tokenizer::class);
- $services->set(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinter::class);
- $services->alias(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Printer\ASTPrinterInterface::class, \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinter::class);
- $services->set(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Parser::class);
- $services->alias(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParserInterface::class, \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Parser::class);
- $services->set(\RectorPrefix20220217\Symfony\Component\Console\Output\BufferedOutput::class);
- $services->alias(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::class, \RectorPrefix20220217\Symfony\Component\Console\Output\BufferedOutput::class);
- $services->set(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Builder::class);
+ $services->set(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\Tokenizer::class);
+ $services->alias(\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenizerInterface::class, \RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\Tokenizer::class);
+ $services->set(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinter::class);
+ $services->alias(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Printer\ASTPrinterInterface::class, \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinter::class);
+ $services->set(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Parser::class);
+ $services->alias(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParserInterface::class, \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Parser::class);
+ $services->set(\RectorPrefix20220218\Symfony\Component\Console\Output\BufferedOutput::class);
+ $services->alias(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::class, \RectorPrefix20220218\Symfony\Component\Console\Output\BufferedOutput::class);
+ $services->set(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Builder::class);
$services->set(\Ssch\TYPO3Rector\FileProcessor\TypoScript\TypoScriptFileProcessor::class)->call('configure', [['typoscript', 'ts', 'txt', 'pagets', 'constantsts', 'setupts', 'tsconfig', 't3s', 't3c', 'typoscriptconstants', 'typoscriptsetupts']]);
// custom generator
$services->set(\Rector\RectorGenerator\FileSystem\ConfigFilesystem::class);
diff --git a/vendor/ssch/typo3-rector/config/config_test.php b/vendor/ssch/typo3-rector/config/config_test.php
index d1cadcec2a5..7103975fab7 100644
--- a/vendor/ssch/typo3-rector/config/config_test.php
+++ b/vendor/ssch/typo3-rector/config/config_test.php
@@ -1,7 +1,7 @@
import(__DIR__ . '/../config.php');
$services = $containerConfigurator->services();
$services->set(\Ssch\TYPO3Rector\Rector\v7\v6\RenamePiListBrowserResultsRector::class);
$services->set(\Rector\Transform\Rector\MethodCall\MethodCallToStaticCallRector::class)->configure([new \Rector\Transform\ValueObject\MethodCallToStaticCall('TYPO3\\CMS\\Backend\\Template\\DocumentTemplate', 'issueCommand', 'TYPO3\\CMS\\Backend\\Utility\\BackendUtility', 'getLinkToDataHandlerAction')]);
- $services->set(\Rector\Renaming\Rector\ClassConstFetch\RenameClassConstFetchRector::class)->configure([new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Controller\\SearchFormController', 'WILDCARD_LEFT', \RectorPrefix20220217\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_LEFT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Controller\\SearchFormController', 'WILDCARD_RIGHT', \RectorPrefix20220217\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_RIGHT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Domain\\Repository\\IndexSearchRepository', 'WILDCARD_LEFT', \RectorPrefix20220217\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_LEFT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Domain\\Repository\\IndexSearchRepository', 'WILDCARD_RIGHT', \RectorPrefix20220217\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_RIGHT')]);
+ $services->set(\Rector\Renaming\Rector\ClassConstFetch\RenameClassConstFetchRector::class)->configure([new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Controller\\SearchFormController', 'WILDCARD_LEFT', \RectorPrefix20220218\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_LEFT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Controller\\SearchFormController', 'WILDCARD_RIGHT', \RectorPrefix20220218\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_RIGHT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Domain\\Repository\\IndexSearchRepository', 'WILDCARD_LEFT', \RectorPrefix20220218\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_LEFT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Domain\\Repository\\IndexSearchRepository', 'WILDCARD_RIGHT', \RectorPrefix20220218\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_RIGHT')]);
$services->set(\Ssch\TYPO3Rector\Rector\v7\v6\WrapClickMenuOnIconRector::class);
};
diff --git a/vendor/ssch/typo3-rector/config/v8/tca-87.php b/vendor/ssch/typo3-rector/config/v8/tca-87.php
index e2205a3b319..200cd9e40ff 100644
--- a/vendor/ssch/typo3-rector/config/v8/tca-87.php
+++ b/vendor/ssch/typo3-rector/config/v8/tca-87.php
@@ -1,7 +1,7 @@
currentFileProvider = $currentFileProvider;
}
- public function refactor(\RectorPrefix20220217\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void
+ public function refactor(\RectorPrefix20220218\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void
{
if ('typo3-cms-extension' !== $composerJson->getType()) {
return;
@@ -83,7 +83,7 @@ CODE_SAMPLE
CODE_SAMPLE
, [self::TYPO3_VERSION_CONSTRAINT => '^10.4'])]);
}
- private function addExtensionKey(\RectorPrefix20220217\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void
+ private function addExtensionKey(\RectorPrefix20220218\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void
{
$extra = $composerJson->getExtra();
if (isset($extra['typo3/cms']['extension-key'])) {
@@ -96,7 +96,7 @@ CODE_SAMPLE
$extra['typo3/cms']['extension-key'] = \basename(\dirname($fileInfo->getRealPath()));
$composerJson->setExtra($extra);
}
- private function addDescription(\RectorPrefix20220217\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void
+ private function addDescription(\RectorPrefix20220218\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void
{
$description = $composerJson->getDescription();
if ('' !== $description && null !== $description) {
@@ -104,7 +104,7 @@ CODE_SAMPLE
}
$composerJson->setDescription('Add description...');
}
- private function addLicense(\RectorPrefix20220217\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void
+ private function addLicense(\RectorPrefix20220218\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void
{
$license = $composerJson->getLicense();
if ('' !== $license && null !== $license && [] !== $license) {
@@ -112,7 +112,7 @@ CODE_SAMPLE
}
$composerJson->setLicense('GPL-2.0-or-later');
}
- private function fixPackageName(\RectorPrefix20220217\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void
+ private function fixPackageName(\RectorPrefix20220218\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void
{
$name = $composerJson->getName();
if ('' === $name) {
diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/Composer/Rector/RemoveCmsPackageDirFromExtraComposerRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/Composer/Rector/RemoveCmsPackageDirFromExtraComposerRector.php
index 130135b1102..27717c90bf6 100644
--- a/vendor/ssch/typo3-rector/src/FileProcessor/Composer/Rector/RemoveCmsPackageDirFromExtraComposerRector.php
+++ b/vendor/ssch/typo3-rector/src/FileProcessor/Composer/Rector/RemoveCmsPackageDirFromExtraComposerRector.php
@@ -4,7 +4,7 @@ declare (strict_types=1);
namespace Ssch\TYPO3Rector\FileProcessor\Composer\Rector;
use Rector\Composer\Contract\Rector\ComposerRectorInterface;
-use RectorPrefix20220217\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson;
+use RectorPrefix20220218\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
/**
@@ -17,7 +17,7 @@ final class RemoveCmsPackageDirFromExtraComposerRector implements \Rector\Compos
* @var string
*/
private const TYPO3_CMS = 'typo3/cms';
- public function refactor(\RectorPrefix20220217\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void
+ public function refactor(\RectorPrefix20220218\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void
{
$extra = $composerJson->getExtra();
if (!isset($extra[self::TYPO3_CMS])) {
diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/Fluid/Rector/DefaultSwitchFluidRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/Fluid/Rector/DefaultSwitchFluidRector.php
index 188313fbaf2..0093c5787f8 100644
--- a/vendor/ssch/typo3-rector/src/FileProcessor/Fluid/Rector/DefaultSwitchFluidRector.php
+++ b/vendor/ssch/typo3-rector/src/FileProcessor/Fluid/Rector/DefaultSwitchFluidRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Ssch\TYPO3Rector\FileProcessor\Fluid\Rector;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use Rector\Core\ValueObject\Application\File;
use Ssch\TYPO3Rector\Contract\FileProcessor\Fluid\Rector\FluidRectorInterface;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
@@ -24,7 +24,7 @@ final class DefaultSwitchFluidRector implements \Ssch\TYPO3Rector\Contract\FileP
public function transform(\Rector\Core\ValueObject\Application\File $file) : void
{
$content = $file->getFileContent();
- $content = \RectorPrefix20220217\Nette\Utils\Strings::replace($content, self::PATTERN, self::REPLACEMENT);
+ $content = \RectorPrefix20220218\Nette\Utils\Strings::replace($content, self::PATTERN, self::REPLACEMENT);
$file->changeFileContent($content);
}
public function getRuleDefinition() : \Symplify\RuleDocGenerator\ValueObject\RuleDefinition
diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/IconsFileProcessor.php b/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/IconsFileProcessor.php
index 774d553ede2..07c010bb505 100644
--- a/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/IconsFileProcessor.php
+++ b/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/IconsFileProcessor.php
@@ -13,7 +13,7 @@ use Rector\Testing\PHPUnit\StaticPHPUnitEnvironment;
use Ssch\TYPO3Rector\Contract\FileProcessor\Resources\IconRectorInterface;
use Ssch\TYPO3Rector\Helper\FilesFinder;
use Symplify\SmartFileSystem\SmartFileInfo;
-use RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileSystem;
+use RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileSystem;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.3/Feature-77349-AdditionalLocationsForExtensionIcons.html
* @see \Ssch\TYPO3Rector\Tests\FileProcessor\Resources\Icons\IconsProcessor\IconsProcessorTest
@@ -39,7 +39,7 @@ final class IconsFileProcessor implements \Rector\Core\Contract\Processor\FilePr
/**
* @param IconRectorInterface[] $iconsRector
*/
- public function __construct(\Ssch\TYPO3Rector\Helper\FilesFinder $filesFinder, \RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, array $iconsRector)
+ public function __construct(\Ssch\TYPO3Rector\Helper\FilesFinder $filesFinder, \RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, array $iconsRector)
{
$this->filesFinder = $filesFinder;
$this->smartFileSystem = $smartFileSystem;
diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/Rector/IconsRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/Rector/IconsRector.php
index 1004985a220..f372927a069 100644
--- a/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/Rector/IconsRector.php
+++ b/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/Rector/IconsRector.php
@@ -9,10 +9,10 @@ use Rector\Core\ValueObject\Application\File;
use Rector\FileSystemRector\ValueObject\AddedFileWithContent;
use Rector\Testing\PHPUnit\StaticPHPUnitEnvironment;
use Ssch\TYPO3Rector\Contract\FileProcessor\Resources\IconRectorInterface;
-use RectorPrefix20220217\Symplify\PackageBuilder\Parameter\ParameterProvider;
+use RectorPrefix20220218\Symplify\PackageBuilder\Parameter\ParameterProvider;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileSystem;
+use RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileSystem;
final class IconsRector implements \Ssch\TYPO3Rector\Contract\FileProcessor\Resources\IconRectorInterface
{
/**
@@ -27,7 +27,7 @@ final class IconsRector implements \Ssch\TYPO3Rector\Contract\FileProcessor\Reso
* @var \Symplify\SmartFileSystem\SmartFileSystem
*/
private $smartFileSystem;
- public function __construct(\RectorPrefix20220217\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem)
+ public function __construct(\RectorPrefix20220218\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem)
{
$this->parameterProvider = $parameterProvider;
$this->removedAndAddedFilesCollector = $removedAndAddedFilesCollector;
diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Conditions/TimeConditionMatcher.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Conditions/TimeConditionMatcher.php
index 4615998804d..8e44914a13a 100644
--- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Conditions/TimeConditionMatcher.php
+++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Conditions/TimeConditionMatcher.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Ssch\TYPO3Rector\FileProcessor\TypoScript\Conditions;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\Conditions\TyposcriptConditionMatcher;
use Ssch\TYPO3Rector\Helper\ArrayUtility;
final class TimeConditionMatcher implements \Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\Conditions\TyposcriptConditionMatcher
@@ -42,6 +42,6 @@ final class TimeConditionMatcher implements \Ssch\TYPO3Rector\Contract\FileProce
}
public function shouldApply(string $condition) : bool
{
- return null !== \RectorPrefix20220217\Nette\Utils\Strings::match($condition, '#' . self::ALLOWED_TIME_CONSTANTS . '#Ui');
+ return null !== \RectorPrefix20220218\Nette\Utils\Strings::match($condition, '#' . self::ALLOWED_TIME_CONSTANTS . '#Ui');
}
}
diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/AbstractTypoScriptRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/AbstractTypoScriptRector.php
index 11768087e68..3464ae6e940 100644
--- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/AbstractTypoScriptRector.php
+++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/AbstractTypoScriptRector.php
@@ -4,9 +4,9 @@ declare (strict_types=1);
namespace Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector;
use Helmich\TypoScriptParser\Parser\AST\Statement;
-use RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Traverser\Visitor;
+use RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Traverser\Visitor;
use Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\TypoScriptRectorInterface;
-abstract class AbstractTypoScriptRector implements \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Traverser\Visitor, \Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\TypoScriptRectorInterface
+abstract class AbstractTypoScriptRector implements \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Traverser\Visitor, \Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\TypoScriptRectorInterface
{
/**
* @var bool
diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/AdditionalHeadersToArrayTypoScriptRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/AdditionalHeadersToArrayTypoScriptRector.php
index f7f9ec4f94f..5c6a19b659d 100644
--- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/AdditionalHeadersToArrayTypoScriptRector.php
+++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/AdditionalHeadersToArrayTypoScriptRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector;
-use RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment;
+use RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment;
use Helmich\TypoScriptParser\Parser\AST\Statement;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
@@ -14,7 +14,7 @@ final class AdditionalHeadersToArrayTypoScriptRector extends \Ssch\TYPO3Rector\F
{
public function enterNode(\Helmich\TypoScriptParser\Parser\AST\Statement $statement) : void
{
- if (!$statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) {
+ if (!$statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) {
return;
}
if (\substr_compare($statement->object->relativeName, 'additionalHeaders', -\strlen('additionalHeaders')) !== 0) {
diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/ExtbasePersistenceTypoScriptRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/ExtbasePersistenceTypoScriptRector.php
index 6fad32b18fc..7fb84f38254 100644
--- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/ExtbasePersistenceTypoScriptRector.php
+++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/ExtbasePersistenceTypoScriptRector.php
@@ -3,10 +3,10 @@
declare (strict_types=1);
namespace Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector;
-use RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment;
-use RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Scalar as ScalarValue;
+use RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment;
+use RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Scalar as ScalarValue;
use Helmich\TypoScriptParser\Parser\AST\Statement;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Comment;
use PhpParser\Node\Expr\ArrayItem;
use PhpParser\Node\Scalar\String_;
@@ -71,7 +71,7 @@ final class ExtbasePersistenceTypoScriptRector extends \Ssch\TYPO3Rector\FilePro
}
public function enterNode(\Helmich\TypoScriptParser\Parser\AST\Statement $statement) : void
{
- if (!$statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) {
+ if (!$statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) {
return;
}
if (\strpos($statement->object->absoluteName, 'persistence.classes') === \false) {
@@ -131,7 +131,7 @@ CODE_SAMPLE
}
$return = new \PhpParser\Node\Stmt\Return_($persistenceArray);
$content = $this->betterStandardPrinter->prettyPrintFile([$return]);
- $content = \RectorPrefix20220217\Nette\Utils\Strings::replace($content, self::REMOVE_EMPTY_LINES, '');
+ $content = \RectorPrefix20220218\Nette\Utils\Strings::replace($content, self::REMOVE_EMPTY_LINES, '');
return new \Rector\FileSystemRector\ValueObject\AddedFileWithContent($this->filename, $content);
}
public function getMessage() : string
@@ -148,7 +148,7 @@ CODE_SAMPLE
/**
* @param string[] $paths
*/
- private function extractSubClasses(array $paths, \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void
+ private function extractSubClasses(array $paths, \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void
{
if (!\in_array(self::SUBCLASSES, $paths, \true)) {
return;
@@ -164,7 +164,7 @@ CODE_SAMPLE
/**
* @param string[] $paths
*/
- private function extractMapping(string $name, array $paths, \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void
+ private function extractMapping(string $name, array $paths, \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void
{
if (!\in_array($name, $paths, \true)) {
return;
@@ -180,7 +180,7 @@ CODE_SAMPLE
/**
* @param string[] $paths
*/
- private function extractColumns(array $paths, \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void
+ private function extractColumns(array $paths, \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void
{
if (!\in_array('columns', $paths, \true)) {
return;
diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/FileIncludeToImportStatementTypoScriptRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/FileIncludeToImportStatementTypoScriptRector.php
index 00e67eb91ad..9e4ea3ce9fd 100644
--- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/FileIncludeToImportStatementTypoScriptRector.php
+++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/FileIncludeToImportStatementTypoScriptRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector;
-use RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement;
+use RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement;
use Helmich\TypoScriptParser\Parser\AST\Statement;
use Rector\ChangesReporting\ValueObject\RectorWithLineChange;
use Rector\Core\Provider\CurrentFileProvider;
@@ -26,7 +26,7 @@ final class FileIncludeToImportStatementTypoScriptRector extends \Ssch\TYPO3Rect
}
public function enterNode(\Helmich\TypoScriptParser\Parser\AST\Statement $statement) : void
{
- if (!$statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement) {
+ if (!$statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement) {
return;
}
if (null !== $statement->condition) {
diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/LibFluidContentToLibContentElementRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/LibFluidContentToLibContentElementRector.php
index d787647c127..ed9a37a97ce 100644
--- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/LibFluidContentToLibContentElementRector.php
+++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/LibFluidContentToLibContentElementRector.php
@@ -3,8 +3,8 @@
declare (strict_types=1);
namespace Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector;
-use RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\NestedAssignment;
-use RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment;
+use RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\NestedAssignment;
+use RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment;
use Helmich\TypoScriptParser\Parser\AST\Statement;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
@@ -16,7 +16,7 @@ final class LibFluidContentToLibContentElementRector extends \Ssch\TYPO3Rector\F
{
public function enterNode(\Helmich\TypoScriptParser\Parser\AST\Statement $statement) : void
{
- if (!\is_a($statement, \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\NestedAssignment::class) && !\is_a($statement, \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment::class)) {
+ if (!\is_a($statement, \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\NestedAssignment::class) && !\is_a($statement, \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment::class)) {
return;
}
if ('lib.fluidContent' === $statement->object->relativeName) {
diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/OldConditionToExpressionLanguageTypoScriptRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/OldConditionToExpressionLanguageTypoScriptRector.php
index 0b362eb539e..b94a1fe820c 100644
--- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/OldConditionToExpressionLanguageTypoScriptRector.php
+++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/OldConditionToExpressionLanguageTypoScriptRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector;
-use RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement;
+use RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement;
use Helmich\TypoScriptParser\Parser\AST\Statement;
use LogicException;
use Rector\ChangesReporting\ValueObject\RectorWithLineChange;
@@ -36,7 +36,7 @@ final class OldConditionToExpressionLanguageTypoScriptRector extends \Ssch\TYPO3
}
public function enterNode(\Helmich\TypoScriptParser\Parser\AST\Statement $statement) : void
{
- if (!$statement instanceof \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement) {
+ if (!$statement instanceof \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement) {
return;
}
\preg_match_all('#\\[(.*)]#imU', $statement->condition, $conditions, \PREG_SET_ORDER);
diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/TypoScriptFileProcessor.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/TypoScriptFileProcessor.php
index cc59f4ae016..10746581aa1 100644
--- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/TypoScriptFileProcessor.php
+++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/TypoScriptFileProcessor.php
@@ -3,13 +3,13 @@
declare (strict_types=1);
namespace Ssch\TYPO3Rector\FileProcessor\TypoScript;
-use RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParseError;
-use RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParserInterface;
-use RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Printer\ASTPrinterInterface;
-use RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration;
+use RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParseError;
+use RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParserInterface;
+use RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Printer\ASTPrinterInterface;
+use RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration;
use Helmich\TypoScriptParser\Parser\Traverser\Traverser;
-use RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Traverser\Visitor;
-use RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenizerException;
+use RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Traverser\Visitor;
+use RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenizerException;
use Rector\ChangesReporting\ValueObjectFactory\FileDiffFactory;
use Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector;
use Rector\Core\Console\Output\RectorOutputStyle;
@@ -28,8 +28,8 @@ use Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\TypoScriptPostRectorInter
use Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\TypoScriptRectorInterface;
use Ssch\TYPO3Rector\Contract\Processor\ConfigurableProcessorInterface;
use Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector\AbstractTypoScriptRector;
-use RectorPrefix20220217\Symfony\Component\Console\Output\BufferedOutput;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\Symfony\Component\Console\Output\BufferedOutput;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @see \Ssch\TYPO3Rector\Tests\FileProcessor\TypoScript\TypoScriptProcessorTest
*/
@@ -91,7 +91,7 @@ final class TypoScriptFileProcessor implements \Ssch\TYPO3Rector\Contract\Proces
* @param TypoScriptRectorInterface[] $typoScriptRectors
* @param TypoScriptPostRectorInterface[] $typoScriptPostRectors
*/
- public function __construct(\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParserInterface $typoscriptParser, \RectorPrefix20220217\Symfony\Component\Console\Output\BufferedOutput $output, \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Printer\ASTPrinterInterface $typoscriptPrinter, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\FileFormatter\EditorConfig\EditorConfigParser $editorConfigParser, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \Rector\Core\Console\Output\RectorOutputStyle $rectorOutputStyle, \Rector\ChangesReporting\ValueObjectFactory\FileDiffFactory $fileDiffFactory, array $typoScriptRectors = [], array $typoScriptPostRectors = [])
+ public function __construct(\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParserInterface $typoscriptParser, \RectorPrefix20220218\Symfony\Component\Console\Output\BufferedOutput $output, \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Printer\ASTPrinterInterface $typoscriptPrinter, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\FileFormatter\EditorConfig\EditorConfigParser $editorConfigParser, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \Rector\Core\Console\Output\RectorOutputStyle $rectorOutputStyle, \Rector\ChangesReporting\ValueObjectFactory\FileDiffFactory $fileDiffFactory, array $typoScriptRectors = [], array $typoScriptPostRectors = [])
{
$this->typoscriptParser = $typoscriptParser;
$this->output = $output;
@@ -134,8 +134,8 @@ final class TypoScriptFileProcessor implements \Ssch\TYPO3Rector\Contract\Proces
public function configure(array $configuration) : void
{
$allowedFileExtensions = $configuration[self::ALLOWED_FILE_EXTENSIONS] ?? $configuration;
- \RectorPrefix20220217\Webmozart\Assert\Assert::isArray($allowedFileExtensions);
- \RectorPrefix20220217\Webmozart\Assert\Assert::allString($allowedFileExtensions);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($allowedFileExtensions);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allString($allowedFileExtensions);
$this->allowedFileExtensions = $allowedFileExtensions;
}
private function processFile(\Rector\Core\ValueObject\Application\File $file) : void
@@ -158,7 +158,7 @@ final class TypoScriptFileProcessor implements \Ssch\TYPO3Rector\Contract\Proces
$editorConfigConfigurationBuilder = \Rector\FileFormatter\ValueObjectFactory\EditorConfigConfigurationBuilder::create();
$editorConfigConfigurationBuilder->withIndent(\Rector\FileFormatter\ValueObject\Indent::createSpaceWithSize(4));
$editorConfiguration = $this->editorConfigParser->extractConfigurationForFile($file, $editorConfigConfigurationBuilder);
- $prettyPrinterConfiguration = \RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration::create();
+ $prettyPrinterConfiguration = \RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration::create();
$prettyPrinterConfiguration = $prettyPrinterConfiguration->withEmptyLineBreaks();
if ('tab' === $editorConfiguration->getIndentStyle()) {
$prettyPrinterConfiguration = $prettyPrinterConfiguration->withTabs();
@@ -173,9 +173,9 @@ final class TypoScriptFileProcessor implements \Ssch\TYPO3Rector\Contract\Proces
$oldFileContents = $file->getFileContent();
$file->changeFileContent($typoScriptContent);
$this->fileDiffs[] = $this->fileDiffFactory->createFileDiff($file, $oldFileContents, $file->getFileContent());
- } catch (\RectorPrefix20220217\Helmich\TypoScriptParser\Tokenizer\TokenizerException $exception) {
+ } catch (\RectorPrefix20220218\Helmich\TypoScriptParser\Tokenizer\TokenizerException $exception) {
return;
- } catch (\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\ParseError $exception) {
+ } catch (\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\ParseError $exception) {
$smartFileInfo = $file->getSmartFileInfo();
$errorFile = $smartFileInfo->getRelativeFilePath();
$this->rectorOutputStyle->warning(\sprintf('TypoScriptParser Error in: %s. File skipped.', $errorFile));
@@ -187,7 +187,7 @@ final class TypoScriptFileProcessor implements \Ssch\TYPO3Rector\Contract\Proces
*/
private function convertToPhpFileRectors() : array
{
- return \array_filter($this->typoScriptRectors, function (\RectorPrefix20220217\Helmich\TypoScriptParser\Parser\Traverser\Visitor $visitor) : bool {
+ return \array_filter($this->typoScriptRectors, function (\RectorPrefix20220218\Helmich\TypoScriptParser\Parser\Traverser\Visitor $visitor) : bool {
return \is_a($visitor, \Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\ConvertToPhpFileInterface::class, \true);
});
}
diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/Form/FormYamlFileProcessor.php b/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/Form/FormYamlFileProcessor.php
index 30afd88ef62..147f251abea 100644
--- a/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/Form/FormYamlFileProcessor.php
+++ b/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/Form/FormYamlFileProcessor.php
@@ -13,7 +13,7 @@ use Rector\Core\ValueObject\Reporting\FileDiff;
use Rector\Parallel\ValueObject\Bridge;
use Ssch\TYPO3Rector\Contract\FileProcessor\Yaml\Form\FormYamlRectorInterface;
use Ssch\TYPO3Rector\FileProcessor\Yaml\YamlIndentResolver;
-use RectorPrefix20220217\Symfony\Component\Yaml\Yaml;
+use RectorPrefix20220218\Symfony\Component\Yaml\Yaml;
/**
* @see \Ssch\TYPO3Rector\Tests\FileProcessor\Yaml\Form\FormYamlProcessorTest
*/
@@ -58,7 +58,7 @@ final class FormYamlFileProcessor implements \Rector\Core\Contract\Processor\Fil
$this->currentFileProvider->setFile($file);
$smartFileInfo = $file->getSmartFileInfo();
$oldYamlContent = $smartFileInfo->getContents();
- $yaml = \RectorPrefix20220217\Symfony\Component\Yaml\Yaml::parse($oldYamlContent);
+ $yaml = \RectorPrefix20220218\Symfony\Component\Yaml\Yaml::parse($oldYamlContent);
if (!\is_array($yaml)) {
return $systemErrorsAndFileDiffs;
}
@@ -71,7 +71,7 @@ final class FormYamlFileProcessor implements \Rector\Core\Contract\Processor\Fil
return $systemErrorsAndFileDiffs;
}
$spaceCount = $this->yamlIndentResolver->resolveIndentSpaceCount($oldYamlContent);
- $newFileContent = \RectorPrefix20220217\Symfony\Component\Yaml\Yaml::dump($newYaml, 99, $spaceCount);
+ $newFileContent = \RectorPrefix20220218\Symfony\Component\Yaml\Yaml::dump($newYaml, 99, $spaceCount);
$file->changeFileContent($newFileContent);
$fileDiff = $this->fileDiffFactory->createFileDiff($file, $oldYamlContent, $newFileContent);
$systemErrorsAndFileDiffs[\Rector\Parallel\ValueObject\Bridge::FILE_DIFFS][] = $fileDiff;
diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/YamlIndentResolver.php b/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/YamlIndentResolver.php
index 95a1cb41f74..0b33f290bb8 100644
--- a/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/YamlIndentResolver.php
+++ b/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/YamlIndentResolver.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Ssch\TYPO3Rector\FileProcessor\Yaml;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
final class YamlIndentResolver
{
/**
@@ -21,7 +21,7 @@ final class YamlIndentResolver
private const DEFAULT_INDENT_SPACE_COUNT = 4;
public function resolveIndentSpaceCount(string $yamlFileContent) : int
{
- $firstSpaceMatch = \RectorPrefix20220217\Nette\Utils\Strings::match($yamlFileContent, self::FIRST_INDENT_REGEX);
+ $firstSpaceMatch = \RectorPrefix20220218\Nette\Utils\Strings::match($yamlFileContent, self::FIRST_INDENT_REGEX);
if (!isset($firstSpaceMatch[self::FIRST_INDENT_KEY])) {
return self::DEFAULT_INDENT_SPACE_COUNT;
}
diff --git a/vendor/ssch/typo3-rector/src/Helper/FilesFinder.php b/vendor/ssch/typo3-rector/src/Helper/FilesFinder.php
index 5ee38c6b935..ce6ec81eede 100644
--- a/vendor/ssch/typo3-rector/src/Helper/FilesFinder.php
+++ b/vendor/ssch/typo3-rector/src/Helper/FilesFinder.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Ssch\TYPO3Rector\Helper;
-use RectorPrefix20220217\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment;
+use RectorPrefix20220218\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment;
use Symplify\SmartFileSystem\SmartFileInfo;
final class FilesFinder
{
@@ -34,7 +34,7 @@ final class FilesFinder
private function findFileRelativeFromGivenFileInfo(\Symplify\SmartFileSystem\SmartFileInfo $fileInfo, string $filename) : ?\Symplify\SmartFileSystem\SmartFileInfo
{
// special case for tests
- if (\RectorPrefix20220217\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment::isPHPUnitRun()) {
+ if (\RectorPrefix20220218\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment::isPHPUnitRun()) {
return $fileInfo;
}
$currentDirectory = \dirname($fileInfo->getRealPath());
diff --git a/vendor/ssch/typo3-rector/src/Helper/StringUtility.php b/vendor/ssch/typo3-rector/src/Helper/StringUtility.php
index c28783b0b30..4826d91017e 100644
--- a/vendor/ssch/typo3-rector/src/Helper/StringUtility.php
+++ b/vendor/ssch/typo3-rector/src/Helper/StringUtility.php
@@ -3,17 +3,17 @@
declare (strict_types=1);
namespace Ssch\TYPO3Rector\Helper;
-use function RectorPrefix20220217\Symfony\Component\String\u;
+use function RectorPrefix20220218\Symfony\Component\String\u;
final class StringUtility
{
public static function prepareExtensionName(string $extensionName, int $delimiterPosition) : string
{
$extensionName = \substr($extensionName, $delimiterPosition + 1);
- $stringy = \RectorPrefix20220217\Symfony\Component\String\u($extensionName);
+ $stringy = \RectorPrefix20220218\Symfony\Component\String\u($extensionName);
$underscores = $stringy->snake();
$lower = $underscores->lower();
$underScoredExtensionName = \str_replace('_', ' ', $lower->toString());
- $stringy = \RectorPrefix20220217\Symfony\Component\String\u($underScoredExtensionName);
+ $stringy = \RectorPrefix20220218\Symfony\Component\String\u($underScoredExtensionName);
$trimmed = $stringy->trim();
$uppercase = $trimmed->title();
$underScoredExtensionName = \ucwords($uppercase->toString());
diff --git a/vendor/ssch/typo3-rector/src/NodeFactory/InitializeArgumentsClassMethodFactory.php b/vendor/ssch/typo3-rector/src/NodeFactory/InitializeArgumentsClassMethodFactory.php
index 678f2347102..c23114677da 100644
--- a/vendor/ssch/typo3-rector/src/NodeFactory/InitializeArgumentsClassMethodFactory.php
+++ b/vendor/ssch/typo3-rector/src/NodeFactory/InitializeArgumentsClassMethodFactory.php
@@ -40,8 +40,8 @@ use Rector\PHPStanStaticTypeMapper\Enum\TypeKind;
use Rector\StaticTypeMapper\StaticTypeMapper;
use Rector\StaticTypeMapper\ValueObject\Type\ShortenedObjectType;
use Rector\TypeDeclaration\TypeInferer\ParamTypeInferer;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
-use RectorPrefix20220217\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
+use RectorPrefix20220218\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker;
final class InitializeArgumentsClassMethodFactory
{
/**
@@ -88,7 +88,7 @@ final class InitializeArgumentsClassMethodFactory
* @var \Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker
*/
private $classLikeExistenceChecker;
- public function __construct(\Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \Rector\TypeDeclaration\TypeInferer\ParamTypeInferer $paramTypeInferer, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver, \Rector\Core\PhpParser\AstResolver $astResolver, \RectorPrefix20220217\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker $classLikeExistenceChecker)
+ public function __construct(\Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \Rector\TypeDeclaration\TypeInferer\ParamTypeInferer $paramTypeInferer, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver, \Rector\Core\PhpParser\AstResolver $astResolver, \RectorPrefix20220218\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker $classLikeExistenceChecker)
{
$this->nodeFactory = $nodeFactory;
$this->nodeNameResolver = $nodeNameResolver;
@@ -129,7 +129,7 @@ final class InitializeArgumentsClassMethodFactory
}
private function createNewClassMethod() : \PhpParser\Node\Stmt\ClassMethod
{
- $methodBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(self::METHOD_NAME);
+ $methodBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(self::METHOD_NAME);
$methodBuilder->makePublic();
$methodBuilder->setReturnType('void');
return $methodBuilder->getNode();
diff --git a/vendor/ssch/typo3-rector/src/NodeFactory/InjectMethodFactory.php b/vendor/ssch/typo3-rector/src/NodeFactory/InjectMethodFactory.php
index b2a2237ed30..1baacbfd603 100644
--- a/vendor/ssch/typo3-rector/src/NodeFactory/InjectMethodFactory.php
+++ b/vendor/ssch/typo3-rector/src/NodeFactory/InjectMethodFactory.php
@@ -19,8 +19,8 @@ use Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTagRemover;
use Rector\NodeNameResolver\NodeNameResolver;
use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType;
use Rector\StaticTypeMapper\ValueObject\Type\ShortenedObjectType;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder;
final class InjectMethodFactory
{
/**
@@ -50,7 +50,7 @@ final class InjectMethodFactory
$statements = [];
/** @var string $variableName */
$variableName = $this->nodeNameResolver->getName($property);
- $paramBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder($variableName);
+ $paramBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder($variableName);
$varType = $propertyPhpDocInfo->getVarType();
if (!$varType instanceof \PHPStan\Type\ObjectType) {
return $statements;
@@ -76,7 +76,7 @@ final class InjectMethodFactory
private function createInjectClassMethod(string $variableName, \PhpParser\Node\Param $param, \PhpParser\Node\Expr\Assign $assign) : \PhpParser\Node\Stmt\ClassMethod
{
$injectMethodName = $this->createInjectMethodName($variableName);
- $injectMethodBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($injectMethodName);
+ $injectMethodBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($injectMethodName);
$injectMethodBuilder->makePublic();
$injectMethodBuilder->addParam($param);
$injectMethodBuilder->setReturnType('void');
diff --git a/vendor/ssch/typo3-rector/src/Rector/General/MethodGetInstanceToMakeInstanceCallRector.php b/vendor/ssch/typo3-rector/src/Rector/General/MethodGetInstanceToMakeInstanceCallRector.php
index 682137f0d1b..be79479cc27 100644
--- a/vendor/ssch/typo3-rector/src/Rector/General/MethodGetInstanceToMakeInstanceCallRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/General/MethodGetInstanceToMakeInstanceCallRector.php
@@ -10,8 +10,8 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Core\Utility\GeneralUtility;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\TYPO3\CMS\Core\Utility\GeneralUtility;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @see \Ssch\TYPO3Rector\Tests\Rector\General\MethodGetInstanceToMakeInstanceCallRector\MethodGetInstanceToMakeInstanceCallRectorTest
*/
@@ -49,7 +49,7 @@ final class MethodGetInstanceToMakeInstanceCallRector extends \Rector\Core\Recto
return null;
}
$class = $this->nodeFactory->createClassConstReference($className);
- return $this->nodeFactory->createStaticCall(\RectorPrefix20220217\TYPO3\CMS\Core\Utility\GeneralUtility::class, 'makeInstance', [$class]);
+ return $this->nodeFactory->createStaticCall(\RectorPrefix20220218\TYPO3\CMS\Core\Utility\GeneralUtility::class, 'makeInstance', [$class]);
}
/**
* @codeCoverageIgnore
@@ -72,8 +72,8 @@ CODE_SAMPLE
public function configure(array $configuration) : void
{
$classes = $configuration[self::CLASSES_GET_INSTANCE_TO_MAKE_INSTANCE] ?? $configuration;
- \RectorPrefix20220217\Webmozart\Assert\Assert::isArray($classes);
- \RectorPrefix20220217\Webmozart\Assert\Assert::allString($classes);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($classes);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allString($classes);
$this->classes = $classes;
}
private function shouldSkip(\PhpParser\Node\Expr\StaticCall $node) : bool
diff --git a/vendor/ssch/typo3-rector/src/Rector/PostRector/FullQualifiedNamePostRector.php b/vendor/ssch/typo3-rector/src/Rector/PostRector/FullQualifiedNamePostRector.php
index f3f15fdc17f..e0c7b2c81a4 100644
--- a/vendor/ssch/typo3-rector/src/Rector/PostRector/FullQualifiedNamePostRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/PostRector/FullQualifiedNamePostRector.php
@@ -16,10 +16,10 @@ use Rector\NodeRemoval\NodeRemover;
use Rector\PostRector\Rector\AbstractPostRector;
use Rector\PostRector\Rector\NameImportingPostRector;
use Ssch\TYPO3Rector\Configuration\Typo3Option;
-use RectorPrefix20220217\Symplify\PackageBuilder\Parameter\ParameterProvider;
+use RectorPrefix20220218\Symplify\PackageBuilder\Parameter\ParameterProvider;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Symplify\Skipper\Matcher\FileInfoMatcher;
+use RectorPrefix20220218\Symplify\Skipper\Matcher\FileInfoMatcher;
/**
* @see \Ssch\TYPO3Rector\Tests\Rector\PostRector\FullQualifiedNamePostRector\FullQualifiedNamePostRectorTest
*/
@@ -49,7 +49,7 @@ final class FullQualifiedNamePostRector extends \Rector\PostRector\Rector\Abstra
* @var \Symplify\Skipper\Matcher\FileInfoMatcher
*/
private $fileInfoMatcher;
- public function __construct(\RectorPrefix20220217\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\NodeRemoval\NodeRemover $nodeRemover, \Rector\CodingStyle\ClassNameImport\ClassNameImportSkipper $classNameImportSkipper, \RectorPrefix20220217\Symplify\Skipper\Matcher\FileInfoMatcher $fileInfoMatcher)
+ public function __construct(\RectorPrefix20220218\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\NodeRemoval\NodeRemover $nodeRemover, \Rector\CodingStyle\ClassNameImport\ClassNameImportSkipper $classNameImportSkipper, \RectorPrefix20220218\Symplify\Skipper\Matcher\FileInfoMatcher $fileInfoMatcher)
{
$this->parameterProvider = $parameterProvider;
$this->currentFileProvider = $currentFileProvider;
@@ -144,7 +144,7 @@ CODE_SAMPLE
$filesAndDirectories = $this->parameterProvider->provideArrayParameter(\Ssch\TYPO3Rector\Configuration\Typo3Option::PATHS_FULL_QUALIFIED_NAMESPACES);
return !$this->fileInfoMatcher->doesFileInfoMatchPatterns($file->getSmartFileInfo(), $filesAndDirectories);
}
- private function changeNameImportingPostRectorSkipConfiguration(\RectorPrefix20220217\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) : void
+ private function changeNameImportingPostRectorSkipConfiguration(\RectorPrefix20220218\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) : void
{
if (!$parameterProvider->hasParameter(\Ssch\TYPO3Rector\Configuration\Typo3Option::PATHS_FULL_QUALIFIED_NAMESPACES)) {
return;
diff --git a/vendor/ssch/typo3-rector/src/Rector/v10/v0/ConfigurationManagerAddControllerConfigurationMethodRector.php b/vendor/ssch/typo3-rector/src/Rector/v10/v0/ConfigurationManagerAddControllerConfigurationMethodRector.php
index c5c18c4f8c7..4486207cd90 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v10/v0/ConfigurationManagerAddControllerConfigurationMethodRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v10/v0/ConfigurationManagerAddControllerConfigurationMethodRector.php
@@ -12,8 +12,8 @@ use PhpParser\Node\Stmt\Nop;
use PhpParser\Node\Stmt\Return_;
use PHPStan\Type\ObjectType;
use Rector\Core\Rector\AbstractRector;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
/**
@@ -87,9 +87,9 @@ CODE_SAMPLE
}
private function addMethodGetControllerConfiguration(\PhpParser\Node\Stmt\Class_ $node) : void
{
- $methodBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('getControllerConfiguration');
+ $methodBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('getControllerConfiguration');
$methodBuilder->makeProtected();
- $methodBuilder->addParams([(new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder('extensionName'))->getNode(), (new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder('pluginName'))->getNode()]);
+ $methodBuilder->addParams([(new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder('extensionName'))->getNode(), (new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder('pluginName'))->getNode()]);
$newMethod = $methodBuilder->getNode();
$newMethod->returnType = new \PhpParser\Node\Identifier('array');
$newMethod->stmts[] = new \PhpParser\Node\Stmt\Return_($this->nodeFactory->createMethodCall('this', 'getSwitchableControllerActions', [new \PhpParser\Node\Expr\Variable('extensionName'), new \PhpParser\Node\Expr\Variable('pluginName')]));
diff --git a/vendor/ssch/typo3-rector/src/Rector/v10/v0/SetSystemLocaleFromSiteLanguageRector.php b/vendor/ssch/typo3-rector/src/Rector/v10/v0/SetSystemLocaleFromSiteLanguageRector.php
index 2cc5f0ba5cb..bfa7c0053d5 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v10/v0/SetSystemLocaleFromSiteLanguageRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v10/v0/SetSystemLocaleFromSiteLanguageRector.php
@@ -10,7 +10,7 @@ use Rector\Core\Rector\AbstractRector;
use Ssch\TYPO3Rector\Helper\Typo3NodeResolver;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;
+use RectorPrefix20220218\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/10.0/Deprecation-88473-TypoScriptFrontendController-settingLocale.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v10\v0\SetSystemLocaleFromSiteLanguageRector\SetSystemLocaleFromSiteLanguageRectorTest
diff --git a/vendor/ssch/typo3-rector/src/Rector/v10/v0/UseNativePhpHex2binMethodRector.php b/vendor/ssch/typo3-rector/src/Rector/v10/v0/UseNativePhpHex2binMethodRector.php
index 3c0618e9830..02e4779b137 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v10/v0/UseNativePhpHex2binMethodRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v10/v0/UseNativePhpHex2binMethodRector.php
@@ -9,7 +9,7 @@ use PHPStan\Type\ObjectType;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Extbase\Utility\TypeHandlingUtility;
+use RectorPrefix20220218\TYPO3\CMS\Extbase\Utility\TypeHandlingUtility;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/10.0/Deprecation-87613-DeprecateTYPO3CMSExtbaseUtilityTypeHandlingUtilityhex2bin.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v10\v0\UseNativePhpHex2binMethodRector\UseNativePhpHex2binMethodRectorTest
@@ -41,6 +41,6 @@ final class UseNativePhpHex2binMethodRector extends \Rector\Core\Rector\Abstract
*/
public function getRuleDefinition() : \Symplify\RuleDocGenerator\ValueObject\RuleDefinition
{
- return new \Symplify\RuleDocGenerator\ValueObject\RuleDefinition('Turns \\TYPO3\\CMS\\Extbase\\Utility\\TypeHandlingUtility::hex2bin calls to native php hex2bin', [new \Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample(\RectorPrefix20220217\TYPO3\CMS\Extbase\Utility\TypeHandlingUtility::class . '::hex2bin("6578616d706c65206865782064617461");', 'hex2bin("6578616d706c65206865782064617461");')]);
+ return new \Symplify\RuleDocGenerator\ValueObject\RuleDefinition('Turns \\TYPO3\\CMS\\Extbase\\Utility\\TypeHandlingUtility::hex2bin calls to native php hex2bin', [new \Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample(\RectorPrefix20220218\TYPO3\CMS\Extbase\Utility\TypeHandlingUtility::class . '::hex2bin("6578616d706c65206865782064617461");', 'hex2bin("6578616d706c65206865782064617461");')]);
}
}
diff --git a/vendor/ssch/typo3-rector/src/Rector/v10/v2/InjectEnvironmentServiceIfNeededInResponseRector.php b/vendor/ssch/typo3-rector/src/Rector/v10/v2/InjectEnvironmentServiceIfNeededInResponseRector.php
index 3c1734ab13e..e4f17129862 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v10/v2/InjectEnvironmentServiceIfNeededInResponseRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v10/v2/InjectEnvironmentServiceIfNeededInResponseRector.php
@@ -17,9 +17,9 @@ use PHPStan\Type\VerbosityLevel;
use Rector\Core\NodeManipulator\ClassInsertManipulator;
use Rector\Core\Rector\AbstractRector;
use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
/**
@@ -127,7 +127,7 @@ CODE_SAMPLE
}
private function createEnvironmentServiceProperty() : \PhpParser\Node\Stmt\Property
{
- $propertyBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder(self::ENVIRONMENT_SERVICE);
+ $propertyBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder(self::ENVIRONMENT_SERVICE);
$propertyBuilder->makeProtected();
$type = new \Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType('TYPO3\\CMS\\Extbase\\Service\\EnvironmentService');
$propertyBuilder->setDocComment(new \PhpParser\Comment\Doc(\sprintf('/**%s * @var \\%s%s */', \PHP_EOL, $type->describe(\PHPStan\Type\VerbosityLevel::typeOnly()), \PHP_EOL)));
@@ -149,11 +149,11 @@ CODE_SAMPLE
}
private function addInjectEnvironmentServiceMethod(\PhpParser\Node\Stmt\Class_ $node) : void
{
- $paramBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder(self::ENVIRONMENT_SERVICE);
+ $paramBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder(self::ENVIRONMENT_SERVICE);
$paramBuilder->setType(new \PhpParser\Node\Name\FullyQualified('TYPO3\\CMS\\Extbase\\Service\\EnvironmentService'));
$param = $paramBuilder->getNode();
$propertyAssignNode = $this->nodeFactory->createPropertyAssignmentWithExpr(self::ENVIRONMENT_SERVICE, new \PhpParser\Node\Expr\Variable(self::ENVIRONMENT_SERVICE));
- $classMethodBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('injectEnvironmentService');
+ $classMethodBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('injectEnvironmentService');
$classMethodBuilder->addParam($param);
$classMethodBuilder->addStmt($propertyAssignNode);
$classMethodBuilder->makePublic();
diff --git a/vendor/ssch/typo3-rector/src/Rector/v10/v4/UseIconsFromSubFolderInIconRegistryRector.php b/vendor/ssch/typo3-rector/src/Rector/v10/v4/UseIconsFromSubFolderInIconRegistryRector.php
index 9ad04f61b7e..dbc0c2e595e 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v10/v4/UseIconsFromSubFolderInIconRegistryRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v10/v4/UseIconsFromSubFolderInIconRegistryRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Ssch\TYPO3Rector\Rector\v10\v4;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Expr\MethodCall;
use PHPStan\Type\ObjectType;
@@ -51,7 +51,7 @@ final class UseIconsFromSubFolderInIconRegistryRector extends \Rector\Core\Recto
if (\strncmp($options[self::SOURCE], 'typo3/sysext/core/Resources/Public/Icons/T3Icons/content/', \strlen('typo3/sysext/core/Resources/Public/Icons/T3Icons/content/')) !== 0) {
return null;
}
- $options[self::SOURCE] = \RectorPrefix20220217\Nette\Utils\Strings::replace($options[self::SOURCE], '#typo3/sysext/core/Resources/Public/Icons/T3Icons/content/#i', 'typo3/sysext/core/Resources/Public/Icons/T3Icons/svgs/content/');
+ $options[self::SOURCE] = \RectorPrefix20220218\Nette\Utils\Strings::replace($options[self::SOURCE], '#typo3/sysext/core/Resources/Public/Icons/T3Icons/content/#i', 'typo3/sysext/core/Resources/Public/Icons/T3Icons/svgs/content/');
$node->args[2]->value = $this->nodeFactory->createArray($options);
return null;
}
diff --git a/vendor/ssch/typo3-rector/src/Rector/v11/v4/ProvideCObjViaMethodRector.php b/vendor/ssch/typo3-rector/src/Rector/v11/v4/ProvideCObjViaMethodRector.php
index 29650d0e5f9..b358f802359 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v11/v4/ProvideCObjViaMethodRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v11/v4/ProvideCObjViaMethodRector.php
@@ -13,8 +13,8 @@ use PhpParser\Node\Stmt\Property;
use PHPStan\Type\ObjectType;
use Rector\Core\Rector\AbstractRector;
use Rector\Privatization\NodeManipulator\VisibilityManipulator;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
-use RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder;
+use RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
/**
@@ -87,11 +87,11 @@ CODE_SAMPLE
}
private function addSetContentObjectRendererMethod(\PhpParser\Node\Stmt\Class_ $node) : void
{
- $paramBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder(self::COBJ);
+ $paramBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder(self::COBJ);
$paramBuilder->setType(new \PhpParser\Node\Name\FullyQualified('TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer'));
$param = $paramBuilder->getNode();
$propertyAssignNode = $this->nodeFactory->createPropertyAssignmentWithExpr(self::COBJ, new \PhpParser\Node\Expr\Variable(self::COBJ));
- $classMethodBuilder = new \RectorPrefix20220217\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('setContentObjectRenderer');
+ $classMethodBuilder = new \RectorPrefix20220218\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('setContentObjectRenderer');
$classMethodBuilder->addParam($param);
$classMethodBuilder->addStmt($propertyAssignNode);
$classMethodBuilder->makePublic();
diff --git a/vendor/ssch/typo3-rector/src/Rector/v8/v0/PrependAbsolutePathToGetFileAbsFileNameRector.php b/vendor/ssch/typo3-rector/src/Rector/v8/v0/PrependAbsolutePathToGetFileAbsFileNameRector.php
index 7830a2a0c16..20d93ee2fc0 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v8/v0/PrependAbsolutePathToGetFileAbsFileNameRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v8/v0/PrependAbsolutePathToGetFileAbsFileNameRector.php
@@ -9,7 +9,7 @@ use PHPStan\Type\ObjectType;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Core\Imaging\GraphicalFunctions;
+use RectorPrefix20220218\TYPO3\CMS\Core\Imaging\GraphicalFunctions;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.0/Deprecation-74022-GraphicalFunctions-prependAbsolutePath.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v8\v0\PrependAbsolutePathToGetFileAbsFileNameRector\PrependAbsolutePathToGetFileAbsFileNameRectorTest
diff --git a/vendor/ssch/typo3-rector/src/Rector/v8/v0/RefactorRemovedMethodsFromGeneralUtilityRector.php b/vendor/ssch/typo3-rector/src/Rector/v8/v0/RefactorRemovedMethodsFromGeneralUtilityRector.php
index b7bbf55806d..70075a13968 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v8/v0/RefactorRemovedMethodsFromGeneralUtilityRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v8/v0/RefactorRemovedMethodsFromGeneralUtilityRector.php
@@ -9,7 +9,7 @@ use PhpParser\Node\Expr\StaticCall;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Core\Imaging\GraphicalFunctions;
+use RectorPrefix20220218\TYPO3\CMS\Core\Imaging\GraphicalFunctions;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.0/Breaking-72342-RemovedDeprecatedCodeFromGeneralUtility.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v8\v0\RefactorRemovedMethodsFromGeneralUtilityRector\RefactorRemovedMethodsFromGeneralUtilityRectorTest
@@ -67,6 +67,6 @@ final class RefactorRemovedMethodsFromGeneralUtilityRector extends \Rector\Core\
*/
public function getRuleDefinition() : \Symplify\RuleDocGenerator\ValueObject\RuleDefinition
{
- return new \Symplify\RuleDocGenerator\ValueObject\RuleDefinition('Refactor removed methods from GeneralUtility.', [new \Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample('GeneralUtility::gif_compress();', \RectorPrefix20220217\TYPO3\CMS\Core\Imaging\GraphicalFunctions::class . '::gifCompress();')]);
+ return new \Symplify\RuleDocGenerator\ValueObject\RuleDefinition('Refactor removed methods from GeneralUtility.', [new \Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample('GeneralUtility::gif_compress();', \RectorPrefix20220218\TYPO3\CMS\Core\Imaging\GraphicalFunctions::class . '::gifCompress();')]);
}
}
diff --git a/vendor/ssch/typo3-rector/src/Rector/v8/v3/RefactorMethodFileContentRector.php b/vendor/ssch/typo3-rector/src/Rector/v8/v3/RefactorMethodFileContentRector.php
index 72a3d878ccd..3480c7130d0 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v8/v3/RefactorMethodFileContentRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v8/v3/RefactorMethodFileContentRector.php
@@ -11,7 +11,7 @@ use Rector\Core\Rector\AbstractRector;
use Ssch\TYPO3Rector\Helper\Typo3NodeResolver;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Core\TypoScript\TemplateService;
+use RectorPrefix20220218\TYPO3\CMS\Core\TypoScript\TemplateService;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.3/Deprecation-77477-TemplateService-fileContent.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v8\v3\RefactorMethodFileContentRector\RefactorMethodFileContentRectorTest
diff --git a/vendor/ssch/typo3-rector/src/Rector/v8/v4/SubstituteOldWizardIconsRector.php b/vendor/ssch/typo3-rector/src/Rector/v8/v4/SubstituteOldWizardIconsRector.php
index df4fb1ddf32..6be97510170 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v8/v4/SubstituteOldWizardIconsRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v8/v4/SubstituteOldWizardIconsRector.php
@@ -13,7 +13,7 @@ use Rector\Core\Rector\AbstractRector;
use Ssch\TYPO3Rector\Helper\TcaHelperTrait;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Webmozart\Assert\Assert;
+use RectorPrefix20220218\Webmozart\Assert\Assert;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.4/Breaking-77630-RemoveWizardIcons.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v8\v4\SubstituteOldWizardIconsRector\SubstituteOldWizardIconsRectorTest
@@ -165,9 +165,9 @@ CODE_SAMPLE
public function configure(array $configuration) : void
{
$oldToNewFileLocations = $configuration[self::OLD_TO_NEW_FILE_LOCATIONS] ?? $configuration;
- \RectorPrefix20220217\Webmozart\Assert\Assert::isArray($oldToNewFileLocations);
- \RectorPrefix20220217\Webmozart\Assert\Assert::allString(\array_keys($oldToNewFileLocations));
- \RectorPrefix20220217\Webmozart\Assert\Assert::allString($oldToNewFileLocations);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($oldToNewFileLocations);
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allString(\array_keys($oldToNewFileLocations));
+ \RectorPrefix20220218\Webmozart\Assert\Assert::allString($oldToNewFileLocations);
$this->oldToNewFileLocations = $oldToNewFileLocations;
}
}
diff --git a/vendor/ssch/typo3-rector/src/Rector/v8/v6/RefactorTCARector.php b/vendor/ssch/typo3-rector/src/Rector/v8/v6/RefactorTCARector.php
index 46c909f66e6..7a73083a43c 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v8/v6/RefactorTCARector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v8/v6/RefactorTCARector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Ssch\TYPO3Rector\Rector\v8\v6;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\Array_;
@@ -171,7 +171,7 @@ CODE_SAMPLE
/** @var Expr $wizardItemValueKey */
$wizardItemValueKey = $wizardItemValue->key;
$validWizard = $this->isValidWizard($wizardItemValue);
- if ($validWizard || \RectorPrefix20220217\Nette\Utils\Strings::startsWith($this->valueResolver->getValue($wizardItemValueKey), '_')) {
+ if ($validWizard || \RectorPrefix20220218\Nette\Utils\Strings::startsWith($this->valueResolver->getValue($wizardItemValueKey), '_')) {
--$remainingWizards;
}
if (!$validWizard) {
diff --git a/vendor/ssch/typo3-rector/src/Rector/v8/v7/MoveForeignTypesToOverrideChildTcaRector.php b/vendor/ssch/typo3-rector/src/Rector/v8/v7/MoveForeignTypesToOverrideChildTcaRector.php
index 8ca782fa164..452e5362c87 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v8/v7/MoveForeignTypesToOverrideChildTcaRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v8/v7/MoveForeignTypesToOverrideChildTcaRector.php
@@ -14,7 +14,7 @@ use Rector\Core\Rector\AbstractRector;
use Ssch\TYPO3Rector\Helper\TcaHelperTrait;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
+use RectorPrefix20220218\TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.7/Deprecation-80000-InlineOverrideChildTca.html?highlight=foreign_types
* @see \Ssch\TYPO3Rector\Tests\Rector\v8\v7\MoveForeignTypesToOverrideChildTcaRector\MoveForeignTypesToOverrideChildTcaRectorTest
diff --git a/vendor/ssch/typo3-rector/src/Rector/v8/v7/RefactorGraphicalFunctionsTempPathAndCreateTemSubDirRector.php b/vendor/ssch/typo3-rector/src/Rector/v8/v7/RefactorGraphicalFunctionsTempPathAndCreateTemSubDirRector.php
index 1f693a2788b..fb0d38656a0 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v8/v7/RefactorGraphicalFunctionsTempPathAndCreateTemSubDirRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v8/v7/RefactorGraphicalFunctionsTempPathAndCreateTemSubDirRector.php
@@ -25,7 +25,7 @@ use Rector\Core\Rector\AbstractRector;
use Rector\NodeTypeResolver\Node\AttributeKey;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Core\Imaging\GraphicalFunctions;
+use RectorPrefix20220218\TYPO3\CMS\Core\Imaging\GraphicalFunctions;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.7/Deprecation-80514-GraphicalFunctions-tempPathAndCreateTempSubDir.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v8\v7\RefactorGraphicalFunctionsTempPathAndCreateTemSubDirRector\RefactorGraphicalFunctionsTempPathAndCreateTemSubDirRectorTest
diff --git a/vendor/ssch/typo3-rector/src/Rector/v8/v7/TemplateServiceSplitConfArrayRector.php b/vendor/ssch/typo3-rector/src/Rector/v8/v7/TemplateServiceSplitConfArrayRector.php
index a85bbb33bcd..ea0edf58e20 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v8/v7/TemplateServiceSplitConfArrayRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v8/v7/TemplateServiceSplitConfArrayRector.php
@@ -9,7 +9,7 @@ use PHPStan\Type\ObjectType;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Core\TypoScript\TemplateService;
+use RectorPrefix20220218\TYPO3\CMS\Core\TypoScript\TemplateService;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.7/Deprecation-78650-TemplateService-splitConfArray.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v8\v7\TemplateServiceSplitConfArrayRector\TemplateServiceSplitConfArrayRectorTest
diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v0/ReplaceExtKeyWithExtensionKeyRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v0/ReplaceExtKeyWithExtensionKeyRector.php
index 85f59d165aa..f1936631080 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v9/v0/ReplaceExtKeyWithExtensionKeyRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v9/v0/ReplaceExtKeyWithExtensionKeyRector.php
@@ -12,7 +12,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey;
use Ssch\TYPO3Rector\Helper\FilesFinder;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\Symplify\SmartFileSystem\Exception\FileNotFoundException;
+use RectorPrefix20220218\Symplify\SmartFileSystem\Exception\FileNotFoundException;
use Symplify\SmartFileSystem\SmartFileInfo;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.0/Important-82692-GuidelinesForExtensionFiles.html
@@ -113,7 +113,7 @@ CODE_SAMPLE
[, $extensionKey] = \explode('/', $json['name'], 2);
return \str_replace('-', '_', $extensionKey);
}
- } catch (\RectorPrefix20220217\Symplify\SmartFileSystem\Exception\FileNotFoundException $exception) {
+ } catch (\RectorPrefix20220218\Symplify\SmartFileSystem\Exception\FileNotFoundException $exception) {
return null;
}
return null;
diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v3/BackendUserAuthenticationSimplelogRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v3/BackendUserAuthenticationSimplelogRector.php
index 00ed2cef81d..ca78f822d0e 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v9/v3/BackendUserAuthenticationSimplelogRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v9/v3/BackendUserAuthenticationSimplelogRector.php
@@ -10,7 +10,7 @@ use PHPStan\Type\ObjectType;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Core\Authentication\BackendUserAuthentication;
+use RectorPrefix20220218\TYPO3\CMS\Core\Authentication\BackendUserAuthentication;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.3/Deprecation-84981-BackendUserAuthentication-simplelogDeprecated.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v9\v3\BackendUserAuthenticationSimplelogRector\BackendUserAuthenticationSimplelogRectorTest
diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v3/PhpOptionsUtilityRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v3/PhpOptionsUtilityRector.php
index f61e4c9f277..597b4ca40a8 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v9/v3/PhpOptionsUtilityRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v9/v3/PhpOptionsUtilityRector.php
@@ -13,7 +13,7 @@ use PHPStan\Type\ObjectType;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Core\Utility\PhpOptionsUtility;
+use RectorPrefix20220218\TYPO3\CMS\Core\Utility\PhpOptionsUtility;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.3/Deprecation-85102-PhpOptionsUtility.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v9\v3\PhpOptionsUtilityRector\PhpOptionsUtilityRectorTest
diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v4/BackendUtilityShortcutExistsRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v4/BackendUtilityShortcutExistsRector.php
index f0f9885314a..506a1a36f09 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v9/v4/BackendUtilityShortcutExistsRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v9/v4/BackendUtilityShortcutExistsRector.php
@@ -9,7 +9,7 @@ use PHPStan\Type\ObjectType;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Backend\Utility\BackendUtility;
+use RectorPrefix20220218\TYPO3\CMS\Backend\Utility\BackendUtility;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.4/Deprecation-84414-BackendUtilityshortcutExists.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v9\v4\BackendUtilityShortcutExistsRector\BackendUtilityShortcutExistsRectorTest
@@ -21,7 +21,7 @@ final class BackendUtilityShortcutExistsRector extends \Rector\Core\Rector\Abstr
*/
public function getRuleDefinition() : \Symplify\RuleDocGenerator\ValueObject\RuleDefinition
{
- return new \Symplify\RuleDocGenerator\ValueObject\RuleDefinition('shortcutExists Static call replaced by method call of ShortcutRepository', [new \Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample(\RectorPrefix20220217\TYPO3\CMS\Backend\Utility\BackendUtility::class . '::shortcutExists($url);', <<<'CODE_SAMPLE'
+ return new \Symplify\RuleDocGenerator\ValueObject\RuleDefinition('shortcutExists Static call replaced by method call of ShortcutRepository', [new \Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample(\RectorPrefix20220218\TYPO3\CMS\Backend\Utility\BackendUtility::class . '::shortcutExists($url);', <<<'CODE_SAMPLE'
GeneralUtility::makeInstance(ShortcutRepository::class)->shortcutExists($url);
CODE_SAMPLE
)]);
diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v4/CallEnableFieldsFromPageRepositoryRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v4/CallEnableFieldsFromPageRepositoryRector.php
index 4b93d953a82..6916891963f 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v9/v4/CallEnableFieldsFromPageRepositoryRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v9/v4/CallEnableFieldsFromPageRepositoryRector.php
@@ -11,7 +11,7 @@ use PHPStan\Type\ObjectType;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
+use RectorPrefix20220218\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.4/Deprecation-85558-ContentObjectRenderer-enableFields.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v9\v4\CallEnableFieldsFromPageRepositoryRector\CallEnableFieldsFromPageRepositoryRectorTest
diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v4/RemoveInitMethodGraphicalFunctionsRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v4/RemoveInitMethodGraphicalFunctionsRector.php
index 5df23cb9626..c4b0671d448 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v9/v4/RemoveInitMethodGraphicalFunctionsRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v9/v4/RemoveInitMethodGraphicalFunctionsRector.php
@@ -9,7 +9,7 @@ use PHPStan\Type\ObjectType;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Core\Imaging\GraphicalFunctions;
+use RectorPrefix20220218\TYPO3\CMS\Core\Imaging\GraphicalFunctions;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.4/Deprecation-85978-GraphicalFunctions-init.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v9\v4\RemoveInitMethodGraphicalFunctionsRector\RemoveInitMethodGraphicalFunctionsRectorTest
diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v4/RemoveInitTemplateMethodCallRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v4/RemoveInitTemplateMethodCallRector.php
index 50f16933991..1129beb3fcc 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v9/v4/RemoveInitTemplateMethodCallRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v9/v4/RemoveInitTemplateMethodCallRector.php
@@ -13,7 +13,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey;
use Ssch\TYPO3Rector\Helper\Typo3NodeResolver;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;
+use RectorPrefix20220218\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.4/Deprecation-85666-TypoScriptFrontendController-initTemplate.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v9\v4\RemoveInitTemplateMethodCallRector\RemoveInitTemplateMethodCallRectorTest
diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v4/UseContextApiForVersioningWorkspaceIdRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v4/UseContextApiForVersioningWorkspaceIdRector.php
index 3648d07db93..1914e93ac01 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v9/v4/UseContextApiForVersioningWorkspaceIdRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v9/v4/UseContextApiForVersioningWorkspaceIdRector.php
@@ -12,7 +12,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey;
use Ssch\TYPO3Rector\Helper\Typo3NodeResolver;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Frontend\Page\PageRepository;
+use RectorPrefix20220218\TYPO3\CMS\Frontend\Page\PageRepository;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.4/Deprecation-85556-PageRepository-versioningWorkspaceId.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v9\v4\UseContextApiForVersioningWorkspaceIdRector\UseContextApiForVersioningWorkspaceIdRectorTest
diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v4/UseRootlineUtilityInsteadOfGetRootlineMethodRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v4/UseRootlineUtilityInsteadOfGetRootlineMethodRector.php
index 6ae6866e11e..4da57cc3341 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v9/v4/UseRootlineUtilityInsteadOfGetRootlineMethodRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v9/v4/UseRootlineUtilityInsteadOfGetRootlineMethodRector.php
@@ -11,7 +11,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey;
use Ssch\TYPO3Rector\Helper\Typo3NodeResolver;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Frontend\Page\PageRepository;
+use RectorPrefix20220218\TYPO3\CMS\Frontend\Page\PageRepository;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.4/Deprecation-85557-PageRepository-getRootLine.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v9\v4\UseRootlineUtilityInsteadOfGetRootlineMethodRector\UseRootlineUtilityInsteadOfGetRootlineMethodRectorTest
diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v5/ExtbaseCommandControllerToSymfonyCommandRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v5/ExtbaseCommandControllerToSymfonyCommandRector.php
index aeb104da89b..f86b0743f93 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v9/v5/ExtbaseCommandControllerToSymfonyCommandRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v9/v5/ExtbaseCommandControllerToSymfonyCommandRector.php
@@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Ssch\TYPO3Rector\Rector\v9\v5;
-use RectorPrefix20220217\Nette\Utils\Strings;
+use RectorPrefix20220218\Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Stmt;
use PhpParser\Node\Stmt\Class_;
@@ -25,7 +25,7 @@ use Ssch\TYPO3Rector\Template\TemplateFinder;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
use Symplify\SmartFileSystem\SmartFileInfo;
-use RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileSystem;
+use RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileSystem;
/**
* @changelog https://docs.typo3.org/m/typo3/reference-coreapi/9.5/en-us/ApiOverview/CommandControllers/Index.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v9\v5\ExtbaseCommandControllerToSymfonyCommandRector\ExtbaseCommandControllerToSymfonyCommandRectorTest
@@ -64,7 +64,7 @@ final class ExtbaseCommandControllerToSymfonyCommandRector extends \Rector\Core\
* @var \Ssch\TYPO3Rector\Template\TemplateFinder
*/
private $templateFinder;
- public function __construct(\RectorPrefix20220217\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\Core\PhpParser\Parser\RectorParser $rectorParser, \Ssch\TYPO3Rector\Rector\v9\v5\ExtbaseCommandControllerToSymfonyCommand\AddArgumentToSymfonyCommandRector $addArgumentToSymfonyCommandRector, \Ssch\TYPO3Rector\Helper\FilesFinder $filesFinder, \Ssch\TYPO3Rector\Rector\v9\v5\ExtbaseCommandControllerToSymfonyCommand\AddCommandsToReturnRector $addCommandsToReturnRector, \Rector\Core\PhpParser\Parser\SimplePhpParser $simplePhpParser, \Ssch\TYPO3Rector\Template\TemplateFinder $templateFinder)
+ public function __construct(\RectorPrefix20220218\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\Core\PhpParser\Parser\RectorParser $rectorParser, \Ssch\TYPO3Rector\Rector\v9\v5\ExtbaseCommandControllerToSymfonyCommand\AddArgumentToSymfonyCommandRector $addArgumentToSymfonyCommandRector, \Ssch\TYPO3Rector\Helper\FilesFinder $filesFinder, \Ssch\TYPO3Rector\Rector\v9\v5\ExtbaseCommandControllerToSymfonyCommand\AddCommandsToReturnRector $addCommandsToReturnRector, \Rector\Core\PhpParser\Parser\SimplePhpParser $simplePhpParser, \Ssch\TYPO3Rector\Template\TemplateFinder $templateFinder)
{
$this->smartFileSystem = $smartFileSystem;
$this->rectorParser = $rectorParser;
@@ -131,7 +131,7 @@ final class ExtbaseCommandControllerToSymfonyCommandRector extends \Rector\Core\
}
$commandDescription = $descriptionPhpDocNodes[0]->text;
$commandTemplate = $this->templateFinder->getCommand();
- $commandName = \RectorPrefix20220217\Nette\Utils\Strings::firstUpper($commandMethodName);
+ $commandName = \RectorPrefix20220218\Nette\Utils\Strings::firstUpper($commandMethodName);
$commandContent = $commandTemplate->getContents();
$filePath = \sprintf('%s/Classes/Command/%s.php', $extensionDirectory, $commandName);
// Do not overwrite existing file
@@ -159,7 +159,7 @@ final class ExtbaseCommandControllerToSymfonyCommandRector extends \Rector\Core\
$stmts = $nodeTraverser->traverse($stmts);
$changedSetConfigContent = $this->betterStandardPrinter->prettyPrintFile($stmts);
$this->removedAndAddedFilesCollector->addAddedFile(new \Rector\FileSystemRector\ValueObject\AddedFileWithContent($filePath, $changedSetConfigContent));
- $newCommandName = \sprintf('%s:%s', \RectorPrefix20220217\Nette\Utils\Strings::lower($vendorName), \RectorPrefix20220217\Nette\Utils\Strings::lower($commandName));
+ $newCommandName = \sprintf('%s:%s', \RectorPrefix20220218\Nette\Utils\Strings::lower($vendorName), \RectorPrefix20220218\Nette\Utils\Strings::lower($commandName));
$newCommandsWithFullQualifiedNamespace[$newCommandName] = \sprintf('%s\\%s', $commandNamespace, $commandName);
}
$this->addNewCommandsToCommandsFile($commandsFilePath, $newCommandsWithFullQualifiedNamespace);
@@ -245,7 +245,7 @@ CODE_SAMPLE
$nodeTraverser->addVisitor($this->addCommandsToReturnRector);
$nodes = $nodeTraverser->traverse($nodes);
$changedCommandsContent = $this->betterStandardPrinter->prettyPrintFile($nodes);
- $changedCommandsContent = \RectorPrefix20220217\Nette\Utils\Strings::replace($changedCommandsContent, self::REMOVE_EMPTY_LINES, '');
+ $changedCommandsContent = \RectorPrefix20220218\Nette\Utils\Strings::replace($changedCommandsContent, self::REMOVE_EMPTY_LINES, '');
$this->removedAndAddedFilesCollector->addAddedFile(new \Rector\FileSystemRector\ValueObject\AddedFileWithContent($commandsFilePath, $changedCommandsContent));
}
/**
diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v5/RefactorProcessOutputRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v5/RefactorProcessOutputRector.php
index 37c4f88915a..dc68cf29f59 100644
--- a/vendor/ssch/typo3-rector/src/Rector/v9/v5/RefactorProcessOutputRector.php
+++ b/vendor/ssch/typo3-rector/src/Rector/v9/v5/RefactorProcessOutputRector.php
@@ -13,7 +13,7 @@ use Rector\Core\Rector\AbstractRector;
use Ssch\TYPO3Rector\Helper\Typo3NodeResolver;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
-use RectorPrefix20220217\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;
+use RectorPrefix20220218\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;
/**
* @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.5/Deprecation-86486-TypoScriptFrontendController-processOutput.html
* @see \Ssch\TYPO3Rector\Tests\Rector\v9\v5\RefactorProcessOutputRector\RefactorProcessOutputRectorTest
diff --git a/vendor/symfony/config/Builder/ClassBuilder.php b/vendor/symfony/config/Builder/ClassBuilder.php
index 75f11e48b41..5f091ace84f 100644
--- a/vendor/symfony/config/Builder/ClassBuilder.php
+++ b/vendor/symfony/config/Builder/ClassBuilder.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Builder;
/**
* Build PHP classes to generate config.
@@ -122,11 +122,11 @@ BODY
}
public function addMethod(string $name, string $body, array $params = []) : void
{
- $this->methods[] = new \RectorPrefix20220217\Symfony\Component\Config\Builder\Method(\strtr($body, ['NAME' => $this->camelCase($name)] + $params));
+ $this->methods[] = new \RectorPrefix20220218\Symfony\Component\Config\Builder\Method(\strtr($body, ['NAME' => $this->camelCase($name)] + $params));
}
- public function addProperty(string $name, string $classType = null) : \RectorPrefix20220217\Symfony\Component\Config\Builder\Property
+ public function addProperty(string $name, string $classType = null) : \RectorPrefix20220218\Symfony\Component\Config\Builder\Property
{
- $property = new \RectorPrefix20220217\Symfony\Component\Config\Builder\Property($name, '_' !== $name[0] ? $this->camelCase($name) : $name);
+ $property = new \RectorPrefix20220218\Symfony\Component\Config\Builder\Property($name, '_' !== $name[0] ? $this->camelCase($name) : $name);
if (null !== $classType) {
$property->setType($classType);
}
diff --git a/vendor/symfony/config/Builder/ConfigBuilderGenerator.php b/vendor/symfony/config/Builder/ConfigBuilderGenerator.php
index 354775c08cf..d5e6a80ad78 100644
--- a/vendor/symfony/config/Builder/ConfigBuilderGenerator.php
+++ b/vendor/symfony/config/Builder/ConfigBuilderGenerator.php
@@ -8,26 +8,26 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Builder;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\BooleanNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\ConfigurationInterface;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\EnumNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\FloatNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\IntegerNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\ScalarNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\VariableNode;
-use RectorPrefix20220217\Symfony\Component\Config\Loader\ParamConfigurator;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\BooleanNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\ConfigurationInterface;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\EnumNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\FloatNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\IntegerNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\ScalarNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\VariableNode;
+use RectorPrefix20220218\Symfony\Component\Config\Loader\ParamConfigurator;
/**
* Generate ConfigBuilders to help create valid config.
*
* @author Tobias Nyholm
*/
-class ConfigBuilderGenerator implements \RectorPrefix20220217\Symfony\Component\Config\Builder\ConfigBuilderGeneratorInterface
+class ConfigBuilderGenerator implements \RectorPrefix20220218\Symfony\Component\Config\Builder\ConfigBuilderGeneratorInterface
{
/**
* @var mixed[]
@@ -44,17 +44,17 @@ class ConfigBuilderGenerator implements \RectorPrefix20220217\Symfony\Component\
/**
* @return \Closure that will return the root config class
*/
- public function build(\RectorPrefix20220217\Symfony\Component\Config\Definition\ConfigurationInterface $configuration) : \Closure
+ public function build(\RectorPrefix20220218\Symfony\Component\Config\Definition\ConfigurationInterface $configuration) : \Closure
{
$this->classes = [];
$rootNode = $configuration->getConfigTreeBuilder()->buildTree();
- $rootClass = new \RectorPrefix20220217\Symfony\Component\Config\Builder\ClassBuilder('RectorPrefix20220217\\Symfony\\Config', $rootNode->getName());
+ $rootClass = new \RectorPrefix20220218\Symfony\Component\Config\Builder\ClassBuilder('RectorPrefix20220218\\Symfony\\Config', $rootNode->getName());
$path = $this->getFullPath($rootClass);
if (!\is_file($path)) {
// Generate the class if the file not exists
$this->classes[] = $rootClass;
$this->buildNode($rootNode, $rootClass, $this->getSubNamespace($rootClass));
- $rootClass->addImplements(\RectorPrefix20220217\Symfony\Component\Config\Builder\ConfigBuilderInterface::class);
+ $rootClass->addImplements(\RectorPrefix20220218\Symfony\Component\Config\Builder\ConfigBuilderInterface::class);
$rootClass->addMethod('getExtensionAlias', '
public function NAME(): string
{
@@ -69,7 +69,7 @@ public function NAME(): string
});
return $loader;
}
- private function getFullPath(\RectorPrefix20220217\Symfony\Component\Config\Builder\ClassBuilder $class) : string
+ private function getFullPath(\RectorPrefix20220218\Symfony\Component\Config\Builder\ClassBuilder $class) : string
{
$directory = $this->outputDir . \DIRECTORY_SEPARATOR . $class->getDirectory();
if (!\is_dir($directory)) {
@@ -87,23 +87,23 @@ public function NAME(): string
}
$this->classes = [];
}
- private function buildNode(\RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface $node, \RectorPrefix20220217\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void
+ private function buildNode(\RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface $node, \RectorPrefix20220218\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void
{
- if (!$node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode) {
+ if (!$node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode) {
throw new \LogicException('The node was expected to be an ArrayNode. This Configuration includes an edge case not supported yet.');
}
foreach ($node->getChildren() as $child) {
switch (\true) {
- case $child instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\ScalarNode:
+ case $child instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\ScalarNode:
$this->handleScalarNode($child, $class);
break;
- case $child instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode:
+ case $child instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode:
$this->handlePrototypedArrayNode($child, $class, $namespace);
break;
- case $child instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\VariableNode:
+ case $child instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\VariableNode:
$this->handleVariableNode($child, $class);
break;
- case $child instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode:
+ case $child instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode:
$this->handleArrayNode($child, $class, $namespace);
break;
default:
@@ -111,9 +111,9 @@ public function NAME(): string
}
}
}
- private function handleArrayNode(\RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode $node, \RectorPrefix20220217\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void
+ private function handleArrayNode(\RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode $node, \RectorPrefix20220218\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void
{
- $childClass = new \RectorPrefix20220217\Symfony\Component\Config\Builder\ClassBuilder($namespace, $node->getName());
+ $childClass = new \RectorPrefix20220218\Symfony\Component\Config\Builder\ClassBuilder($namespace, $node->getName());
$childClass->setAllowExtraKeys($node->shouldIgnoreExtraKeys());
$class->addRequire($childClass);
$this->classes[] = $childClass;
@@ -129,15 +129,15 @@ public function NAME(array $value = []): CLASS
return $this->PROPERTY;
}';
- $class->addUse(\RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class);
+ $class->addUse(\RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class);
$class->addMethod($node->getName(), $body, ['PROPERTY' => $property->getName(), 'CLASS' => $childClass->getFqcn()]);
$this->buildNode($node, $childClass, $this->getSubNamespace($childClass));
}
- private function handleVariableNode(\RectorPrefix20220217\Symfony\Component\Config\Definition\VariableNode $node, \RectorPrefix20220217\Symfony\Component\Config\Builder\ClassBuilder $class) : void
+ private function handleVariableNode(\RectorPrefix20220218\Symfony\Component\Config\Definition\VariableNode $node, \RectorPrefix20220218\Symfony\Component\Config\Builder\ClassBuilder $class) : void
{
$comment = $this->getComment($node);
$property = $class->addProperty($node->getName());
- $class->addUse(\RectorPrefix20220217\Symfony\Component\Config\Loader\ParamConfigurator::class);
+ $class->addUse(\RectorPrefix20220218\Symfony\Component\Config\Loader\ParamConfigurator::class);
$body = '
/**
COMMENT *
@@ -151,14 +151,14 @@ public function NAME(mixed $valueDEFAULT): static
}';
$class->addMethod($node->getName(), $body, ['PROPERTY' => $property->getName(), 'COMMENT' => $comment, 'DEFAULT' => $node->hasDefaultValue() ? ' = ' . \var_export($node->getDefaultValue(), \true) : '']);
}
- private function handlePrototypedArrayNode(\RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode $node, \RectorPrefix20220217\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void
+ private function handlePrototypedArrayNode(\RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode $node, \RectorPrefix20220218\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void
{
$name = $this->getSingularName($node);
$prototype = $node->getPrototype();
$methodName = $name;
$parameterType = $this->getParameterType($prototype);
- if (null !== $parameterType || $prototype instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\ScalarNode) {
- $class->addUse(\RectorPrefix20220217\Symfony\Component\Config\Loader\ParamConfigurator::class);
+ if (null !== $parameterType || $prototype instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\ScalarNode) {
+ $class->addUse(\RectorPrefix20220218\Symfony\Component\Config\Loader\ParamConfigurator::class);
$property = $class->addProperty($node->getName());
if (null === ($key = $node->getKeyAttribute())) {
// This is an array of values; don't use singular name
@@ -190,8 +190,8 @@ public function NAME(string $VAR, TYPE $VALUE): static
}
return;
}
- $childClass = new \RectorPrefix20220217\Symfony\Component\Config\Builder\ClassBuilder($namespace, $name);
- if ($prototype instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode) {
+ $childClass = new \RectorPrefix20220218\Symfony\Component\Config\Builder\ClassBuilder($namespace, $name);
+ if ($prototype instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode) {
$childClass->setAllowExtraKeys($prototype->shouldIgnoreExtraKeys());
}
$class->addRequire($childClass);
@@ -217,16 +217,16 @@ public function NAME(string $VAR, array $VALUE = []): CLASS
throw new InvalidConfigurationException(\'The node created by "NAME()" has already been initialized. You cannot pass values the second time you call NAME().\');
}';
- $class->addUse(\RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class);
+ $class->addUse(\RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class);
$class->addMethod($methodName, $body, ['PROPERTY' => $property->getName(), 'CLASS' => $childClass->getFqcn(), 'VAR' => '' === $key ? 'key' : $key, 'VALUE' => 'value' === $key ? 'data' : 'value']);
}
$this->buildNode($prototype, $childClass, $namespace . '\\' . $childClass->getName());
}
- private function handleScalarNode(\RectorPrefix20220217\Symfony\Component\Config\Definition\ScalarNode $node, \RectorPrefix20220217\Symfony\Component\Config\Builder\ClassBuilder $class) : void
+ private function handleScalarNode(\RectorPrefix20220218\Symfony\Component\Config\Definition\ScalarNode $node, \RectorPrefix20220218\Symfony\Component\Config\Builder\ClassBuilder $class) : void
{
$comment = $this->getComment($node);
$property = $class->addProperty($node->getName());
- $class->addUse(\RectorPrefix20220217\Symfony\Component\Config\Loader\ParamConfigurator::class);
+ $class->addUse(\RectorPrefix20220218\Symfony\Component\Config\Loader\ParamConfigurator::class);
$body = '
/**
COMMENT * @return $this
@@ -239,31 +239,31 @@ public function NAME($value): static
}';
$class->addMethod($node->getName(), $body, ['PROPERTY' => $property->getName(), 'COMMENT' => $comment]);
}
- private function getParameterType(\RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface $node) : ?string
+ private function getParameterType(\RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface $node) : ?string
{
- if ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\BooleanNode) {
+ if ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\BooleanNode) {
return 'bool';
}
- if ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\IntegerNode) {
+ if ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\IntegerNode) {
return 'int';
}
- if ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\FloatNode) {
+ if ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\FloatNode) {
return 'float';
}
- if ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\EnumNode) {
+ if ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\EnumNode) {
return '';
}
- if ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode && $node->getPrototype() instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\ScalarNode) {
+ if ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode && $node->getPrototype() instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\ScalarNode) {
// This is just an array of variables
return 'array';
}
- if ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\VariableNode) {
+ if ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\VariableNode) {
// mixed
return '';
}
return null;
}
- private function getComment(\RectorPrefix20220217\Symfony\Component\Config\Definition\VariableNode $node) : string
+ private function getComment(\RectorPrefix20220218\Symfony\Component\Config\Definition\VariableNode $node) : string
{
$comment = '';
if ('' !== ($info = (string) $node->getInfo())) {
@@ -275,7 +275,7 @@ public function NAME($value): static
if ('' !== ($default = $node->getDefaultValue())) {
$comment .= ' * @default ' . (null === $default ? 'null' : \var_export($default, \true)) . "\n";
}
- if ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\EnumNode) {
+ if ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\EnumNode) {
$comment .= \sprintf(' * @param ParamConfigurator|%s $value', \implode('|', \array_map(function ($a) {
return \var_export($a, \true);
}, $node->getValues()))) . "\n";
@@ -294,14 +294,14 @@ public function NAME($value): static
/**
* Pick a good singular name.
*/
- private function getSingularName(\RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode $node) : string
+ private function getSingularName(\RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode $node) : string
{
$name = $node->getName();
if ('s' !== \substr($name, -1)) {
return $name;
}
$parent = $node->getParent();
- $mappings = $parent instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode ? $parent->getXmlRemappings() : [];
+ $mappings = $parent instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode ? $parent->getXmlRemappings() : [];
foreach ($mappings as $map) {
if ($map[1] === $name) {
$name = $map[0];
@@ -310,7 +310,7 @@ public function NAME($value): static
}
return $name;
}
- private function buildToArray(\RectorPrefix20220217\Symfony\Component\Config\Builder\ClassBuilder $class) : void
+ private function buildToArray(\RectorPrefix20220218\Symfony\Component\Config\Builder\ClassBuilder $class) : void
{
$body = '$output = [];';
foreach ($class->getProperties() as $p) {
@@ -336,7 +336,7 @@ public function NAME(): array
return $output' . $extraKeys . ';
}');
}
- private function buildConstructor(\RectorPrefix20220217\Symfony\Component\Config\Builder\ClassBuilder $class) : void
+ private function buildConstructor(\RectorPrefix20220218\Symfony\Component\Config\Builder\ClassBuilder $class) : void
{
$body = '';
foreach ($class->getProperties() as $p) {
@@ -364,7 +364,7 @@ public function NAME(): array
if ([] !== $value) {
throw new InvalidConfigurationException(sprintf(\'The following keys are not supported by "%s": \', __CLASS__).implode(\', \', array_keys($value)));
}';
- $class->addUse(\RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class);
+ $class->addUse(\RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class);
}
$class->addMethod('__construct', '
public function __construct(array $value = [])
@@ -372,12 +372,12 @@ public function __construct(array $value = [])
' . $body . '
}');
}
- private function buildSetExtraKey(\RectorPrefix20220217\Symfony\Component\Config\Builder\ClassBuilder $class) : void
+ private function buildSetExtraKey(\RectorPrefix20220218\Symfony\Component\Config\Builder\ClassBuilder $class) : void
{
if (!$class->shouldAllowExtraKeys()) {
return;
}
- $class->addUse(\RectorPrefix20220217\Symfony\Component\Config\Loader\ParamConfigurator::class);
+ $class->addUse(\RectorPrefix20220218\Symfony\Component\Config\Loader\ParamConfigurator::class);
$class->addProperty('_extraKeys');
$class->addMethod('set', '
/**
@@ -396,7 +396,7 @@ public function NAME(string $key, mixed $value): static
return $this;
}');
}
- private function getSubNamespace(\RectorPrefix20220217\Symfony\Component\Config\Builder\ClassBuilder $rootClass) : string
+ private function getSubNamespace(\RectorPrefix20220218\Symfony\Component\Config\Builder\ClassBuilder $rootClass) : string
{
return \sprintf('%s\\%s', $rootClass->getNamespace(), \substr($rootClass->getName(), 0, -6));
}
diff --git a/vendor/symfony/config/Builder/ConfigBuilderGeneratorInterface.php b/vendor/symfony/config/Builder/ConfigBuilderGeneratorInterface.php
index 16ae7a272b9..a09e3f31998 100644
--- a/vendor/symfony/config/Builder/ConfigBuilderGeneratorInterface.php
+++ b/vendor/symfony/config/Builder/ConfigBuilderGeneratorInterface.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Builder;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\ConfigurationInterface;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* Generates ConfigBuilders to help create valid config.
*
@@ -21,5 +21,5 @@ interface ConfigBuilderGeneratorInterface
/**
* @return \Closure that will return the root config class
*/
- public function build(\RectorPrefix20220217\Symfony\Component\Config\Definition\ConfigurationInterface $configuration) : \Closure;
+ public function build(\RectorPrefix20220218\Symfony\Component\Config\Definition\ConfigurationInterface $configuration) : \Closure;
}
diff --git a/vendor/symfony/config/Builder/ConfigBuilderInterface.php b/vendor/symfony/config/Builder/ConfigBuilderInterface.php
index 6d3b12a3a5c..7f972f1ea6d 100644
--- a/vendor/symfony/config/Builder/ConfigBuilderInterface.php
+++ b/vendor/symfony/config/Builder/ConfigBuilderInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Builder;
/**
* A ConfigBuilder provides helper methods to build a large complex array.
diff --git a/vendor/symfony/config/Builder/Method.php b/vendor/symfony/config/Builder/Method.php
index d87b104e034..577de25f318 100644
--- a/vendor/symfony/config/Builder/Method.php
+++ b/vendor/symfony/config/Builder/Method.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Builder;
/**
* Represents a method when building classes.
diff --git a/vendor/symfony/config/Builder/Property.php b/vendor/symfony/config/Builder/Property.php
index dc36036abb7..fcb5dda9920 100644
--- a/vendor/symfony/config/Builder/Property.php
+++ b/vendor/symfony/config/Builder/Property.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Builder;
/**
* Represents a property when building classes.
diff --git a/vendor/symfony/config/ConfigCache.php b/vendor/symfony/config/ConfigCache.php
index e2b3ba96479..c7caecbdcb3 100644
--- a/vendor/symfony/config/ConfigCache.php
+++ b/vendor/symfony/config/ConfigCache.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config;
+namespace RectorPrefix20220218\Symfony\Component\Config;
-use RectorPrefix20220217\Symfony\Component\Config\Resource\SelfCheckingResourceChecker;
+use RectorPrefix20220218\Symfony\Component\Config\Resource\SelfCheckingResourceChecker;
/**
* ConfigCache caches arbitrary content in files on disk.
*
@@ -21,7 +21,7 @@ use RectorPrefix20220217\Symfony\Component\Config\Resource\SelfCheckingResourceC
* @author Fabien Potencier
* @author Matthias Pigulla
*/
-class ConfigCache extends \RectorPrefix20220217\Symfony\Component\Config\ResourceCheckerConfigCache
+class ConfigCache extends \RectorPrefix20220218\Symfony\Component\Config\ResourceCheckerConfigCache
{
/**
* @var bool
@@ -36,7 +36,7 @@ class ConfigCache extends \RectorPrefix20220217\Symfony\Component\Config\Resourc
$this->debug = $debug;
$checkers = [];
if (\true === $this->debug) {
- $checkers = [new \RectorPrefix20220217\Symfony\Component\Config\Resource\SelfCheckingResourceChecker()];
+ $checkers = [new \RectorPrefix20220218\Symfony\Component\Config\Resource\SelfCheckingResourceChecker()];
}
parent::__construct($file, $checkers);
}
diff --git a/vendor/symfony/config/ConfigCacheFactory.php b/vendor/symfony/config/ConfigCacheFactory.php
index 77bff9b0e5c..bee5d78c10c 100644
--- a/vendor/symfony/config/ConfigCacheFactory.php
+++ b/vendor/symfony/config/ConfigCacheFactory.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config;
+namespace RectorPrefix20220218\Symfony\Component\Config;
/**
* Basic implementation of ConfigCacheFactoryInterface that
@@ -19,7 +19,7 @@ namespace RectorPrefix20220217\Symfony\Component\Config;
*
* @author Matthias Pigulla
*/
-class ConfigCacheFactory implements \RectorPrefix20220217\Symfony\Component\Config\ConfigCacheFactoryInterface
+class ConfigCacheFactory implements \RectorPrefix20220218\Symfony\Component\Config\ConfigCacheFactoryInterface
{
/**
* @var bool
@@ -35,9 +35,9 @@ class ConfigCacheFactory implements \RectorPrefix20220217\Symfony\Component\Conf
/**
* {@inheritdoc}
*/
- public function cache(string $file, callable $callback) : \RectorPrefix20220217\Symfony\Component\Config\ConfigCacheInterface
+ public function cache(string $file, callable $callback) : \RectorPrefix20220218\Symfony\Component\Config\ConfigCacheInterface
{
- $cache = new \RectorPrefix20220217\Symfony\Component\Config\ConfigCache($file, $this->debug);
+ $cache = new \RectorPrefix20220218\Symfony\Component\Config\ConfigCache($file, $this->debug);
if (!$cache->isFresh()) {
$callback($cache);
}
diff --git a/vendor/symfony/config/ConfigCacheFactoryInterface.php b/vendor/symfony/config/ConfigCacheFactoryInterface.php
index cb77b43d524..b7972738221 100644
--- a/vendor/symfony/config/ConfigCacheFactoryInterface.php
+++ b/vendor/symfony/config/ConfigCacheFactoryInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config;
+namespace RectorPrefix20220218\Symfony\Component\Config;
/**
* Interface for a ConfigCache factory. This factory creates
@@ -25,5 +25,5 @@ interface ConfigCacheFactoryInterface
* @param string $file The absolute cache file path
* @param callable $callable The callable to be executed when the cache needs to be filled (i. e. is not fresh). The cache will be passed as the only parameter to this callback
*/
- public function cache(string $file, callable $callable) : \RectorPrefix20220217\Symfony\Component\Config\ConfigCacheInterface;
+ public function cache(string $file, callable $callable) : \RectorPrefix20220218\Symfony\Component\Config\ConfigCacheInterface;
}
diff --git a/vendor/symfony/config/ConfigCacheInterface.php b/vendor/symfony/config/ConfigCacheInterface.php
index 9caaffc57d3..c0f6aed5130 100644
--- a/vendor/symfony/config/ConfigCacheInterface.php
+++ b/vendor/symfony/config/ConfigCacheInterface.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config;
+namespace RectorPrefix20220218\Symfony\Component\Config;
-use RectorPrefix20220217\Symfony\Component\Config\Resource\ResourceInterface;
+use RectorPrefix20220218\Symfony\Component\Config\Resource\ResourceInterface;
/**
* Interface for ConfigCache.
*
diff --git a/vendor/symfony/config/Definition/ArrayNode.php b/vendor/symfony/config/Definition/ArrayNode.php
index a2609d2c460..bba085b309d 100644
--- a/vendor/symfony/config/Definition/ArrayNode.php
+++ b/vendor/symfony/config/Definition/ArrayNode.php
@@ -8,17 +8,17 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidTypeException;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\UnsetKeyException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidTypeException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\UnsetKeyException;
/**
* Represents an Array node in the config tree.
*
* @author Johannes M. Schmitt
*/
-class ArrayNode extends \RectorPrefix20220217\Symfony\Component\Config\Definition\BaseNode implements \RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypeNodeInterface
+class ArrayNode extends \RectorPrefix20220218\Symfony\Component\Config\Definition\BaseNode implements \RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypeNodeInterface
{
protected $xmlRemappings = [];
protected $children = [];
@@ -170,7 +170,7 @@ class ArrayNode extends \RectorPrefix20220217\Symfony\Component\Config\Definitio
* @throws \InvalidArgumentException when the child node has no name
* @throws \InvalidArgumentException when the child node's name is not unique
*/
- public function addChild(\RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface $node)
+ public function addChild(\RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface $node)
{
$name = $node->getName();
if ('' === $name) {
@@ -192,7 +192,7 @@ class ArrayNode extends \RectorPrefix20220217\Symfony\Component\Config\Definitio
protected function finalizeValue($value)
{
if (\false === $value) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\UnsetKeyException(\sprintf('Unsetting key for path "%s", value: %s.', $this->getPath(), \json_encode($value)));
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\UnsetKeyException(\sprintf('Unsetting key for path "%s", value: %s.', $this->getPath(), \json_encode($value)));
}
foreach ($this->children as $name => $child) {
if (!\array_key_exists($name, $value)) {
@@ -203,7 +203,7 @@ class ArrayNode extends \RectorPrefix20220217\Symfony\Component\Config\Definitio
} else {
$message .= '.';
}
- $ex = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($message);
+ $ex = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($message);
$ex->setPath($this->getPath());
throw $ex;
}
@@ -218,7 +218,7 @@ class ArrayNode extends \RectorPrefix20220217\Symfony\Component\Config\Definitio
}
try {
$value[$name] = $child->finalize($value[$name]);
- } catch (\RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) {
unset($value[$name]);
}
}
@@ -231,7 +231,7 @@ class ArrayNode extends \RectorPrefix20220217\Symfony\Component\Config\Definitio
protected function validateType($value)
{
if (!\is_array($value) && (!$this->allowFalse || \false !== $value)) {
- $ex = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "array", but got "%s"', $this->getPath(), \get_debug_type($value)));
+ $ex = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "array", but got "%s"', $this->getPath(), \get_debug_type($value)));
if ($hint = $this->getInfo()) {
$ex->addHint($hint);
}
@@ -257,7 +257,7 @@ class ArrayNode extends \RectorPrefix20220217\Symfony\Component\Config\Definitio
if (isset($this->children[$name])) {
try {
$normalized[$name] = $this->children[$name]->normalize($val);
- } catch (\RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) {
}
unset($value[$name]);
} elseif (!$this->removeExtraKeys) {
@@ -286,7 +286,7 @@ class ArrayNode extends \RectorPrefix20220217\Symfony\Component\Config\Definitio
} else {
$msg .= \sprintf('. Available option%s %s "%s".', 1 === \count($proposals) ? '' : 's', 1 === \count($proposals) ? 'is' : 'are', \implode('", "', $proposals));
}
- $ex = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($msg);
+ $ex = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($msg);
$ex->setPath($this->getPath());
throw $ex;
}
@@ -301,7 +301,7 @@ class ArrayNode extends \RectorPrefix20220217\Symfony\Component\Config\Definitio
if (!isset($value[$singular])) {
continue;
}
- $value[$plural] = \RectorPrefix20220217\Symfony\Component\Config\Definition\Processor::normalizeConfig($value, $singular, $plural);
+ $value[$plural] = \RectorPrefix20220218\Symfony\Component\Config\Definition\Processor::normalizeConfig($value, $singular, $plural);
unset($value[$singular]);
}
return $value;
@@ -329,7 +329,7 @@ class ArrayNode extends \RectorPrefix20220217\Symfony\Component\Config\Definitio
// no conflict
if (!\array_key_exists($k, $leftSide)) {
if (!$this->allowNewKeys) {
- $ex = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('You are not allowed to define new elements for path "%s". Please define all elements for this path in one config file. If you are trying to overwrite an element, make sure you redefine it with the same name.', $this->getPath()));
+ $ex = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('You are not allowed to define new elements for path "%s". Please define all elements for this path in one config file. If you are trying to overwrite an element, make sure you redefine it with the same name.', $this->getPath()));
$ex->setPath($this->getPath());
throw $ex;
}
diff --git a/vendor/symfony/config/Definition/BaseNode.php b/vendor/symfony/config/Definition/BaseNode.php
index f45d0953748..9469eb3c0bf 100644
--- a/vendor/symfony/config/Definition/BaseNode.php
+++ b/vendor/symfony/config/Definition/BaseNode.php
@@ -8,19 +8,19 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\Exception;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidTypeException;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\UnsetKeyException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\Exception;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidTypeException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\UnsetKeyException;
/**
* The base node class.
*
* @author Johannes M. Schmitt
*/
-abstract class BaseNode implements \RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface
+abstract class BaseNode implements \RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface
{
public const DEFAULT_PATH_SEPARATOR = '.';
/**
@@ -48,7 +48,7 @@ abstract class BaseNode implements \RectorPrefix20220217\Symfony\Component\Confi
/**
* @throws \InvalidArgumentException if the name contains a period
*/
- public function __construct(?string $name, \RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface $parent = null, string $pathSeparator = self::DEFAULT_PATH_SEPARATOR)
+ public function __construct(?string $name, \RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface $parent = null, string $pathSeparator = self::DEFAULT_PATH_SEPARATOR)
{
if (\strpos($name = (string) $name, $pathSeparator) !== \false) {
throw new \InvalidArgumentException('The name must not contain ".' . $pathSeparator . '".');
@@ -258,7 +258,7 @@ abstract class BaseNode implements \RectorPrefix20220217\Symfony\Component\Confi
public final function merge($leftSide, $rightSide)
{
if (!$this->allowOverwrite) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException(\sprintf('Configuration path "%s" cannot be overwritten. You have to define all options for this path, and any of its sub-paths in one configuration section.', $this->getPath()));
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException(\sprintf('Configuration path "%s" cannot be overwritten. You have to define all options for this path, and any of its sub-paths in one configuration section.', $this->getPath()));
}
if ($leftSide !== ($leftPlaceholders = self::resolvePlaceholderValue($leftSide))) {
foreach ($leftPlaceholders as $leftPlaceholder) {
@@ -333,7 +333,7 @@ abstract class BaseNode implements \RectorPrefix20220217\Symfony\Component\Confi
/**
* Returns parent node for this node.
*/
- public function getParent() : ?\RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface
+ public function getParent() : ?\RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface
{
return $this->parent;
}
@@ -362,13 +362,13 @@ abstract class BaseNode implements \RectorPrefix20220217\Symfony\Component\Confi
foreach ($this->finalValidationClosures as $closure) {
try {
$value = $closure($value);
- } catch (\RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\Exception $e) {
- if ($e instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\UnsetKeyException && null !== $this->handlingPlaceholder) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\Exception $e) {
+ if ($e instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\UnsetKeyException && null !== $this->handlingPlaceholder) {
continue;
}
throw $e;
} catch (\Exception $e) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('Invalid configuration for path "%s": ', $this->getPath()) . $e->getMessage(), $e->getCode(), $e);
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('Invalid configuration for path "%s": ', $this->getPath()) . $e->getMessage(), $e->getCode(), $e);
}
}
return $value;
@@ -444,7 +444,7 @@ abstract class BaseNode implements \RectorPrefix20220217\Symfony\Component\Confi
private function doValidateType($value) : void
{
if (null !== $this->handlingPlaceholder && !$this->allowPlaceholders()) {
- $e = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('A dynamic value is not compatible with a "%s" node type at path "%s".', static::class, $this->getPath()));
+ $e = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('A dynamic value is not compatible with a "%s" node type at path "%s".', static::class, $this->getPath()));
$e->setPath($this->getPath());
throw $e;
}
@@ -455,7 +455,7 @@ abstract class BaseNode implements \RectorPrefix20220217\Symfony\Component\Confi
$knownTypes = \array_keys(self::$placeholders[$this->handlingPlaceholder]);
$validTypes = $this->getValidPlaceholderTypes();
if ($validTypes && \array_diff($knownTypes, $validTypes)) {
- $e = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected %s, but got %s.', $this->getPath(), 1 === \count($validTypes) ? '"' . \reset($validTypes) . '"' : 'one of "' . \implode('", "', $validTypes) . '"', 1 === \count($knownTypes) ? '"' . \reset($knownTypes) . '"' : 'one of "' . \implode('", "', $knownTypes) . '"'));
+ $e = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected %s, but got %s.', $this->getPath(), 1 === \count($validTypes) ? '"' . \reset($validTypes) . '"' : 'one of "' . \implode('", "', $validTypes) . '"', 1 === \count($knownTypes) ? '"' . \reset($knownTypes) . '"' : 'one of "' . \implode('", "', $knownTypes) . '"'));
if ($hint = $this->getInfo()) {
$e->addHint($hint);
}
diff --git a/vendor/symfony/config/Definition/BooleanNode.php b/vendor/symfony/config/Definition/BooleanNode.php
index 69780306f28..4469372f46b 100644
--- a/vendor/symfony/config/Definition/BooleanNode.php
+++ b/vendor/symfony/config/Definition/BooleanNode.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidTypeException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidTypeException;
/**
* This node represents a Boolean value in the config tree.
*
* @author Johannes M. Schmitt
*/
-class BooleanNode extends \RectorPrefix20220217\Symfony\Component\Config\Definition\ScalarNode
+class BooleanNode extends \RectorPrefix20220218\Symfony\Component\Config\Definition\ScalarNode
{
/**
* {@inheritdoc}
@@ -25,7 +25,7 @@ class BooleanNode extends \RectorPrefix20220217\Symfony\Component\Config\Definit
protected function validateType($value)
{
if (!\is_bool($value)) {
- $ex = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "bool", but got "%s".', $this->getPath(), \get_debug_type($value)));
+ $ex = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "bool", but got "%s".', $this->getPath(), \get_debug_type($value)));
if ($hint = $this->getInfo()) {
$ex->addHint($hint);
}
diff --git a/vendor/symfony/config/Definition/Builder/ArrayNodeDefinition.php b/vendor/symfony/config/Definition/Builder/ArrayNodeDefinition.php
index 8882ba59bd1..486a6a5130d 100644
--- a/vendor/symfony/config/Definition/Builder/ArrayNodeDefinition.php
+++ b/vendor/symfony/config/Definition/Builder/ArrayNodeDefinition.php
@@ -8,18 +8,18 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode;
/**
* This class provides a fluent interface for defining an array node.
*
* @author Johannes M. Schmitt
*/
-class ArrayNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeDefinition implements \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ParentNodeDefinitionInterface
+class ArrayNodeDefinition extends \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeDefinition implements \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ParentNodeDefinitionInterface
{
protected $performDeepMerging = \true;
protected $ignoreExtraKeys = \false;
@@ -37,7 +37,7 @@ class ArrayNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config
/**
* {@inheritdoc}
*/
- public function __construct(?string $name, \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null)
+ public function __construct(?string $name, \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null)
{
parent::__construct($name, $parent);
$this->nullEquivalent = [];
@@ -46,41 +46,41 @@ class ArrayNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config
/**
* {@inheritdoc}
*/
- public function setBuilder(\RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeBuilder $builder)
+ public function setBuilder(\RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeBuilder $builder)
{
$this->nodeBuilder = $builder;
}
/**
* {@inheritdoc}
*/
- public function children() : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeBuilder
+ public function children() : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeBuilder
{
return $this->getNodeBuilder();
}
/**
* Sets a prototype for child nodes.
*/
- public function prototype(string $type) : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeDefinition
+ public function prototype(string $type) : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeDefinition
{
return $this->prototype = $this->getNodeBuilder()->node(null, $type)->setParent($this);
}
- public function variablePrototype() : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition
+ public function variablePrototype() : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition
{
return $this->prototype('variable');
}
- public function scalarPrototype() : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition
+ public function scalarPrototype() : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition
{
return $this->prototype('scalar');
}
- public function booleanPrototype() : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition
+ public function booleanPrototype() : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition
{
return $this->prototype('boolean');
}
- public function integerPrototype() : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition
+ public function integerPrototype() : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition
{
return $this->prototype('integer');
}
- public function floatPrototype() : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\FloatNodeDefinition
+ public function floatPrototype() : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\FloatNodeDefinition
{
return $this->prototype('float');
}
@@ -88,7 +88,7 @@ class ArrayNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config
{
return $this->prototype('array');
}
- public function enumPrototype() : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\EnumNodeDefinition
+ public function enumPrototype() : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\EnumNodeDefinition
{
return $this->prototype('enum');
}
@@ -279,7 +279,7 @@ class ArrayNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config
* {@inheritdoc}
* @return $this
*/
- public function append(\RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeDefinition $node)
+ public function append(\RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeDefinition $node)
{
$this->children[$node->name] = $node->setParent($this);
return $this;
@@ -287,20 +287,20 @@ class ArrayNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config
/**
* Returns a node builder to be used to add children and prototype.
*/
- protected function getNodeBuilder() : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeBuilder
+ protected function getNodeBuilder() : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeBuilder
{
if (null === $this->nodeBuilder) {
- $this->nodeBuilder = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeBuilder();
+ $this->nodeBuilder = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeBuilder();
}
return $this->nodeBuilder->setParent($this);
}
/**
* {@inheritdoc}
*/
- protected function createNode() : \RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface
+ protected function createNode() : \RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface
{
if (null === $this->prototype) {
- $node = new \RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode($this->name, $this->parent, $this->pathSeparator);
+ $node = new \RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode($this->name, $this->parent, $this->pathSeparator);
$this->validateConcreteNode($node);
$node->setAddIfNotSet($this->addDefaults);
foreach ($this->children as $child) {
@@ -308,7 +308,7 @@ class ArrayNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config
$node->addChild($child->getNode());
}
} else {
- $node = new \RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode($this->name, $this->parent, $this->pathSeparator);
+ $node = new \RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode($this->name, $this->parent, $this->pathSeparator);
$this->validatePrototypeNode($node);
if (null !== $this->key) {
$node->setKeyAttribute($this->key, $this->removeKeyItem);
@@ -360,23 +360,23 @@ class ArrayNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config
*
* @throws InvalidDefinitionException
*/
- protected function validateConcreteNode(\RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode $node)
+ protected function validateConcreteNode(\RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode $node)
{
$path = $node->getPath();
if (null !== $this->key) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->useAttributeAsKey() is not applicable to concrete nodes at path "%s".', $path));
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->useAttributeAsKey() is not applicable to concrete nodes at path "%s".', $path));
}
if (\false === $this->allowEmptyValue) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->cannotBeEmpty() is not applicable to concrete nodes at path "%s".', $path));
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->cannotBeEmpty() is not applicable to concrete nodes at path "%s".', $path));
}
if (\true === $this->atLeastOne) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->requiresAtLeastOneElement() is not applicable to concrete nodes at path "%s".', $path));
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->requiresAtLeastOneElement() is not applicable to concrete nodes at path "%s".', $path));
}
if ($this->default) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->defaultValue() is not applicable to concrete nodes at path "%s".', $path));
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->defaultValue() is not applicable to concrete nodes at path "%s".', $path));
}
if (\false !== $this->addDefaultChildren) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultChildrenIfNoneSet() is not applicable to concrete nodes at path "%s".', $path));
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultChildrenIfNoneSet() is not applicable to concrete nodes at path "%s".', $path));
}
}
/**
@@ -384,21 +384,21 @@ class ArrayNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config
*
* @throws InvalidDefinitionException
*/
- protected function validatePrototypeNode(\RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode $node)
+ protected function validatePrototypeNode(\RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode $node)
{
$path = $node->getPath();
if ($this->addDefaults) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultsIfNotSet() is not applicable to prototype nodes at path "%s".', $path));
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultsIfNotSet() is not applicable to prototype nodes at path "%s".', $path));
}
if (\false !== $this->addDefaultChildren) {
if ($this->default) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('A default value and default children might not be used together at path "%s".', $path));
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('A default value and default children might not be used together at path "%s".', $path));
}
if (null !== $this->key && (null === $this->addDefaultChildren || \is_int($this->addDefaultChildren) && $this->addDefaultChildren > 0)) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultChildrenIfNoneSet() should set default children names as ->useAttributeAsKey() is used at path "%s".', $path));
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultChildrenIfNoneSet() should set default children names as ->useAttributeAsKey() is used at path "%s".', $path));
}
if (null === $this->key && (\is_string($this->addDefaultChildren) || \is_array($this->addDefaultChildren))) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultChildrenIfNoneSet() might not set default children names as ->useAttributeAsKey() is not used at path "%s".', $path));
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultChildrenIfNoneSet() might not set default children names as ->useAttributeAsKey() is not used at path "%s".', $path));
}
}
}
@@ -414,7 +414,7 @@ class ArrayNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config
*
* @param string $nodePath The path of the node to find. e.g "doctrine.orm.mappings"
*/
- public function find(string $nodePath) : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeDefinition
+ public function find(string $nodePath) : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeDefinition
{
$firstPathSegment = \false === ($pathSeparatorPos = \strpos($nodePath, $this->pathSeparator)) ? $nodePath : \substr($nodePath, 0, $pathSeparatorPos);
if (null === ($node = $this->children[$firstPathSegment] ?? null)) {
diff --git a/vendor/symfony/config/Definition/Builder/BooleanNodeDefinition.php b/vendor/symfony/config/Definition/Builder/BooleanNodeDefinition.php
index 92d356408a7..a3d77fbf0d1 100644
--- a/vendor/symfony/config/Definition/Builder/BooleanNodeDefinition.php
+++ b/vendor/symfony/config/Definition/Builder/BooleanNodeDefinition.php
@@ -8,21 +8,21 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\BooleanNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\BooleanNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException;
/**
* This class provides a fluent interface for defining a node.
*
* @author Johannes M. Schmitt
*/
-class BooleanNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition
+class BooleanNodeDefinition extends \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition
{
/**
* {@inheritdoc}
*/
- public function __construct(?string $name, \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null)
+ public function __construct(?string $name, \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null)
{
parent::__construct($name, $parent);
$this->nullEquivalent = \true;
@@ -30,9 +30,9 @@ class BooleanNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Conf
/**
* Instantiate a Node.
*/
- protected function instantiateNode() : \RectorPrefix20220217\Symfony\Component\Config\Definition\ScalarNode
+ protected function instantiateNode() : \RectorPrefix20220218\Symfony\Component\Config\Definition\ScalarNode
{
- return new \RectorPrefix20220217\Symfony\Component\Config\Definition\BooleanNode($this->name, $this->parent, $this->pathSeparator);
+ return new \RectorPrefix20220218\Symfony\Component\Config\Definition\BooleanNode($this->name, $this->parent, $this->pathSeparator);
}
/**
* {@inheritdoc}
@@ -42,6 +42,6 @@ class BooleanNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Conf
*/
public function cannotBeEmpty()
{
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException('->cannotBeEmpty() is not applicable to BooleanNodeDefinition.');
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException('->cannotBeEmpty() is not applicable to BooleanNodeDefinition.');
}
}
diff --git a/vendor/symfony/config/Definition/Builder/BuilderAwareInterface.php b/vendor/symfony/config/Definition/Builder/BuilderAwareInterface.php
index 0f9cb7e110d..37c0ce7781b 100644
--- a/vendor/symfony/config/Definition/Builder/BuilderAwareInterface.php
+++ b/vendor/symfony/config/Definition/Builder/BuilderAwareInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
/**
* An interface that can be implemented by nodes which build other nodes.
@@ -20,5 +20,5 @@ interface BuilderAwareInterface
/**
* Sets a custom children builder.
*/
- public function setBuilder(\RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeBuilder $builder);
+ public function setBuilder(\RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeBuilder $builder);
}
diff --git a/vendor/symfony/config/Definition/Builder/EnumNodeDefinition.php b/vendor/symfony/config/Definition/Builder/EnumNodeDefinition.php
index a5d0e446f51..f35ebc735be 100644
--- a/vendor/symfony/config/Definition/Builder/EnumNodeDefinition.php
+++ b/vendor/symfony/config/Definition/Builder/EnumNodeDefinition.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\EnumNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\EnumNode;
/**
* Enum Node Definition.
*
* @author Johannes M. Schmitt
*/
-class EnumNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition
+class EnumNodeDefinition extends \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition
{
/**
* @var mixed[]
@@ -39,11 +39,11 @@ class EnumNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config\
*
* @throws \RuntimeException
*/
- protected function instantiateNode() : \RectorPrefix20220217\Symfony\Component\Config\Definition\ScalarNode
+ protected function instantiateNode() : \RectorPrefix20220218\Symfony\Component\Config\Definition\ScalarNode
{
if (!isset($this->values)) {
throw new \RuntimeException('You must call ->values() on enum nodes.');
}
- return new \RectorPrefix20220217\Symfony\Component\Config\Definition\EnumNode($this->name, $this->parent, $this->values, $this->pathSeparator);
+ return new \RectorPrefix20220218\Symfony\Component\Config\Definition\EnumNode($this->name, $this->parent, $this->values, $this->pathSeparator);
}
}
diff --git a/vendor/symfony/config/Definition/Builder/ExprBuilder.php b/vendor/symfony/config/Definition/Builder/ExprBuilder.php
index 33f3acff95e..9c7b020f8af 100644
--- a/vendor/symfony/config/Definition/Builder/ExprBuilder.php
+++ b/vendor/symfony/config/Definition/Builder/ExprBuilder.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\UnsetKeyException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\UnsetKeyException;
/**
* This class builds an if expression.
*
@@ -22,7 +22,7 @@ class ExprBuilder
protected $node;
public $ifPart;
public $thenPart;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeDefinition $node)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeDefinition $node)
{
$this->node = $node;
}
@@ -193,7 +193,7 @@ class ExprBuilder
public function thenUnset()
{
$this->thenPart = function () {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\UnsetKeyException('Unsetting key.');
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\UnsetKeyException('Unsetting key.');
};
return $this;
}
diff --git a/vendor/symfony/config/Definition/Builder/FloatNodeDefinition.php b/vendor/symfony/config/Definition/Builder/FloatNodeDefinition.php
index 34c5ecf8db8..1cb12e47ab3 100644
--- a/vendor/symfony/config/Definition/Builder/FloatNodeDefinition.php
+++ b/vendor/symfony/config/Definition/Builder/FloatNodeDefinition.php
@@ -8,21 +8,21 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\FloatNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\FloatNode;
/**
* This class provides a fluent interface for defining a float node.
*
* @author Jeanmonod David
*/
-class FloatNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NumericNodeDefinition
+class FloatNodeDefinition extends \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NumericNodeDefinition
{
/**
* Instantiates a Node.
*/
- protected function instantiateNode() : \RectorPrefix20220217\Symfony\Component\Config\Definition\ScalarNode
+ protected function instantiateNode() : \RectorPrefix20220218\Symfony\Component\Config\Definition\ScalarNode
{
- return new \RectorPrefix20220217\Symfony\Component\Config\Definition\FloatNode($this->name, $this->parent, $this->min, $this->max, $this->pathSeparator);
+ return new \RectorPrefix20220218\Symfony\Component\Config\Definition\FloatNode($this->name, $this->parent, $this->min, $this->max, $this->pathSeparator);
}
}
diff --git a/vendor/symfony/config/Definition/Builder/IntegerNodeDefinition.php b/vendor/symfony/config/Definition/Builder/IntegerNodeDefinition.php
index 80472aa168f..d8e4a398fd9 100644
--- a/vendor/symfony/config/Definition/Builder/IntegerNodeDefinition.php
+++ b/vendor/symfony/config/Definition/Builder/IntegerNodeDefinition.php
@@ -8,21 +8,21 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\IntegerNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\IntegerNode;
/**
* This class provides a fluent interface for defining an integer node.
*
* @author Jeanmonod David
*/
-class IntegerNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NumericNodeDefinition
+class IntegerNodeDefinition extends \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NumericNodeDefinition
{
/**
* Instantiates a Node.
*/
- protected function instantiateNode() : \RectorPrefix20220217\Symfony\Component\Config\Definition\ScalarNode
+ protected function instantiateNode() : \RectorPrefix20220218\Symfony\Component\Config\Definition\ScalarNode
{
- return new \RectorPrefix20220217\Symfony\Component\Config\Definition\IntegerNode($this->name, $this->parent, $this->min, $this->max, $this->pathSeparator);
+ return new \RectorPrefix20220218\Symfony\Component\Config\Definition\IntegerNode($this->name, $this->parent, $this->min, $this->max, $this->pathSeparator);
}
}
diff --git a/vendor/symfony/config/Definition/Builder/MergeBuilder.php b/vendor/symfony/config/Definition/Builder/MergeBuilder.php
index 4753103b441..725ecad8e64 100644
--- a/vendor/symfony/config/Definition/Builder/MergeBuilder.php
+++ b/vendor/symfony/config/Definition/Builder/MergeBuilder.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
/**
* This class builds merge conditions.
@@ -20,7 +20,7 @@ class MergeBuilder
protected $node;
public $allowFalse = \false;
public $allowOverwrite = \true;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeDefinition $node)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeDefinition $node)
{
$this->node = $node;
}
diff --git a/vendor/symfony/config/Definition/Builder/NodeBuilder.php b/vendor/symfony/config/Definition/Builder/NodeBuilder.php
index 8f41dc1c02e..a3d36629e64 100644
--- a/vendor/symfony/config/Definition/Builder/NodeBuilder.php
+++ b/vendor/symfony/config/Definition/Builder/NodeBuilder.php
@@ -8,27 +8,27 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
/**
* This class provides a fluent interface for building a node.
*
* @author Johannes M. Schmitt
*/
-class NodeBuilder implements \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeParentInterface
+class NodeBuilder implements \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeParentInterface
{
protected $parent;
protected $nodeMapping;
public function __construct()
{
- $this->nodeMapping = ['variable' => \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition::class, 'scalar' => \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition::class, 'boolean' => \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition::class, 'integer' => \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition::class, 'float' => \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\FloatNodeDefinition::class, 'array' => \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition::class, 'enum' => \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\EnumNodeDefinition::class];
+ $this->nodeMapping = ['variable' => \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition::class, 'scalar' => \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition::class, 'boolean' => \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition::class, 'integer' => \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition::class, 'float' => \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\FloatNodeDefinition::class, 'array' => \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition::class, 'enum' => \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\EnumNodeDefinition::class];
}
/**
* Set the parent node.
*
* @return $this
*/
- public function setParent(\RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ParentNodeDefinitionInterface $parent = null)
+ public function setParent(\RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ParentNodeDefinitionInterface $parent = null)
{
$this->parent = $parent;
return $this;
@@ -36,49 +36,49 @@ class NodeBuilder implements \RectorPrefix20220217\Symfony\Component\Config\Defi
/**
* Creates a child array node.
*/
- public function arrayNode(string $name) : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition
+ public function arrayNode(string $name) : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition
{
return $this->node($name, 'array');
}
/**
* Creates a child scalar node.
*/
- public function scalarNode(string $name) : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition
+ public function scalarNode(string $name) : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition
{
return $this->node($name, 'scalar');
}
/**
* Creates a child Boolean node.
*/
- public function booleanNode(string $name) : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition
+ public function booleanNode(string $name) : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition
{
return $this->node($name, 'boolean');
}
/**
* Creates a child integer node.
*/
- public function integerNode(string $name) : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition
+ public function integerNode(string $name) : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition
{
return $this->node($name, 'integer');
}
/**
* Creates a child float node.
*/
- public function floatNode(string $name) : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\FloatNodeDefinition
+ public function floatNode(string $name) : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\FloatNodeDefinition
{
return $this->node($name, 'float');
}
/**
* Creates a child EnumNode.
*/
- public function enumNode(string $name) : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\EnumNodeDefinition
+ public function enumNode(string $name) : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\EnumNodeDefinition
{
return $this->node($name, 'enum');
}
/**
* Creates a child variable node.
*/
- public function variableNode(string $name) : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition
+ public function variableNode(string $name) : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition
{
return $this->node($name, 'variable');
}
@@ -97,7 +97,7 @@ class NodeBuilder implements \RectorPrefix20220217\Symfony\Component\Config\Defi
* @throws \RuntimeException When the node type is not registered
* @throws \RuntimeException When the node class is not found
*/
- public function node(?string $name, string $type) : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeDefinition
+ public function node(?string $name, string $type) : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeDefinition
{
$class = $this->getNodeClass($type);
$node = new $class($name);
@@ -119,9 +119,9 @@ class NodeBuilder implements \RectorPrefix20220217\Symfony\Component\Config\Defi
*
* @return $this
*/
- public function append(\RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeDefinition $node)
+ public function append(\RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeDefinition $node)
{
- if ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\BuilderAwareInterface) {
+ if ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\BuilderAwareInterface) {
$builder = clone $this;
$builder->setParent(null);
$node->setBuilder($builder);
diff --git a/vendor/symfony/config/Definition/Builder/NodeDefinition.php b/vendor/symfony/config/Definition/Builder/NodeDefinition.php
index ae689f6923d..fd619c10f31 100644
--- a/vendor/symfony/config/Definition/Builder/NodeDefinition.php
+++ b/vendor/symfony/config/Definition/Builder/NodeDefinition.php
@@ -8,17 +8,17 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\BaseNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\BaseNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface;
/**
* This class provides a fluent interface for defining a node.
*
* @author Johannes M. Schmitt
*/
-abstract class NodeDefinition implements \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeParentInterface
+abstract class NodeDefinition implements \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeParentInterface
{
protected $name;
protected $normalization;
@@ -32,10 +32,10 @@ abstract class NodeDefinition implements \RectorPrefix20220217\Symfony\Component
protected $nullEquivalent;
protected $trueEquivalent = \true;
protected $falseEquivalent = \false;
- protected $pathSeparator = \RectorPrefix20220217\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR;
+ protected $pathSeparator = \RectorPrefix20220218\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR;
protected $parent;
protected $attributes = [];
- public function __construct(?string $name, \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null)
+ public function __construct(?string $name, \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null)
{
$this->parent = $parent;
$this->name = $name;
@@ -45,7 +45,7 @@ abstract class NodeDefinition implements \RectorPrefix20220217\Symfony\Component
*
* @return $this
*/
- public function setParent(\RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent)
+ public function setParent(\RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent)
{
$this->parent = $parent;
return $this;
@@ -91,19 +91,19 @@ abstract class NodeDefinition implements \RectorPrefix20220217\Symfony\Component
/**
* Creates the node.
*/
- public function getNode(bool $forceRootNode = \false) : \RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface
+ public function getNode(bool $forceRootNode = \false) : \RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface
{
if ($forceRootNode) {
$this->parent = null;
}
if (null !== $this->normalization) {
- $this->normalization->before = \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ExprBuilder::buildExpressions($this->normalization->before);
+ $this->normalization->before = \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ExprBuilder::buildExpressions($this->normalization->before);
}
if (null !== $this->validation) {
- $this->validation->rules = \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ExprBuilder::buildExpressions($this->validation->rules);
+ $this->validation->rules = \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ExprBuilder::buildExpressions($this->validation->rules);
}
$node = $this->createNode();
- if ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\BaseNode) {
+ if ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\BaseNode) {
$node->setAttributes($this->attributes);
}
return $node;
@@ -210,7 +210,7 @@ abstract class NodeDefinition implements \RectorPrefix20220217\Symfony\Component
/**
* Sets an expression to run before the normalization.
*/
- public function beforeNormalization() : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ExprBuilder
+ public function beforeNormalization() : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ExprBuilder
{
return $this->normalization()->before();
}
@@ -231,7 +231,7 @@ abstract class NodeDefinition implements \RectorPrefix20220217\Symfony\Component
* modify it.
* An exception should be thrown when the node is not valid.
*/
- public function validate() : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ExprBuilder
+ public function validate() : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ExprBuilder
{
return $this->validation()->rule();
}
@@ -248,30 +248,30 @@ abstract class NodeDefinition implements \RectorPrefix20220217\Symfony\Component
/**
* Gets the builder for validation rules.
*/
- protected function validation() : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ValidationBuilder
+ protected function validation() : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ValidationBuilder
{
if (null === $this->validation) {
- $this->validation = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ValidationBuilder($this);
+ $this->validation = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ValidationBuilder($this);
}
return $this->validation;
}
/**
* Gets the builder for merging rules.
*/
- protected function merge() : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\MergeBuilder
+ protected function merge() : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\MergeBuilder
{
if (null === $this->merge) {
- $this->merge = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\MergeBuilder($this);
+ $this->merge = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\MergeBuilder($this);
}
return $this->merge;
}
/**
* Gets the builder for normalization rules.
*/
- protected function normalization() : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NormalizationBuilder
+ protected function normalization() : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NormalizationBuilder
{
if (null === $this->normalization) {
- $this->normalization = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NormalizationBuilder($this);
+ $this->normalization = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NormalizationBuilder($this);
}
return $this->normalization;
}
@@ -280,7 +280,7 @@ abstract class NodeDefinition implements \RectorPrefix20220217\Symfony\Component
*
* @throws InvalidDefinitionException When the definition is invalid
*/
- protected abstract function createNode() : \RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface;
+ protected abstract function createNode() : \RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface;
/**
* Set PathSeparator to use.
*
@@ -288,7 +288,7 @@ abstract class NodeDefinition implements \RectorPrefix20220217\Symfony\Component
*/
public function setPathSeparator(string $separator)
{
- if ($this instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ParentNodeDefinitionInterface) {
+ if ($this instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ParentNodeDefinitionInterface) {
foreach ($this->getChildNodeDefinitions() as $child) {
$child->setPathSeparator($separator);
}
diff --git a/vendor/symfony/config/Definition/Builder/NodeParentInterface.php b/vendor/symfony/config/Definition/Builder/NodeParentInterface.php
index 04a47ec8c01..3ba1524b1a1 100644
--- a/vendor/symfony/config/Definition/Builder/NodeParentInterface.php
+++ b/vendor/symfony/config/Definition/Builder/NodeParentInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
/**
* An interface that must be implemented by all node parents.
diff --git a/vendor/symfony/config/Definition/Builder/NormalizationBuilder.php b/vendor/symfony/config/Definition/Builder/NormalizationBuilder.php
index 652ce8ca239..4bf8feececd 100644
--- a/vendor/symfony/config/Definition/Builder/NormalizationBuilder.php
+++ b/vendor/symfony/config/Definition/Builder/NormalizationBuilder.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
/**
* This class builds normalization conditions.
@@ -20,7 +20,7 @@ class NormalizationBuilder
protected $node;
public $before = [];
public $remappings = [];
- public function __construct(\RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeDefinition $node)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeDefinition $node)
{
$this->node = $node;
}
@@ -48,6 +48,6 @@ class NormalizationBuilder
$this->before[] = $closure;
return $this;
}
- return $this->before[] = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ExprBuilder($this->node);
+ return $this->before[] = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ExprBuilder($this->node);
}
}
diff --git a/vendor/symfony/config/Definition/Builder/NumericNodeDefinition.php b/vendor/symfony/config/Definition/Builder/NumericNodeDefinition.php
index eeb7626f97e..377211a9253 100644
--- a/vendor/symfony/config/Definition/Builder/NumericNodeDefinition.php
+++ b/vendor/symfony/config/Definition/Builder/NumericNodeDefinition.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException;
/**
* Abstract class that contains common code of integer and float node definitions.
*
* @author David Jeanmonod
*/
-abstract class NumericNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition
+abstract class NumericNodeDefinition extends \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition
{
protected $min;
protected $max;
@@ -60,6 +60,6 @@ abstract class NumericNodeDefinition extends \RectorPrefix20220217\Symfony\Compo
*/
public function cannotBeEmpty()
{
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException('->cannotBeEmpty() is not applicable to NumericNodeDefinition.');
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException('->cannotBeEmpty() is not applicable to NumericNodeDefinition.');
}
}
diff --git a/vendor/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php b/vendor/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php
index da4e3a03a03..af443462128 100644
--- a/vendor/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php
+++ b/vendor/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php
@@ -8,19 +8,19 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
/**
* An interface that must be implemented by nodes which can have children.
*
* @author Victor Berchet
*/
-interface ParentNodeDefinitionInterface extends \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\BuilderAwareInterface
+interface ParentNodeDefinitionInterface extends \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\BuilderAwareInterface
{
/**
* Returns a builder to add children nodes.
*/
- public function children() : \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeBuilder;
+ public function children() : \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeBuilder;
/**
* Appends a node definition.
*
@@ -36,7 +36,7 @@ interface ParentNodeDefinitionInterface extends \RectorPrefix20220217\Symfony\Co
*
* @return $this
*/
- public function append(\RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeDefinition $node);
+ public function append(\RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeDefinition $node);
/**
* Gets the child node definitions.
*
diff --git a/vendor/symfony/config/Definition/Builder/ScalarNodeDefinition.php b/vendor/symfony/config/Definition/Builder/ScalarNodeDefinition.php
index 8e5d2b66325..b27d847ebce 100644
--- a/vendor/symfony/config/Definition/Builder/ScalarNodeDefinition.php
+++ b/vendor/symfony/config/Definition/Builder/ScalarNodeDefinition.php
@@ -8,21 +8,21 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\ScalarNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\ScalarNode;
/**
* This class provides a fluent interface for defining a node.
*
* @author Johannes M. Schmitt
*/
-class ScalarNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition
+class ScalarNodeDefinition extends \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition
{
/**
* Instantiate a Node.
*/
- protected function instantiateNode() : \RectorPrefix20220217\Symfony\Component\Config\Definition\VariableNode
+ protected function instantiateNode() : \RectorPrefix20220218\Symfony\Component\Config\Definition\VariableNode
{
- return new \RectorPrefix20220217\Symfony\Component\Config\Definition\ScalarNode($this->name, $this->parent, $this->pathSeparator);
+ return new \RectorPrefix20220218\Symfony\Component\Config\Definition\ScalarNode($this->name, $this->parent, $this->pathSeparator);
}
}
diff --git a/vendor/symfony/config/Definition/Builder/TreeBuilder.php b/vendor/symfony/config/Definition/Builder/TreeBuilder.php
index 30a4f0042a7..df2726cd27d 100644
--- a/vendor/symfony/config/Definition/Builder/TreeBuilder.php
+++ b/vendor/symfony/config/Definition/Builder/TreeBuilder.php
@@ -8,21 +8,21 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface;
/**
* This is the entry class for building a config tree.
*
* @author Johannes M. Schmitt
*/
-class TreeBuilder implements \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeParentInterface
+class TreeBuilder implements \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeParentInterface
{
protected $tree;
protected $root;
- public function __construct(string $name, string $type = 'array', \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeBuilder $builder = null)
+ public function __construct(string $name, string $type = 'array', \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeBuilder $builder = null)
{
- $builder = $builder ?? new \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeBuilder();
+ $builder = $builder ?? new \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeBuilder();
$this->root = $builder->node($name, $type)->setParent($this);
}
/**
@@ -37,7 +37,7 @@ class TreeBuilder implements \RectorPrefix20220217\Symfony\Component\Config\Defi
*
* @throws \RuntimeException
*/
- public function buildTree() : \RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface
+ public function buildTree() : \RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface
{
if (null !== $this->tree) {
return $this->tree;
diff --git a/vendor/symfony/config/Definition/Builder/ValidationBuilder.php b/vendor/symfony/config/Definition/Builder/ValidationBuilder.php
index 70bedd20a36..8673dfee5f9 100644
--- a/vendor/symfony/config/Definition/Builder/ValidationBuilder.php
+++ b/vendor/symfony/config/Definition/Builder/ValidationBuilder.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
/**
* This class builds validation conditions.
@@ -19,7 +19,7 @@ class ValidationBuilder
{
protected $node;
public $rules = [];
- public function __construct(\RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeDefinition $node)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeDefinition $node)
{
$this->node = $node;
}
@@ -34,6 +34,6 @@ class ValidationBuilder
$this->rules[] = $closure;
return $this;
}
- return $this->rules[] = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\ExprBuilder($this->node);
+ return $this->rules[] = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\ExprBuilder($this->node);
}
}
diff --git a/vendor/symfony/config/Definition/Builder/VariableNodeDefinition.php b/vendor/symfony/config/Definition/Builder/VariableNodeDefinition.php
index 10f81b748f9..be1a4304620 100644
--- a/vendor/symfony/config/Definition/Builder/VariableNodeDefinition.php
+++ b/vendor/symfony/config/Definition/Builder/VariableNodeDefinition.php
@@ -8,28 +8,28 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Builder;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Builder;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\VariableNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\VariableNode;
/**
* This class provides a fluent interface for defining a node.
*
* @author Johannes M. Schmitt
*/
-class VariableNodeDefinition extends \RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\NodeDefinition
+class VariableNodeDefinition extends \RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\NodeDefinition
{
/**
* Instantiate a Node.
*/
- protected function instantiateNode() : \RectorPrefix20220217\Symfony\Component\Config\Definition\VariableNode
+ protected function instantiateNode() : \RectorPrefix20220218\Symfony\Component\Config\Definition\VariableNode
{
- return new \RectorPrefix20220217\Symfony\Component\Config\Definition\VariableNode($this->name, $this->parent, $this->pathSeparator);
+ return new \RectorPrefix20220218\Symfony\Component\Config\Definition\VariableNode($this->name, $this->parent, $this->pathSeparator);
}
/**
* {@inheritdoc}
*/
- protected function createNode() : \RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface
+ protected function createNode() : \RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface
{
$node = $this->instantiateNode();
if (null !== $this->normalization) {
diff --git a/vendor/symfony/config/Definition/ConfigurationInterface.php b/vendor/symfony/config/Definition/ConfigurationInterface.php
index 0b6ce9686f7..a6c68006cfc 100644
--- a/vendor/symfony/config/Definition/ConfigurationInterface.php
+++ b/vendor/symfony/config/Definition/ConfigurationInterface.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Builder\TreeBuilder;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Builder\TreeBuilder;
/**
* Configuration interface.
*
diff --git a/vendor/symfony/config/Definition/Dumper/XmlReferenceDumper.php b/vendor/symfony/config/Definition/Dumper/XmlReferenceDumper.php
index 523059057c6..76a80d37480 100644
--- a/vendor/symfony/config/Definition/Dumper/XmlReferenceDumper.php
+++ b/vendor/symfony/config/Definition/Dumper/XmlReferenceDumper.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Dumper;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Dumper;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\BaseNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\ConfigurationInterface;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\EnumNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\BaseNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\ConfigurationInterface;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\EnumNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode;
/**
* Dumps an XML reference configuration for the given configuration/node instance.
*
@@ -27,11 +27,11 @@ class XmlReferenceDumper
* @var string|null
*/
private $reference;
- public function dump(\RectorPrefix20220217\Symfony\Component\Config\Definition\ConfigurationInterface $configuration, string $namespace = null)
+ public function dump(\RectorPrefix20220218\Symfony\Component\Config\Definition\ConfigurationInterface $configuration, string $namespace = null)
{
return $this->dumpNode($configuration->getConfigTreeBuilder()->buildTree(), $namespace);
}
- public function dumpNode(\RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface $node, string $namespace = null)
+ public function dumpNode(\RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface $node, string $namespace = null)
{
$this->reference = '';
$this->writeNode($node, 0, \true, $namespace);
@@ -39,7 +39,7 @@ class XmlReferenceDumper
$this->reference = null;
return $ref;
}
- private function writeNode(\RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface $node, int $depth = 0, bool $root = \false, string $namespace = null)
+ private function writeNode(\RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface $node, int $depth = 0, bool $root = \false, string $namespace = null)
{
$rootName = $root ? 'config' : $node->getName();
$rootNamespace = $namespace ?: ($root ? 'http://example.org/schema/dic/' . $node->getName() : null);
@@ -58,7 +58,7 @@ class XmlReferenceDumper
$rootAttributeComments = [];
$rootChildren = [];
$rootComments = [];
- if ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode) {
+ if ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode) {
$children = $node->getChildren();
// comments about the root node
if ($rootInfo = $node->getInfo()) {
@@ -68,7 +68,7 @@ class XmlReferenceDumper
$rootComments[] = 'Namespace: ' . $rootNamespace;
}
// render prototyped nodes
- if ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode) {
+ if ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode) {
$prototype = $node->getPrototype();
$info = 'prototype';
if (null !== $prototype->getInfo()) {
@@ -78,10 +78,10 @@ class XmlReferenceDumper
if ($key = $node->getKeyAttribute()) {
$rootAttributes[$key] = \str_replace('-', ' ', $rootName) . ' ' . $key;
}
- if ($prototype instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode) {
+ if ($prototype instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode) {
$prototype->setName($key ?? '');
$children = [$key => $prototype];
- } elseif ($prototype instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode) {
+ } elseif ($prototype instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode) {
$children = $prototype->getChildren();
} else {
if ($prototype->hasDefaultValue()) {
@@ -109,7 +109,7 @@ class XmlReferenceDumper
}
// get attributes and elements
foreach ($children as $child) {
- if ($child instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode) {
+ if ($child instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode) {
// get elements
$rootChildren[] = $child;
continue;
@@ -121,20 +121,20 @@ class XmlReferenceDumper
// use a string which isn't used in the normal world
// comments
$comments = [];
- if ($child instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\BaseNode && ($info = $child->getInfo())) {
+ if ($child instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\BaseNode && ($info = $child->getInfo())) {
$comments[] = $info;
}
- if ($child instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\BaseNode && ($example = $child->getExample())) {
+ if ($child instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\BaseNode && ($example = $child->getExample())) {
$comments[] = 'Example: ' . $example;
}
if ($child->isRequired()) {
$comments[] = 'Required';
}
- if ($child instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\BaseNode && $child->isDeprecated()) {
+ if ($child instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\BaseNode && $child->isDeprecated()) {
$deprecation = $child->getDeprecation($child->getName(), $node->getPath());
$comments[] = \sprintf('Deprecated (%s)', ($deprecation['package'] || $deprecation['version'] ? "Since {$deprecation['package']} {$deprecation['version']}: " : '') . $deprecation['message']);
}
- if ($child instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\EnumNode) {
+ if ($child instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\EnumNode) {
$comments[] = 'One of ' . \implode('; ', \array_map('json_encode', $child->getValues()));
}
if (\count($comments)) {
diff --git a/vendor/symfony/config/Definition/Dumper/YamlReferenceDumper.php b/vendor/symfony/config/Definition/Dumper/YamlReferenceDumper.php
index 78753c4264c..5f0ac212ee3 100644
--- a/vendor/symfony/config/Definition/Dumper/YamlReferenceDumper.php
+++ b/vendor/symfony/config/Definition/Dumper/YamlReferenceDumper.php
@@ -8,17 +8,17 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Dumper;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Dumper;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\BaseNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\ConfigurationInterface;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\EnumNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\ScalarNode;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\VariableNode;
-use RectorPrefix20220217\Symfony\Component\Yaml\Inline;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\BaseNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\ConfigurationInterface;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\EnumNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\ScalarNode;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\VariableNode;
+use RectorPrefix20220218\Symfony\Component\Yaml\Inline;
/**
* Dumps a Yaml reference configuration for the given configuration/node instance.
*
@@ -30,19 +30,19 @@ class YamlReferenceDumper
* @var string|null
*/
private $reference;
- public function dump(\RectorPrefix20220217\Symfony\Component\Config\Definition\ConfigurationInterface $configuration)
+ public function dump(\RectorPrefix20220218\Symfony\Component\Config\Definition\ConfigurationInterface $configuration)
{
return $this->dumpNode($configuration->getConfigTreeBuilder()->buildTree());
}
- public function dumpAtPath(\RectorPrefix20220217\Symfony\Component\Config\Definition\ConfigurationInterface $configuration, string $path)
+ public function dumpAtPath(\RectorPrefix20220218\Symfony\Component\Config\Definition\ConfigurationInterface $configuration, string $path)
{
$rootNode = $node = $configuration->getConfigTreeBuilder()->buildTree();
foreach (\explode('.', $path) as $step) {
- if (!$node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode) {
+ if (!$node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode) {
throw new \UnexpectedValueException(\sprintf('Unable to find node at path "%s.%s".', $rootNode->getName(), $path));
}
/** @var NodeInterface[] $children */
- $children = $node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode ? $this->getPrototypeChildren($node) : $node->getChildren();
+ $children = $node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode ? $this->getPrototypeChildren($node) : $node->getChildren();
foreach ($children as $child) {
if ($child->getName() === $step) {
$node = $child;
@@ -53,7 +53,7 @@ class YamlReferenceDumper
}
return $this->dumpNode($node);
}
- public function dumpNode(\RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface $node)
+ public function dumpNode(\RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface $node)
{
$this->reference = '';
$this->writeNode($node);
@@ -61,20 +61,20 @@ class YamlReferenceDumper
$this->reference = null;
return $ref;
}
- private function writeNode(\RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface $node, \RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface $parentNode = null, int $depth = 0, bool $prototypedArray = \false)
+ private function writeNode(\RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface $node, \RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface $parentNode = null, int $depth = 0, bool $prototypedArray = \false)
{
$comments = [];
$default = '';
$defaultArray = null;
$children = null;
$example = null;
- if ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\BaseNode) {
+ if ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\BaseNode) {
$example = $node->getExample();
}
// defaults
- if ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode) {
+ if ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode) {
$children = $node->getChildren();
- if ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode) {
+ if ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode) {
$children = $this->getPrototypeChildren($node);
}
if (!$children) {
@@ -84,10 +84,10 @@ class YamlReferenceDumper
$default = '[]';
}
}
- } elseif ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\EnumNode) {
+ } elseif ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\EnumNode) {
$comments[] = 'One of ' . \implode('; ', \array_map('json_encode', $node->getValues()));
- $default = $node->hasDefaultValue() ? \RectorPrefix20220217\Symfony\Component\Yaml\Inline::dump($node->getDefaultValue()) : '~';
- } elseif (\RectorPrefix20220217\Symfony\Component\Config\Definition\VariableNode::class === \get_class($node) && \is_array($example)) {
+ $default = $node->hasDefaultValue() ? \RectorPrefix20220218\Symfony\Component\Yaml\Inline::dump($node->getDefaultValue()) : '~';
+ } elseif (\RectorPrefix20220218\Symfony\Component\Config\Definition\VariableNode::class === \get_class($node) && \is_array($example)) {
// If there is an array example, we are sure we dont need to print a default value
$default = '';
} else {
@@ -101,7 +101,7 @@ class YamlReferenceDumper
$default = '[]';
}
} else {
- $default = \RectorPrefix20220217\Symfony\Component\Yaml\Inline::dump($default);
+ $default = \RectorPrefix20220218\Symfony\Component\Yaml\Inline::dump($default);
}
}
}
@@ -110,19 +110,19 @@ class YamlReferenceDumper
$comments[] = 'Required';
}
// deprecated?
- if ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\BaseNode && $node->isDeprecated()) {
+ if ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\BaseNode && $node->isDeprecated()) {
$deprecation = $node->getDeprecation($node->getName(), $parentNode ? $parentNode->getPath() : $node->getPath());
$comments[] = \sprintf('Deprecated (%s)', ($deprecation['package'] || $deprecation['version'] ? "Since {$deprecation['package']} {$deprecation['version']}: " : '') . $deprecation['message']);
}
// example
if ($example && !\is_array($example)) {
- $comments[] = 'Example: ' . \RectorPrefix20220217\Symfony\Component\Yaml\Inline::dump($example);
+ $comments[] = 'Example: ' . \RectorPrefix20220218\Symfony\Component\Yaml\Inline::dump($example);
}
$default = '' != (string) $default ? ' ' . $default : '';
$comments = \count($comments) ? '# ' . \implode(', ', $comments) : '';
$key = $prototypedArray ? '-' : $node->getName() . ':';
$text = \rtrim(\sprintf('%-21s%s %s', $key, $default, $comments), ' ');
- if ($node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\BaseNode && ($info = $node->getInfo())) {
+ if ($node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\BaseNode && ($info = $node->getInfo())) {
$this->writeLine('');
// indenting multi-line info
$info = \str_replace("\n", \sprintf("\n%" . $depth * 4 . 's# ', ' '), $info);
@@ -140,11 +140,11 @@ class YamlReferenceDumper
$this->writeLine('');
$message = \count($example) > 1 ? 'Examples' : 'Example';
$this->writeLine('# ' . $message . ':', $depth * 4 + 4);
- $this->writeArray(\array_map([\RectorPrefix20220217\Symfony\Component\Yaml\Inline::class, 'dump'], $example), $depth + 1);
+ $this->writeArray(\array_map([\RectorPrefix20220218\Symfony\Component\Yaml\Inline::class, 'dump'], $example), $depth + 1);
}
if ($children) {
foreach ($children as $childNode) {
- $this->writeNode($childNode, $node, $depth + 1, $node instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode && !$node->getKeyAttribute());
+ $this->writeNode($childNode, $node, $depth + 1, $node instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode && !$node->getKeyAttribute());
}
}
}
@@ -176,18 +176,18 @@ class YamlReferenceDumper
}
}
}
- private function getPrototypeChildren(\RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode $node) : array
+ private function getPrototypeChildren(\RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode $node) : array
{
$prototype = $node->getPrototype();
$key = $node->getKeyAttribute();
// Do not expand prototype if it isn't an array node nor uses attribute as key
- if (!$key && !$prototype instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode) {
+ if (!$key && !$prototype instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode) {
return $node->getChildren();
}
- if ($prototype instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode) {
- $keyNode = new \RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode($key, $node);
+ if ($prototype instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode) {
+ $keyNode = new \RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode($key, $node);
$children = $prototype->getChildren();
- if ($prototype instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypedArrayNode && $prototype->getKeyAttribute()) {
+ if ($prototype instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypedArrayNode && $prototype->getKeyAttribute()) {
$children = $this->getPrototypeChildren($prototype);
}
// add children
@@ -195,7 +195,7 @@ class YamlReferenceDumper
$keyNode->addChild($childNode);
}
} else {
- $keyNode = new \RectorPrefix20220217\Symfony\Component\Config\Definition\ScalarNode($key, $node);
+ $keyNode = new \RectorPrefix20220218\Symfony\Component\Config\Definition\ScalarNode($key, $node);
}
$info = 'Prototype';
if (null !== $prototype->getInfo()) {
diff --git a/vendor/symfony/config/Definition/EnumNode.php b/vendor/symfony/config/Definition/EnumNode.php
index 660b1680f1f..5d3b6d00bcc 100644
--- a/vendor/symfony/config/Definition/EnumNode.php
+++ b/vendor/symfony/config/Definition/EnumNode.php
@@ -8,21 +8,21 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
/**
* Node which only allows a finite set of values.
*
* @author Johannes M. Schmitt
*/
-class EnumNode extends \RectorPrefix20220217\Symfony\Component\Config\Definition\ScalarNode
+class EnumNode extends \RectorPrefix20220218\Symfony\Component\Config\Definition\ScalarNode
{
/**
* @var mixed[]
*/
private $values;
- public function __construct(?string $name, \RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface $parent = null, array $values = [], string $pathSeparator = \RectorPrefix20220217\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR)
+ public function __construct(?string $name, \RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface $parent = null, array $values = [], string $pathSeparator = \RectorPrefix20220218\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR)
{
$values = \array_unique($values);
if (empty($values)) {
@@ -44,7 +44,7 @@ class EnumNode extends \RectorPrefix20220217\Symfony\Component\Config\Definition
{
$value = parent::finalizeValue($value);
if (!\in_array($value, $this->values, \true)) {
- $ex = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The value %s is not allowed for path "%s". Permissible values: %s', \json_encode($value), $this->getPath(), \implode(', ', \array_map('json_encode', $this->values))));
+ $ex = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The value %s is not allowed for path "%s". Permissible values: %s', \json_encode($value), $this->getPath(), \implode(', ', \array_map('json_encode', $this->values))));
$ex->setPath($this->getPath());
throw $ex;
}
diff --git a/vendor/symfony/config/Definition/Exception/DuplicateKeyException.php b/vendor/symfony/config/Definition/Exception/DuplicateKeyException.php
index 8fe9a026fb7..28417549133 100644
--- a/vendor/symfony/config/Definition/Exception/DuplicateKeyException.php
+++ b/vendor/symfony/config/Definition/Exception/DuplicateKeyException.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Exception;
/**
* This exception is thrown whenever the key of an array is not unique. This can
@@ -16,6 +16,6 @@ namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Exception;
*
* @author Johannes M. Schmitt
*/
-class DuplicateKeyException extends \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
+class DuplicateKeyException extends \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
{
}
diff --git a/vendor/symfony/config/Definition/Exception/Exception.php b/vendor/symfony/config/Definition/Exception/Exception.php
index 8025fdb565e..a9b0fef845a 100644
--- a/vendor/symfony/config/Definition/Exception/Exception.php
+++ b/vendor/symfony/config/Definition/Exception/Exception.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Exception;
/**
* Base exception for all configuration exceptions.
diff --git a/vendor/symfony/config/Definition/Exception/ForbiddenOverwriteException.php b/vendor/symfony/config/Definition/Exception/ForbiddenOverwriteException.php
index 8157c7bba6f..13b4266ee1f 100644
--- a/vendor/symfony/config/Definition/Exception/ForbiddenOverwriteException.php
+++ b/vendor/symfony/config/Definition/Exception/ForbiddenOverwriteException.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Exception;
/**
* This exception is thrown when a configuration path is overwritten from a
@@ -16,6 +16,6 @@ namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Exception;
*
* @author Johannes M. Schmitt
*/
-class ForbiddenOverwriteException extends \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
+class ForbiddenOverwriteException extends \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
{
}
diff --git a/vendor/symfony/config/Definition/Exception/InvalidConfigurationException.php b/vendor/symfony/config/Definition/Exception/InvalidConfigurationException.php
index 0513779e389..1788ce16a1e 100644
--- a/vendor/symfony/config/Definition/Exception/InvalidConfigurationException.php
+++ b/vendor/symfony/config/Definition/Exception/InvalidConfigurationException.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Exception;
/**
* A very general exception which can be thrown whenever non of the more specific
@@ -16,7 +16,7 @@ namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Exception;
*
* @author Johannes M. Schmitt
*/
-class InvalidConfigurationException extends \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\Exception
+class InvalidConfigurationException extends \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\Exception
{
/**
* @var string|null
diff --git a/vendor/symfony/config/Definition/Exception/InvalidDefinitionException.php b/vendor/symfony/config/Definition/Exception/InvalidDefinitionException.php
index 7c6a4de4938..f72ed9fb072 100644
--- a/vendor/symfony/config/Definition/Exception/InvalidDefinitionException.php
+++ b/vendor/symfony/config/Definition/Exception/InvalidDefinitionException.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Exception;
/**
* Thrown when an error is detected in a node Definition.
*
* @author Victor Berchet
*/
-class InvalidDefinitionException extends \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\Exception
+class InvalidDefinitionException extends \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\Exception
{
}
diff --git a/vendor/symfony/config/Definition/Exception/InvalidTypeException.php b/vendor/symfony/config/Definition/Exception/InvalidTypeException.php
index 16b986227a1..059339b36d6 100644
--- a/vendor/symfony/config/Definition/Exception/InvalidTypeException.php
+++ b/vendor/symfony/config/Definition/Exception/InvalidTypeException.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Exception;
/**
* This exception is thrown if an invalid type is encountered.
*
* @author Johannes M. Schmitt
*/
-class InvalidTypeException extends \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
+class InvalidTypeException extends \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
{
}
diff --git a/vendor/symfony/config/Definition/Exception/UnsetKeyException.php b/vendor/symfony/config/Definition/Exception/UnsetKeyException.php
index 7f8a3035777..196b0e19221 100644
--- a/vendor/symfony/config/Definition/Exception/UnsetKeyException.php
+++ b/vendor/symfony/config/Definition/Exception/UnsetKeyException.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition\Exception;
/**
* This exception is usually not encountered by the end-user, but only used
@@ -16,6 +16,6 @@ namespace RectorPrefix20220217\Symfony\Component\Config\Definition\Exception;
*
* @author Johannes M. Schmitt
*/
-class UnsetKeyException extends \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\Exception
+class UnsetKeyException extends \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\Exception
{
}
diff --git a/vendor/symfony/config/Definition/FloatNode.php b/vendor/symfony/config/Definition/FloatNode.php
index 25f06fdf838..ba39b016f12 100644
--- a/vendor/symfony/config/Definition/FloatNode.php
+++ b/vendor/symfony/config/Definition/FloatNode.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidTypeException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidTypeException;
/**
* This node represents a float value in the config tree.
*
* @author Jeanmonod David
*/
-class FloatNode extends \RectorPrefix20220217\Symfony\Component\Config\Definition\NumericNode
+class FloatNode extends \RectorPrefix20220218\Symfony\Component\Config\Definition\NumericNode
{
/**
* {@inheritdoc}
@@ -29,7 +29,7 @@ class FloatNode extends \RectorPrefix20220217\Symfony\Component\Config\Definitio
$value = (float) $value;
}
if (!\is_float($value)) {
- $ex = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "float", but got "%s".', $this->getPath(), \get_debug_type($value)));
+ $ex = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "float", but got "%s".', $this->getPath(), \get_debug_type($value)));
if ($hint = $this->getInfo()) {
$ex->addHint($hint);
}
diff --git a/vendor/symfony/config/Definition/IntegerNode.php b/vendor/symfony/config/Definition/IntegerNode.php
index 35c07ed3fe2..9f811f8a9b0 100644
--- a/vendor/symfony/config/Definition/IntegerNode.php
+++ b/vendor/symfony/config/Definition/IntegerNode.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidTypeException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidTypeException;
/**
* This node represents an integer value in the config tree.
*
* @author Jeanmonod David
*/
-class IntegerNode extends \RectorPrefix20220217\Symfony\Component\Config\Definition\NumericNode
+class IntegerNode extends \RectorPrefix20220218\Symfony\Component\Config\Definition\NumericNode
{
/**
* {@inheritdoc}
@@ -25,7 +25,7 @@ class IntegerNode extends \RectorPrefix20220217\Symfony\Component\Config\Definit
protected function validateType($value)
{
if (!\is_int($value)) {
- $ex = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "int", but got "%s".', $this->getPath(), \get_debug_type($value)));
+ $ex = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "int", but got "%s".', $this->getPath(), \get_debug_type($value)));
if ($hint = $this->getInfo()) {
$ex->addHint($hint);
}
diff --git a/vendor/symfony/config/Definition/NodeInterface.php b/vendor/symfony/config/Definition/NodeInterface.php
index 4de8c566c4a..9a9942b39c0 100644
--- a/vendor/symfony/config/Definition/NodeInterface.php
+++ b/vendor/symfony/config/Definition/NodeInterface.php
@@ -8,11 +8,11 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidTypeException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidTypeException;
/**
* Common Interface among all nodes.
*
diff --git a/vendor/symfony/config/Definition/NumericNode.php b/vendor/symfony/config/Definition/NumericNode.php
index b3f075859db..2a163be3a8f 100644
--- a/vendor/symfony/config/Definition/NumericNode.php
+++ b/vendor/symfony/config/Definition/NumericNode.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
/**
* This node represents a numeric value in the config tree.
*
* @author David Jeanmonod
*/
-class NumericNode extends \RectorPrefix20220217\Symfony\Component\Config\Definition\ScalarNode
+class NumericNode extends \RectorPrefix20220218\Symfony\Component\Config\Definition\ScalarNode
{
protected $min;
protected $max;
@@ -24,7 +24,7 @@ class NumericNode extends \RectorPrefix20220217\Symfony\Component\Config\Definit
* @param float|int $min
* @param float|int $max
*/
- public function __construct(?string $name, \RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface $parent = null, $min = null, $max = null, string $pathSeparator = \RectorPrefix20220217\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR)
+ public function __construct(?string $name, \RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface $parent = null, $min = null, $max = null, string $pathSeparator = \RectorPrefix20220218\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR)
{
parent::__construct($name, $parent, $pathSeparator);
$this->min = $min;
@@ -46,7 +46,7 @@ class NumericNode extends \RectorPrefix20220217\Symfony\Component\Config\Definit
$errorMsg = \sprintf('The value %s is too big for path "%s". Should be less than or equal to %s', $value, $this->getPath(), $this->max);
}
if (isset($errorMsg)) {
- $ex = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($errorMsg);
+ $ex = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($errorMsg);
$ex->setPath($this->getPath());
throw $ex;
}
diff --git a/vendor/symfony/config/Definition/Processor.php b/vendor/symfony/config/Definition/Processor.php
index 3b8a1e8c17b..00aa2fc4014 100644
--- a/vendor/symfony/config/Definition/Processor.php
+++ b/vendor/symfony/config/Definition/Processor.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition;
/**
* This class is the entry point for config normalization/merging/finalization.
@@ -24,7 +24,7 @@ class Processor
*
* @param array $configs An array of configuration items to process
*/
- public function process(\RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface $configTree, array $configs) : array
+ public function process(\RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface $configTree, array $configs) : array
{
$currentConfig = [];
foreach ($configs as $config) {
@@ -38,7 +38,7 @@ class Processor
*
* @param array $configs An array of configuration items to process
*/
- public function processConfiguration(\RectorPrefix20220217\Symfony\Component\Config\Definition\ConfigurationInterface $configuration, array $configs) : array
+ public function processConfiguration(\RectorPrefix20220218\Symfony\Component\Config\Definition\ConfigurationInterface $configuration, array $configs) : array
{
return $this->process($configuration->getConfigTreeBuilder()->buildTree(), $configs);
}
diff --git a/vendor/symfony/config/Definition/PrototypeNodeInterface.php b/vendor/symfony/config/Definition/PrototypeNodeInterface.php
index 2c6d9697895..ab0f5858a0c 100644
--- a/vendor/symfony/config/Definition/PrototypeNodeInterface.php
+++ b/vendor/symfony/config/Definition/PrototypeNodeInterface.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition;
/**
* This interface must be implemented by nodes which can be used as prototypes.
*
* @author Johannes M. Schmitt
*/
-interface PrototypeNodeInterface extends \RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface
+interface PrototypeNodeInterface extends \RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface
{
/**
* Sets the name of the node.
diff --git a/vendor/symfony/config/Definition/PrototypedArrayNode.php b/vendor/symfony/config/Definition/PrototypedArrayNode.php
index 5331e8dc8b9..309b611e990 100644
--- a/vendor/symfony/config/Definition/PrototypedArrayNode.php
+++ b/vendor/symfony/config/Definition/PrototypedArrayNode.php
@@ -8,18 +8,18 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\DuplicateKeyException;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\Exception;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\UnsetKeyException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\DuplicateKeyException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\Exception;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\UnsetKeyException;
/**
* Represents a prototyped Array node in the config tree.
*
* @author Johannes M. Schmitt
*/
-class PrototypedArrayNode extends \RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode
+class PrototypedArrayNode extends \RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode
{
protected $prototype;
protected $keyAttribute;
@@ -124,14 +124,14 @@ class PrototypedArrayNode extends \RectorPrefix20220217\Symfony\Component\Config
/**
* Sets the node prototype.
*/
- public function setPrototype(\RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypeNodeInterface $node)
+ public function setPrototype(\RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypeNodeInterface $node)
{
$this->prototype = $node;
}
/**
* Retrieves the prototype.
*/
- public function getPrototype() : \RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypeNodeInterface
+ public function getPrototype() : \RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypeNodeInterface
{
return $this->prototype;
}
@@ -140,9 +140,9 @@ class PrototypedArrayNode extends \RectorPrefix20220217\Symfony\Component\Config
*
* @throws Exception
*/
- public function addChild(\RectorPrefix20220217\Symfony\Component\Config\Definition\NodeInterface $node)
+ public function addChild(\RectorPrefix20220218\Symfony\Component\Config\Definition\NodeInterface $node)
{
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\Exception('A prototyped array node cannot have concrete children.');
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\Exception('A prototyped array node cannot have concrete children.');
}
/**
* {@inheritdoc}
@@ -152,18 +152,18 @@ class PrototypedArrayNode extends \RectorPrefix20220217\Symfony\Component\Config
protected function finalizeValue($value)
{
if (\false === $value) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\UnsetKeyException(\sprintf('Unsetting key for path "%s", value: %s.', $this->getPath(), \json_encode($value)));
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\UnsetKeyException(\sprintf('Unsetting key for path "%s", value: %s.', $this->getPath(), \json_encode($value)));
}
foreach ($value as $k => $v) {
$prototype = $this->getPrototypeForChild($k);
try {
$value[$k] = $prototype->finalize($v);
- } catch (\RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) {
unset($value[$k]);
}
}
if (\count($value) < $this->minNumberOfElements) {
- $ex = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The path "%s" should have at least %d element(s) defined.', $this->getPath(), $this->minNumberOfElements));
+ $ex = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The path "%s" should have at least %d element(s) defined.', $this->getPath(), $this->minNumberOfElements));
$ex->setPath($this->getPath());
throw $ex;
}
@@ -187,7 +187,7 @@ class PrototypedArrayNode extends \RectorPrefix20220217\Symfony\Component\Config
foreach ($value as $k => $v) {
if (null !== $this->keyAttribute && \is_array($v)) {
if (!isset($v[$this->keyAttribute]) && \is_int($k) && $isList) {
- $ex = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The attribute "%s" must be set for path "%s".', $this->keyAttribute, $this->getPath()));
+ $ex = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The attribute "%s" must be set for path "%s".', $this->keyAttribute, $this->getPath()));
$ex->setPath($this->getPath());
throw $ex;
} elseif (isset($v[$this->keyAttribute])) {
@@ -202,7 +202,7 @@ class PrototypedArrayNode extends \RectorPrefix20220217\Symfony\Component\Config
// if only "value" is left
if (\array_keys($v) === ['value']) {
$v = $v['value'];
- if ($this->prototype instanceof \RectorPrefix20220217\Symfony\Component\Config\Definition\ArrayNode && ($children = $this->prototype->getChildren()) && \array_key_exists('value', $children)) {
+ if ($this->prototype instanceof \RectorPrefix20220218\Symfony\Component\Config\Definition\ArrayNode && ($children = $this->prototype->getChildren()) && \array_key_exists('value', $children)) {
$valuePrototype = \current($this->valuePrototypes) ?: clone $children['value'];
$valuePrototype->parent = $this;
$originalClosures = $this->prototype->normalizationClosures;
@@ -215,7 +215,7 @@ class PrototypedArrayNode extends \RectorPrefix20220217\Symfony\Component\Config
}
}
if (\array_key_exists($k, $normalized)) {
- $ex = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\DuplicateKeyException(\sprintf('Duplicate key "%s" for path "%s".', $k, $this->getPath()));
+ $ex = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\DuplicateKeyException(\sprintf('Duplicate key "%s" for path "%s".', $k, $this->getPath()));
$ex->setPath($this->getPath());
throw $ex;
}
@@ -255,7 +255,7 @@ class PrototypedArrayNode extends \RectorPrefix20220217\Symfony\Component\Config
// no conflict
if (!\array_key_exists($k, $leftSide)) {
if (!$this->allowNewKeys) {
- $ex = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('You are not allowed to define new elements for path "%s". Please define all elements for this path in one config file.', $this->getPath()));
+ $ex = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('You are not allowed to define new elements for path "%s". Please define all elements for this path in one config file.', $this->getPath()));
$ex->setPath($this->getPath());
throw $ex;
}
diff --git a/vendor/symfony/config/Definition/ScalarNode.php b/vendor/symfony/config/Definition/ScalarNode.php
index 9dda27c7dfc..900aa7a9195 100644
--- a/vendor/symfony/config/Definition/ScalarNode.php
+++ b/vendor/symfony/config/Definition/ScalarNode.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidTypeException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidTypeException;
/**
* This node represents a scalar value in the config tree.
*
@@ -23,7 +23,7 @@ use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidTy
*
* @author Johannes M. Schmitt
*/
-class ScalarNode extends \RectorPrefix20220217\Symfony\Component\Config\Definition\VariableNode
+class ScalarNode extends \RectorPrefix20220218\Symfony\Component\Config\Definition\VariableNode
{
/**
* {@inheritdoc}
@@ -32,7 +32,7 @@ class ScalarNode extends \RectorPrefix20220217\Symfony\Component\Config\Definiti
protected function validateType($value)
{
if (!\is_scalar($value) && null !== $value) {
- $ex = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "scalar", but got "%s".', $this->getPath(), \get_debug_type($value)));
+ $ex = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "scalar", but got "%s".', $this->getPath(), \get_debug_type($value)));
if ($hint = $this->getInfo()) {
$ex->addHint($hint);
}
diff --git a/vendor/symfony/config/Definition/VariableNode.php b/vendor/symfony/config/Definition/VariableNode.php
index 39bd15e3cf7..a3cd394c9c9 100644
--- a/vendor/symfony/config/Definition/VariableNode.php
+++ b/vendor/symfony/config/Definition/VariableNode.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Definition;
+namespace RectorPrefix20220218\Symfony\Component\Config\Definition;
-use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
+use RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
/**
* This node represents a value of variable type in the config tree.
*
@@ -19,7 +19,7 @@ use RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidCo
*
* @author Jeremy Mikola
*/
-class VariableNode extends \RectorPrefix20220217\Symfony\Component\Config\Definition\BaseNode implements \RectorPrefix20220217\Symfony\Component\Config\Definition\PrototypeNodeInterface
+class VariableNode extends \RectorPrefix20220218\Symfony\Component\Config\Definition\BaseNode implements \RectorPrefix20220218\Symfony\Component\Config\Definition\PrototypeNodeInterface
{
protected $defaultValueSet = \false;
protected $defaultValue;
@@ -81,7 +81,7 @@ class VariableNode extends \RectorPrefix20220217\Symfony\Component\Config\Defini
// deny environment variables only when using custom validators
// this avoids ever passing an empty value to final validation closures
if (!$this->allowEmptyValue && $this->isHandlingPlaceholder() && $this->finalValidationClosures) {
- $e = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The path "%s" cannot contain an environment variable when empty values are not allowed by definition and are validated.', $this->getPath()));
+ $e = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The path "%s" cannot contain an environment variable when empty values are not allowed by definition and are validated.', $this->getPath()));
if ($hint = $this->getInfo()) {
$e->addHint($hint);
}
@@ -89,7 +89,7 @@ class VariableNode extends \RectorPrefix20220217\Symfony\Component\Config\Defini
throw $e;
}
if (!$this->allowEmptyValue && $this->isValueEmpty($value)) {
- $ex = new \RectorPrefix20220217\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The path "%s" cannot contain an empty value, but got %s.', $this->getPath(), \json_encode($value)));
+ $ex = new \RectorPrefix20220218\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The path "%s" cannot contain an empty value, but got %s.', $this->getPath(), \json_encode($value)));
if ($hint = $this->getInfo()) {
$ex->addHint($hint);
}
diff --git a/vendor/symfony/config/Exception/FileLoaderImportCircularReferenceException.php b/vendor/symfony/config/Exception/FileLoaderImportCircularReferenceException.php
index 979ef73b9cc..d892baf4844 100644
--- a/vendor/symfony/config/Exception/FileLoaderImportCircularReferenceException.php
+++ b/vendor/symfony/config/Exception/FileLoaderImportCircularReferenceException.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Config\Exception;
/**
* Exception class for when a circular reference is detected when importing resources.
*
* @author Fabien Potencier
*/
-class FileLoaderImportCircularReferenceException extends \RectorPrefix20220217\Symfony\Component\Config\Exception\LoaderLoadException
+class FileLoaderImportCircularReferenceException extends \RectorPrefix20220218\Symfony\Component\Config\Exception\LoaderLoadException
{
public function __construct(array $resources, int $code = 0, \Throwable $previous = null)
{
diff --git a/vendor/symfony/config/Exception/FileLocatorFileNotFoundException.php b/vendor/symfony/config/Exception/FileLocatorFileNotFoundException.php
index 6d33650754c..1ad76103b15 100644
--- a/vendor/symfony/config/Exception/FileLocatorFileNotFoundException.php
+++ b/vendor/symfony/config/Exception/FileLocatorFileNotFoundException.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Config\Exception;
/**
* File locator exception if a file does not exist.
diff --git a/vendor/symfony/config/Exception/LoaderLoadException.php b/vendor/symfony/config/Exception/LoaderLoadException.php
index 013b92af1ab..c1c2d54d32c 100644
--- a/vendor/symfony/config/Exception/LoaderLoadException.php
+++ b/vendor/symfony/config/Exception/LoaderLoadException.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Config\Exception;
/**
* Exception class for when a resource cannot be loaded or imported.
diff --git a/vendor/symfony/config/FileLocator.php b/vendor/symfony/config/FileLocator.php
index f45faaa5417..7419c15a2cf 100644
--- a/vendor/symfony/config/FileLocator.php
+++ b/vendor/symfony/config/FileLocator.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config;
+namespace RectorPrefix20220218\Symfony\Component\Config;
-use RectorPrefix20220217\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException;
+use RectorPrefix20220218\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException;
/**
* FileLocator uses an array of pre-defined paths to find files.
*
* @author Fabien Potencier
*/
-class FileLocator implements \RectorPrefix20220217\Symfony\Component\Config\FileLocatorInterface
+class FileLocator implements \RectorPrefix20220218\Symfony\Component\Config\FileLocatorInterface
{
protected $paths;
/**
@@ -36,7 +36,7 @@ class FileLocator implements \RectorPrefix20220217\Symfony\Component\Config\File
}
if ($this->isAbsolutePath($name)) {
if (!\file_exists($name)) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException(\sprintf('The file "%s" does not exist.', $name), 0, null, [$name]);
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException(\sprintf('The file "%s" does not exist.', $name), 0, null, [$name]);
}
return $name;
}
@@ -57,7 +57,7 @@ class FileLocator implements \RectorPrefix20220217\Symfony\Component\Config\File
}
}
if (!$filepaths) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException(\sprintf('The file "%s" does not exist (in: "%s").', $name, \implode('", "', $paths)), 0, null, $notfound);
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException(\sprintf('The file "%s" does not exist (in: "%s").', $name, \implode('", "', $paths)), 0, null, $notfound);
}
return $filepaths;
}
diff --git a/vendor/symfony/config/FileLocatorInterface.php b/vendor/symfony/config/FileLocatorInterface.php
index ffb5a4d6576..3dc3ff57ca4 100644
--- a/vendor/symfony/config/FileLocatorInterface.php
+++ b/vendor/symfony/config/FileLocatorInterface.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config;
+namespace RectorPrefix20220218\Symfony\Component\Config;
-use RectorPrefix20220217\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException;
+use RectorPrefix20220218\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException;
/**
* @author Fabien Potencier
*/
diff --git a/vendor/symfony/config/Loader/DelegatingLoader.php b/vendor/symfony/config/Loader/DelegatingLoader.php
index 6f205850d21..f5fe390454a 100644
--- a/vendor/symfony/config/Loader/DelegatingLoader.php
+++ b/vendor/symfony/config/Loader/DelegatingLoader.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Loader;
+namespace RectorPrefix20220218\Symfony\Component\Config\Loader;
-use RectorPrefix20220217\Symfony\Component\Config\Exception\LoaderLoadException;
+use RectorPrefix20220218\Symfony\Component\Config\Exception\LoaderLoadException;
/**
* DelegatingLoader delegates loading to other loaders using a loader resolver.
*
@@ -19,9 +19,9 @@ use RectorPrefix20220217\Symfony\Component\Config\Exception\LoaderLoadException;
*
* @author Fabien Potencier
*/
-class DelegatingLoader extends \RectorPrefix20220217\Symfony\Component\Config\Loader\Loader
+class DelegatingLoader extends \RectorPrefix20220218\Symfony\Component\Config\Loader\Loader
{
- public function __construct(\RectorPrefix20220217\Symfony\Component\Config\Loader\LoaderResolverInterface $resolver)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Config\Loader\LoaderResolverInterface $resolver)
{
$this->resolver = $resolver;
}
@@ -34,7 +34,7 @@ class DelegatingLoader extends \RectorPrefix20220217\Symfony\Component\Config\Lo
public function load($resource, $type = null)
{
if (\false === ($loader = $this->resolver->resolve($resource, $type))) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Exception\LoaderLoadException($resource, null, 0, null, $type);
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Exception\LoaderLoadException($resource, null, 0, null, $type);
}
return $loader->load($resource, $type);
}
diff --git a/vendor/symfony/config/Loader/FileLoader.php b/vendor/symfony/config/Loader/FileLoader.php
index d879d023971..ad2eb01ce1e 100644
--- a/vendor/symfony/config/Loader/FileLoader.php
+++ b/vendor/symfony/config/Loader/FileLoader.php
@@ -8,20 +8,20 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Loader;
+namespace RectorPrefix20220218\Symfony\Component\Config\Loader;
-use RectorPrefix20220217\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException;
-use RectorPrefix20220217\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException;
-use RectorPrefix20220217\Symfony\Component\Config\Exception\LoaderLoadException;
-use RectorPrefix20220217\Symfony\Component\Config\FileLocatorInterface;
-use RectorPrefix20220217\Symfony\Component\Config\Resource\FileExistenceResource;
-use RectorPrefix20220217\Symfony\Component\Config\Resource\GlobResource;
+use RectorPrefix20220218\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException;
+use RectorPrefix20220218\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException;
+use RectorPrefix20220218\Symfony\Component\Config\Exception\LoaderLoadException;
+use RectorPrefix20220218\Symfony\Component\Config\FileLocatorInterface;
+use RectorPrefix20220218\Symfony\Component\Config\Resource\FileExistenceResource;
+use RectorPrefix20220218\Symfony\Component\Config\Resource\GlobResource;
/**
* FileLoader is the abstract class used by all built-in loaders that are file based.
*
* @author Fabien Potencier
*/
-abstract class FileLoader extends \RectorPrefix20220217\Symfony\Component\Config\Loader\Loader
+abstract class FileLoader extends \RectorPrefix20220218\Symfony\Component\Config\Loader\Loader
{
protected static $loading = [];
protected $locator;
@@ -29,7 +29,7 @@ abstract class FileLoader extends \RectorPrefix20220217\Symfony\Component\Config
* @var string|null
*/
private $currentDir;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Config\FileLocatorInterface $locator, string $env = null)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Config\FileLocatorInterface $locator, string $env = null)
{
$this->locator = $locator;
parent::__construct($env);
@@ -44,7 +44,7 @@ abstract class FileLoader extends \RectorPrefix20220217\Symfony\Component\Config
/**
* Returns the file locator used by this loader.
*/
- public function getLocator() : \RectorPrefix20220217\Symfony\Component\Config\FileLocatorInterface
+ public function getLocator() : \RectorPrefix20220218\Symfony\Component\Config\FileLocatorInterface
{
return $this->locator;
}
@@ -105,17 +105,17 @@ abstract class FileLoader extends \RectorPrefix20220217\Symfony\Component\Config
}
try {
$prefix = $this->locator->locate($prefix, $this->currentDir, \true);
- } catch (\RectorPrefix20220217\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException $e) {
if (!$ignoreErrors) {
throw $e;
}
$resource = [];
foreach ($e->getPaths() as $path) {
- $resource[] = new \RectorPrefix20220217\Symfony\Component\Config\Resource\FileExistenceResource($path);
+ $resource[] = new \RectorPrefix20220218\Symfony\Component\Config\Resource\FileExistenceResource($path);
}
return;
}
- $resource = new \RectorPrefix20220217\Symfony\Component\Config\Resource\GlobResource($prefix, $pattern, $recursive, $forExclusion, $excluded);
+ $resource = new \RectorPrefix20220218\Symfony\Component\Config\Resource\GlobResource($prefix, $pattern, $recursive, $forExclusion, $excluded);
yield from $resource;
}
/**
@@ -132,7 +132,7 @@ abstract class FileLoader extends \RectorPrefix20220217\Symfony\Component\Config
for ($i = 0; $i < ($resourcesCount = \count($resources)); ++$i) {
if (isset(self::$loading[$resources[$i]])) {
if ($i == $resourcesCount - 1) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException(\array_keys(self::$loading));
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException(\array_keys(self::$loading));
}
} else {
$resource = $resources[$i];
@@ -146,15 +146,15 @@ abstract class FileLoader extends \RectorPrefix20220217\Symfony\Component\Config
unset(self::$loading[$resource]);
}
return $ret;
- } catch (\RectorPrefix20220217\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException $e) {
throw $e;
} catch (\Exception $e) {
if (!$ignoreErrors) {
// prevent embedded imports from nesting multiple exceptions
- if ($e instanceof \RectorPrefix20220217\Symfony\Component\Config\Exception\LoaderLoadException) {
+ if ($e instanceof \RectorPrefix20220218\Symfony\Component\Config\Exception\LoaderLoadException) {
throw $e;
}
- throw new \RectorPrefix20220217\Symfony\Component\Config\Exception\LoaderLoadException($resource, $sourceResource, 0, $e, $type);
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Exception\LoaderLoadException($resource, $sourceResource, 0, $e, $type);
}
}
return null;
diff --git a/vendor/symfony/config/Loader/GlobFileLoader.php b/vendor/symfony/config/Loader/GlobFileLoader.php
index 08c3a6b91aa..51fe8450a66 100644
--- a/vendor/symfony/config/Loader/GlobFileLoader.php
+++ b/vendor/symfony/config/Loader/GlobFileLoader.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Loader;
+namespace RectorPrefix20220218\Symfony\Component\Config\Loader;
/**
* GlobFileLoader loads files from a glob pattern.
*
* @author Fabien Potencier
*/
-class GlobFileLoader extends \RectorPrefix20220217\Symfony\Component\Config\Loader\FileLoader
+class GlobFileLoader extends \RectorPrefix20220218\Symfony\Component\Config\Loader\FileLoader
{
/**
* {@inheritdoc}
diff --git a/vendor/symfony/config/Loader/Loader.php b/vendor/symfony/config/Loader/Loader.php
index 18b2e792c8b..842b56c490c 100644
--- a/vendor/symfony/config/Loader/Loader.php
+++ b/vendor/symfony/config/Loader/Loader.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Loader;
+namespace RectorPrefix20220218\Symfony\Component\Config\Loader;
-use RectorPrefix20220217\Symfony\Component\Config\Exception\LoaderLoadException;
+use RectorPrefix20220218\Symfony\Component\Config\Exception\LoaderLoadException;
/**
* Loader is the abstract class used by all built-in loaders.
*
* @author Fabien Potencier
*/
-abstract class Loader implements \RectorPrefix20220217\Symfony\Component\Config\Loader\LoaderInterface
+abstract class Loader implements \RectorPrefix20220218\Symfony\Component\Config\Loader\LoaderInterface
{
protected $resolver;
protected $env;
@@ -27,14 +27,14 @@ abstract class Loader implements \RectorPrefix20220217\Symfony\Component\Config\
/**
* {@inheritdoc}
*/
- public function getResolver() : \RectorPrefix20220217\Symfony\Component\Config\Loader\LoaderResolverInterface
+ public function getResolver() : \RectorPrefix20220218\Symfony\Component\Config\Loader\LoaderResolverInterface
{
return $this->resolver;
}
/**
* {@inheritdoc}
*/
- public function setResolver(\RectorPrefix20220217\Symfony\Component\Config\Loader\LoaderResolverInterface $resolver)
+ public function setResolver(\RectorPrefix20220218\Symfony\Component\Config\Loader\LoaderResolverInterface $resolver)
{
$this->resolver = $resolver;
}
@@ -55,14 +55,14 @@ abstract class Loader implements \RectorPrefix20220217\Symfony\Component\Config\
* @throws LoaderLoadException If no loader is found
* @param mixed $resource
*/
- public function resolve($resource, string $type = null) : \RectorPrefix20220217\Symfony\Component\Config\Loader\LoaderInterface
+ public function resolve($resource, string $type = null) : \RectorPrefix20220218\Symfony\Component\Config\Loader\LoaderInterface
{
if ($this->supports($resource, $type)) {
return $this;
}
$loader = null === $this->resolver ? \false : $this->resolver->resolve($resource, $type);
if (\false === $loader) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Exception\LoaderLoadException($resource, null, 0, null, $type);
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Exception\LoaderLoadException($resource, null, 0, null, $type);
}
return $loader;
}
diff --git a/vendor/symfony/config/Loader/LoaderInterface.php b/vendor/symfony/config/Loader/LoaderInterface.php
index 605833389a4..960ef0b3c47 100644
--- a/vendor/symfony/config/Loader/LoaderInterface.php
+++ b/vendor/symfony/config/Loader/LoaderInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Loader;
+namespace RectorPrefix20220218\Symfony\Component\Config\Loader;
/**
* LoaderInterface is the interface implemented by all loader classes.
@@ -44,5 +44,5 @@ interface LoaderInterface
/**
* Sets the loader resolver.
*/
- public function setResolver(\RectorPrefix20220217\Symfony\Component\Config\Loader\LoaderResolverInterface $resolver);
+ public function setResolver(\RectorPrefix20220218\Symfony\Component\Config\Loader\LoaderResolverInterface $resolver);
}
diff --git a/vendor/symfony/config/Loader/LoaderResolver.php b/vendor/symfony/config/Loader/LoaderResolver.php
index 941f6dcf828..2ac709c66f0 100644
--- a/vendor/symfony/config/Loader/LoaderResolver.php
+++ b/vendor/symfony/config/Loader/LoaderResolver.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Loader;
+namespace RectorPrefix20220218\Symfony\Component\Config\Loader;
/**
* LoaderResolver selects a loader for a given resource.
@@ -18,7 +18,7 @@ namespace RectorPrefix20220217\Symfony\Component\Config\Loader;
*
* @author Fabien Potencier
*/
-class LoaderResolver implements \RectorPrefix20220217\Symfony\Component\Config\Loader\LoaderResolverInterface
+class LoaderResolver implements \RectorPrefix20220218\Symfony\Component\Config\Loader\LoaderResolverInterface
{
/**
* @var LoaderInterface[] An array of LoaderInterface objects
@@ -47,7 +47,7 @@ class LoaderResolver implements \RectorPrefix20220217\Symfony\Component\Config\L
}
return \false;
}
- public function addLoader(\RectorPrefix20220217\Symfony\Component\Config\Loader\LoaderInterface $loader)
+ public function addLoader(\RectorPrefix20220218\Symfony\Component\Config\Loader\LoaderInterface $loader)
{
$this->loaders[] = $loader;
$loader->setResolver($this);
diff --git a/vendor/symfony/config/Loader/LoaderResolverInterface.php b/vendor/symfony/config/Loader/LoaderResolverInterface.php
index 59b1e872113..7005ebb132a 100644
--- a/vendor/symfony/config/Loader/LoaderResolverInterface.php
+++ b/vendor/symfony/config/Loader/LoaderResolverInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Loader;
+namespace RectorPrefix20220218\Symfony\Component\Config\Loader;
/**
* LoaderResolverInterface selects a loader for a given resource.
diff --git a/vendor/symfony/config/Loader/ParamConfigurator.php b/vendor/symfony/config/Loader/ParamConfigurator.php
index 14a9566aafd..70a9421e00c 100644
--- a/vendor/symfony/config/Loader/ParamConfigurator.php
+++ b/vendor/symfony/config/Loader/ParamConfigurator.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Loader;
+namespace RectorPrefix20220218\Symfony\Component\Config\Loader;
/**
* Placeholder for a parameter.
diff --git a/vendor/symfony/config/Resource/ClassExistenceResource.php b/vendor/symfony/config/Resource/ClassExistenceResource.php
index 6b839ff034b..5002f8239e7 100644
--- a/vendor/symfony/config/Resource/ClassExistenceResource.php
+++ b/vendor/symfony/config/Resource/ClassExistenceResource.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Resource;
+namespace RectorPrefix20220218\Symfony\Component\Config\Resource;
/**
* ClassExistenceResource represents a class existence.
@@ -20,7 +20,7 @@ namespace RectorPrefix20220217\Symfony\Component\Config\Resource;
*
* @final
*/
-class ClassExistenceResource implements \RectorPrefix20220217\Symfony\Component\Config\Resource\SelfCheckingResourceInterface
+class ClassExistenceResource implements \RectorPrefix20220218\Symfony\Component\Config\Resource\SelfCheckingResourceInterface
{
/**
* @var string
diff --git a/vendor/symfony/config/Resource/ComposerResource.php b/vendor/symfony/config/Resource/ComposerResource.php
index c0830b81009..126666aba7a 100644
--- a/vendor/symfony/config/Resource/ComposerResource.php
+++ b/vendor/symfony/config/Resource/ComposerResource.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Resource;
+namespace RectorPrefix20220218\Symfony\Component\Config\Resource;
/**
* ComposerResource tracks the PHP version and Composer dependencies.
@@ -17,7 +17,7 @@ namespace RectorPrefix20220217\Symfony\Component\Config\Resource;
*
* @final
*/
-class ComposerResource implements \RectorPrefix20220217\Symfony\Component\Config\Resource\SelfCheckingResourceInterface
+class ComposerResource implements \RectorPrefix20220218\Symfony\Component\Config\Resource\SelfCheckingResourceInterface
{
/**
* @var mixed[]
diff --git a/vendor/symfony/config/Resource/DirectoryResource.php b/vendor/symfony/config/Resource/DirectoryResource.php
index 89a64ee3b02..e500af5e172 100644
--- a/vendor/symfony/config/Resource/DirectoryResource.php
+++ b/vendor/symfony/config/Resource/DirectoryResource.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Resource;
+namespace RectorPrefix20220218\Symfony\Component\Config\Resource;
/**
* DirectoryResource represents a resources stored in a subdirectory tree.
@@ -17,7 +17,7 @@ namespace RectorPrefix20220217\Symfony\Component\Config\Resource;
*
* @final
*/
-class DirectoryResource implements \RectorPrefix20220217\Symfony\Component\Config\Resource\SelfCheckingResourceInterface
+class DirectoryResource implements \RectorPrefix20220218\Symfony\Component\Config\Resource\SelfCheckingResourceInterface
{
/**
* @var string
diff --git a/vendor/symfony/config/Resource/FileExistenceResource.php b/vendor/symfony/config/Resource/FileExistenceResource.php
index 70e7f6afb50..8a91bef72ca 100644
--- a/vendor/symfony/config/Resource/FileExistenceResource.php
+++ b/vendor/symfony/config/Resource/FileExistenceResource.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Resource;
+namespace RectorPrefix20220218\Symfony\Component\Config\Resource;
/**
* FileExistenceResource represents a resource stored on the filesystem.
@@ -20,7 +20,7 @@ namespace RectorPrefix20220217\Symfony\Component\Config\Resource;
*
* @final
*/
-class FileExistenceResource implements \RectorPrefix20220217\Symfony\Component\Config\Resource\SelfCheckingResourceInterface
+class FileExistenceResource implements \RectorPrefix20220218\Symfony\Component\Config\Resource\SelfCheckingResourceInterface
{
/**
* @var string
diff --git a/vendor/symfony/config/Resource/FileResource.php b/vendor/symfony/config/Resource/FileResource.php
index c59bea05cb4..b50c3d43ec1 100644
--- a/vendor/symfony/config/Resource/FileResource.php
+++ b/vendor/symfony/config/Resource/FileResource.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Resource;
+namespace RectorPrefix20220218\Symfony\Component\Config\Resource;
/**
* FileResource represents a resource stored on the filesystem.
@@ -19,7 +19,7 @@ namespace RectorPrefix20220217\Symfony\Component\Config\Resource;
*
* @final
*/
-class FileResource implements \RectorPrefix20220217\Symfony\Component\Config\Resource\SelfCheckingResourceInterface
+class FileResource implements \RectorPrefix20220218\Symfony\Component\Config\Resource\SelfCheckingResourceInterface
{
/**
* @var string
diff --git a/vendor/symfony/config/Resource/GlobResource.php b/vendor/symfony/config/Resource/GlobResource.php
index 4e6785f2700..6268db1dc49 100644
--- a/vendor/symfony/config/Resource/GlobResource.php
+++ b/vendor/symfony/config/Resource/GlobResource.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Resource;
+namespace RectorPrefix20220218\Symfony\Component\Config\Resource;
-use RectorPrefix20220217\Symfony\Component\Finder\Finder;
-use RectorPrefix20220217\Symfony\Component\Finder\Glob;
+use RectorPrefix20220218\Symfony\Component\Finder\Finder;
+use RectorPrefix20220218\Symfony\Component\Finder\Glob;
/**
* GlobResource represents a set of resources stored on the filesystem.
*
@@ -23,7 +23,7 @@ use RectorPrefix20220217\Symfony\Component\Finder\Glob;
*
* @implements \IteratorAggregate
*/
-class GlobResource implements \IteratorAggregate, \RectorPrefix20220217\Symfony\Component\Config\Resource\SelfCheckingResourceInterface
+class GlobResource implements \IteratorAggregate, \RectorPrefix20220218\Symfony\Component\Config\Resource\SelfCheckingResourceInterface
{
/**
* @var string
@@ -159,11 +159,11 @@ class GlobResource implements \IteratorAggregate, \RectorPrefix20220217\Symfony\
}
return;
}
- if (!\class_exists(\RectorPrefix20220217\Symfony\Component\Finder\Finder::class)) {
+ if (!\class_exists(\RectorPrefix20220218\Symfony\Component\Finder\Finder::class)) {
throw new \LogicException(\sprintf('Extended glob pattern "%s" cannot be used as the Finder component is not installed.', $this->pattern));
}
- $finder = new \RectorPrefix20220217\Symfony\Component\Finder\Finder();
- $regex = \RectorPrefix20220217\Symfony\Component\Finder\Glob::toRegex($this->pattern);
+ $finder = new \RectorPrefix20220218\Symfony\Component\Finder\Finder();
+ $regex = \RectorPrefix20220218\Symfony\Component\Finder\Glob::toRegex($this->pattern);
if ($this->recursive) {
$regex = \substr_replace($regex, '(/|$)', -2, 1);
}
diff --git a/vendor/symfony/config/Resource/ReflectionClassResource.php b/vendor/symfony/config/Resource/ReflectionClassResource.php
index ba9d5883adc..6c8f6eefb60 100644
--- a/vendor/symfony/config/Resource/ReflectionClassResource.php
+++ b/vendor/symfony/config/Resource/ReflectionClassResource.php
@@ -8,17 +8,17 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Resource;
+namespace RectorPrefix20220218\Symfony\Component\Config\Resource;
-use RectorPrefix20220217\Symfony\Component\EventDispatcher\EventSubscriberInterface;
-use RectorPrefix20220217\Symfony\Component\Messenger\Handler\MessageSubscriberInterface;
-use RectorPrefix20220217\Symfony\Contracts\Service\ServiceSubscriberInterface;
+use RectorPrefix20220218\Symfony\Component\EventDispatcher\EventSubscriberInterface;
+use RectorPrefix20220218\Symfony\Component\Messenger\Handler\MessageSubscriberInterface;
+use RectorPrefix20220218\Symfony\Contracts\Service\ServiceSubscriberInterface;
/**
* @author Nicolas Grekas
*
* @final
*/
-class ReflectionClassResource implements \RectorPrefix20220217\Symfony\Component\Config\Resource\SelfCheckingResourceInterface
+class ReflectionClassResource implements \RectorPrefix20220218\Symfony\Component\Config\Resource\SelfCheckingResourceInterface
{
/**
* @var mixed[]
@@ -207,18 +207,18 @@ class ReflectionClassResource implements \RectorPrefix20220217\Symfony\Component
if ($class->isAbstract() || $class->isInterface() || $class->isTrait()) {
return;
}
- if (\interface_exists(\RectorPrefix20220217\Symfony\Component\EventDispatcher\EventSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20220217\Symfony\Component\EventDispatcher\EventSubscriberInterface::class)) {
- (yield \RectorPrefix20220217\Symfony\Component\EventDispatcher\EventSubscriberInterface::class);
+ if (\interface_exists(\RectorPrefix20220218\Symfony\Component\EventDispatcher\EventSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20220218\Symfony\Component\EventDispatcher\EventSubscriberInterface::class)) {
+ (yield \RectorPrefix20220218\Symfony\Component\EventDispatcher\EventSubscriberInterface::class);
(yield \print_r($class->name::getSubscribedEvents(), \true));
}
- if (\interface_exists(\RectorPrefix20220217\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20220217\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class)) {
- (yield \RectorPrefix20220217\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class);
+ if (\interface_exists(\RectorPrefix20220218\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20220218\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class)) {
+ (yield \RectorPrefix20220218\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class);
foreach ($class->name::getHandledMessages() as $key => $value) {
(yield $key . \print_r($value, \true));
}
}
- if (\interface_exists(\RectorPrefix20220217\Symfony\Contracts\Service\ServiceSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20220217\Symfony\Contracts\Service\ServiceSubscriberInterface::class)) {
- (yield \RectorPrefix20220217\Symfony\Contracts\Service\ServiceSubscriberInterface::class);
+ if (\interface_exists(\RectorPrefix20220218\Symfony\Contracts\Service\ServiceSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20220218\Symfony\Contracts\Service\ServiceSubscriberInterface::class)) {
+ (yield \RectorPrefix20220218\Symfony\Contracts\Service\ServiceSubscriberInterface::class);
(yield \print_r($class->name::getSubscribedServices(), \true));
}
}
diff --git a/vendor/symfony/config/Resource/ResourceInterface.php b/vendor/symfony/config/Resource/ResourceInterface.php
index 5eb5b6a98bf..6a3eaa98619 100644
--- a/vendor/symfony/config/Resource/ResourceInterface.php
+++ b/vendor/symfony/config/Resource/ResourceInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Resource;
+namespace RectorPrefix20220218\Symfony\Component\Config\Resource;
/**
* ResourceInterface is the interface that must be implemented by all Resource classes.
diff --git a/vendor/symfony/config/Resource/SelfCheckingResourceChecker.php b/vendor/symfony/config/Resource/SelfCheckingResourceChecker.php
index 8e2c039a1ac..8ec20b57018 100644
--- a/vendor/symfony/config/Resource/SelfCheckingResourceChecker.php
+++ b/vendor/symfony/config/Resource/SelfCheckingResourceChecker.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Resource;
+namespace RectorPrefix20220218\Symfony\Component\Config\Resource;
-use RectorPrefix20220217\Symfony\Component\Config\ResourceCheckerInterface;
+use RectorPrefix20220218\Symfony\Component\Config\ResourceCheckerInterface;
/**
* Resource checker for instances of SelfCheckingResourceInterface.
*
@@ -19,7 +19,7 @@ use RectorPrefix20220217\Symfony\Component\Config\ResourceCheckerInterface;
*
* @author Matthias Pigulla
*/
-class SelfCheckingResourceChecker implements \RectorPrefix20220217\Symfony\Component\Config\ResourceCheckerInterface
+class SelfCheckingResourceChecker implements \RectorPrefix20220218\Symfony\Component\Config\ResourceCheckerInterface
{
// Common shared cache, because this checker can be used in different
// situations. For example, when using the full stack framework, the router
@@ -29,14 +29,14 @@ class SelfCheckingResourceChecker implements \RectorPrefix20220217\Symfony\Compo
* @var mixed[]
*/
private static $cache = [];
- public function supports(\RectorPrefix20220217\Symfony\Component\Config\Resource\ResourceInterface $metadata) : bool
+ public function supports(\RectorPrefix20220218\Symfony\Component\Config\Resource\ResourceInterface $metadata) : bool
{
- return $metadata instanceof \RectorPrefix20220217\Symfony\Component\Config\Resource\SelfCheckingResourceInterface;
+ return $metadata instanceof \RectorPrefix20220218\Symfony\Component\Config\Resource\SelfCheckingResourceInterface;
}
/**
* @param SelfCheckingResourceInterface $resource
*/
- public function isFresh(\RectorPrefix20220217\Symfony\Component\Config\Resource\ResourceInterface $resource, int $timestamp) : bool
+ public function isFresh(\RectorPrefix20220218\Symfony\Component\Config\Resource\ResourceInterface $resource, int $timestamp) : bool
{
$key = "{$resource}:{$timestamp}";
return self::$cache[$key] ?? (self::$cache[$key] = $resource->isFresh($timestamp));
diff --git a/vendor/symfony/config/Resource/SelfCheckingResourceInterface.php b/vendor/symfony/config/Resource/SelfCheckingResourceInterface.php
index 7db68ecff46..46ff10c14e3 100644
--- a/vendor/symfony/config/Resource/SelfCheckingResourceInterface.php
+++ b/vendor/symfony/config/Resource/SelfCheckingResourceInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Resource;
+namespace RectorPrefix20220218\Symfony\Component\Config\Resource;
/**
* Interface for Resources that can check for freshness autonomously,
@@ -16,7 +16,7 @@ namespace RectorPrefix20220217\Symfony\Component\Config\Resource;
*
* @author Matthias Pigulla
*/
-interface SelfCheckingResourceInterface extends \RectorPrefix20220217\Symfony\Component\Config\Resource\ResourceInterface
+interface SelfCheckingResourceInterface extends \RectorPrefix20220218\Symfony\Component\Config\Resource\ResourceInterface
{
/**
* Returns true if the resource has not been updated since the given timestamp.
diff --git a/vendor/symfony/config/ResourceCheckerConfigCache.php b/vendor/symfony/config/ResourceCheckerConfigCache.php
index 4ac16cc9343..8af7e222129 100644
--- a/vendor/symfony/config/ResourceCheckerConfigCache.php
+++ b/vendor/symfony/config/ResourceCheckerConfigCache.php
@@ -8,18 +8,18 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config;
+namespace RectorPrefix20220218\Symfony\Component\Config;
-use RectorPrefix20220217\Symfony\Component\Config\Resource\ResourceInterface;
-use RectorPrefix20220217\Symfony\Component\Filesystem\Exception\IOException;
-use RectorPrefix20220217\Symfony\Component\Filesystem\Filesystem;
+use RectorPrefix20220218\Symfony\Component\Config\Resource\ResourceInterface;
+use RectorPrefix20220218\Symfony\Component\Filesystem\Exception\IOException;
+use RectorPrefix20220218\Symfony\Component\Filesystem\Filesystem;
/**
* ResourceCheckerConfigCache uses instances of ResourceCheckerInterface
* to check whether cached data is still fresh.
*
* @author Matthias Pigulla
*/
-class ResourceCheckerConfigCache implements \RectorPrefix20220217\Symfony\Component\Config\ConfigCacheInterface
+class ResourceCheckerConfigCache implements \RectorPrefix20220218\Symfony\Component\Config\ConfigCacheInterface
{
/**
* @var string
@@ -104,18 +104,18 @@ class ResourceCheckerConfigCache implements \RectorPrefix20220217\Symfony\Compon
{
$mode = 0666;
$umask = \umask();
- $filesystem = new \RectorPrefix20220217\Symfony\Component\Filesystem\Filesystem();
+ $filesystem = new \RectorPrefix20220218\Symfony\Component\Filesystem\Filesystem();
$filesystem->dumpFile($this->file, $content);
try {
$filesystem->chmod($this->file, $mode, $umask);
- } catch (\RectorPrefix20220217\Symfony\Component\Filesystem\Exception\IOException $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Filesystem\Exception\IOException $e) {
// discard chmod failure (some filesystem may not support it)
}
if (null !== $metadata) {
$filesystem->dumpFile($this->getMetaFile(), \serialize($metadata));
try {
$filesystem->chmod($this->getMetaFile(), $mode, $umask);
- } catch (\RectorPrefix20220217\Symfony\Component\Filesystem\Exception\IOException $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Filesystem\Exception\IOException $e) {
// discard chmod failure (some filesystem may not support it)
}
}
diff --git a/vendor/symfony/config/ResourceCheckerConfigCacheFactory.php b/vendor/symfony/config/ResourceCheckerConfigCacheFactory.php
index b86529d511b..3def34b0bc5 100644
--- a/vendor/symfony/config/ResourceCheckerConfigCacheFactory.php
+++ b/vendor/symfony/config/ResourceCheckerConfigCacheFactory.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config;
+namespace RectorPrefix20220218\Symfony\Component\Config;
/**
* A ConfigCacheFactory implementation that validates the
@@ -16,7 +16,7 @@ namespace RectorPrefix20220217\Symfony\Component\Config;
*
* @author Matthias Pigulla
*/
-class ResourceCheckerConfigCacheFactory implements \RectorPrefix20220217\Symfony\Component\Config\ConfigCacheFactoryInterface
+class ResourceCheckerConfigCacheFactory implements \RectorPrefix20220218\Symfony\Component\Config\ConfigCacheFactoryInterface
{
/**
* @var mixed[]
@@ -32,9 +32,9 @@ class ResourceCheckerConfigCacheFactory implements \RectorPrefix20220217\Symfony
/**
* {@inheritdoc}
*/
- public function cache(string $file, callable $callable) : \RectorPrefix20220217\Symfony\Component\Config\ConfigCacheInterface
+ public function cache(string $file, callable $callable) : \RectorPrefix20220218\Symfony\Component\Config\ConfigCacheInterface
{
- $cache = new \RectorPrefix20220217\Symfony\Component\Config\ResourceCheckerConfigCache($file, $this->resourceCheckers);
+ $cache = new \RectorPrefix20220218\Symfony\Component\Config\ResourceCheckerConfigCache($file, $this->resourceCheckers);
if (!$cache->isFresh()) {
$callable($cache);
}
diff --git a/vendor/symfony/config/ResourceCheckerInterface.php b/vendor/symfony/config/ResourceCheckerInterface.php
index e3a448cee3a..ad432993aa1 100644
--- a/vendor/symfony/config/ResourceCheckerInterface.php
+++ b/vendor/symfony/config/ResourceCheckerInterface.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config;
+namespace RectorPrefix20220218\Symfony\Component\Config;
-use RectorPrefix20220217\Symfony\Component\Config\Resource\ResourceInterface;
+use RectorPrefix20220218\Symfony\Component\Config\Resource\ResourceInterface;
/**
* Interface for ResourceCheckers.
*
@@ -30,7 +30,7 @@ interface ResourceCheckerInterface
*
* @return bool
*/
- public function supports(\RectorPrefix20220217\Symfony\Component\Config\Resource\ResourceInterface $metadata);
+ public function supports(\RectorPrefix20220218\Symfony\Component\Config\Resource\ResourceInterface $metadata);
/**
* Validates the resource.
*
@@ -38,5 +38,5 @@ interface ResourceCheckerInterface
*
* @return bool
*/
- public function isFresh(\RectorPrefix20220217\Symfony\Component\Config\Resource\ResourceInterface $resource, int $timestamp);
+ public function isFresh(\RectorPrefix20220218\Symfony\Component\Config\Resource\ResourceInterface $resource, int $timestamp);
}
diff --git a/vendor/symfony/config/Util/Exception/InvalidXmlException.php b/vendor/symfony/config/Util/Exception/InvalidXmlException.php
index a32b8cca429..6cfa8d8323e 100644
--- a/vendor/symfony/config/Util/Exception/InvalidXmlException.php
+++ b/vendor/symfony/config/Util/Exception/InvalidXmlException.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Util\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Config\Util\Exception;
/**
* Exception class for when XML parsing with an XSD schema file path or a callable validator produces errors unrelated
@@ -16,6 +16,6 @@ namespace RectorPrefix20220217\Symfony\Component\Config\Util\Exception;
*
* @author Ole Rößner
*/
-class InvalidXmlException extends \RectorPrefix20220217\Symfony\Component\Config\Util\Exception\XmlParsingException
+class InvalidXmlException extends \RectorPrefix20220218\Symfony\Component\Config\Util\Exception\XmlParsingException
{
}
diff --git a/vendor/symfony/config/Util/Exception/XmlParsingException.php b/vendor/symfony/config/Util/Exception/XmlParsingException.php
index e826f22b7be..c4ccf6a1ea5 100644
--- a/vendor/symfony/config/Util/Exception/XmlParsingException.php
+++ b/vendor/symfony/config/Util/Exception/XmlParsingException.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Util\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Config\Util\Exception;
/**
* Exception class for when XML cannot be parsed properly.
diff --git a/vendor/symfony/config/Util/XmlUtils.php b/vendor/symfony/config/Util/XmlUtils.php
index b67bead8bf1..99b5eaed698 100644
--- a/vendor/symfony/config/Util/XmlUtils.php
+++ b/vendor/symfony/config/Util/XmlUtils.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Config\Util;
+namespace RectorPrefix20220218\Symfony\Component\Config\Util;
-use RectorPrefix20220217\Symfony\Component\Config\Util\Exception\InvalidXmlException;
-use RectorPrefix20220217\Symfony\Component\Config\Util\Exception\XmlParsingException;
+use RectorPrefix20220218\Symfony\Component\Config\Util\Exception\InvalidXmlException;
+use RectorPrefix20220218\Symfony\Component\Config\Util\Exception\XmlParsingException;
/**
* XMLUtils is a bunch of utility methods to XML operations.
*
@@ -49,13 +49,13 @@ class XmlUtils
$dom = new \DOMDocument();
$dom->validateOnParse = \true;
if (!$dom->loadXML($content, \LIBXML_NONET | \LIBXML_COMPACT)) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Util\Exception\XmlParsingException(\implode("\n", static::getXmlErrors($internalErrors)));
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Util\Exception\XmlParsingException(\implode("\n", static::getXmlErrors($internalErrors)));
}
$dom->normalizeDocument();
\libxml_use_internal_errors($internalErrors);
foreach ($dom->childNodes as $child) {
if (\XML_DOCUMENT_TYPE_NODE === $child->nodeType) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Util\Exception\XmlParsingException('Document types are not allowed.');
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Util\Exception\XmlParsingException('Document types are not allowed.');
}
}
if (null !== $schemaOrCallable) {
@@ -73,14 +73,14 @@ class XmlUtils
$valid = @$dom->schemaValidateSource($schemaSource);
} else {
\libxml_use_internal_errors($internalErrors);
- throw new \RectorPrefix20220217\Symfony\Component\Config\Util\Exception\XmlParsingException(\sprintf('Invalid XSD file: "%s".', $schemaOrCallable));
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Util\Exception\XmlParsingException(\sprintf('Invalid XSD file: "%s".', $schemaOrCallable));
}
if (!$valid) {
$messages = static::getXmlErrors($internalErrors);
if (empty($messages)) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Util\Exception\InvalidXmlException('The XML is not valid.', 0, $e);
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Util\Exception\InvalidXmlException('The XML is not valid.', 0, $e);
}
- throw new \RectorPrefix20220217\Symfony\Component\Config\Util\Exception\XmlParsingException(\implode("\n", $messages), 0, $e);
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Util\Exception\XmlParsingException(\implode("\n", $messages), 0, $e);
}
}
\libxml_clear_errors();
@@ -111,8 +111,8 @@ class XmlUtils
}
try {
return static::parse($content, $schemaOrCallable);
- } catch (\RectorPrefix20220217\Symfony\Component\Config\Util\Exception\InvalidXmlException $e) {
- throw new \RectorPrefix20220217\Symfony\Component\Config\Util\Exception\XmlParsingException(\sprintf('The XML file "%s" is not valid.', $file), 0, $e->getPrevious());
+ } catch (\RectorPrefix20220218\Symfony\Component\Config\Util\Exception\InvalidXmlException $e) {
+ throw new \RectorPrefix20220218\Symfony\Component\Config\Util\Exception\XmlParsingException(\sprintf('The XML file "%s" is not valid.', $file), 0, $e->getPrevious());
}
}
/**
diff --git a/vendor/symfony/config/composer.json b/vendor/symfony/config/composer.json
index f823c8c5c70..e7af38000d6 100644
--- a/vendor/symfony/config/composer.json
+++ b/vendor/symfony/config/composer.json
@@ -37,7 +37,7 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\Symfony\\Component\\Config\\": ""
+ "RectorPrefix20220218\\Symfony\\Component\\Config\\": ""
},
"exclude-from-classmap": [
"\/Tests\/"
diff --git a/vendor/symfony/console/Application.php b/vendor/symfony/console/Application.php
index 982273a3fb1..3381017f571 100644
--- a/vendor/symfony/console/Application.php
+++ b/vendor/symfony/console/Application.php
@@ -8,49 +8,49 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console;
+namespace RectorPrefix20220218\Symfony\Component\Console;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Command\CompleteCommand;
-use RectorPrefix20220217\Symfony\Component\Console\Command\DumpCompletionCommand;
-use RectorPrefix20220217\Symfony\Component\Console\Command\HelpCommand;
-use RectorPrefix20220217\Symfony\Component\Console\Command\LazyCommand;
-use RectorPrefix20220217\Symfony\Component\Console\Command\ListCommand;
-use RectorPrefix20220217\Symfony\Component\Console\Command\SignalableCommandInterface;
-use RectorPrefix20220217\Symfony\Component\Console\CommandLoader\CommandLoaderInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions;
-use RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleCommandEvent;
-use RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleErrorEvent;
-use RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleSignalEvent;
-use RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleTerminateEvent;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\ExceptionInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\NamespaceNotFoundException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\DebugFormatterHelper;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\FormatterHelper;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\HelperSet;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\ProcessHelper;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\QuestionHelper;
-use RectorPrefix20220217\Symfony\Component\Console\Input\ArgvInput;
-use RectorPrefix20220217\Symfony\Component\Console\Input\ArrayInput;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputAwareInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
-use RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutput;
-use RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\SignalRegistry\SignalRegistry;
-use RectorPrefix20220217\Symfony\Component\Console\Style\SymfonyStyle;
-use RectorPrefix20220217\Symfony\Component\ErrorHandler\ErrorHandler;
-use RectorPrefix20220217\Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
-use RectorPrefix20220217\Symfony\Contracts\Service\ResetInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Command\CompleteCommand;
+use RectorPrefix20220218\Symfony\Component\Console\Command\DumpCompletionCommand;
+use RectorPrefix20220218\Symfony\Component\Console\Command\HelpCommand;
+use RectorPrefix20220218\Symfony\Component\Console\Command\LazyCommand;
+use RectorPrefix20220218\Symfony\Component\Console\Command\ListCommand;
+use RectorPrefix20220218\Symfony\Component\Console\Command\SignalableCommandInterface;
+use RectorPrefix20220218\Symfony\Component\Console\CommandLoader\CommandLoaderInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions;
+use RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleCommandEvent;
+use RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleErrorEvent;
+use RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleSignalEvent;
+use RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleTerminateEvent;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\ExceptionInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\NamespaceNotFoundException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\DebugFormatterHelper;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\FormatterHelper;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\Helper;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\HelperSet;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\ProcessHelper;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\QuestionHelper;
+use RectorPrefix20220218\Symfony\Component\Console\Input\ArgvInput;
+use RectorPrefix20220218\Symfony\Component\Console\Input\ArrayInput;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputAwareInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputOption;
+use RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutput;
+use RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\SignalRegistry\SignalRegistry;
+use RectorPrefix20220218\Symfony\Component\Console\Style\SymfonyStyle;
+use RectorPrefix20220218\Symfony\Component\ErrorHandler\ErrorHandler;
+use RectorPrefix20220218\Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
+use RectorPrefix20220218\Symfony\Contracts\Service\ResetInterface;
/**
* An Application is the container for a collection of commands.
*
@@ -66,7 +66,7 @@ use RectorPrefix20220217\Symfony\Contracts\Service\ResetInterface;
*
* @author Fabien Potencier
*/
-class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\ResetInterface
+class Application implements \RectorPrefix20220218\Symfony\Contracts\Service\ResetInterface
{
/**
* @var mixed[]
@@ -119,28 +119,28 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
{
$this->name = $name;
$this->version = $version;
- $this->terminal = new \RectorPrefix20220217\Symfony\Component\Console\Terminal();
+ $this->terminal = new \RectorPrefix20220218\Symfony\Component\Console\Terminal();
$this->defaultCommand = 'list';
- if (\defined('SIGINT') && \RectorPrefix20220217\Symfony\Component\Console\SignalRegistry\SignalRegistry::isSupported()) {
- $this->signalRegistry = new \RectorPrefix20220217\Symfony\Component\Console\SignalRegistry\SignalRegistry();
+ if (\defined('SIGINT') && \RectorPrefix20220218\Symfony\Component\Console\SignalRegistry\SignalRegistry::isSupported()) {
+ $this->signalRegistry = new \RectorPrefix20220218\Symfony\Component\Console\SignalRegistry\SignalRegistry();
$this->signalsToDispatchEvent = [\SIGINT, \SIGTERM, \SIGUSR1, \SIGUSR2];
}
}
/**
* @final
*/
- public function setDispatcher(\RectorPrefix20220217\Symfony\Contracts\EventDispatcher\EventDispatcherInterface $dispatcher)
+ public function setDispatcher(\RectorPrefix20220218\Symfony\Contracts\EventDispatcher\EventDispatcherInterface $dispatcher)
{
$this->dispatcher = $dispatcher;
}
- public function setCommandLoader(\RectorPrefix20220217\Symfony\Component\Console\CommandLoader\CommandLoaderInterface $commandLoader)
+ public function setCommandLoader(\RectorPrefix20220218\Symfony\Component\Console\CommandLoader\CommandLoaderInterface $commandLoader)
{
$this->commandLoader = $commandLoader;
}
- public function getSignalRegistry() : \RectorPrefix20220217\Symfony\Component\Console\SignalRegistry\SignalRegistry
+ public function getSignalRegistry() : \RectorPrefix20220218\Symfony\Component\Console\SignalRegistry\SignalRegistry
{
if (!$this->signalRegistry) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException('Signals are not supported. Make sure that the `pcntl` extension is installed and that "pcntl_*" functions are not disabled by your php.ini\'s "disable_functions" directive.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException('Signals are not supported. Make sure that the `pcntl` extension is installed and that "pcntl_*" functions are not disabled by your php.ini\'s "disable_functions" directive.');
}
return $this->signalRegistry;
}
@@ -155,20 +155,20 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
*
* @throws \Exception When running fails. Bypass this when {@link setCatchExceptions()}.
*/
- public function run(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input = null, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output = null) : int
+ public function run(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input = null, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output = null) : int
{
if (\function_exists('putenv')) {
@\putenv('LINES=' . $this->terminal->getHeight());
@\putenv('COLUMNS=' . $this->terminal->getWidth());
}
if (null === $input) {
- $input = new \RectorPrefix20220217\Symfony\Component\Console\Input\ArgvInput();
+ $input = new \RectorPrefix20220218\Symfony\Component\Console\Input\ArgvInput();
}
if (null === $output) {
- $output = new \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutput();
+ $output = new \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutput();
}
$renderException = function (\Throwable $e) use($output) {
- if ($output instanceof \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface) {
+ if ($output instanceof \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface) {
$this->renderThrowable($e, $output->getErrorOutput());
} else {
$this->renderThrowable($e, $output);
@@ -176,7 +176,7 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
};
if ($phpHandler = \set_exception_handler($renderException)) {
\restore_exception_handler();
- if (!\is_array($phpHandler) || !$phpHandler[0] instanceof \RectorPrefix20220217\Symfony\Component\ErrorHandler\ErrorHandler) {
+ if (!\is_array($phpHandler) || !$phpHandler[0] instanceof \RectorPrefix20220218\Symfony\Component\ErrorHandler\ErrorHandler) {
$errorHandler = \true;
} elseif ($errorHandler = $phpHandler[0]->setExceptionHandler($renderException)) {
$phpHandler[0]->setExceptionHandler($errorHandler);
@@ -227,7 +227,7 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
*
* @return int 0 if everything went fine, or an error code
*/
- public function doRun(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output)
+ public function doRun(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output)
{
if (\true === $input->hasParameterOption(['--version', '-V'], \true)) {
$output->writeln($this->getLongVersion());
@@ -236,14 +236,14 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
try {
// Makes ArgvInput::getFirstArgument() able to distinguish an option from an argument.
$input->bind($this->getDefinition());
- } catch (\RectorPrefix20220217\Symfony\Component\Console\Exception\ExceptionInterface $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Console\Exception\ExceptionInterface $e) {
// Errors must be ignored, full binding/validation happens later when the command is known.
}
$name = $this->getCommandName($input);
if (\true === $input->hasParameterOption(['--help', '-h'], \true)) {
if (!$name) {
$name = 'help';
- $input = new \RectorPrefix20220217\Symfony\Component\Console\Input\ArrayInput(['command_name' => $this->defaultCommand]);
+ $input = new \RectorPrefix20220218\Symfony\Component\Console\Input\ArrayInput(['command_name' => $this->defaultCommand]);
} else {
$this->wantHelps = \true;
}
@@ -251,17 +251,17 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
if (!$name) {
$name = $this->defaultCommand;
$definition = $this->getDefinition();
- $definition->setArguments(\array_merge($definition->getArguments(), ['command' => new \RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument('command', \RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument::OPTIONAL, $definition->getArgument('command')->getDescription(), $name)]));
+ $definition->setArguments(\array_merge($definition->getArguments(), ['command' => new \RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument('command', \RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument::OPTIONAL, $definition->getArgument('command')->getDescription(), $name)]));
}
try {
$this->runningCommand = null;
// the command name MUST be the first element of the input
$command = $this->find($name);
} catch (\Throwable $e) {
- if (!($e instanceof \RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException && !$e instanceof \RectorPrefix20220217\Symfony\Component\Console\Exception\NamespaceNotFoundException) || 1 !== \count($alternatives = $e->getAlternatives()) || !$input->isInteractive()) {
+ if (!($e instanceof \RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException && !$e instanceof \RectorPrefix20220218\Symfony\Component\Console\Exception\NamespaceNotFoundException) || 1 !== \count($alternatives = $e->getAlternatives()) || !$input->isInteractive()) {
if (null !== $this->dispatcher) {
- $event = new \RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e);
- $this->dispatcher->dispatch($event, \RectorPrefix20220217\Symfony\Component\Console\ConsoleEvents::ERROR);
+ $event = new \RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e);
+ $this->dispatcher->dispatch($event, \RectorPrefix20220218\Symfony\Component\Console\ConsoleEvents::ERROR);
if (0 === $event->getExitCode()) {
return 0;
}
@@ -270,19 +270,19 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
throw $e;
}
$alternative = $alternatives[0];
- $style = new \RectorPrefix20220217\Symfony\Component\Console\Style\SymfonyStyle($input, $output);
+ $style = new \RectorPrefix20220218\Symfony\Component\Console\Style\SymfonyStyle($input, $output);
$style->block(\sprintf("\nCommand \"%s\" is not defined.\n", $name), null, 'error');
if (!$style->confirm(\sprintf('Do you want to run "%s" instead? ', $alternative), \false)) {
if (null !== $this->dispatcher) {
- $event = new \RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e);
- $this->dispatcher->dispatch($event, \RectorPrefix20220217\Symfony\Component\Console\ConsoleEvents::ERROR);
+ $event = new \RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e);
+ $this->dispatcher->dispatch($event, \RectorPrefix20220218\Symfony\Component\Console\ConsoleEvents::ERROR);
return $event->getExitCode();
}
return 1;
}
$command = $this->find($alternative);
}
- if ($command instanceof \RectorPrefix20220217\Symfony\Component\Console\Command\LazyCommand) {
+ if ($command instanceof \RectorPrefix20220218\Symfony\Component\Console\Command\LazyCommand) {
$command = $command->getCommand();
}
$this->runningCommand = $command;
@@ -296,25 +296,25 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
public function reset()
{
}
- public function setHelperSet(\RectorPrefix20220217\Symfony\Component\Console\Helper\HelperSet $helperSet)
+ public function setHelperSet(\RectorPrefix20220218\Symfony\Component\Console\Helper\HelperSet $helperSet)
{
$this->helperSet = $helperSet;
}
/**
* Get the helper set associated with the command.
*/
- public function getHelperSet() : \RectorPrefix20220217\Symfony\Component\Console\Helper\HelperSet
+ public function getHelperSet() : \RectorPrefix20220218\Symfony\Component\Console\Helper\HelperSet
{
return $this->helperSet = $this->helperSet ?? $this->getDefaultHelperSet();
}
- public function setDefinition(\RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition $definition)
+ public function setDefinition(\RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition $definition)
{
$this->definition = $definition;
}
/**
* Gets the InputDefinition related to this Application.
*/
- public function getDefinition() : \RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition
+ public function getDefinition() : \RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition
{
$this->definition = $this->definition ?? $this->getDefaultInputDefinition();
if ($this->singleCommand) {
@@ -327,15 +327,15 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
/**
* Adds suggestions to $suggestions for the current completion input (e.g. option or argument).
*/
- public function complete(\RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void
+ public function complete(\RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void
{
- if (\RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput::TYPE_ARGUMENT_VALUE === $input->getCompletionType() && 'command' === $input->getCompletionName()) {
- $suggestions->suggestValues(\array_filter(\array_map(function (\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command) {
+ if (\RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput::TYPE_ARGUMENT_VALUE === $input->getCompletionType() && 'command' === $input->getCompletionName()) {
+ $suggestions->suggestValues(\array_filter(\array_map(function (\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command) {
return $command->isHidden() ? null : $command->getName();
}, $this->all())));
return;
}
- if (\RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput::TYPE_OPTION_NAME === $input->getCompletionType()) {
+ if (\RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput::TYPE_OPTION_NAME === $input->getCompletionType()) {
$suggestions->suggestOptions($this->getDefinition()->getOptions());
return;
}
@@ -421,9 +421,9 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
/**
* Registers a new command.
*/
- public function register(string $name) : \RectorPrefix20220217\Symfony\Component\Console\Command\Command
+ public function register(string $name) : \RectorPrefix20220218\Symfony\Component\Console\Command\Command
{
- return $this->add(new \RectorPrefix20220217\Symfony\Component\Console\Command\Command($name));
+ return $this->add(new \RectorPrefix20220218\Symfony\Component\Console\Command\Command($name));
}
/**
* Adds an array of command objects.
@@ -446,7 +446,7 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
*
* @return Command|null
*/
- public function add(\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command)
+ public function add(\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command)
{
$this->init();
$command->setApplication($this);
@@ -454,12 +454,12 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
$command->setApplication(null);
return null;
}
- if (!$command instanceof \RectorPrefix20220217\Symfony\Component\Console\Command\LazyCommand) {
+ if (!$command instanceof \RectorPrefix20220218\Symfony\Component\Console\Command\LazyCommand) {
// Will throw if the command is not correctly initialized.
$command->getDefinition();
}
if (!$command->getName()) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException(\sprintf('The command defined in "%s" cannot have an empty name.', \get_debug_type($command)));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException(\sprintf('The command defined in "%s" cannot have an empty name.', \get_debug_type($command)));
}
$this->commands[$command->getName()] = $command;
foreach ($command->getAliases() as $alias) {
@@ -478,11 +478,11 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
{
$this->init();
if (!$this->has($name)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('The command "%s" does not exist.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('The command "%s" does not exist.', $name));
}
// When the command has a different name than the one used at the command loader level
if (!isset($this->commands[$name])) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('The "%s" command cannot be found because it is registered under multiple names. Make sure you don\'t set a different name via constructor or "setName()".', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('The "%s" command cannot be found because it is registered under multiple names. Make sure you don\'t set a different name via constructor or "setName()".', $name));
}
$command = $this->commands[$name];
if ($this->wantHelps) {
@@ -542,11 +542,11 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
}
$message .= \implode("\n ", $alternatives);
}
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\NamespaceNotFoundException($message, $alternatives);
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\NamespaceNotFoundException($message, $alternatives);
}
$exact = \in_array($namespace, $namespaces, \true);
if (\count($namespaces) > 1 && !$exact) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\NamespaceNotFoundException(\sprintf("The namespace \"%s\" is ambiguous.\nDid you mean one of these?\n%s.", $namespace, $this->getAbbreviationSuggestions(\array_values($namespaces))), \array_values($namespaces));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\NamespaceNotFoundException(\sprintf("The namespace \"%s\" is ambiguous.\nDid you mean one of these?\n%s.", $namespace, $this->getAbbreviationSuggestions(\array_values($namespaces))), \array_values($namespaces));
}
return $exact ? $namespace : \reset($namespaces);
}
@@ -599,13 +599,13 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
}
$message .= \implode("\n ", $alternatives);
}
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException($message, \array_values($alternatives));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException($message, \array_values($alternatives));
}
// filter out aliases for commands which are already on the list
if (\count($commands) > 1) {
$commandList = $this->commandLoader ? \array_merge(\array_flip($this->commandLoader->getNames()), $this->commands) : $this->commands;
$commands = \array_unique(\array_filter($commands, function ($nameOrAlias) use(&$commandList, $commands, &$aliases) {
- if (!$commandList[$nameOrAlias] instanceof \RectorPrefix20220217\Symfony\Component\Console\Command\Command) {
+ if (!$commandList[$nameOrAlias] instanceof \RectorPrefix20220218\Symfony\Component\Console\Command\Command) {
$commandList[$nameOrAlias] = $this->commandLoader->get($nameOrAlias);
}
$commandName = $commandList[$nameOrAlias]->getName();
@@ -618,7 +618,7 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
$abbrevs = \array_values($commands);
$maxLen = 0;
foreach ($abbrevs as $abbrev) {
- $maxLen = \max(\RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($abbrev), $maxLen);
+ $maxLen = \max(\RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($abbrev), $maxLen);
}
$abbrevs = \array_map(function ($cmd) use($commandList, $usableWidth, $maxLen, &$commands) {
if ($commandList[$cmd]->isHidden()) {
@@ -626,16 +626,16 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
return \false;
}
$abbrev = \str_pad($cmd, $maxLen, ' ') . ' ' . $commandList[$cmd]->getDescription();
- return \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($abbrev) > $usableWidth ? \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::substr($abbrev, 0, $usableWidth - 3) . '...' : $abbrev;
+ return \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($abbrev) > $usableWidth ? \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::substr($abbrev, 0, $usableWidth - 3) . '...' : $abbrev;
}, \array_values($commands));
if (\count($commands) > 1) {
$suggestions = $this->getAbbreviationSuggestions(\array_filter($abbrevs));
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf("Command \"%s\" is ambiguous.\nDid you mean one of these?\n%s.", $name, $suggestions), \array_values($commands));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf("Command \"%s\" is ambiguous.\nDid you mean one of these?\n%s.", $name, $suggestions), \array_values($commands));
}
}
$command = $this->get(\reset($commands));
if ($command->isHidden()) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('The command "%s" does not exist.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('The command "%s" does not exist.', $name));
}
return $command;
}
@@ -692,23 +692,23 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
}
return $abbrevs;
}
- public function renderThrowable(\Throwable $e, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) : void
+ public function renderThrowable(\Throwable $e, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) : void
{
- $output->writeln('', \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
+ $output->writeln('', \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
$this->doRenderThrowable($e, $output);
if (null !== $this->runningCommand) {
- $output->writeln(\sprintf('%s', \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter::escape(\sprintf($this->runningCommand->getSynopsis(), $this->getName()))), \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
- $output->writeln('', \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
+ $output->writeln(\sprintf('%s', \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter::escape(\sprintf($this->runningCommand->getSynopsis(), $this->getName()))), \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
+ $output->writeln('', \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
}
}
- protected function doRenderThrowable(\Throwable $e, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) : void
+ protected function doRenderThrowable(\Throwable $e, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) : void
{
do {
$message = \trim($e->getMessage());
- if ('' === $message || \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
+ if ('' === $message || \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
$class = \get_debug_type($e);
$title = \sprintf(' [%s%s] ', $class, 0 !== ($code = $e->getCode()) ? ' (' . $code . ')' : '');
- $len = \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($title);
+ $len = \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($title);
} else {
$len = 0;
}
@@ -722,27 +722,27 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
foreach ('' !== $message ? \preg_split('/\\r?\\n/', $message) : [] as $line) {
foreach ($this->splitStringByWidth($line, $width - 4) as $line) {
// pre-format lines to get the right string length
- $lineLength = \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($line) + 4;
+ $lineLength = \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($line) + 4;
$lines[] = [$line, $lineLength];
$len = \max($lineLength, $len);
}
}
$messages = [];
- if (!$e instanceof \RectorPrefix20220217\Symfony\Component\Console\Exception\ExceptionInterface || \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
- $messages[] = \sprintf('%s', \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter::escape(\sprintf('In %s line %s:', \basename($e->getFile()) ?: 'n/a', $e->getLine() ?: 'n/a')));
+ if (!$e instanceof \RectorPrefix20220218\Symfony\Component\Console\Exception\ExceptionInterface || \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
+ $messages[] = \sprintf('%s', \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter::escape(\sprintf('In %s line %s:', \basename($e->getFile()) ?: 'n/a', $e->getLine() ?: 'n/a')));
}
$messages[] = $emptyLine = \sprintf('%s', \str_repeat(' ', $len));
- if ('' === $message || \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
- $messages[] = \sprintf('%s%s', $title, \str_repeat(' ', \max(0, $len - \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($title))));
+ if ('' === $message || \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
+ $messages[] = \sprintf('%s%s', $title, \str_repeat(' ', \max(0, $len - \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($title))));
}
foreach ($lines as $line) {
- $messages[] = \sprintf(' %s %s', \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter::escape($line[0]), \str_repeat(' ', $len - $line[1]));
+ $messages[] = \sprintf(' %s %s', \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter::escape($line[0]), \str_repeat(' ', $len - $line[1]));
}
$messages[] = $emptyLine;
$messages[] = '';
- $output->writeln($messages, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
- if (\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
- $output->writeln('Exception trace:', \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
+ $output->writeln($messages, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
+ if (\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
+ $output->writeln('Exception trace:', \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
// exception related properties
$trace = $e->getTrace();
\array_unshift($trace, ['function' => '', 'file' => $e->getFile() ?: 'n/a', 'line' => $e->getLine() ?: 'n/a', 'args' => []]);
@@ -752,16 +752,16 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
$function = $trace[$i]['function'] ?? '';
$file = $trace[$i]['file'] ?? 'n/a';
$line = $trace[$i]['line'] ?? 'n/a';
- $output->writeln(\sprintf(' %s%s at %s:%s', $class, $function ? $type . $function . '()' : '', $file, $line), \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
+ $output->writeln(\sprintf(' %s%s at %s:%s', $class, $function ? $type . $function . '()' : '', $file, $line), \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
}
- $output->writeln('', \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
+ $output->writeln('', \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
}
} while ($e = $e->getPrevious());
}
/**
* Configures the input and output instances based on the user arguments and options.
*/
- protected function configureIO(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output)
+ protected function configureIO(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output)
{
if (\true === $input->hasParameterOption(['--ansi'], \true)) {
$output->setDecorated(\true);
@@ -773,33 +773,33 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
}
switch ($shellVerbosity = (int) \getenv('SHELL_VERBOSITY')) {
case -1:
- $output->setVerbosity(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
+ $output->setVerbosity(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
break;
case 1:
- $output->setVerbosity(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE);
+ $output->setVerbosity(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE);
break;
case 2:
- $output->setVerbosity(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE);
+ $output->setVerbosity(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE);
break;
case 3:
- $output->setVerbosity(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG);
+ $output->setVerbosity(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG);
break;
default:
$shellVerbosity = 0;
break;
}
if (\true === $input->hasParameterOption(['--quiet', '-q'], \true)) {
- $output->setVerbosity(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
+ $output->setVerbosity(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET);
$shellVerbosity = -1;
} else {
if ($input->hasParameterOption('-vvv', \true) || $input->hasParameterOption('--verbose=3', \true) || 3 === $input->getParameterOption('--verbose', \false, \true)) {
- $output->setVerbosity(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG);
+ $output->setVerbosity(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG);
$shellVerbosity = 3;
} elseif ($input->hasParameterOption('-vv', \true) || $input->hasParameterOption('--verbose=2', \true) || 2 === $input->getParameterOption('--verbose', \false, \true)) {
- $output->setVerbosity(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE);
+ $output->setVerbosity(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE);
$shellVerbosity = 2;
} elseif ($input->hasParameterOption('-v', \true) || $input->hasParameterOption('--verbose=1', \true) || $input->hasParameterOption('--verbose', \true) || $input->getParameterOption('--verbose', \false, \true)) {
- $output->setVerbosity(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE);
+ $output->setVerbosity(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE);
$shellVerbosity = 1;
}
}
@@ -820,18 +820,18 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
*
* @return int 0 if everything went fine, or an error code
*/
- protected function doRunCommand(\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command, \RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output)
+ protected function doRunCommand(\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command, \RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output)
{
foreach ($command->getHelperSet() as $helper) {
- if ($helper instanceof \RectorPrefix20220217\Symfony\Component\Console\Input\InputAwareInterface) {
+ if ($helper instanceof \RectorPrefix20220218\Symfony\Component\Console\Input\InputAwareInterface) {
$helper->setInput($input);
}
}
- if ($command instanceof \RectorPrefix20220217\Symfony\Component\Console\Command\SignalableCommandInterface && ($this->signalsToDispatchEvent || $command->getSubscribedSignals())) {
+ if ($command instanceof \RectorPrefix20220218\Symfony\Component\Console\Command\SignalableCommandInterface && ($this->signalsToDispatchEvent || $command->getSubscribedSignals())) {
if (!$this->signalRegistry) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException('Unable to subscribe to signal events. Make sure that the `pcntl` extension is installed and that "pcntl_*" functions are not disabled by your php.ini\'s "disable_functions" directive.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException('Unable to subscribe to signal events. Make sure that the `pcntl` extension is installed and that "pcntl_*" functions are not disabled by your php.ini\'s "disable_functions" directive.');
}
- if (\RectorPrefix20220217\Symfony\Component\Console\Terminal::hasSttyAvailable()) {
+ if (\RectorPrefix20220218\Symfony\Component\Console\Terminal::hasSttyAvailable()) {
$sttyMode = \shell_exec('stty -g');
foreach ([\SIGINT, \SIGTERM] as $signal) {
$this->signalRegistry->register($signal, static function () use($sttyMode) {
@@ -841,9 +841,9 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
}
if ($this->dispatcher) {
foreach ($this->signalsToDispatchEvent as $signal) {
- $event = new \RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleSignalEvent($command, $input, $output, $signal);
+ $event = new \RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleSignalEvent($command, $input, $output, $signal);
$this->signalRegistry->register($signal, function ($signal, $hasNext) use($event) {
- $this->dispatcher->dispatch($event, \RectorPrefix20220217\Symfony\Component\Console\ConsoleEvents::SIGNAL);
+ $this->dispatcher->dispatch($event, \RectorPrefix20220218\Symfony\Component\Console\ConsoleEvents::SIGNAL);
// No more handlers, we try to simulate PHP default behavior
if (!$hasNext) {
if (!\in_array($signal, [\SIGUSR1, \SIGUSR2], \true)) {
@@ -864,28 +864,28 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
try {
$command->mergeApplicationDefinition();
$input->bind($command->getDefinition());
- } catch (\RectorPrefix20220217\Symfony\Component\Console\Exception\ExceptionInterface $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Console\Exception\ExceptionInterface $e) {
// ignore invalid options/arguments for now, to allow the event listeners to customize the InputDefinition
}
- $event = new \RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleCommandEvent($command, $input, $output);
+ $event = new \RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleCommandEvent($command, $input, $output);
$e = null;
try {
- $this->dispatcher->dispatch($event, \RectorPrefix20220217\Symfony\Component\Console\ConsoleEvents::COMMAND);
+ $this->dispatcher->dispatch($event, \RectorPrefix20220218\Symfony\Component\Console\ConsoleEvents::COMMAND);
if ($event->commandShouldRun()) {
$exitCode = $command->run($input, $output);
} else {
- $exitCode = \RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleCommandEvent::RETURN_CODE_DISABLED;
+ $exitCode = \RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleCommandEvent::RETURN_CODE_DISABLED;
}
} catch (\Throwable $e) {
- $event = new \RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e, $command);
- $this->dispatcher->dispatch($event, \RectorPrefix20220217\Symfony\Component\Console\ConsoleEvents::ERROR);
+ $event = new \RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e, $command);
+ $this->dispatcher->dispatch($event, \RectorPrefix20220218\Symfony\Component\Console\ConsoleEvents::ERROR);
$e = $event->getError();
if (0 === ($exitCode = $event->getExitCode())) {
$e = null;
}
}
- $event = new \RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleTerminateEvent($command, $input, $output, $exitCode);
- $this->dispatcher->dispatch($event, \RectorPrefix20220217\Symfony\Component\Console\ConsoleEvents::TERMINATE);
+ $event = new \RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleTerminateEvent($command, $input, $output, $exitCode);
+ $this->dispatcher->dispatch($event, \RectorPrefix20220218\Symfony\Component\Console\ConsoleEvents::TERMINATE);
if (null !== $e) {
throw $e;
}
@@ -894,16 +894,16 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
/**
* Gets the name of the command based on input.
*/
- protected function getCommandName(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input) : ?string
+ protected function getCommandName(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input) : ?string
{
return $this->singleCommand ? $this->defaultCommand : $input->getFirstArgument();
}
/**
* Gets the default input definition.
*/
- protected function getDefaultInputDefinition() : \RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition
+ protected function getDefaultInputDefinition() : \RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition
{
- return new \RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition([new \RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument('command', \RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument::REQUIRED, 'The command to execute'), new \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption('--help', '-h', \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Display help for the given command. When no command is given display help for the ' . $this->defaultCommand . ' command'), new \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption('--quiet', '-q', \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Do not output any message'), new \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption('--verbose', '-v|vv|vvv', \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug'), new \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption('--version', '-V', \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Display this application version'), new \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption('--ansi', '', \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_NEGATABLE, 'Force (or disable --no-ansi) ANSI output', null), new \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption('--no-interaction', '-n', \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Do not ask any interactive question')]);
+ return new \RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition([new \RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument('command', \RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument::REQUIRED, 'The command to execute'), new \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption('--help', '-h', \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Display help for the given command. When no command is given display help for the ' . $this->defaultCommand . ' command'), new \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption('--quiet', '-q', \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Do not output any message'), new \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption('--verbose', '-v|vv|vvv', \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug'), new \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption('--version', '-V', \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Display this application version'), new \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption('--ansi', '', \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_NEGATABLE, 'Force (or disable --no-ansi) ANSI output', null), new \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption('--no-interaction', '-n', \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Do not ask any interactive question')]);
}
/**
* Gets the default commands that should always be available.
@@ -912,14 +912,14 @@ class Application implements \RectorPrefix20220217\Symfony\Contracts\Service\Res
*/
protected function getDefaultCommands() : array
{
- return [new \RectorPrefix20220217\Symfony\Component\Console\Command\HelpCommand(), new \RectorPrefix20220217\Symfony\Component\Console\Command\ListCommand(), new \RectorPrefix20220217\Symfony\Component\Console\Command\CompleteCommand(), new \RectorPrefix20220217\Symfony\Component\Console\Command\DumpCompletionCommand()];
+ return [new \RectorPrefix20220218\Symfony\Component\Console\Command\HelpCommand(), new \RectorPrefix20220218\Symfony\Component\Console\Command\ListCommand(), new \RectorPrefix20220218\Symfony\Component\Console\Command\CompleteCommand(), new \RectorPrefix20220218\Symfony\Component\Console\Command\DumpCompletionCommand()];
}
/**
* Gets the default helper set with the helpers that should always be available.
*/
- protected function getDefaultHelperSet() : \RectorPrefix20220217\Symfony\Component\Console\Helper\HelperSet
+ protected function getDefaultHelperSet() : \RectorPrefix20220218\Symfony\Component\Console\Helper\HelperSet
{
- return new \RectorPrefix20220217\Symfony\Component\Console\Helper\HelperSet([new \RectorPrefix20220217\Symfony\Component\Console\Helper\FormatterHelper(), new \RectorPrefix20220217\Symfony\Component\Console\Helper\DebugFormatterHelper(), new \RectorPrefix20220217\Symfony\Component\Console\Helper\ProcessHelper(), new \RectorPrefix20220217\Symfony\Component\Console\Helper\QuestionHelper()]);
+ return new \RectorPrefix20220218\Symfony\Component\Console\Helper\HelperSet([new \RectorPrefix20220218\Symfony\Component\Console\Helper\FormatterHelper(), new \RectorPrefix20220218\Symfony\Component\Console\Helper\DebugFormatterHelper(), new \RectorPrefix20220218\Symfony\Component\Console\Helper\ProcessHelper(), new \RectorPrefix20220218\Symfony\Component\Console\Helper\QuestionHelper()]);
}
/**
* Returns abbreviated suggestions in string format.
diff --git a/vendor/symfony/console/Attribute/AsCommand.php b/vendor/symfony/console/Attribute/AsCommand.php
index a2d2b51f2dd..6d0d37fdabc 100644
--- a/vendor/symfony/console/Attribute/AsCommand.php
+++ b/vendor/symfony/console/Attribute/AsCommand.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Attribute;
+namespace RectorPrefix20220218\Symfony\Component\Console\Attribute;
/**
* Service tag to autoconfigure commands.
diff --git a/vendor/symfony/console/CI/GithubActionReporter.php b/vendor/symfony/console/CI/GithubActionReporter.php
index 181b226b512..49dd4d60b3a 100644
--- a/vendor/symfony/console/CI/GithubActionReporter.php
+++ b/vendor/symfony/console/CI/GithubActionReporter.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\CI;
+namespace RectorPrefix20220218\Symfony\Component\Console\CI;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* Utility class for Github actions.
*
@@ -27,7 +27,7 @@ class GithubActionReporter
* @see https://github.com/actions/toolkit/blob/5e5e1b7aacba68a53836a34db4a288c3c1c1585b/packages/core/src/command.ts#L87-L94
*/
private const ESCAPED_PROPERTIES = ['%' => '%25', "\r" => '%0D', "\n" => '%0A', ':' => '%3A', ',' => '%2C'];
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output)
{
$this->output = $output;
}
diff --git a/vendor/symfony/console/Color.php b/vendor/symfony/console/Color.php
index 3ea9ceb39cc..62b6668a657 100644
--- a/vendor/symfony/console/Color.php
+++ b/vendor/symfony/console/Color.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console;
+namespace RectorPrefix20220218\Symfony\Component\Console;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
/**
* @author Fabien Potencier
*/
@@ -37,7 +37,7 @@ final class Color
$this->background = $this->parseColor($background, \true);
foreach ($options as $option) {
if (!isset(self::AVAILABLE_OPTIONS[$option])) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Invalid option specified: "%s". Expected one of (%s).', $option, \implode(', ', \array_keys(self::AVAILABLE_OPTIONS))));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Invalid option specified: "%s". Expected one of (%s).', $option, \implode(', ', \array_keys(self::AVAILABLE_OPTIONS))));
}
$this->options[$option] = self::AVAILABLE_OPTIONS[$option];
}
@@ -91,7 +91,7 @@ final class Color
$color = $color[0] . $color[0] . $color[1] . $color[1] . $color[2] . $color[2];
}
if (6 !== \strlen($color)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Invalid "%s" color.', $color));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Invalid "%s" color.', $color));
}
return ($background ? '4' : '3') . $this->convertHexColorToAnsi(\hexdec($color));
}
@@ -101,7 +101,7 @@ final class Color
if (isset(self::BRIGHT_COLORS[$color])) {
return ($background ? '10' : '9') . self::BRIGHT_COLORS[$color];
}
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Invalid "%s" color; expected one of (%s).', $color, \implode(', ', \array_merge(\array_keys(self::COLORS), \array_keys(self::BRIGHT_COLORS)))));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Invalid "%s" color; expected one of (%s).', $color, \implode(', ', \array_merge(\array_keys(self::COLORS), \array_keys(self::BRIGHT_COLORS)))));
}
private function convertHexColorToAnsi(int $color) : string
{
diff --git a/vendor/symfony/console/Command/Command.php b/vendor/symfony/console/Command/Command.php
index 4277d477765..27eee340f28 100644
--- a/vendor/symfony/console/Command/Command.php
+++ b/vendor/symfony/console/Command/Command.php
@@ -8,21 +8,21 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Command;
+namespace RectorPrefix20220218\Symfony\Component\Console\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Application;
-use RectorPrefix20220217\Symfony\Component\Console\Attribute\AsCommand;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\ExceptionInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\HelperSet;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Application;
+use RectorPrefix20220218\Symfony\Component\Console\Attribute\AsCommand;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\ExceptionInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\HelperSet;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputOption;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* Base class for all commands.
*
@@ -89,7 +89,7 @@ class Command
public static function getDefaultName() : ?string
{
$class = static::class;
- if ($attribute = \method_exists(new \ReflectionClass($class), 'getAttributes') ? (new \ReflectionClass($class))->getAttributes(\RectorPrefix20220217\Symfony\Component\Console\Attribute\AsCommand::class) : []) {
+ if ($attribute = \method_exists(new \ReflectionClass($class), 'getAttributes') ? (new \ReflectionClass($class))->getAttributes(\RectorPrefix20220218\Symfony\Component\Console\Attribute\AsCommand::class) : []) {
return $attribute[0]->newInstance()->name;
}
$r = new \ReflectionProperty($class, 'defaultName');
@@ -98,7 +98,7 @@ class Command
public static function getDefaultDescription() : ?string
{
$class = static::class;
- if ($attribute = \method_exists(new \ReflectionClass($class), 'getAttributes') ? (new \ReflectionClass($class))->getAttributes(\RectorPrefix20220217\Symfony\Component\Console\Attribute\AsCommand::class) : []) {
+ if ($attribute = \method_exists(new \ReflectionClass($class), 'getAttributes') ? (new \ReflectionClass($class))->getAttributes(\RectorPrefix20220218\Symfony\Component\Console\Attribute\AsCommand::class) : []) {
return $attribute[0]->newInstance()->description;
}
$r = new \ReflectionProperty($class, 'defaultDescription');
@@ -111,7 +111,7 @@ class Command
*/
public function __construct(string $name = null)
{
- $this->definition = new \RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition();
+ $this->definition = new \RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition();
if (null === $name && null !== ($name = static::getDefaultName())) {
$aliases = \explode('|', $name);
if ('' === ($name = \array_shift($aliases))) {
@@ -137,7 +137,7 @@ class Command
{
$this->ignoreValidationErrors = \true;
}
- public function setApplication(\RectorPrefix20220217\Symfony\Component\Console\Application $application = null)
+ public function setApplication(\RectorPrefix20220218\Symfony\Component\Console\Application $application = null)
{
$this->application = $application;
if ($application) {
@@ -147,21 +147,21 @@ class Command
}
$this->fullDefinition = null;
}
- public function setHelperSet(\RectorPrefix20220217\Symfony\Component\Console\Helper\HelperSet $helperSet)
+ public function setHelperSet(\RectorPrefix20220218\Symfony\Component\Console\Helper\HelperSet $helperSet)
{
$this->helperSet = $helperSet;
}
/**
* Gets the helper set.
*/
- public function getHelperSet() : ?\RectorPrefix20220217\Symfony\Component\Console\Helper\HelperSet
+ public function getHelperSet() : ?\RectorPrefix20220218\Symfony\Component\Console\Helper\HelperSet
{
return $this->helperSet;
}
/**
* Gets the application instance for this command.
*/
- public function getApplication() : ?\RectorPrefix20220217\Symfony\Component\Console\Application
+ public function getApplication() : ?\RectorPrefix20220218\Symfony\Component\Console\Application
{
return $this->application;
}
@@ -197,9 +197,9 @@ class Command
*
* @see setCode()
*/
- protected function execute(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output)
+ protected function execute(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output)
{
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException('You must override the execute() method in the concrete command class.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException('You must override the execute() method in the concrete command class.');
}
/**
* Interacts with the user.
@@ -208,7 +208,7 @@ class Command
* This means that this is the only place where the command can
* interactively ask for values of missing required arguments.
*/
- protected function interact(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output)
+ protected function interact(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output)
{
}
/**
@@ -221,7 +221,7 @@ class Command
* @see InputInterface::bind()
* @see InputInterface::validate()
*/
- protected function initialize(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output)
+ protected function initialize(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output)
{
}
/**
@@ -238,14 +238,14 @@ class Command
* @see setCode()
* @see execute()
*/
- public function run(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) : int
+ public function run(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) : int
{
// add the application arguments and options
$this->mergeApplicationDefinition();
// bind the input against the command specific arguments/options
try {
$input->bind($this->getDefinition());
- } catch (\RectorPrefix20220217\Symfony\Component\Console\Exception\ExceptionInterface $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Console\Exception\ExceptionInterface $e) {
if (!$this->ignoreValidationErrors) {
throw $e;
}
@@ -255,14 +255,14 @@ class Command
if (\function_exists('cli_set_process_title')) {
if (!@\cli_set_process_title($this->processTitle)) {
if ('Darwin' === \PHP_OS) {
- $output->writeln('Running "cli_set_process_title" as an unprivileged user is not supported on MacOS.', \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE);
+ $output->writeln('Running "cli_set_process_title" as an unprivileged user is not supported on MacOS.', \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE);
} else {
\cli_set_process_title($this->processTitle);
}
}
- } elseif (\function_exists('RectorPrefix20220217\\setproctitle')) {
+ } elseif (\function_exists('RectorPrefix20220218\\setproctitle')) {
setproctitle($this->processTitle);
- } elseif (\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE === $output->getVerbosity()) {
+ } elseif (\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE === $output->getVerbosity()) {
$output->writeln('Install the proctitle PECL to be able to change the process title.');
}
}
@@ -289,7 +289,7 @@ class Command
/**
* Adds suggestions to $suggestions for the current completion input (e.g. option or argument).
*/
- public function complete(\RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void
+ public function complete(\RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void
{
}
/**
@@ -341,7 +341,7 @@ class Command
if (null === $this->application) {
return;
}
- $this->fullDefinition = new \RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition();
+ $this->fullDefinition = new \RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition();
$this->fullDefinition->setOptions($this->definition->getOptions());
$this->fullDefinition->addOptions($this->application->getDefinition()->getOptions());
if ($mergeArgs) {
@@ -359,7 +359,7 @@ class Command
*/
public function setDefinition($definition)
{
- if ($definition instanceof \RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition) {
+ if ($definition instanceof \RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition) {
$this->definition = $definition;
} else {
$this->definition->setDefinition($definition);
@@ -370,7 +370,7 @@ class Command
/**
* Gets the InputDefinition attached to this Command.
*/
- public function getDefinition() : \RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition
+ public function getDefinition() : \RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition
{
return $this->fullDefinition ?? $this->getNativeDefinition();
}
@@ -382,10 +382,10 @@ class Command
*
* This method is not part of public API and should not be used directly.
*/
- public function getNativeDefinition() : \RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition
+ public function getNativeDefinition() : \RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition
{
if (!isset($this->definition)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException(\sprintf('Command class "%s" is not correctly initialized. You probably forgot to call the parent constructor.', static::class));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException(\sprintf('Command class "%s" is not correctly initialized. You probably forgot to call the parent constructor.', static::class));
}
return $this->definition;
}
@@ -401,9 +401,9 @@ class Command
*/
public function addArgument(string $name, int $mode = null, string $description = '', $default = null)
{
- $this->definition->addArgument(new \RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument($name, $mode, $description, $default));
+ $this->definition->addArgument(new \RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument($name, $mode, $description, $default));
if (null !== $this->fullDefinition) {
- $this->fullDefinition->addArgument(new \RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument($name, $mode, $description, $default));
+ $this->fullDefinition->addArgument(new \RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument($name, $mode, $description, $default));
}
return $this;
}
@@ -420,9 +420,9 @@ class Command
*/
public function addOption(string $name, $shortcut = null, int $mode = null, string $description = '', $default = null)
{
- $this->definition->addOption(new \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption($name, $shortcut, $mode, $description, $default));
+ $this->definition->addOption(new \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption($name, $shortcut, $mode, $description, $default));
if (null !== $this->fullDefinition) {
- $this->fullDefinition->addOption(new \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption($name, $shortcut, $mode, $description, $default));
+ $this->fullDefinition->addOption(new \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption($name, $shortcut, $mode, $description, $default));
}
return $this;
}
@@ -596,7 +596,7 @@ class Command
public function getHelper(string $name)
{
if (null === $this->helperSet) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException(\sprintf('Cannot retrieve helper "%s" because there is no HelperSet defined. Did you forget to add your command to the application or to set the application on the command using the setApplication() method? You can also set the HelperSet directly using the setHelperSet() method.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException(\sprintf('Cannot retrieve helper "%s" because there is no HelperSet defined. Did you forget to add your command to the application or to set the application on the command using the setApplication() method? You can also set the HelperSet directly using the setHelperSet() method.', $name));
}
return $this->helperSet->get($name);
}
@@ -610,7 +610,7 @@ class Command
private function validateName(string $name)
{
if (!\preg_match('/^[^\\:]++(\\:[^\\:]++)*$/', $name)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Command name "%s" is invalid.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Command name "%s" is invalid.', $name));
}
}
}
diff --git a/vendor/symfony/console/Command/CompleteCommand.php b/vendor/symfony/console/Command/CompleteCommand.php
index adf69fa475b..beee718b0e7 100644
--- a/vendor/symfony/console/Command/CompleteCommand.php
+++ b/vendor/symfony/console/Command/CompleteCommand.php
@@ -8,23 +8,23 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Command;
+namespace RectorPrefix20220218\Symfony\Component\Console\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\Output\BashCompletionOutput;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\Output\CompletionOutputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\ExceptionInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\Output\BashCompletionOutput;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\Output\CompletionOutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\ExceptionInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputOption;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* Responsible for providing the values to the shell completion.
*
* @author Wouter de Jong
*/
-final class CompleteCommand extends \RectorPrefix20220217\Symfony\Component\Console\Command\Command
+final class CompleteCommand extends \RectorPrefix20220218\Symfony\Component\Console\Command\Command
{
protected static $defaultName = '|_complete';
protected static $defaultDescription = 'Internal command to provide shell completion suggestions';
@@ -36,18 +36,18 @@ final class CompleteCommand extends \RectorPrefix20220217\Symfony\Component\Cons
public function __construct(array $completionOutputs = [])
{
// must be set before the parent constructor, as the property value is used in configure()
- $this->completionOutputs = $completionOutputs + ['bash' => \RectorPrefix20220217\Symfony\Component\Console\Completion\Output\BashCompletionOutput::class];
+ $this->completionOutputs = $completionOutputs + ['bash' => \RectorPrefix20220218\Symfony\Component\Console\Completion\Output\BashCompletionOutput::class];
parent::__construct();
}
protected function configure() : void
{
- $this->addOption('shell', 's', \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The shell type ("' . \implode('", "', \array_keys($this->completionOutputs)) . '")')->addOption('input', 'i', \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED | \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_IS_ARRAY, 'An array of input tokens (e.g. COMP_WORDS or argv)')->addOption('current', 'c', \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The index of the "input" array that the cursor is in (e.g. COMP_CWORD)')->addOption('symfony', 'S', \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The version of the completion script');
+ $this->addOption('shell', 's', \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The shell type ("' . \implode('", "', \array_keys($this->completionOutputs)) . '")')->addOption('input', 'i', \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED | \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_IS_ARRAY, 'An array of input tokens (e.g. COMP_WORDS or argv)')->addOption('current', 'c', \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The index of the "input" array that the cursor is in (e.g. COMP_CWORD)')->addOption('symfony', 'S', \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The version of the completion script');
}
- protected function initialize(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output)
+ protected function initialize(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output)
{
$this->isDebug = \filter_var(\getenv('SYMFONY_COMPLETION_DEBUG'), \FILTER_VALIDATE_BOOLEAN);
}
- protected function execute(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) : int
+ protected function execute(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) : int
{
try {
// uncomment when a bugfix or BC break has been introduced in the shell completion scripts
@@ -66,7 +66,7 @@ final class CompleteCommand extends \RectorPrefix20220217\Symfony\Component\Cons
throw new \RuntimeException(\sprintf('Shell completion is not supported for your shell: "%s" (supported: "%s").', $shell, \implode('", "', \array_keys($this->completionOutputs))));
}
$completionInput = $this->createCompletionInput($input);
- $suggestions = new \RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions();
+ $suggestions = new \RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions();
$this->log(['', '' . \date('Y-m-d H:i:s') . '>', 'Input:> ("|" indicates the cursor position)>', ' ' . (string) $completionInput, 'Command:>', ' ' . (string) \implode(' ', $_SERVER['argv']), 'Messages:>']);
$command = $this->findCommand($completionInput, $output);
if (null === $command) {
@@ -79,11 +79,11 @@ final class CompleteCommand extends \RectorPrefix20220217\Symfony\Component\Cons
} else {
$command->mergeApplicationDefinition();
$completionInput->bind($command->getDefinition());
- if (\RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput::TYPE_OPTION_NAME === $completionInput->getCompletionType()) {
- $this->log(' Completing option names for the ' . \get_class($command instanceof \RectorPrefix20220217\Symfony\Component\Console\Command\LazyCommand ? $command->getCommand() : $command) . '> command.');
+ if (\RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput::TYPE_OPTION_NAME === $completionInput->getCompletionType()) {
+ $this->log(' Completing option names for the ' . \get_class($command instanceof \RectorPrefix20220218\Symfony\Component\Console\Command\LazyCommand ? $command->getCommand() : $command) . '> command.');
$suggestions->suggestOptions($command->getDefinition()->getOptions());
} else {
- $this->log([' Completing using the ' . \get_class($command instanceof \RectorPrefix20220217\Symfony\Component\Console\Command\LazyCommand ? $command->getCommand() : $command) . '> class.', ' Completing ' . $completionInput->getCompletionType() . '> for ' . $completionInput->getCompletionName() . '>']);
+ $this->log([' Completing using the ' . \get_class($command instanceof \RectorPrefix20220218\Symfony\Component\Console\Command\LazyCommand ? $command->getCommand() : $command) . '> class.', ' Completing ' . $completionInput->getCompletionType() . '> for ' . $completionInput->getCompletionName() . '>']);
if (null !== ($compval = $completionInput->getCompletionValue())) {
$this->log(' Current value: ' . $compval . '>');
}
@@ -112,20 +112,20 @@ final class CompleteCommand extends \RectorPrefix20220217\Symfony\Component\Cons
}
return self::SUCCESS;
}
- private function createCompletionInput(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input) : \RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput
+ private function createCompletionInput(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input) : \RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput
{
$currentIndex = $input->getOption('current');
if (!$currentIndex || !\ctype_digit($currentIndex)) {
throw new \RuntimeException('The "--current" option must be set and it must be an integer.');
}
- $completionInput = \RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput::fromTokens($input->getOption('input'), (int) $currentIndex);
+ $completionInput = \RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput::fromTokens($input->getOption('input'), (int) $currentIndex);
try {
$completionInput->bind($this->getApplication()->getDefinition());
- } catch (\RectorPrefix20220217\Symfony\Component\Console\Exception\ExceptionInterface $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Console\Exception\ExceptionInterface $e) {
}
return $completionInput;
}
- private function findCommand(\RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput $completionInput, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) : ?\RectorPrefix20220217\Symfony\Component\Console\Command\Command
+ private function findCommand(\RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput $completionInput, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) : ?\RectorPrefix20220218\Symfony\Component\Console\Command\Command
{
try {
$inputName = $completionInput->getFirstArgument();
@@ -133,7 +133,7 @@ final class CompleteCommand extends \RectorPrefix20220217\Symfony\Component\Cons
return null;
}
return $this->getApplication()->find($inputName);
- } catch (\RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException $e) {
}
return null;
}
diff --git a/vendor/symfony/console/Command/DumpCompletionCommand.php b/vendor/symfony/console/Command/DumpCompletionCommand.php
index 1a87a72a917..5315d19bdc6 100644
--- a/vendor/symfony/console/Command/DumpCompletionCommand.php
+++ b/vendor/symfony/console/Command/DumpCompletionCommand.php
@@ -8,26 +8,26 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Command;
+namespace RectorPrefix20220218\Symfony\Component\Console\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
-use RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
-use RectorPrefix20220217\Symfony\Component\Process\Process;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputOption;
+use RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Process\Process;
/**
* Dumps the completion script for the current shell.
*
* @author Wouter de Jong
*/
-final class DumpCompletionCommand extends \RectorPrefix20220217\Symfony\Component\Console\Command\Command
+final class DumpCompletionCommand extends \RectorPrefix20220218\Symfony\Component\Console\Command\Command
{
protected static $defaultName = 'completion';
protected static $defaultDescription = 'Dump the shell completion script';
- public function complete(\RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void
+ public function complete(\RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void
{
if ($input->mustSuggestArgumentValuesFor('shell')) {
$suggestions->suggestValues($this->getSupportedShells());
@@ -66,9 +66,9 @@ Add this add the end of your shell configuration file (e.g. "~/.bashrc">
eval "\$({$fullCommand} completion bash)">
EOH
-)->addArgument('shell', \RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument::OPTIONAL, 'The shell type (e.g. "bash"), the value of the "$SHELL" env var will be used if this is not given')->addOption('debug', null, \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Tail the completion debug log');
+)->addArgument('shell', \RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument::OPTIONAL, 'The shell type (e.g. "bash"), the value of the "$SHELL" env var will be used if this is not given')->addOption('debug', null, \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Tail the completion debug log');
}
- protected function execute(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) : int
+ protected function execute(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) : int
{
$commandName = \basename($_SERVER['argv'][0]);
if ($input->getOption('debug')) {
@@ -79,7 +79,7 @@ EOH
$completionFile = __DIR__ . '/../Resources/completion.' . $shell;
if (!\file_exists($completionFile)) {
$supportedShells = $this->getSupportedShells();
- ($output instanceof \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface ? $output->getErrorOutput() : $output)->writeln(\sprintf('Detected shell "%s", which is not supported by Symfony shell completion (supported shells: "%s").>', $shell, \implode('", "', $supportedShells)));
+ ($output instanceof \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface ? $output->getErrorOutput() : $output)->writeln(\sprintf('Detected shell "%s", which is not supported by Symfony shell completion (supported shells: "%s").>', $shell, \implode('", "', $supportedShells)));
return self::INVALID;
}
$output->write(\str_replace(['{{ COMMAND_NAME }}', '{{ VERSION }}'], [$commandName, $this->getApplication()->getVersion()], \file_get_contents($completionFile)));
@@ -89,13 +89,13 @@ EOH
{
return \basename($_SERVER['SHELL'] ?? '');
}
- private function tailDebugLog(string $commandName, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) : void
+ private function tailDebugLog(string $commandName, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) : void
{
$debugFile = \sys_get_temp_dir() . '/sf_' . $commandName . '.log';
if (!\file_exists($debugFile)) {
\touch($debugFile);
}
- $process = new \RectorPrefix20220217\Symfony\Component\Process\Process(['tail', '-f', $debugFile], null, null, null, 0);
+ $process = new \RectorPrefix20220218\Symfony\Component\Process\Process(['tail', '-f', $debugFile], null, null, null, 0);
$process->run(function (string $type, string $line) use($output) : void {
$output->write($line);
});
diff --git a/vendor/symfony/console/Command/HelpCommand.php b/vendor/symfony/console/Command/HelpCommand.php
index 6be9c1a87fe..e419db59a6a 100644
--- a/vendor/symfony/console/Command/HelpCommand.php
+++ b/vendor/symfony/console/Command/HelpCommand.php
@@ -8,22 +8,22 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Command;
+namespace RectorPrefix20220218\Symfony\Component\Console\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions;
-use RectorPrefix20220217\Symfony\Component\Console\Descriptor\ApplicationDescription;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\DescriptorHelper;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions;
+use RectorPrefix20220218\Symfony\Component\Console\Descriptor\ApplicationDescription;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\DescriptorHelper;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputOption;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* HelpCommand displays the help for a given command.
*
* @author Fabien Potencier
*/
-class HelpCommand extends \RectorPrefix20220217\Symfony\Component\Console\Command\Command
+class HelpCommand extends \RectorPrefix20220218\Symfony\Component\Console\Command\Command
{
private $command;
/**
@@ -32,7 +32,7 @@ class HelpCommand extends \RectorPrefix20220217\Symfony\Component\Console\Comman
protected function configure()
{
$this->ignoreValidationErrors();
- $this->setName('help')->setDefinition([new \RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument('command_name', \RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument::OPTIONAL, 'The command name', 'help'), new \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption('format', null, \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt'), new \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption('raw', null, \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'To output raw command help')])->setDescription('Display help for a command')->setHelp(<<<'EOF'
+ $this->setName('help')->setDefinition([new \RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument('command_name', \RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument::OPTIONAL, 'The command name', 'help'), new \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption('format', null, \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt'), new \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption('raw', null, \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'To output raw command help')])->setDescription('Display help for a command')->setHelp(<<<'EOF'
The %command.name% command displays help for a given command:
%command.full_name% list
@@ -45,30 +45,30 @@ To display the list of available commands, please use the list comm
EOF
);
}
- public function setCommand(\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command)
+ public function setCommand(\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command)
{
$this->command = $command;
}
/**
* {@inheritdoc}
*/
- protected function execute(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) : int
+ protected function execute(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) : int
{
$this->command = $this->command ?? $this->getApplication()->find($input->getArgument('command_name'));
- $helper = new \RectorPrefix20220217\Symfony\Component\Console\Helper\DescriptorHelper();
+ $helper = new \RectorPrefix20220218\Symfony\Component\Console\Helper\DescriptorHelper();
$helper->describe($output, $this->command, ['format' => $input->getOption('format'), 'raw_text' => $input->getOption('raw')]);
unset($this->command);
return 0;
}
- public function complete(\RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void
+ public function complete(\RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void
{
if ($input->mustSuggestArgumentValuesFor('command_name')) {
- $descriptor = new \RectorPrefix20220217\Symfony\Component\Console\Descriptor\ApplicationDescription($this->getApplication());
+ $descriptor = new \RectorPrefix20220218\Symfony\Component\Console\Descriptor\ApplicationDescription($this->getApplication());
$suggestions->suggestValues(\array_keys($descriptor->getCommands()));
return;
}
if ($input->mustSuggestOptionValuesFor('format')) {
- $helper = new \RectorPrefix20220217\Symfony\Component\Console\Helper\DescriptorHelper();
+ $helper = new \RectorPrefix20220218\Symfony\Component\Console\Helper\DescriptorHelper();
$suggestions->suggestValues($helper->getFormats());
}
}
diff --git a/vendor/symfony/console/Command/LazyCommand.php b/vendor/symfony/console/Command/LazyCommand.php
index 64c41692266..069a1212b5c 100644
--- a/vendor/symfony/console/Command/LazyCommand.php
+++ b/vendor/symfony/console/Command/LazyCommand.php
@@ -8,19 +8,19 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Command;
+namespace RectorPrefix20220218\Symfony\Component\Console\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Application;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\HelperSet;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Application;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\HelperSet;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* @author Nicolas Grekas
*/
-final class LazyCommand extends \RectorPrefix20220217\Symfony\Component\Console\Command\Command
+final class LazyCommand extends \RectorPrefix20220218\Symfony\Component\Console\Command\Command
{
private $command;
/**
@@ -37,14 +37,14 @@ final class LazyCommand extends \RectorPrefix20220217\Symfony\Component\Console\
{
$this->getCommand()->ignoreValidationErrors();
}
- public function setApplication(\RectorPrefix20220217\Symfony\Component\Console\Application $application = null) : void
+ public function setApplication(\RectorPrefix20220218\Symfony\Component\Console\Application $application = null) : void
{
if ($this->command instanceof parent) {
$this->command->setApplication($application);
}
parent::setApplication($application);
}
- public function setHelperSet(\RectorPrefix20220217\Symfony\Component\Console\Helper\HelperSet $helperSet) : void
+ public function setHelperSet(\RectorPrefix20220218\Symfony\Component\Console\Helper\HelperSet $helperSet) : void
{
if ($this->command instanceof parent) {
$this->command->setHelperSet($helperSet);
@@ -55,11 +55,11 @@ final class LazyCommand extends \RectorPrefix20220217\Symfony\Component\Console\
{
return $this->isEnabled ?? $this->getCommand()->isEnabled();
}
- public function run(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) : int
+ public function run(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) : int
{
return $this->getCommand()->run($input, $output);
}
- public function complete(\RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void
+ public function complete(\RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void
{
$this->getCommand()->complete($input, $suggestions);
}
@@ -87,11 +87,11 @@ final class LazyCommand extends \RectorPrefix20220217\Symfony\Component\Console\
$this->getCommand()->setDefinition($definition);
return $this;
}
- public function getDefinition() : \RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition
+ public function getDefinition() : \RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition
{
return $this->getCommand()->getDefinition();
}
- public function getNativeDefinition() : \RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition
+ public function getNativeDefinition() : \RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition
{
return $this->getCommand()->getNativeDefinition();
}
diff --git a/vendor/symfony/console/Command/ListCommand.php b/vendor/symfony/console/Command/ListCommand.php
index 8d1474dfbab..0b958dcd37c 100644
--- a/vendor/symfony/console/Command/ListCommand.php
+++ b/vendor/symfony/console/Command/ListCommand.php
@@ -8,29 +8,29 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Command;
+namespace RectorPrefix20220218\Symfony\Component\Console\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions;
-use RectorPrefix20220217\Symfony\Component\Console\Descriptor\ApplicationDescription;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\DescriptorHelper;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions;
+use RectorPrefix20220218\Symfony\Component\Console\Descriptor\ApplicationDescription;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\DescriptorHelper;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputOption;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* ListCommand displays the list of all available commands for the application.
*
* @author Fabien Potencier
*/
-class ListCommand extends \RectorPrefix20220217\Symfony\Component\Console\Command\Command
+class ListCommand extends \RectorPrefix20220218\Symfony\Component\Console\Command\Command
{
/**
* {@inheritdoc}
*/
protected function configure()
{
- $this->setName('list')->setDefinition([new \RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument('namespace', \RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument::OPTIONAL, 'The namespace name'), new \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption('raw', null, \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'To output raw command list'), new \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption('format', null, \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt'), new \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption('short', null, \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'To skip describing commands\' arguments')])->setDescription('List commands')->setHelp(<<<'EOF'
+ $this->setName('list')->setDefinition([new \RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument('namespace', \RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument::OPTIONAL, 'The namespace name'), new \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption('raw', null, \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'To output raw command list'), new \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption('format', null, \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt'), new \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption('short', null, \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'To skip describing commands\' arguments')])->setDescription('List commands')->setHelp(<<<'EOF'
The %command.name% command lists all commands:
%command.full_name%
@@ -52,21 +52,21 @@ EOF
/**
* {@inheritdoc}
*/
- protected function execute(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) : int
+ protected function execute(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) : int
{
- $helper = new \RectorPrefix20220217\Symfony\Component\Console\Helper\DescriptorHelper();
+ $helper = new \RectorPrefix20220218\Symfony\Component\Console\Helper\DescriptorHelper();
$helper->describe($output, $this->getApplication(), ['format' => $input->getOption('format'), 'raw_text' => $input->getOption('raw'), 'namespace' => $input->getArgument('namespace'), 'short' => $input->getOption('short')]);
return 0;
}
- public function complete(\RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void
+ public function complete(\RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput $input, \RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void
{
if ($input->mustSuggestArgumentValuesFor('namespace')) {
- $descriptor = new \RectorPrefix20220217\Symfony\Component\Console\Descriptor\ApplicationDescription($this->getApplication());
+ $descriptor = new \RectorPrefix20220218\Symfony\Component\Console\Descriptor\ApplicationDescription($this->getApplication());
$suggestions->suggestValues(\array_keys($descriptor->getNamespaces()));
return;
}
if ($input->mustSuggestOptionValuesFor('format')) {
- $helper = new \RectorPrefix20220217\Symfony\Component\Console\Helper\DescriptorHelper();
+ $helper = new \RectorPrefix20220218\Symfony\Component\Console\Helper\DescriptorHelper();
$suggestions->suggestValues($helper->getFormats());
}
}
diff --git a/vendor/symfony/console/Command/LockableTrait.php b/vendor/symfony/console/Command/LockableTrait.php
index eba74c0a2b3..48b0678acb7 100644
--- a/vendor/symfony/console/Command/LockableTrait.php
+++ b/vendor/symfony/console/Command/LockableTrait.php
@@ -8,12 +8,12 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Command;
+namespace RectorPrefix20220218\Symfony\Component\Console\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException;
-use RectorPrefix20220217\Symfony\Component\Lock\LockFactory;
-use RectorPrefix20220217\Symfony\Component\Lock\Store\FlockStore;
-use RectorPrefix20220217\Symfony\Component\Lock\Store\SemaphoreStore;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException;
+use RectorPrefix20220218\Symfony\Component\Lock\LockFactory;
+use RectorPrefix20220218\Symfony\Component\Lock\Store\FlockStore;
+use RectorPrefix20220218\Symfony\Component\Lock\Store\SemaphoreStore;
/**
* Basic lock feature for commands.
*
@@ -27,18 +27,18 @@ trait LockableTrait
*/
private function lock(string $name = null, bool $blocking = \false) : bool
{
- if (!\class_exists(\RectorPrefix20220217\Symfony\Component\Lock\Store\SemaphoreStore::class)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException('To enable the locking feature you must install the symfony/lock component.');
+ if (!\class_exists(\RectorPrefix20220218\Symfony\Component\Lock\Store\SemaphoreStore::class)) {
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException('To enable the locking feature you must install the symfony/lock component.');
}
if (null !== $this->lock) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException('A lock is already in place.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException('A lock is already in place.');
}
- if (\RectorPrefix20220217\Symfony\Component\Lock\Store\SemaphoreStore::isSupported()) {
- $store = new \RectorPrefix20220217\Symfony\Component\Lock\Store\SemaphoreStore();
+ if (\RectorPrefix20220218\Symfony\Component\Lock\Store\SemaphoreStore::isSupported()) {
+ $store = new \RectorPrefix20220218\Symfony\Component\Lock\Store\SemaphoreStore();
} else {
- $store = new \RectorPrefix20220217\Symfony\Component\Lock\Store\FlockStore();
+ $store = new \RectorPrefix20220218\Symfony\Component\Lock\Store\FlockStore();
}
- $this->lock = (new \RectorPrefix20220217\Symfony\Component\Lock\LockFactory($store))->createLock($name ?: $this->getName());
+ $this->lock = (new \RectorPrefix20220218\Symfony\Component\Lock\LockFactory($store))->createLock($name ?: $this->getName());
if (!$this->lock->acquire($blocking)) {
$this->lock = null;
return \false;
diff --git a/vendor/symfony/console/Command/SignalableCommandInterface.php b/vendor/symfony/console/Command/SignalableCommandInterface.php
index 3b7889f0565..fc8761987b7 100644
--- a/vendor/symfony/console/Command/SignalableCommandInterface.php
+++ b/vendor/symfony/console/Command/SignalableCommandInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Command;
+namespace RectorPrefix20220218\Symfony\Component\Console\Command;
/**
* Interface for command reacting to signal.
diff --git a/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php b/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php
index aa8d83c0921..b6df85cd695 100644
--- a/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php
+++ b/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\CommandLoader;
+namespace RectorPrefix20220218\Symfony\Component\Console\CommandLoader;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException;
/**
* @author Robin Chalas
*/
@@ -22,7 +22,7 @@ interface CommandLoaderInterface
*
* @throws CommandNotFoundException
*/
- public function get(string $name) : \RectorPrefix20220217\Symfony\Component\Console\Command\Command;
+ public function get(string $name) : \RectorPrefix20220218\Symfony\Component\Console\Command\Command;
/**
* Checks if a command exists.
*/
diff --git a/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php b/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php
index 572ee75d745..4a21099a1fb 100644
--- a/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php
+++ b/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php
@@ -8,17 +8,17 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\CommandLoader;
+namespace RectorPrefix20220218\Symfony\Component\Console\CommandLoader;
-use RectorPrefix20220217\Psr\Container\ContainerInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException;
+use RectorPrefix20220218\Psr\Container\ContainerInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException;
/**
* Loads commands from a PSR-11 container.
*
* @author Robin Chalas
*/
-class ContainerCommandLoader implements \RectorPrefix20220217\Symfony\Component\Console\CommandLoader\CommandLoaderInterface
+class ContainerCommandLoader implements \RectorPrefix20220218\Symfony\Component\Console\CommandLoader\CommandLoaderInterface
{
private $container;
/**
@@ -28,7 +28,7 @@ class ContainerCommandLoader implements \RectorPrefix20220217\Symfony\Component\
/**
* @param array $commandMap An array with command names as keys and service ids as values
*/
- public function __construct(\RectorPrefix20220217\Psr\Container\ContainerInterface $container, array $commandMap)
+ public function __construct(\RectorPrefix20220218\Psr\Container\ContainerInterface $container, array $commandMap)
{
$this->container = $container;
$this->commandMap = $commandMap;
@@ -36,10 +36,10 @@ class ContainerCommandLoader implements \RectorPrefix20220217\Symfony\Component\
/**
* {@inheritdoc}
*/
- public function get(string $name) : \RectorPrefix20220217\Symfony\Component\Console\Command\Command
+ public function get(string $name) : \RectorPrefix20220218\Symfony\Component\Console\Command\Command
{
if (!$this->has($name)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('Command "%s" does not exist.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('Command "%s" does not exist.', $name));
}
return $this->container->get($this->commandMap[$name]);
}
diff --git a/vendor/symfony/console/CommandLoader/FactoryCommandLoader.php b/vendor/symfony/console/CommandLoader/FactoryCommandLoader.php
index a7f96c5d6ed..6d29e7af615 100644
--- a/vendor/symfony/console/CommandLoader/FactoryCommandLoader.php
+++ b/vendor/symfony/console/CommandLoader/FactoryCommandLoader.php
@@ -8,16 +8,16 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\CommandLoader;
+namespace RectorPrefix20220218\Symfony\Component\Console\CommandLoader;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException;
/**
* A simple command loader using factories to instantiate commands lazily.
*
* @author Maxime Steinhausser
*/
-class FactoryCommandLoader implements \RectorPrefix20220217\Symfony\Component\Console\CommandLoader\CommandLoaderInterface
+class FactoryCommandLoader implements \RectorPrefix20220218\Symfony\Component\Console\CommandLoader\CommandLoaderInterface
{
/**
* @var mixed[]
@@ -40,10 +40,10 @@ class FactoryCommandLoader implements \RectorPrefix20220217\Symfony\Component\Co
/**
* {@inheritdoc}
*/
- public function get(string $name) : \RectorPrefix20220217\Symfony\Component\Console\Command\Command
+ public function get(string $name) : \RectorPrefix20220218\Symfony\Component\Console\Command\Command
{
if (!isset($this->factories[$name])) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('Command "%s" does not exist.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('Command "%s" does not exist.', $name));
}
$factory = $this->factories[$name];
return $factory();
diff --git a/vendor/symfony/console/Completion/CompletionInput.php b/vendor/symfony/console/Completion/CompletionInput.php
index ecb6cf3c1a0..02e3b58cf27 100644
--- a/vendor/symfony/console/Completion/CompletionInput.php
+++ b/vendor/symfony/console/Completion/CompletionInput.php
@@ -8,12 +8,12 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Completion;
+namespace RectorPrefix20220218\Symfony\Component\Console\Completion;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException;
-use RectorPrefix20220217\Symfony\Component\Console\Input\ArgvInput;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException;
+use RectorPrefix20220218\Symfony\Component\Console\Input\ArgvInput;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputOption;
/**
* An input specialized for shell completion.
*
@@ -22,7 +22,7 @@ use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
*
* @author Wouter de Jong
*/
-final class CompletionInput extends \RectorPrefix20220217\Symfony\Component\Console\Input\ArgvInput
+final class CompletionInput extends \RectorPrefix20220218\Symfony\Component\Console\Input\ArgvInput
{
public const TYPE_ARGUMENT_VALUE = 'argument_value';
public const TYPE_OPTION_VALUE = 'option_value';
@@ -59,7 +59,7 @@ final class CompletionInput extends \RectorPrefix20220217\Symfony\Component\Cons
/**
* {@inheritdoc}
*/
- public function bind(\RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition $definition) : void
+ public function bind(\RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition $definition) : void
{
parent::bind($definition);
$relevantToken = $this->getRelevantToken();
@@ -159,12 +159,12 @@ final class CompletionInput extends \RectorPrefix20220217\Symfony\Component\Cons
{
try {
return parent::parseToken($token, $parseOptions);
- } catch (\RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException $e) {
// suppress errors, completed input is almost never valid
}
return $parseOptions;
}
- private function getOptionFromToken(string $optionToken) : ?\RectorPrefix20220217\Symfony\Component\Console\Input\InputOption
+ private function getOptionFromToken(string $optionToken) : ?\RectorPrefix20220218\Symfony\Component\Console\Input\InputOption
{
$optionName = \ltrim($optionToken, '-');
if (!$optionName) {
diff --git a/vendor/symfony/console/Completion/CompletionSuggestions.php b/vendor/symfony/console/Completion/CompletionSuggestions.php
index b8669fea268..95e05d75729 100644
--- a/vendor/symfony/console/Completion/CompletionSuggestions.php
+++ b/vendor/symfony/console/Completion/CompletionSuggestions.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Completion;
+namespace RectorPrefix20220218\Symfony\Component\Console\Completion;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputOption;
/**
* Stores all completion suggestions for the current input.
*
@@ -28,7 +28,7 @@ final class CompletionSuggestions
*/
public function suggestValue($value)
{
- $this->valueSuggestions[] = !$value instanceof \RectorPrefix20220217\Symfony\Component\Console\Completion\Suggestion ? new \RectorPrefix20220217\Symfony\Component\Console\Completion\Suggestion($value) : $value;
+ $this->valueSuggestions[] = !$value instanceof \RectorPrefix20220218\Symfony\Component\Console\Completion\Suggestion ? new \RectorPrefix20220218\Symfony\Component\Console\Completion\Suggestion($value) : $value;
return $this;
}
/**
@@ -50,7 +50,7 @@ final class CompletionSuggestions
*
* @return $this
*/
- public function suggestOption(\RectorPrefix20220217\Symfony\Component\Console\Input\InputOption $option)
+ public function suggestOption(\RectorPrefix20220218\Symfony\Component\Console\Input\InputOption $option)
{
$this->optionSuggestions[] = $option;
return $this;
diff --git a/vendor/symfony/console/Completion/Output/BashCompletionOutput.php b/vendor/symfony/console/Completion/Output/BashCompletionOutput.php
index 6f0ba596bcf..e40b7dd9df8 100644
--- a/vendor/symfony/console/Completion/Output/BashCompletionOutput.php
+++ b/vendor/symfony/console/Completion/Output/BashCompletionOutput.php
@@ -8,16 +8,16 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Completion\Output;
+namespace RectorPrefix20220218\Symfony\Component\Console\Completion\Output;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* @author Wouter de Jong
*/
-class BashCompletionOutput implements \RectorPrefix20220217\Symfony\Component\Console\Completion\Output\CompletionOutputInterface
+class BashCompletionOutput implements \RectorPrefix20220218\Symfony\Component\Console\Completion\Output\CompletionOutputInterface
{
- public function write(\RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) : void
+ public function write(\RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) : void
{
$values = $suggestions->getValueSuggestions();
foreach ($suggestions->getOptionSuggestions() as $option) {
diff --git a/vendor/symfony/console/Completion/Output/CompletionOutputInterface.php b/vendor/symfony/console/Completion/Output/CompletionOutputInterface.php
index f08c19c93f3..ece3cadc2cf 100644
--- a/vendor/symfony/console/Completion/Output/CompletionOutputInterface.php
+++ b/vendor/symfony/console/Completion/Output/CompletionOutputInterface.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Completion\Output;
+namespace RectorPrefix20220218\Symfony\Component\Console\Completion\Output;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* Transforms the {@see CompletionSuggestions} object into output readable by the shell completion.
*
@@ -19,5 +19,5 @@ use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
*/
interface CompletionOutputInterface
{
- public function write(\RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) : void;
+ public function write(\RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions $suggestions, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) : void;
}
diff --git a/vendor/symfony/console/Completion/Suggestion.php b/vendor/symfony/console/Completion/Suggestion.php
index 95f92c63d43..4c5a894a5a6 100644
--- a/vendor/symfony/console/Completion/Suggestion.php
+++ b/vendor/symfony/console/Completion/Suggestion.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Completion;
+namespace RectorPrefix20220218\Symfony\Component\Console\Completion;
/**
* Represents a single suggested value.
diff --git a/vendor/symfony/console/ConsoleEvents.php b/vendor/symfony/console/ConsoleEvents.php
index 07e35e13de5..2c2183f1507 100644
--- a/vendor/symfony/console/ConsoleEvents.php
+++ b/vendor/symfony/console/ConsoleEvents.php
@@ -8,12 +8,12 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console;
+namespace RectorPrefix20220218\Symfony\Component\Console;
-use RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleCommandEvent;
-use RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleErrorEvent;
-use RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleSignalEvent;
-use RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleTerminateEvent;
+use RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleCommandEvent;
+use RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleErrorEvent;
+use RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleSignalEvent;
+use RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleTerminateEvent;
/**
* Contains all events dispatched by an Application.
*
@@ -57,5 +57,5 @@ final class ConsoleEvents
*
* These aliases can be consumed by RegisterListenersPass.
*/
- public const ALIASES = [\RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleCommandEvent::class => self::COMMAND, \RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleErrorEvent::class => self::ERROR, \RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleSignalEvent::class => self::SIGNAL, \RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleTerminateEvent::class => self::TERMINATE];
+ public const ALIASES = [\RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleCommandEvent::class => self::COMMAND, \RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleErrorEvent::class => self::ERROR, \RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleSignalEvent::class => self::SIGNAL, \RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleTerminateEvent::class => self::TERMINATE];
}
diff --git a/vendor/symfony/console/Cursor.php b/vendor/symfony/console/Cursor.php
index a234f6a9e4f..c8f045a9164 100644
--- a/vendor/symfony/console/Cursor.php
+++ b/vendor/symfony/console/Cursor.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console;
+namespace RectorPrefix20220218\Symfony\Component\Console;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* @author Pierre du Plessis
*/
@@ -21,7 +21,7 @@ final class Cursor
/**
* @param resource|null $input
*/
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, $input = null)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, $input = null)
{
$this->output = $output;
$this->input = $input ?? (\defined('STDIN') ? \STDIN : \fopen('php://input', 'r+'));
diff --git a/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php b/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php
index e7e379fed0c..b5435fa00e8 100644
--- a/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php
+++ b/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php
@@ -8,26 +8,26 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\DependencyInjection;
+namespace RectorPrefix20220218\Symfony\Component\Console\DependencyInjection;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Command\LazyCommand;
-use RectorPrefix20220217\Symfony\Component\Console\CommandLoader\ContainerCommandLoader;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Command\LazyCommand;
+use RectorPrefix20220218\Symfony\Component\Console\CommandLoader\ContainerCommandLoader;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference;
/**
* Registers console commands.
*
* @author Grégoire Pineau
*/
-class AddConsoleCommandPass implements \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
+class AddConsoleCommandPass implements \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
{
- public function process(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container)
+ public function process(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container)
{
$commandServices = $container->findTaggedServiceIds('console.command', \true);
$lazyCommandMap = [];
@@ -41,10 +41,10 @@ class AddConsoleCommandPass implements \RectorPrefix20220217\Symfony\Component\D
$aliases = $tags[0]['command'];
} else {
if (!($r = $container->getReflectionClass($class))) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $id));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $id));
}
- if (!$r->isSubclassOf(\RectorPrefix20220217\Symfony\Component\Console\Command\Command::class)) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service "%s" tagged "%s" must be a subclass of "%s".', $id, 'console.command', \RectorPrefix20220217\Symfony\Component\Console\Command\Command::class));
+ if (!$r->isSubclassOf(\RectorPrefix20220218\Symfony\Component\Console\Command\Command::class)) {
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service "%s" tagged "%s" must be a subclass of "%s".', $id, 'console.command', \RectorPrefix20220218\Symfony\Component\Console\Command\Command::class));
}
$aliases = $class::getDefaultName();
}
@@ -65,7 +65,7 @@ class AddConsoleCommandPass implements \RectorPrefix20220217\Symfony\Component\D
$description = $tags[0]['description'] ?? null;
unset($tags[0]);
$lazyCommandMap[$commandName] = $id;
- $lazyCommandRefs[$id] = new \RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference($id, $class);
+ $lazyCommandRefs[$id] = new \RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference($id, $class);
foreach ($aliases as $alias) {
$lazyCommandMap[$alias] = $id;
}
@@ -85,20 +85,20 @@ class AddConsoleCommandPass implements \RectorPrefix20220217\Symfony\Component\D
}
if (!$description) {
if (!($r = $container->getReflectionClass($class))) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $id));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $id));
}
- if (!$r->isSubclassOf(\RectorPrefix20220217\Symfony\Component\Console\Command\Command::class)) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service "%s" tagged "%s" must be a subclass of "%s".', $id, 'console.command', \RectorPrefix20220217\Symfony\Component\Console\Command\Command::class));
+ if (!$r->isSubclassOf(\RectorPrefix20220218\Symfony\Component\Console\Command\Command::class)) {
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service "%s" tagged "%s" must be a subclass of "%s".', $id, 'console.command', \RectorPrefix20220218\Symfony\Component\Console\Command\Command::class));
}
$description = $class::getDefaultDescription();
}
if ($description) {
$definition->addMethodCall('setDescription', [$description]);
- $container->register('.' . $id . '.lazy', \RectorPrefix20220217\Symfony\Component\Console\Command\LazyCommand::class)->setArguments([$commandName, $aliases, $description, $isHidden, new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($lazyCommandRefs[$id])]);
- $lazyCommandRefs[$id] = new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference('.' . $id . '.lazy');
+ $container->register('.' . $id . '.lazy', \RectorPrefix20220218\Symfony\Component\Console\Command\LazyCommand::class)->setArguments([$commandName, $aliases, $description, $isHidden, new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($lazyCommandRefs[$id])]);
+ $lazyCommandRefs[$id] = new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference('.' . $id . '.lazy');
}
}
- $container->register('console.command_loader', \RectorPrefix20220217\Symfony\Component\Console\CommandLoader\ContainerCommandLoader::class)->setPublic(\true)->addTag('container.no_preload')->setArguments([\RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass::register($container, $lazyCommandRefs), $lazyCommandMap]);
+ $container->register('console.command_loader', \RectorPrefix20220218\Symfony\Component\Console\CommandLoader\ContainerCommandLoader::class)->setPublic(\true)->addTag('container.no_preload')->setArguments([\RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass::register($container, $lazyCommandRefs), $lazyCommandMap]);
$container->setParameter('console.command.ids', $serviceIds);
}
}
diff --git a/vendor/symfony/console/Descriptor/ApplicationDescription.php b/vendor/symfony/console/Descriptor/ApplicationDescription.php
index cb56f9bcaa5..69a4c2b3429 100644
--- a/vendor/symfony/console/Descriptor/ApplicationDescription.php
+++ b/vendor/symfony/console/Descriptor/ApplicationDescription.php
@@ -8,11 +8,11 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Descriptor;
+namespace RectorPrefix20220218\Symfony\Component\Console\Descriptor;
-use RectorPrefix20220217\Symfony\Component\Console\Application;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException;
+use RectorPrefix20220218\Symfony\Component\Console\Application;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException;
/**
* @author Jean-François Simon
*
@@ -42,7 +42,7 @@ class ApplicationDescription
* @var array
*/
private $aliases = [];
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Application $application, string $namespace = null, bool $showHidden = \false)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Application $application, string $namespace = null, bool $showHidden = \false)
{
$this->application = $application;
$this->namespace = $namespace;
@@ -68,10 +68,10 @@ class ApplicationDescription
/**
* @throws CommandNotFoundException
*/
- public function getCommand(string $name) : \RectorPrefix20220217\Symfony\Component\Console\Command\Command
+ public function getCommand(string $name) : \RectorPrefix20220218\Symfony\Component\Console\Command\Command
{
if (!isset($this->commands[$name]) && !isset($this->aliases[$name])) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('Command "%s" does not exist.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('Command "%s" does not exist.', $name));
}
return $this->commands[$name] ?? $this->aliases[$name];
}
diff --git a/vendor/symfony/console/Descriptor/Descriptor.php b/vendor/symfony/console/Descriptor/Descriptor.php
index bc6ffd5e1fb..a2d68d2ded8 100644
--- a/vendor/symfony/console/Descriptor/Descriptor.php
+++ b/vendor/symfony/console/Descriptor/Descriptor.php
@@ -8,21 +8,21 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Descriptor;
+namespace RectorPrefix20220218\Symfony\Component\Console\Descriptor;
-use RectorPrefix20220217\Symfony\Component\Console\Application;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Application;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputOption;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* @author Jean-François Simon
*
* @internal
*/
-abstract class Descriptor implements \RectorPrefix20220217\Symfony\Component\Console\Descriptor\DescriptorInterface
+abstract class Descriptor implements \RectorPrefix20220218\Symfony\Component\Console\Descriptor\DescriptorInterface
{
/**
* @var OutputInterface
@@ -32,27 +32,27 @@ abstract class Descriptor implements \RectorPrefix20220217\Symfony\Component\Con
* {@inheritdoc}
* @param object $object
*/
- public function describe(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, $object, array $options = [])
+ public function describe(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, $object, array $options = [])
{
$this->output = $output;
switch (\true) {
- case $object instanceof \RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument:
+ case $object instanceof \RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument:
$this->describeInputArgument($object, $options);
break;
- case $object instanceof \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption:
+ case $object instanceof \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption:
$this->describeInputOption($object, $options);
break;
- case $object instanceof \RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition:
+ case $object instanceof \RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition:
$this->describeInputDefinition($object, $options);
break;
- case $object instanceof \RectorPrefix20220217\Symfony\Component\Console\Command\Command:
+ case $object instanceof \RectorPrefix20220218\Symfony\Component\Console\Command\Command:
$this->describeCommand($object, $options);
break;
- case $object instanceof \RectorPrefix20220217\Symfony\Component\Console\Application:
+ case $object instanceof \RectorPrefix20220218\Symfony\Component\Console\Application:
$this->describeApplication($object, $options);
break;
default:
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Object of type "%s" is not describable.', \get_debug_type($object)));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Object of type "%s" is not describable.', \get_debug_type($object)));
}
}
/**
@@ -60,26 +60,26 @@ abstract class Descriptor implements \RectorPrefix20220217\Symfony\Component\Con
*/
protected function write(string $content, bool $decorated = \false)
{
- $this->output->write($content, \false, $decorated ? \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::OUTPUT_NORMAL : \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::OUTPUT_RAW);
+ $this->output->write($content, \false, $decorated ? \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::OUTPUT_NORMAL : \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::OUTPUT_RAW);
}
/**
* Describes an InputArgument instance.
*/
- protected abstract function describeInputArgument(\RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument $argument, array $options = []);
+ protected abstract function describeInputArgument(\RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument $argument, array $options = []);
/**
* Describes an InputOption instance.
*/
- protected abstract function describeInputOption(\RectorPrefix20220217\Symfony\Component\Console\Input\InputOption $option, array $options = []);
+ protected abstract function describeInputOption(\RectorPrefix20220218\Symfony\Component\Console\Input\InputOption $option, array $options = []);
/**
* Describes an InputDefinition instance.
*/
- protected abstract function describeInputDefinition(\RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition $definition, array $options = []);
+ protected abstract function describeInputDefinition(\RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition $definition, array $options = []);
/**
* Describes a Command instance.
*/
- protected abstract function describeCommand(\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command, array $options = []);
+ protected abstract function describeCommand(\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command, array $options = []);
/**
* Describes an Application instance.
*/
- protected abstract function describeApplication(\RectorPrefix20220217\Symfony\Component\Console\Application $application, array $options = []);
+ protected abstract function describeApplication(\RectorPrefix20220218\Symfony\Component\Console\Application $application, array $options = []);
}
diff --git a/vendor/symfony/console/Descriptor/DescriptorInterface.php b/vendor/symfony/console/Descriptor/DescriptorInterface.php
index 8b95a7f0f2d..05f40f87442 100644
--- a/vendor/symfony/console/Descriptor/DescriptorInterface.php
+++ b/vendor/symfony/console/Descriptor/DescriptorInterface.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Descriptor;
+namespace RectorPrefix20220218\Symfony\Component\Console\Descriptor;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* Descriptor interface.
*
@@ -21,5 +21,5 @@ interface DescriptorInterface
/**
* @param object $object
*/
- public function describe(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, $object, array $options = []);
+ public function describe(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, $object, array $options = []);
}
diff --git a/vendor/symfony/console/Descriptor/JsonDescriptor.php b/vendor/symfony/console/Descriptor/JsonDescriptor.php
index d4f47994d45..3f13019153e 100644
--- a/vendor/symfony/console/Descriptor/JsonDescriptor.php
+++ b/vendor/symfony/console/Descriptor/JsonDescriptor.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Descriptor;
+namespace RectorPrefix20220218\Symfony\Component\Console\Descriptor;
-use RectorPrefix20220217\Symfony\Component\Console\Application;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
+use RectorPrefix20220218\Symfony\Component\Console\Application;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputOption;
/**
* JSON descriptor.
*
@@ -22,19 +22,19 @@ use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
*
* @internal
*/
-class JsonDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Descriptor\Descriptor
+class JsonDescriptor extends \RectorPrefix20220218\Symfony\Component\Console\Descriptor\Descriptor
{
/**
* {@inheritdoc}
*/
- protected function describeInputArgument(\RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument $argument, array $options = [])
+ protected function describeInputArgument(\RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument $argument, array $options = [])
{
$this->writeData($this->getInputArgumentData($argument), $options);
}
/**
* {@inheritdoc}
*/
- protected function describeInputOption(\RectorPrefix20220217\Symfony\Component\Console\Input\InputOption $option, array $options = [])
+ protected function describeInputOption(\RectorPrefix20220218\Symfony\Component\Console\Input\InputOption $option, array $options = [])
{
$this->writeData($this->getInputOptionData($option), $options);
if ($option->isNegatable()) {
@@ -44,24 +44,24 @@ class JsonDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Des
/**
* {@inheritdoc}
*/
- protected function describeInputDefinition(\RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition $definition, array $options = [])
+ protected function describeInputDefinition(\RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition $definition, array $options = [])
{
$this->writeData($this->getInputDefinitionData($definition), $options);
}
/**
* {@inheritdoc}
*/
- protected function describeCommand(\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command, array $options = [])
+ protected function describeCommand(\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command, array $options = [])
{
$this->writeData($this->getCommandData($command, $options['short'] ?? \false), $options);
}
/**
* {@inheritdoc}
*/
- protected function describeApplication(\RectorPrefix20220217\Symfony\Component\Console\Application $application, array $options = [])
+ protected function describeApplication(\RectorPrefix20220218\Symfony\Component\Console\Application $application, array $options = [])
{
$describedNamespace = $options['namespace'] ?? null;
- $description = new \RectorPrefix20220217\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace, \true);
+ $description = new \RectorPrefix20220218\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace, \true);
$commands = [];
foreach ($description->getCommands() as $command) {
$commands[] = $this->getCommandData($command, $options['short'] ?? \false);
@@ -89,15 +89,15 @@ class JsonDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Des
$flags = $options['json_encoding'] ?? 0;
$this->write(\json_encode($data, $flags));
}
- private function getInputArgumentData(\RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument $argument) : array
+ private function getInputArgumentData(\RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument $argument) : array
{
return ['name' => $argument->getName(), 'is_required' => $argument->isRequired(), 'is_array' => $argument->isArray(), 'description' => \preg_replace('/\\s*[\\r\\n]\\s*/', ' ', $argument->getDescription()), 'default' => \INF === $argument->getDefault() ? 'INF' : $argument->getDefault()];
}
- private function getInputOptionData(\RectorPrefix20220217\Symfony\Component\Console\Input\InputOption $option, bool $negated = \false) : array
+ private function getInputOptionData(\RectorPrefix20220218\Symfony\Component\Console\Input\InputOption $option, bool $negated = \false) : array
{
return $negated ? ['name' => '--no-' . $option->getName(), 'shortcut' => '', 'accept_value' => \false, 'is_value_required' => \false, 'is_multiple' => \false, 'description' => 'Negate the "--' . $option->getName() . '" option', 'default' => \false] : ['name' => '--' . $option->getName(), 'shortcut' => $option->getShortcut() ? '-' . \str_replace('|', '|-', $option->getShortcut()) : '', 'accept_value' => $option->acceptValue(), 'is_value_required' => $option->isValueRequired(), 'is_multiple' => $option->isArray(), 'description' => \preg_replace('/\\s*[\\r\\n]\\s*/', ' ', $option->getDescription()), 'default' => \INF === $option->getDefault() ? 'INF' : $option->getDefault()];
}
- private function getInputDefinitionData(\RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition $definition) : array
+ private function getInputDefinitionData(\RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition $definition) : array
{
$inputArguments = [];
foreach ($definition->getArguments() as $name => $argument) {
@@ -112,7 +112,7 @@ class JsonDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Des
}
return ['arguments' => $inputArguments, 'options' => $inputOptions];
}
- private function getCommandData(\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command, bool $short = \false) : array
+ private function getCommandData(\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command, bool $short = \false) : array
{
$data = ['name' => $command->getName(), 'description' => $command->getDescription()];
if ($short) {
diff --git a/vendor/symfony/console/Descriptor/MarkdownDescriptor.php b/vendor/symfony/console/Descriptor/MarkdownDescriptor.php
index c7f0be0a4e6..d30563b7a1e 100644
--- a/vendor/symfony/console/Descriptor/MarkdownDescriptor.php
+++ b/vendor/symfony/console/Descriptor/MarkdownDescriptor.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Descriptor;
+namespace RectorPrefix20220218\Symfony\Component\Console\Descriptor;
-use RectorPrefix20220217\Symfony\Component\Console\Application;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Application;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\Helper;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputOption;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* Markdown descriptor.
*
@@ -24,13 +24,13 @@ use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
*
* @internal
*/
-class MarkdownDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Descriptor\Descriptor
+class MarkdownDescriptor extends \RectorPrefix20220218\Symfony\Component\Console\Descriptor\Descriptor
{
/**
* {@inheritdoc}
* @param object $object
*/
- public function describe(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, $object, array $options = [])
+ public function describe(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, $object, array $options = [])
{
$decorated = $output->isDecorated();
$output->setDecorated(\false);
@@ -47,14 +47,14 @@ class MarkdownDescriptor extends \RectorPrefix20220217\Symfony\Component\Console
/**
* {@inheritdoc}
*/
- protected function describeInputArgument(\RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument $argument, array $options = [])
+ protected function describeInputArgument(\RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument $argument, array $options = [])
{
$this->write('#### `' . ($argument->getName() ?: '') . "`\n\n" . ($argument->getDescription() ? \preg_replace('/\\s*[\\r\\n]\\s*/', "\n", $argument->getDescription()) . "\n\n" : '') . '* Is required: ' . ($argument->isRequired() ? 'yes' : 'no') . "\n" . '* Is array: ' . ($argument->isArray() ? 'yes' : 'no') . "\n" . '* Default: `' . \str_replace("\n", '', \var_export($argument->getDefault(), \true)) . '`');
}
/**
* {@inheritdoc}
*/
- protected function describeInputOption(\RectorPrefix20220217\Symfony\Component\Console\Input\InputOption $option, array $options = [])
+ protected function describeInputOption(\RectorPrefix20220218\Symfony\Component\Console\Input\InputOption $option, array $options = [])
{
$name = '--' . $option->getName();
if ($option->isNegatable()) {
@@ -68,7 +68,7 @@ class MarkdownDescriptor extends \RectorPrefix20220217\Symfony\Component\Console
/**
* {@inheritdoc}
*/
- protected function describeInputDefinition(\RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition $definition, array $options = [])
+ protected function describeInputDefinition(\RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition $definition, array $options = [])
{
if ($showArguments = \count($definition->getArguments()) > 0) {
$this->write('### Arguments');
@@ -95,16 +95,16 @@ class MarkdownDescriptor extends \RectorPrefix20220217\Symfony\Component\Console
/**
* {@inheritdoc}
*/
- protected function describeCommand(\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command, array $options = [])
+ protected function describeCommand(\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command, array $options = [])
{
if ($options['short'] ?? \false) {
- $this->write('`' . $command->getName() . "`\n" . \str_repeat('-', \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($command->getName()) + 2) . "\n\n" . ($command->getDescription() ? $command->getDescription() . "\n\n" : '') . '### Usage' . "\n\n" . \array_reduce($command->getAliases(), function ($carry, $usage) {
+ $this->write('`' . $command->getName() . "`\n" . \str_repeat('-', \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($command->getName()) + 2) . "\n\n" . ($command->getDescription() ? $command->getDescription() . "\n\n" : '') . '### Usage' . "\n\n" . \array_reduce($command->getAliases(), function ($carry, $usage) {
return $carry . '* `' . $usage . '`' . "\n";
}));
return;
}
$command->mergeApplicationDefinition(\false);
- $this->write('`' . $command->getName() . "`\n" . \str_repeat('-', \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($command->getName()) + 2) . "\n\n" . ($command->getDescription() ? $command->getDescription() . "\n\n" : '') . '### Usage' . "\n\n" . \array_reduce(\array_merge([$command->getSynopsis()], $command->getAliases(), $command->getUsages()), function ($carry, $usage) {
+ $this->write('`' . $command->getName() . "`\n" . \str_repeat('-', \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($command->getName()) + 2) . "\n\n" . ($command->getDescription() ? $command->getDescription() . "\n\n" : '') . '### Usage' . "\n\n" . \array_reduce(\array_merge([$command->getSynopsis()], $command->getAliases(), $command->getUsages()), function ($carry, $usage) {
return $carry . '* `' . $usage . '`' . "\n";
}));
if ($help = $command->getProcessedHelp()) {
@@ -120,14 +120,14 @@ class MarkdownDescriptor extends \RectorPrefix20220217\Symfony\Component\Console
/**
* {@inheritdoc}
*/
- protected function describeApplication(\RectorPrefix20220217\Symfony\Component\Console\Application $application, array $options = [])
+ protected function describeApplication(\RectorPrefix20220218\Symfony\Component\Console\Application $application, array $options = [])
{
$describedNamespace = $options['namespace'] ?? null;
- $description = new \RectorPrefix20220217\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace);
+ $description = new \RectorPrefix20220218\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace);
$title = $this->getApplicationTitle($application);
- $this->write($title . "\n" . \str_repeat('=', \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($title)));
+ $this->write($title . "\n" . \str_repeat('=', \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($title)));
foreach ($description->getNamespaces() as $namespace) {
- if (\RectorPrefix20220217\Symfony\Component\Console\Descriptor\ApplicationDescription::GLOBAL_NAMESPACE !== $namespace['id']) {
+ if (\RectorPrefix20220218\Symfony\Component\Console\Descriptor\ApplicationDescription::GLOBAL_NAMESPACE !== $namespace['id']) {
$this->write("\n\n");
$this->write('**' . $namespace['id'] . ':**');
}
@@ -143,7 +143,7 @@ class MarkdownDescriptor extends \RectorPrefix20220217\Symfony\Component\Console
}
}
}
- private function getApplicationTitle(\RectorPrefix20220217\Symfony\Component\Console\Application $application) : string
+ private function getApplicationTitle(\RectorPrefix20220218\Symfony\Component\Console\Application $application) : string
{
if ('UNKNOWN' !== $application->getName()) {
if ('UNKNOWN' !== $application->getVersion()) {
diff --git a/vendor/symfony/console/Descriptor/TextDescriptor.php b/vendor/symfony/console/Descriptor/TextDescriptor.php
index b07a7ec2a89..ca9aaa1ccbb 100644
--- a/vendor/symfony/console/Descriptor/TextDescriptor.php
+++ b/vendor/symfony/console/Descriptor/TextDescriptor.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Descriptor;
+namespace RectorPrefix20220218\Symfony\Component\Console\Descriptor;
-use RectorPrefix20220217\Symfony\Component\Console\Application;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
+use RectorPrefix20220218\Symfony\Component\Console\Application;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\Helper;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputOption;
/**
* Text descriptor.
*
@@ -24,19 +24,19 @@ use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
*
* @internal
*/
-class TextDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Descriptor\Descriptor
+class TextDescriptor extends \RectorPrefix20220218\Symfony\Component\Console\Descriptor\Descriptor
{
/**
* {@inheritdoc}
*/
- protected function describeInputArgument(\RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument $argument, array $options = [])
+ protected function describeInputArgument(\RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument $argument, array $options = [])
{
if (null !== $argument->getDefault() && (!\is_array($argument->getDefault()) || \count($argument->getDefault()))) {
$default = \sprintf(' [default: %s]', $this->formatDefaultValue($argument->getDefault()));
} else {
$default = '';
}
- $totalWidth = $options['total_width'] ?? \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($argument->getName());
+ $totalWidth = $options['total_width'] ?? \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($argument->getName());
$spacingWidth = $totalWidth - \strlen($argument->getName());
$this->writeText(\sprintf(
' %s %s%s%s',
@@ -50,7 +50,7 @@ class TextDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Des
/**
* {@inheritdoc}
*/
- protected function describeInputOption(\RectorPrefix20220217\Symfony\Component\Console\Input\InputOption $option, array $options = [])
+ protected function describeInputOption(\RectorPrefix20220218\Symfony\Component\Console\Input\InputOption $option, array $options = [])
{
if ($option->acceptValue() && null !== $option->getDefault() && (!\is_array($option->getDefault()) || \count($option->getDefault()))) {
$default = \sprintf(' [default: %s]', $this->formatDefaultValue($option->getDefault()));
@@ -66,7 +66,7 @@ class TextDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Des
}
$totalWidth = $options['total_width'] ?? $this->calculateTotalWidthForOptions([$option]);
$synopsis = \sprintf('%s%s', $option->getShortcut() ? \sprintf('-%s, ', $option->getShortcut()) : ' ', \sprintf($option->isNegatable() ? '--%1$s|--no-%1$s' : '--%1$s%2$s', $option->getName(), $value));
- $spacingWidth = $totalWidth - \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($synopsis);
+ $spacingWidth = $totalWidth - \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($synopsis);
$this->writeText(\sprintf(
' %s %s%s%s%s',
$synopsis,
@@ -80,11 +80,11 @@ class TextDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Des
/**
* {@inheritdoc}
*/
- protected function describeInputDefinition(\RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition $definition, array $options = [])
+ protected function describeInputDefinition(\RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition $definition, array $options = [])
{
$totalWidth = $this->calculateTotalWidthForOptions($definition->getOptions());
foreach ($definition->getArguments() as $argument) {
- $totalWidth = \max($totalWidth, \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($argument->getName()));
+ $totalWidth = \max($totalWidth, \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($argument->getName()));
}
if ($definition->getArguments()) {
$this->writeText('Arguments:', $options);
@@ -117,7 +117,7 @@ class TextDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Des
/**
* {@inheritdoc}
*/
- protected function describeCommand(\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command, array $options = [])
+ protected function describeCommand(\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command, array $options = [])
{
$command->mergeApplicationDefinition(\false);
if ($description = $command->getDescription()) {
@@ -129,7 +129,7 @@ class TextDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Des
$this->writeText('Usage:', $options);
foreach (\array_merge([$command->getSynopsis(\true)], $command->getAliases(), $command->getUsages()) as $usage) {
$this->writeText("\n");
- $this->writeText(' ' . \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter::escape($usage), $options);
+ $this->writeText(' ' . \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter::escape($usage), $options);
}
$this->writeText("\n");
$definition = $command->getDefinition();
@@ -150,10 +150,10 @@ class TextDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Des
/**
* {@inheritdoc}
*/
- protected function describeApplication(\RectorPrefix20220217\Symfony\Component\Console\Application $application, array $options = [])
+ protected function describeApplication(\RectorPrefix20220218\Symfony\Component\Console\Application $application, array $options = [])
{
$describedNamespace = $options['namespace'] ?? null;
- $description = new \RectorPrefix20220217\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace);
+ $description = new \RectorPrefix20220218\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace);
if (isset($options['raw_text']) && $options['raw_text']) {
$width = $this->getColumnWidth($description->getCommands());
foreach ($description->getCommands() as $command) {
@@ -166,7 +166,7 @@ class TextDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Des
}
$this->writeText("Usage:\n", $options);
$this->writeText(" command [options] [arguments]\n\n", $options);
- $this->describeInputDefinition(new \RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition($application->getDefinition()->getOptions()), $options);
+ $this->describeInputDefinition(new \RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition($application->getDefinition()->getOptions()), $options);
$this->writeText("\n");
$this->writeText("\n");
$commands = $description->getCommands();
@@ -194,13 +194,13 @@ class TextDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Des
if (!$namespace['commands']) {
continue;
}
- if (!$describedNamespace && \RectorPrefix20220217\Symfony\Component\Console\Descriptor\ApplicationDescription::GLOBAL_NAMESPACE !== $namespace['id']) {
+ if (!$describedNamespace && \RectorPrefix20220218\Symfony\Component\Console\Descriptor\ApplicationDescription::GLOBAL_NAMESPACE !== $namespace['id']) {
$this->writeText("\n");
$this->writeText(' ' . $namespace['id'] . '', $options);
}
foreach ($namespace['commands'] as $name) {
$this->writeText("\n");
- $spacingWidth = $width - \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($name);
+ $spacingWidth = $width - \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($name);
$command = $commands[$name];
$commandAliases = $name === $command->getName() ? $this->getCommandAliasesText($command) : '';
$this->writeText(\sprintf(' %s%s%s', $name, \str_repeat(' ', $spacingWidth), $commandAliases . $command->getDescription()), $options);
@@ -219,7 +219,7 @@ class TextDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Des
/**
* Formats command aliases to show them in the command description.
*/
- private function getCommandAliasesText(\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command) : string
+ private function getCommandAliasesText(\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command) : string
{
$text = '';
$aliases = $command->getAliases();
@@ -238,11 +238,11 @@ class TextDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Des
return 'INF';
}
if (\is_string($default)) {
- $default = \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter::escape($default);
+ $default = \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter::escape($default);
} elseif (\is_array($default)) {
foreach ($default as $key => $value) {
if (\is_string($value)) {
- $default[$key] = \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter::escape($value);
+ $default[$key] = \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter::escape($value);
}
}
}
@@ -255,13 +255,13 @@ class TextDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Des
{
$widths = [];
foreach ($commands as $command) {
- if ($command instanceof \RectorPrefix20220217\Symfony\Component\Console\Command\Command) {
- $widths[] = \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($command->getName());
+ if ($command instanceof \RectorPrefix20220218\Symfony\Component\Console\Command\Command) {
+ $widths[] = \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($command->getName());
foreach ($command->getAliases() as $alias) {
- $widths[] = \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($alias);
+ $widths[] = \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($alias);
}
} else {
- $widths[] = \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($command);
+ $widths[] = \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($command);
}
}
return $widths ? \max($widths) + 2 : 0;
@@ -274,12 +274,12 @@ class TextDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Des
$totalWidth = 0;
foreach ($options as $option) {
// "-" + shortcut + ", --" + name
- $nameLength = 1 + \max(\RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($option->getShortcut()), 1) + 4 + \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($option->getName());
+ $nameLength = 1 + \max(\RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($option->getShortcut()), 1) + 4 + \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($option->getName());
if ($option->isNegatable()) {
- $nameLength += 6 + \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($option->getName());
+ $nameLength += 6 + \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($option->getName());
// |--no- + name
} elseif ($option->acceptValue()) {
- $valueLength = 1 + \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($option->getName());
+ $valueLength = 1 + \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($option->getName());
// = + value
$valueLength += $option->isValueOptional() ? 2 : 0;
// [ + ]
diff --git a/vendor/symfony/console/Descriptor/XmlDescriptor.php b/vendor/symfony/console/Descriptor/XmlDescriptor.php
index 16004a26894..4e4b5ae7cf1 100644
--- a/vendor/symfony/console/Descriptor/XmlDescriptor.php
+++ b/vendor/symfony/console/Descriptor/XmlDescriptor.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Descriptor;
+namespace RectorPrefix20220218\Symfony\Component\Console\Descriptor;
-use RectorPrefix20220217\Symfony\Component\Console\Application;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
+use RectorPrefix20220218\Symfony\Component\Console\Application;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputOption;
/**
* XML descriptor.
*
@@ -22,9 +22,9 @@ use RectorPrefix20220217\Symfony\Component\Console\Input\InputOption;
*
* @internal
*/
-class XmlDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Descriptor\Descriptor
+class XmlDescriptor extends \RectorPrefix20220218\Symfony\Component\Console\Descriptor\Descriptor
{
- public function getInputDefinitionDocument(\RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition $definition) : \DOMDocument
+ public function getInputDefinitionDocument(\RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition $definition) : \DOMDocument
{
$dom = new \DOMDocument('1.0', 'UTF-8');
$dom->appendChild($definitionXML = $dom->createElement('definition'));
@@ -38,7 +38,7 @@ class XmlDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Desc
}
return $dom;
}
- public function getCommandDocument(\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command, bool $short = \false) : \DOMDocument
+ public function getCommandDocument(\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command, bool $short = \false) : \DOMDocument
{
$dom = new \DOMDocument('1.0', 'UTF-8');
$dom->appendChild($commandXML = $dom->createElement('command'));
@@ -64,7 +64,7 @@ class XmlDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Desc
}
return $dom;
}
- public function getApplicationDocument(\RectorPrefix20220217\Symfony\Component\Console\Application $application, string $namespace = null, bool $short = \false) : \DOMDocument
+ public function getApplicationDocument(\RectorPrefix20220218\Symfony\Component\Console\Application $application, string $namespace = null, bool $short = \false) : \DOMDocument
{
$dom = new \DOMDocument('1.0', 'UTF-8');
$dom->appendChild($rootXml = $dom->createElement('symfony'));
@@ -75,7 +75,7 @@ class XmlDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Desc
}
}
$rootXml->appendChild($commandsXML = $dom->createElement('commands'));
- $description = new \RectorPrefix20220217\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $namespace, \true);
+ $description = new \RectorPrefix20220218\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $namespace, \true);
if ($namespace) {
$commandsXML->setAttribute('namespace', $namespace);
}
@@ -98,35 +98,35 @@ class XmlDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Desc
/**
* {@inheritdoc}
*/
- protected function describeInputArgument(\RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument $argument, array $options = [])
+ protected function describeInputArgument(\RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument $argument, array $options = [])
{
$this->writeDocument($this->getInputArgumentDocument($argument));
}
/**
* {@inheritdoc}
*/
- protected function describeInputOption(\RectorPrefix20220217\Symfony\Component\Console\Input\InputOption $option, array $options = [])
+ protected function describeInputOption(\RectorPrefix20220218\Symfony\Component\Console\Input\InputOption $option, array $options = [])
{
$this->writeDocument($this->getInputOptionDocument($option));
}
/**
* {@inheritdoc}
*/
- protected function describeInputDefinition(\RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition $definition, array $options = [])
+ protected function describeInputDefinition(\RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition $definition, array $options = [])
{
$this->writeDocument($this->getInputDefinitionDocument($definition));
}
/**
* {@inheritdoc}
*/
- protected function describeCommand(\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command, array $options = [])
+ protected function describeCommand(\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command, array $options = [])
{
$this->writeDocument($this->getCommandDocument($command, $options['short'] ?? \false));
}
/**
* {@inheritdoc}
*/
- protected function describeApplication(\RectorPrefix20220217\Symfony\Component\Console\Application $application, array $options = [])
+ protected function describeApplication(\RectorPrefix20220218\Symfony\Component\Console\Application $application, array $options = [])
{
$this->writeDocument($this->getApplicationDocument($application, $options['namespace'] ?? null, $options['short'] ?? \false));
}
@@ -147,7 +147,7 @@ class XmlDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Desc
$dom->formatOutput = \true;
$this->write($dom->saveXML());
}
- private function getInputArgumentDocument(\RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument $argument) : \DOMDocument
+ private function getInputArgumentDocument(\RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument $argument) : \DOMDocument
{
$dom = new \DOMDocument('1.0', 'UTF-8');
$dom->appendChild($objectXML = $dom->createElement('argument'));
@@ -164,7 +164,7 @@ class XmlDescriptor extends \RectorPrefix20220217\Symfony\Component\Console\Desc
}
return $dom;
}
- private function getInputOptionDocument(\RectorPrefix20220217\Symfony\Component\Console\Input\InputOption $option) : \DOMDocument
+ private function getInputOptionDocument(\RectorPrefix20220218\Symfony\Component\Console\Input\InputOption $option) : \DOMDocument
{
$dom = new \DOMDocument('1.0', 'UTF-8');
$dom->appendChild($objectXML = $dom->createElement('option'));
diff --git a/vendor/symfony/console/Event/ConsoleCommandEvent.php b/vendor/symfony/console/Event/ConsoleCommandEvent.php
index 99c9f8002d2..10c948545e5 100644
--- a/vendor/symfony/console/Event/ConsoleCommandEvent.php
+++ b/vendor/symfony/console/Event/ConsoleCommandEvent.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Event;
+namespace RectorPrefix20220218\Symfony\Component\Console\Event;
/**
* Allows to do things before the command is executed, like skipping the command or changing the input.
*
* @author Fabien Potencier
*/
-final class ConsoleCommandEvent extends \RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleEvent
+final class ConsoleCommandEvent extends \RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleEvent
{
/**
* The return code for skipped commands, this will also be passed into the terminate event.
diff --git a/vendor/symfony/console/Event/ConsoleErrorEvent.php b/vendor/symfony/console/Event/ConsoleErrorEvent.php
index ce5bb02bfa4..2fb2437dfbd 100644
--- a/vendor/symfony/console/Event/ConsoleErrorEvent.php
+++ b/vendor/symfony/console/Event/ConsoleErrorEvent.php
@@ -8,21 +8,21 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Event;
+namespace RectorPrefix20220218\Symfony\Component\Console\Event;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* Allows to handle throwables thrown while running a command.
*
* @author Wouter de Jong
*/
-final class ConsoleErrorEvent extends \RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleEvent
+final class ConsoleErrorEvent extends \RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleEvent
{
private \Throwable $error;
private int $exitCode;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, \Throwable $error, \RectorPrefix20220217\Symfony\Component\Console\Command\Command $command = null)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, \Throwable $error, \RectorPrefix20220218\Symfony\Component\Console\Command\Command $command = null)
{
parent::__construct($command, $input, $output);
$this->error = $error;
diff --git a/vendor/symfony/console/Event/ConsoleEvent.php b/vendor/symfony/console/Event/ConsoleEvent.php
index 65a280a5c6a..9a8422ffabf 100644
--- a/vendor/symfony/console/Event/ConsoleEvent.php
+++ b/vendor/symfony/console/Event/ConsoleEvent.php
@@ -8,23 +8,23 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Event;
+namespace RectorPrefix20220218\Symfony\Component\Console\Event;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
-use RectorPrefix20220217\Symfony\Contracts\EventDispatcher\Event;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Contracts\EventDispatcher\Event;
/**
* Allows to inspect input and output of a command.
*
* @author Francesco Levorato
*/
-class ConsoleEvent extends \RectorPrefix20220217\Symfony\Contracts\EventDispatcher\Event
+class ConsoleEvent extends \RectorPrefix20220218\Symfony\Contracts\EventDispatcher\Event
{
protected $command;
private $input;
private $output;
- public function __construct(?\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command, \RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output)
+ public function __construct(?\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command, \RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output)
{
$this->command = $command;
$this->input = $input;
@@ -33,21 +33,21 @@ class ConsoleEvent extends \RectorPrefix20220217\Symfony\Contracts\EventDispatch
/**
* Gets the command that is executed.
*/
- public function getCommand() : ?\RectorPrefix20220217\Symfony\Component\Console\Command\Command
+ public function getCommand() : ?\RectorPrefix20220218\Symfony\Component\Console\Command\Command
{
return $this->command;
}
/**
* Gets the input instance.
*/
- public function getInput() : \RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface
+ public function getInput() : \RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface
{
return $this->input;
}
/**
* Gets the output instance.
*/
- public function getOutput() : \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface
+ public function getOutput() : \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface
{
return $this->output;
}
diff --git a/vendor/symfony/console/Event/ConsoleSignalEvent.php b/vendor/symfony/console/Event/ConsoleSignalEvent.php
index 4058703d297..08f7d496008 100644
--- a/vendor/symfony/console/Event/ConsoleSignalEvent.php
+++ b/vendor/symfony/console/Event/ConsoleSignalEvent.php
@@ -8,18 +8,18 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Event;
+namespace RectorPrefix20220218\Symfony\Component\Console\Event;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* @author marie
*/
-final class ConsoleSignalEvent extends \RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleEvent
+final class ConsoleSignalEvent extends \RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleEvent
{
private int $handlingSignal;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command, \RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, int $handlingSignal)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command, \RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, int $handlingSignal)
{
parent::__construct($command, $input, $output);
$this->handlingSignal = $handlingSignal;
diff --git a/vendor/symfony/console/Event/ConsoleTerminateEvent.php b/vendor/symfony/console/Event/ConsoleTerminateEvent.php
index 7483b969523..24e2a9472a7 100644
--- a/vendor/symfony/console/Event/ConsoleTerminateEvent.php
+++ b/vendor/symfony/console/Event/ConsoleTerminateEvent.php
@@ -8,20 +8,20 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Event;
+namespace RectorPrefix20220218\Symfony\Component\Console\Event;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* Allows to manipulate the exit code of a command after its execution.
*
* @author Francesco Levorato
*/
-final class ConsoleTerminateEvent extends \RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleEvent
+final class ConsoleTerminateEvent extends \RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleEvent
{
private int $exitCode;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command, \RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, int $exitCode)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command, \RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, int $exitCode)
{
parent::__construct($command, $input, $output);
$this->setExitCode($exitCode);
diff --git a/vendor/symfony/console/EventListener/ErrorListener.php b/vendor/symfony/console/EventListener/ErrorListener.php
index 558a91d2015..bcbb3e31f9a 100644
--- a/vendor/symfony/console/EventListener/ErrorListener.php
+++ b/vendor/symfony/console/EventListener/ErrorListener.php
@@ -8,26 +8,26 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\EventListener;
+namespace RectorPrefix20220218\Symfony\Component\Console\EventListener;
-use RectorPrefix20220217\Psr\Log\LoggerInterface;
-use RectorPrefix20220217\Symfony\Component\Console\ConsoleEvents;
-use RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleErrorEvent;
-use RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleEvent;
-use RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleTerminateEvent;
-use RectorPrefix20220217\Symfony\Component\EventDispatcher\EventSubscriberInterface;
+use RectorPrefix20220218\Psr\Log\LoggerInterface;
+use RectorPrefix20220218\Symfony\Component\Console\ConsoleEvents;
+use RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleErrorEvent;
+use RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleEvent;
+use RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleTerminateEvent;
+use RectorPrefix20220218\Symfony\Component\EventDispatcher\EventSubscriberInterface;
/**
* @author James Halsall
* @author Robin Chalas
*/
-class ErrorListener implements \RectorPrefix20220217\Symfony\Component\EventDispatcher\EventSubscriberInterface
+class ErrorListener implements \RectorPrefix20220218\Symfony\Component\EventDispatcher\EventSubscriberInterface
{
private $logger;
- public function __construct(\RectorPrefix20220217\Psr\Log\LoggerInterface $logger = null)
+ public function __construct(\RectorPrefix20220218\Psr\Log\LoggerInterface $logger = null)
{
$this->logger = $logger;
}
- public function onConsoleError(\RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleErrorEvent $event)
+ public function onConsoleError(\RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleErrorEvent $event)
{
if (null === $this->logger) {
return;
@@ -39,7 +39,7 @@ class ErrorListener implements \RectorPrefix20220217\Symfony\Component\EventDisp
}
$this->logger->critical('Error thrown while running command "{command}". Message: "{message}"', ['exception' => $error, 'command' => $inputString, 'message' => $error->getMessage()]);
}
- public function onConsoleTerminate(\RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleTerminateEvent $event)
+ public function onConsoleTerminate(\RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleTerminateEvent $event)
{
if (null === $this->logger) {
return;
@@ -56,9 +56,9 @@ class ErrorListener implements \RectorPrefix20220217\Symfony\Component\EventDisp
}
public static function getSubscribedEvents() : array
{
- return [\RectorPrefix20220217\Symfony\Component\Console\ConsoleEvents::ERROR => ['onConsoleError', -128], \RectorPrefix20220217\Symfony\Component\Console\ConsoleEvents::TERMINATE => ['onConsoleTerminate', -128]];
+ return [\RectorPrefix20220218\Symfony\Component\Console\ConsoleEvents::ERROR => ['onConsoleError', -128], \RectorPrefix20220218\Symfony\Component\Console\ConsoleEvents::TERMINATE => ['onConsoleTerminate', -128]];
}
- private static function getInputString(\RectorPrefix20220217\Symfony\Component\Console\Event\ConsoleEvent $event) : ?string
+ private static function getInputString(\RectorPrefix20220218\Symfony\Component\Console\Event\ConsoleEvent $event) : ?string
{
$commandName = $event->getCommand() ? $event->getCommand()->getName() : null;
$input = $event->getInput();
diff --git a/vendor/symfony/console/Exception/CommandNotFoundException.php b/vendor/symfony/console/Exception/CommandNotFoundException.php
index 342bfcca8ae..10b6ab0b475 100644
--- a/vendor/symfony/console/Exception/CommandNotFoundException.php
+++ b/vendor/symfony/console/Exception/CommandNotFoundException.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Console\Exception;
/**
* Represents an incorrect command name typed in the console.
*
* @author Jérôme Tamarelle
*/
-class CommandNotFoundException extends \InvalidArgumentException implements \RectorPrefix20220217\Symfony\Component\Console\Exception\ExceptionInterface
+class CommandNotFoundException extends \InvalidArgumentException implements \RectorPrefix20220218\Symfony\Component\Console\Exception\ExceptionInterface
{
/**
* @var mixed[]
diff --git a/vendor/symfony/console/Exception/ExceptionInterface.php b/vendor/symfony/console/Exception/ExceptionInterface.php
index b4c54071211..819b432ede1 100644
--- a/vendor/symfony/console/Exception/ExceptionInterface.php
+++ b/vendor/symfony/console/Exception/ExceptionInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Console\Exception;
/**
* ExceptionInterface.
diff --git a/vendor/symfony/console/Exception/InvalidArgumentException.php b/vendor/symfony/console/Exception/InvalidArgumentException.php
index 5bf276f19e1..9d9dc8ed9d0 100644
--- a/vendor/symfony/console/Exception/InvalidArgumentException.php
+++ b/vendor/symfony/console/Exception/InvalidArgumentException.php
@@ -8,11 +8,11 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Console\Exception;
/**
* @author Jérôme Tamarelle
*/
-class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20220217\Symfony\Component\Console\Exception\ExceptionInterface
+class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20220218\Symfony\Component\Console\Exception\ExceptionInterface
{
}
diff --git a/vendor/symfony/console/Exception/InvalidOptionException.php b/vendor/symfony/console/Exception/InvalidOptionException.php
index 7fd830543fa..a0f8da76980 100644
--- a/vendor/symfony/console/Exception/InvalidOptionException.php
+++ b/vendor/symfony/console/Exception/InvalidOptionException.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Console\Exception;
/**
* Represents an incorrect option name typed in the console.
*
* @author Jérôme Tamarelle
*/
-class InvalidOptionException extends \InvalidArgumentException implements \RectorPrefix20220217\Symfony\Component\Console\Exception\ExceptionInterface
+class InvalidOptionException extends \InvalidArgumentException implements \RectorPrefix20220218\Symfony\Component\Console\Exception\ExceptionInterface
{
}
diff --git a/vendor/symfony/console/Exception/LogicException.php b/vendor/symfony/console/Exception/LogicException.php
index 343015da19e..628e3772a11 100644
--- a/vendor/symfony/console/Exception/LogicException.php
+++ b/vendor/symfony/console/Exception/LogicException.php
@@ -8,11 +8,11 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Console\Exception;
/**
* @author Jérôme Tamarelle
*/
-class LogicException extends \LogicException implements \RectorPrefix20220217\Symfony\Component\Console\Exception\ExceptionInterface
+class LogicException extends \LogicException implements \RectorPrefix20220218\Symfony\Component\Console\Exception\ExceptionInterface
{
}
diff --git a/vendor/symfony/console/Exception/MissingInputException.php b/vendor/symfony/console/Exception/MissingInputException.php
index 3858fd2b8be..818537c5825 100644
--- a/vendor/symfony/console/Exception/MissingInputException.php
+++ b/vendor/symfony/console/Exception/MissingInputException.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Console\Exception;
/**
* Represents failure to read input from stdin.
*
* @author Gabriel Ostrolucký
*/
-class MissingInputException extends \RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException implements \RectorPrefix20220217\Symfony\Component\Console\Exception\ExceptionInterface
+class MissingInputException extends \RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException implements \RectorPrefix20220218\Symfony\Component\Console\Exception\ExceptionInterface
{
}
diff --git a/vendor/symfony/console/Exception/NamespaceNotFoundException.php b/vendor/symfony/console/Exception/NamespaceNotFoundException.php
index bb01259513a..54955601a19 100644
--- a/vendor/symfony/console/Exception/NamespaceNotFoundException.php
+++ b/vendor/symfony/console/Exception/NamespaceNotFoundException.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Console\Exception;
/**
* Represents an incorrect namespace typed in the console.
*
* @author Pierre du Plessis
*/
-class NamespaceNotFoundException extends \RectorPrefix20220217\Symfony\Component\Console\Exception\CommandNotFoundException
+class NamespaceNotFoundException extends \RectorPrefix20220218\Symfony\Component\Console\Exception\CommandNotFoundException
{
}
diff --git a/vendor/symfony/console/Exception/RuntimeException.php b/vendor/symfony/console/Exception/RuntimeException.php
index 30fbd02553f..d95d4470512 100644
--- a/vendor/symfony/console/Exception/RuntimeException.php
+++ b/vendor/symfony/console/Exception/RuntimeException.php
@@ -8,11 +8,11 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Exception;
+namespace RectorPrefix20220218\Symfony\Component\Console\Exception;
/**
* @author Jérôme Tamarelle
*/
-class RuntimeException extends \RuntimeException implements \RectorPrefix20220217\Symfony\Component\Console\Exception\ExceptionInterface
+class RuntimeException extends \RuntimeException implements \RectorPrefix20220218\Symfony\Component\Console\Exception\ExceptionInterface
{
}
diff --git a/vendor/symfony/console/Formatter/NullOutputFormatter.php b/vendor/symfony/console/Formatter/NullOutputFormatter.php
index b68a84b1c34..f153a7f18d4 100644
--- a/vendor/symfony/console/Formatter/NullOutputFormatter.php
+++ b/vendor/symfony/console/Formatter/NullOutputFormatter.php
@@ -8,12 +8,12 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Formatter;
+namespace RectorPrefix20220218\Symfony\Component\Console\Formatter;
/**
* @author Tien Xuan Vo
*/
-final class NullOutputFormatter implements \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface
+final class NullOutputFormatter implements \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface
{
private $style;
/**
@@ -26,10 +26,10 @@ final class NullOutputFormatter implements \RectorPrefix20220217\Symfony\Compone
/**
* {@inheritdoc}
*/
- public function getStyle(string $name) : \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
+ public function getStyle(string $name) : \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
{
// to comply with the interface we must return a OutputFormatterStyleInterface
- return $this->style ?? ($this->style = new \RectorPrefix20220217\Symfony\Component\Console\Formatter\NullOutputFormatterStyle());
+ return $this->style ?? ($this->style = new \RectorPrefix20220218\Symfony\Component\Console\Formatter\NullOutputFormatterStyle());
}
/**
* {@inheritdoc}
@@ -55,7 +55,7 @@ final class NullOutputFormatter implements \RectorPrefix20220217\Symfony\Compone
/**
* {@inheritdoc}
*/
- public function setStyle(string $name, \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style) : void
+ public function setStyle(string $name, \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style) : void
{
// do nothing
}
diff --git a/vendor/symfony/console/Formatter/NullOutputFormatterStyle.php b/vendor/symfony/console/Formatter/NullOutputFormatterStyle.php
index 079481ef158..73ad5ec32c4 100644
--- a/vendor/symfony/console/Formatter/NullOutputFormatterStyle.php
+++ b/vendor/symfony/console/Formatter/NullOutputFormatterStyle.php
@@ -8,12 +8,12 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Formatter;
+namespace RectorPrefix20220218\Symfony\Component\Console\Formatter;
/**
* @author Tien Xuan Vo
*/
-final class NullOutputFormatterStyle implements \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
+final class NullOutputFormatterStyle implements \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
{
/**
* {@inheritdoc}
diff --git a/vendor/symfony/console/Formatter/OutputFormatter.php b/vendor/symfony/console/Formatter/OutputFormatter.php
index 5128cce8b07..055f66fff5a 100644
--- a/vendor/symfony/console/Formatter/OutputFormatter.php
+++ b/vendor/symfony/console/Formatter/OutputFormatter.php
@@ -8,16 +8,16 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Formatter;
+namespace RectorPrefix20220218\Symfony\Component\Console\Formatter;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
/**
* Formatter class for console output.
*
* @author Konstantin Kudryashov
* @author Roland Franssen
*/
-class OutputFormatter implements \RectorPrefix20220217\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface
+class OutputFormatter implements \RectorPrefix20220218\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface
{
/**
* @var bool
@@ -66,14 +66,14 @@ class OutputFormatter implements \RectorPrefix20220217\Symfony\Component\Console
public function __construct(bool $decorated = \false, array $styles = [])
{
$this->decorated = $decorated;
- $this->setStyle('error', new \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyle('white', 'red'));
- $this->setStyle('info', new \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyle('green'));
- $this->setStyle('comment', new \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyle('yellow'));
- $this->setStyle('question', new \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyle('black', 'cyan'));
+ $this->setStyle('error', new \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyle('white', 'red'));
+ $this->setStyle('info', new \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyle('green'));
+ $this->setStyle('comment', new \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyle('yellow'));
+ $this->setStyle('question', new \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyle('black', 'cyan'));
foreach ($styles as $name => $style) {
$this->setStyle($name, $style);
}
- $this->styleStack = new \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleStack();
+ $this->styleStack = new \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleStack();
}
/**
* {@inheritdoc}
@@ -92,7 +92,7 @@ class OutputFormatter implements \RectorPrefix20220217\Symfony\Component\Console
/**
* {@inheritdoc}
*/
- public function setStyle(string $name, \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style)
+ public function setStyle(string $name, \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style)
{
$this->styles[\strtolower($name)] = $style;
}
@@ -106,10 +106,10 @@ class OutputFormatter implements \RectorPrefix20220217\Symfony\Component\Console
/**
* {@inheritdoc}
*/
- public function getStyle(string $name) : \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
+ public function getStyle(string $name) : \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
{
if (!$this->hasStyle($name)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Undefined style: "%s".', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Undefined style: "%s".', $name));
}
return $this->styles[\strtolower($name)];
}
@@ -160,14 +160,14 @@ class OutputFormatter implements \RectorPrefix20220217\Symfony\Component\Console
$output .= $this->applyCurrentStyle(\substr($message, $offset), $output, $width, $currentLineLength);
return \strtr($output, ["\0" => '\\', '\\<' => '<', '\\>' => '>']);
}
- public function getStyleStack() : \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleStack
+ public function getStyleStack() : \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleStack
{
return $this->styleStack;
}
/**
* Tries to create new style instance from string.
*/
- private function createStyleFromString(string $string) : ?\RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
+ private function createStyleFromString(string $string) : ?\RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
{
if (isset($this->styles[$string])) {
return $this->styles[$string];
@@ -175,7 +175,7 @@ class OutputFormatter implements \RectorPrefix20220217\Symfony\Component\Console
if (!\preg_match_all('/([^=]+)=([^;]+)(;|$)/', $string, $matches, \PREG_SET_ORDER)) {
return null;
}
- $style = new \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyle();
+ $style = new \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyle();
foreach ($matches as $match) {
\array_shift($match);
$match[0] = \strtolower($match[0]);
diff --git a/vendor/symfony/console/Formatter/OutputFormatterInterface.php b/vendor/symfony/console/Formatter/OutputFormatterInterface.php
index 3a7b2b615ba..761feb82d07 100644
--- a/vendor/symfony/console/Formatter/OutputFormatterInterface.php
+++ b/vendor/symfony/console/Formatter/OutputFormatterInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Formatter;
+namespace RectorPrefix20220218\Symfony\Component\Console\Formatter;
/**
* Formatter interface for console output.
@@ -28,7 +28,7 @@ interface OutputFormatterInterface
/**
* Sets a new style.
*/
- public function setStyle(string $name, \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style);
+ public function setStyle(string $name, \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style);
/**
* Checks if output formatter has style with specified name.
*/
@@ -38,7 +38,7 @@ interface OutputFormatterInterface
*
* @throws \InvalidArgumentException When style isn't defined
*/
- public function getStyle(string $name) : \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface;
+ public function getStyle(string $name) : \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface;
/**
* Formats a message according to the given styles.
*/
diff --git a/vendor/symfony/console/Formatter/OutputFormatterStyle.php b/vendor/symfony/console/Formatter/OutputFormatterStyle.php
index 10a5c2a6074..5a4940daa9c 100644
--- a/vendor/symfony/console/Formatter/OutputFormatterStyle.php
+++ b/vendor/symfony/console/Formatter/OutputFormatterStyle.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Formatter;
+namespace RectorPrefix20220218\Symfony\Component\Console\Formatter;
-use RectorPrefix20220217\Symfony\Component\Console\Color;
+use RectorPrefix20220218\Symfony\Component\Console\Color;
/**
* Formatter style class for defining styles.
*
* @author Konstantin Kudryashov
*/
-class OutputFormatterStyle implements \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
+class OutputFormatterStyle implements \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
{
private $color;
/**
@@ -47,21 +47,21 @@ class OutputFormatterStyle implements \RectorPrefix20220217\Symfony\Component\Co
*/
public function __construct(string $foreground = null, string $background = null, array $options = [])
{
- $this->color = new \RectorPrefix20220217\Symfony\Component\Console\Color($this->foreground = $foreground ?: '', $this->background = $background ?: '', $this->options = $options);
+ $this->color = new \RectorPrefix20220218\Symfony\Component\Console\Color($this->foreground = $foreground ?: '', $this->background = $background ?: '', $this->options = $options);
}
/**
* {@inheritdoc}
*/
public function setForeground(string $color = null)
{
- $this->color = new \RectorPrefix20220217\Symfony\Component\Console\Color($this->foreground = $color ?: '', $this->background, $this->options);
+ $this->color = new \RectorPrefix20220218\Symfony\Component\Console\Color($this->foreground = $color ?: '', $this->background, $this->options);
}
/**
* {@inheritdoc}
*/
public function setBackground(string $color = null)
{
- $this->color = new \RectorPrefix20220217\Symfony\Component\Console\Color($this->foreground, $this->background = $color ?: '', $this->options);
+ $this->color = new \RectorPrefix20220218\Symfony\Component\Console\Color($this->foreground, $this->background = $color ?: '', $this->options);
}
public function setHref(string $url) : void
{
@@ -73,7 +73,7 @@ class OutputFormatterStyle implements \RectorPrefix20220217\Symfony\Component\Co
public function setOption(string $option)
{
$this->options[] = $option;
- $this->color = new \RectorPrefix20220217\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options);
+ $this->color = new \RectorPrefix20220218\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options);
}
/**
* {@inheritdoc}
@@ -84,14 +84,14 @@ class OutputFormatterStyle implements \RectorPrefix20220217\Symfony\Component\Co
if (\false !== $pos) {
unset($this->options[$pos]);
}
- $this->color = new \RectorPrefix20220217\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options);
+ $this->color = new \RectorPrefix20220218\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options);
}
/**
* {@inheritdoc}
*/
public function setOptions(array $options)
{
- $this->color = new \RectorPrefix20220217\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options = $options);
+ $this->color = new \RectorPrefix20220218\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options = $options);
}
/**
* {@inheritdoc}
diff --git a/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php b/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php
index b1e39e99843..c860b8bc818 100644
--- a/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php
+++ b/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Formatter;
+namespace RectorPrefix20220218\Symfony\Component\Console\Formatter;
/**
* Formatter style interface for defining styles.
diff --git a/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php b/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php
index e8a0207ac9b..37b9b65d4b1 100644
--- a/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php
+++ b/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php
@@ -8,23 +8,23 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Formatter;
+namespace RectorPrefix20220218\Symfony\Component\Console\Formatter;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Contracts\Service\ResetInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Contracts\Service\ResetInterface;
/**
* @author Jean-François Simon
*/
-class OutputFormatterStyleStack implements \RectorPrefix20220217\Symfony\Contracts\Service\ResetInterface
+class OutputFormatterStyleStack implements \RectorPrefix20220218\Symfony\Contracts\Service\ResetInterface
{
/**
* @var OutputFormatterStyleInterface[]
*/
private $styles = [];
private $emptyStyle;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $emptyStyle = null)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $emptyStyle = null)
{
- $this->emptyStyle = $emptyStyle ?? new \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyle();
+ $this->emptyStyle = $emptyStyle ?? new \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyle();
$this->reset();
}
/**
@@ -37,7 +37,7 @@ class OutputFormatterStyleStack implements \RectorPrefix20220217\Symfony\Contrac
/**
* Pushes a style in the stack.
*/
- public function push(\RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style)
+ public function push(\RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style)
{
$this->styles[] = $style;
}
@@ -46,7 +46,7 @@ class OutputFormatterStyleStack implements \RectorPrefix20220217\Symfony\Contrac
*
* @throws InvalidArgumentException When style tags incorrectly nested
*/
- public function pop(\RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style = null) : \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
+ public function pop(\RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style = null) : \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
{
if (empty($this->styles)) {
return $this->emptyStyle;
@@ -60,12 +60,12 @@ class OutputFormatterStyleStack implements \RectorPrefix20220217\Symfony\Contrac
return $stackedStyle;
}
}
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException('Incorrectly nested style tag found.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException('Incorrectly nested style tag found.');
}
/**
* Computes current style with stacks top codes.
*/
- public function getCurrent() : \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyle
+ public function getCurrent() : \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyle
{
if (empty($this->styles)) {
return $this->emptyStyle;
@@ -75,12 +75,12 @@ class OutputFormatterStyleStack implements \RectorPrefix20220217\Symfony\Contrac
/**
* @return $this
*/
- public function setEmptyStyle(\RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $emptyStyle)
+ public function setEmptyStyle(\RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $emptyStyle)
{
$this->emptyStyle = $emptyStyle;
return $this;
}
- public function getEmptyStyle() : \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
+ public function getEmptyStyle() : \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
{
return $this->emptyStyle;
}
diff --git a/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php b/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php
index ab46499d50b..b8372be81f1 100644
--- a/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php
+++ b/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Formatter;
+namespace RectorPrefix20220218\Symfony\Component\Console\Formatter;
/**
* Formatter interface for console output that supports word wrapping.
*
* @author Roland Franssen
*/
-interface WrappableOutputFormatterInterface extends \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface
+interface WrappableOutputFormatterInterface extends \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface
{
/**
* Formats a message according to the given styles, wrapping at `$width` (0 means no wrapping).
diff --git a/vendor/symfony/console/Helper/DebugFormatterHelper.php b/vendor/symfony/console/Helper/DebugFormatterHelper.php
index b712e0e4ffa..bcf1497af8b 100644
--- a/vendor/symfony/console/Helper/DebugFormatterHelper.php
+++ b/vendor/symfony/console/Helper/DebugFormatterHelper.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
/**
* Helps outputting debug information when running an external program from a command.
@@ -17,7 +17,7 @@ namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
*
* @author Fabien Potencier
*/
-class DebugFormatterHelper extends \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper
+class DebugFormatterHelper extends \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper
{
private const COLORS = ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white', 'default'];
/**
diff --git a/vendor/symfony/console/Helper/DescriptorHelper.php b/vendor/symfony/console/Helper/DescriptorHelper.php
index 063c4a838ba..621b6e37493 100644
--- a/vendor/symfony/console/Helper/DescriptorHelper.php
+++ b/vendor/symfony/console/Helper/DescriptorHelper.php
@@ -8,21 +8,21 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Descriptor\DescriptorInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Descriptor\JsonDescriptor;
-use RectorPrefix20220217\Symfony\Component\Console\Descriptor\MarkdownDescriptor;
-use RectorPrefix20220217\Symfony\Component\Console\Descriptor\TextDescriptor;
-use RectorPrefix20220217\Symfony\Component\Console\Descriptor\XmlDescriptor;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Descriptor\DescriptorInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Descriptor\JsonDescriptor;
+use RectorPrefix20220218\Symfony\Component\Console\Descriptor\MarkdownDescriptor;
+use RectorPrefix20220218\Symfony\Component\Console\Descriptor\TextDescriptor;
+use RectorPrefix20220218\Symfony\Component\Console\Descriptor\XmlDescriptor;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* This class adds helper method to describe objects in various formats.
*
* @author Jean-François Simon
*/
-class DescriptorHelper extends \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper
+class DescriptorHelper extends \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper
{
/**
* @var DescriptorInterface[]
@@ -30,7 +30,7 @@ class DescriptorHelper extends \RectorPrefix20220217\Symfony\Component\Console\H
private $descriptors = [];
public function __construct()
{
- $this->register('txt', new \RectorPrefix20220217\Symfony\Component\Console\Descriptor\TextDescriptor())->register('xml', new \RectorPrefix20220217\Symfony\Component\Console\Descriptor\XmlDescriptor())->register('json', new \RectorPrefix20220217\Symfony\Component\Console\Descriptor\JsonDescriptor())->register('md', new \RectorPrefix20220217\Symfony\Component\Console\Descriptor\MarkdownDescriptor());
+ $this->register('txt', new \RectorPrefix20220218\Symfony\Component\Console\Descriptor\TextDescriptor())->register('xml', new \RectorPrefix20220218\Symfony\Component\Console\Descriptor\XmlDescriptor())->register('json', new \RectorPrefix20220218\Symfony\Component\Console\Descriptor\JsonDescriptor())->register('md', new \RectorPrefix20220218\Symfony\Component\Console\Descriptor\MarkdownDescriptor());
}
/**
* Describes an object if supported.
@@ -42,11 +42,11 @@ class DescriptorHelper extends \RectorPrefix20220217\Symfony\Component\Console\H
* @throws InvalidArgumentException when the given format is not supported
* @param object|null $object
*/
- public function describe(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, $object, array $options = [])
+ public function describe(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, $object, array $options = [])
{
$options = \array_merge(['raw_text' => \false, 'format' => 'txt'], $options);
if (!isset($this->descriptors[$options['format']])) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Unsupported format "%s".', $options['format']));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Unsupported format "%s".', $options['format']));
}
$descriptor = $this->descriptors[$options['format']];
$descriptor->describe($output, $object, $options);
@@ -56,7 +56,7 @@ class DescriptorHelper extends \RectorPrefix20220217\Symfony\Component\Console\H
*
* @return $this
*/
- public function register(string $format, \RectorPrefix20220217\Symfony\Component\Console\Descriptor\DescriptorInterface $descriptor)
+ public function register(string $format, \RectorPrefix20220218\Symfony\Component\Console\Descriptor\DescriptorInterface $descriptor)
{
$this->descriptors[$format] = $descriptor;
return $this;
diff --git a/vendor/symfony/console/Helper/Dumper.php b/vendor/symfony/console/Helper/Dumper.php
index ffb61944d55..62372ef162e 100644
--- a/vendor/symfony/console/Helper/Dumper.php
+++ b/vendor/symfony/console/Helper/Dumper.php
@@ -8,12 +8,12 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
-use RectorPrefix20220217\Symfony\Component\VarDumper\Cloner\ClonerInterface;
-use RectorPrefix20220217\Symfony\Component\VarDumper\Cloner\VarCloner;
-use RectorPrefix20220217\Symfony\Component\VarDumper\Dumper\CliDumper;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\VarDumper\Cloner\ClonerInterface;
+use RectorPrefix20220218\Symfony\Component\VarDumper\Cloner\VarCloner;
+use RectorPrefix20220218\Symfony\Component\VarDumper\Dumper\CliDumper;
/**
* @author Roland Franssen
*/
@@ -26,16 +26,16 @@ final class Dumper
* @var \Closure
*/
private $handler;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220217\Symfony\Component\VarDumper\Dumper\CliDumper $dumper = null, \RectorPrefix20220217\Symfony\Component\VarDumper\Cloner\ClonerInterface $cloner = null)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220218\Symfony\Component\VarDumper\Dumper\CliDumper $dumper = null, \RectorPrefix20220218\Symfony\Component\VarDumper\Cloner\ClonerInterface $cloner = null)
{
$this->output = $output;
$this->dumper = $dumper;
$this->cloner = $cloner;
- if (\class_exists(\RectorPrefix20220217\Symfony\Component\VarDumper\Dumper\CliDumper::class)) {
+ if (\class_exists(\RectorPrefix20220218\Symfony\Component\VarDumper\Dumper\CliDumper::class)) {
$this->handler = function ($var) : string {
- $dumper = $this->dumper ?? ($this->dumper = new \RectorPrefix20220217\Symfony\Component\VarDumper\Dumper\CliDumper(null, null, \RectorPrefix20220217\Symfony\Component\VarDumper\Dumper\CliDumper::DUMP_LIGHT_ARRAY | \RectorPrefix20220217\Symfony\Component\VarDumper\Dumper\CliDumper::DUMP_COMMA_SEPARATOR));
+ $dumper = $this->dumper ?? ($this->dumper = new \RectorPrefix20220218\Symfony\Component\VarDumper\Dumper\CliDumper(null, null, \RectorPrefix20220218\Symfony\Component\VarDumper\Dumper\CliDumper::DUMP_LIGHT_ARRAY | \RectorPrefix20220218\Symfony\Component\VarDumper\Dumper\CliDumper::DUMP_COMMA_SEPARATOR));
$dumper->setColors($this->output->isDecorated());
- return \rtrim($dumper->dump(($this->cloner ?? ($this->cloner = new \RectorPrefix20220217\Symfony\Component\VarDumper\Cloner\VarCloner()))->cloneVar($var)->withRefHandles(\false), \true));
+ return \rtrim($dumper->dump(($this->cloner ?? ($this->cloner = new \RectorPrefix20220218\Symfony\Component\VarDumper\Cloner\VarCloner()))->cloneVar($var)->withRefHandles(\false), \true));
};
} else {
$this->handler = function ($var) : string {
diff --git a/vendor/symfony/console/Helper/FormatterHelper.php b/vendor/symfony/console/Helper/FormatterHelper.php
index 302e0bcb3f9..c7c81a6165f 100644
--- a/vendor/symfony/console/Helper/FormatterHelper.php
+++ b/vendor/symfony/console/Helper/FormatterHelper.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter;
/**
* The Formatter class provides helpers to format messages.
*
* @author Fabien Potencier
*/
-class FormatterHelper extends \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper
+class FormatterHelper extends \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper
{
/**
* Formats a message within a section.
@@ -37,7 +37,7 @@ class FormatterHelper extends \RectorPrefix20220217\Symfony\Component\Console\He
$len = 0;
$lines = [];
foreach ($messages as $message) {
- $message = \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter::escape($message);
+ $message = \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter::escape($message);
$lines[] = \sprintf($large ? ' %s ' : ' %s ', $message);
$len = \max(self::width($message) + ($large ? 4 : 2), $len);
}
diff --git a/vendor/symfony/console/Helper/Helper.php b/vendor/symfony/console/Helper/Helper.php
index 0e458d59a5b..f1504963da1 100644
--- a/vendor/symfony/console/Helper/Helper.php
+++ b/vendor/symfony/console/Helper/Helper.php
@@ -8,29 +8,29 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface;
-use RectorPrefix20220217\Symfony\Component\String\UnicodeString;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface;
+use RectorPrefix20220218\Symfony\Component\String\UnicodeString;
/**
* Helper is the base class for all helper classes.
*
* @author Fabien Potencier
*/
-abstract class Helper implements \RectorPrefix20220217\Symfony\Component\Console\Helper\HelperInterface
+abstract class Helper implements \RectorPrefix20220218\Symfony\Component\Console\Helper\HelperInterface
{
protected $helperSet = null;
/**
* {@inheritdoc}
*/
- public function setHelperSet(\RectorPrefix20220217\Symfony\Component\Console\Helper\HelperSet $helperSet = null)
+ public function setHelperSet(\RectorPrefix20220218\Symfony\Component\Console\Helper\HelperSet $helperSet = null)
{
$this->helperSet = $helperSet;
}
/**
* {@inheritdoc}
*/
- public function getHelperSet() : ?\RectorPrefix20220217\Symfony\Component\Console\Helper\HelperSet
+ public function getHelperSet() : ?\RectorPrefix20220218\Symfony\Component\Console\Helper\HelperSet
{
return $this->helperSet;
}
@@ -42,7 +42,7 @@ abstract class Helper implements \RectorPrefix20220217\Symfony\Component\Console
{
$string ?? ($string = '');
if (\preg_match('//u', $string)) {
- return (new \RectorPrefix20220217\Symfony\Component\String\UnicodeString($string))->width(\false);
+ return (new \RectorPrefix20220218\Symfony\Component\String\UnicodeString($string))->width(\false);
}
if (\false === ($encoding = \mb_detect_encoding($string, null, \true))) {
return \strlen($string);
@@ -57,7 +57,7 @@ abstract class Helper implements \RectorPrefix20220217\Symfony\Component\Console
{
$string ?? ($string = '');
if (\preg_match('//u', $string)) {
- return (new \RectorPrefix20220217\Symfony\Component\String\UnicodeString($string))->length();
+ return (new \RectorPrefix20220218\Symfony\Component\String\UnicodeString($string))->length();
}
if (\false === ($encoding = \mb_detect_encoding($string, null, \true))) {
return \strlen($string);
@@ -105,7 +105,7 @@ abstract class Helper implements \RectorPrefix20220217\Symfony\Component\Console
}
return \sprintf('%d B', $memory);
}
- public static function removeDecoration(\RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter, ?string $string)
+ public static function removeDecoration(\RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter, ?string $string)
{
$isDecorated = $formatter->isDecorated();
$formatter->setDecorated(\false);
diff --git a/vendor/symfony/console/Helper/HelperInterface.php b/vendor/symfony/console/Helper/HelperInterface.php
index c217dc78cd6..20a79ac3f3e 100644
--- a/vendor/symfony/console/Helper/HelperInterface.php
+++ b/vendor/symfony/console/Helper/HelperInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
/**
* HelperInterface is the interface all helpers must implement.
@@ -20,11 +20,11 @@ interface HelperInterface
/**
* Sets the helper set associated with this helper.
*/
- public function setHelperSet(\RectorPrefix20220217\Symfony\Component\Console\Helper\HelperSet $helperSet = null);
+ public function setHelperSet(\RectorPrefix20220218\Symfony\Component\Console\Helper\HelperSet $helperSet = null);
/**
* Gets the helper set associated with this helper.
*/
- public function getHelperSet() : ?\RectorPrefix20220217\Symfony\Component\Console\Helper\HelperSet;
+ public function getHelperSet() : ?\RectorPrefix20220218\Symfony\Component\Console\Helper\HelperSet;
/**
* Returns the canonical name of this helper.
*
diff --git a/vendor/symfony/console/Helper/HelperSet.php b/vendor/symfony/console/Helper/HelperSet.php
index e9090385937..76c2d2ad17d 100644
--- a/vendor/symfony/console/Helper/HelperSet.php
+++ b/vendor/symfony/console/Helper/HelperSet.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
/**
* HelperSet represents a set of helpers to be used with a command.
*
@@ -31,7 +31,7 @@ class HelperSet implements \IteratorAggregate
$this->set($helper, \is_int($alias) ? null : $alias);
}
}
- public function set(\RectorPrefix20220217\Symfony\Component\Console\Helper\HelperInterface $helper, string $alias = null)
+ public function set(\RectorPrefix20220218\Symfony\Component\Console\Helper\HelperInterface $helper, string $alias = null)
{
$this->helpers[$helper->getName()] = $helper;
if (null !== $alias) {
@@ -51,10 +51,10 @@ class HelperSet implements \IteratorAggregate
*
* @throws InvalidArgumentException if the helper is not defined
*/
- public function get(string $name) : \RectorPrefix20220217\Symfony\Component\Console\Helper\HelperInterface
+ public function get(string $name) : \RectorPrefix20220218\Symfony\Component\Console\Helper\HelperInterface
{
if (!$this->has($name)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The helper "%s" is not defined.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The helper "%s" is not defined.', $name));
}
return $this->helpers[$name];
}
diff --git a/vendor/symfony/console/Helper/InputAwareHelper.php b/vendor/symfony/console/Helper/InputAwareHelper.php
index ede229ae2c3..69891bf9e1c 100644
--- a/vendor/symfony/console/Helper/InputAwareHelper.php
+++ b/vendor/symfony/console/Helper/InputAwareHelper.php
@@ -8,22 +8,22 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputAwareInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputAwareInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
/**
* An implementation of InputAwareInterface for Helpers.
*
* @author Wouter J
*/
-abstract class InputAwareHelper extends \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper implements \RectorPrefix20220217\Symfony\Component\Console\Input\InputAwareInterface
+abstract class InputAwareHelper extends \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper implements \RectorPrefix20220218\Symfony\Component\Console\Input\InputAwareInterface
{
protected $input;
/**
* {@inheritdoc}
*/
- public function setInput(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input)
+ public function setInput(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input)
{
$this->input = $input;
}
diff --git a/vendor/symfony/console/Helper/ProcessHelper.php b/vendor/symfony/console/Helper/ProcessHelper.php
index 9db70e86c56..00234af57dc 100644
--- a/vendor/symfony/console/Helper/ProcessHelper.php
+++ b/vendor/symfony/console/Helper/ProcessHelper.php
@@ -8,12 +8,12 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
-use RectorPrefix20220217\Symfony\Component\Process\Exception\ProcessFailedException;
-use RectorPrefix20220217\Symfony\Component\Process\Process;
+use RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Process\Exception\ProcessFailedException;
+use RectorPrefix20220218\Symfony\Component\Process\Process;
/**
* The ProcessHelper class provides helpers to run external processes.
*
@@ -21,7 +21,7 @@ use RectorPrefix20220217\Symfony\Component\Process\Process;
*
* @final
*/
-class ProcessHelper extends \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper
+class ProcessHelper extends \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper
{
/**
* Runs an external process.
@@ -30,22 +30,22 @@ class ProcessHelper extends \RectorPrefix20220217\Symfony\Component\Console\Help
* @param callable|null $callback A PHP callback to run whenever there is some
* output available on STDOUT or STDERR
*/
- public function run(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, $cmd, string $error = null, callable $callback = null, int $verbosity = \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE) : \RectorPrefix20220217\Symfony\Component\Process\Process
+ public function run(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, $cmd, string $error = null, callable $callback = null, int $verbosity = \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE) : \RectorPrefix20220218\Symfony\Component\Process\Process
{
- if (!\class_exists(\RectorPrefix20220217\Symfony\Component\Process\Process::class)) {
+ if (!\class_exists(\RectorPrefix20220218\Symfony\Component\Process\Process::class)) {
throw new \LogicException('The ProcessHelper cannot be run as the Process component is not installed. Try running "compose require symfony/process".');
}
- if ($output instanceof \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface) {
+ if ($output instanceof \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface) {
$output = $output->getErrorOutput();
}
$formatter = $this->getHelperSet()->get('debug_formatter');
- if ($cmd instanceof \RectorPrefix20220217\Symfony\Component\Process\Process) {
+ if ($cmd instanceof \RectorPrefix20220218\Symfony\Component\Process\Process) {
$cmd = [$cmd];
}
if (\is_string($cmd[0] ?? null)) {
- $process = new \RectorPrefix20220217\Symfony\Component\Process\Process($cmd);
+ $process = new \RectorPrefix20220218\Symfony\Component\Process\Process($cmd);
$cmd = [];
- } elseif (($cmd[0] ?? null) instanceof \RectorPrefix20220217\Symfony\Component\Process\Process) {
+ } elseif (($cmd[0] ?? null) instanceof \RectorPrefix20220218\Symfony\Component\Process\Process) {
$process = $cmd[0];
unset($cmd[0]);
} else {
@@ -81,25 +81,25 @@ class ProcessHelper extends \RectorPrefix20220217\Symfony\Component\Console\Help
*
* @see run()
*/
- public function mustRun(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, $cmd, string $error = null, callable $callback = null) : \RectorPrefix20220217\Symfony\Component\Process\Process
+ public function mustRun(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, $cmd, string $error = null, callable $callback = null) : \RectorPrefix20220218\Symfony\Component\Process\Process
{
$process = $this->run($output, $cmd, $error, $callback);
if (!$process->isSuccessful()) {
- throw new \RectorPrefix20220217\Symfony\Component\Process\Exception\ProcessFailedException($process);
+ throw new \RectorPrefix20220218\Symfony\Component\Process\Exception\ProcessFailedException($process);
}
return $process;
}
/**
* Wraps a Process callback to add debugging output.
*/
- public function wrapCallback(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220217\Symfony\Component\Process\Process $process, callable $callback = null) : callable
+ public function wrapCallback(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220218\Symfony\Component\Process\Process $process, callable $callback = null) : callable
{
- if ($output instanceof \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface) {
+ if ($output instanceof \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface) {
$output = $output->getErrorOutput();
}
$formatter = $this->getHelperSet()->get('debug_formatter');
return function ($type, $buffer) use($output, $process, $callback, $formatter) {
- $output->write($formatter->progress(\spl_object_hash($process), $this->escapeString($buffer), \RectorPrefix20220217\Symfony\Component\Process\Process::ERR === $type));
+ $output->write($formatter->progress(\spl_object_hash($process), $this->escapeString($buffer), \RectorPrefix20220218\Symfony\Component\Process\Process::ERR === $type));
if (null !== $callback) {
$callback($type, $buffer);
}
diff --git a/vendor/symfony/console/Helper/ProgressBar.php b/vendor/symfony/console/Helper/ProgressBar.php
index ec6e42c4441..dfc8496a510 100644
--- a/vendor/symfony/console/Helper/ProgressBar.php
+++ b/vendor/symfony/console/Helper/ProgressBar.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Cursor;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException;
-use RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleSectionOutput;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Terminal;
+use RectorPrefix20220218\Symfony\Component\Console\Cursor;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException;
+use RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleSectionOutput;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Terminal;
/**
* The ProgressBar provides helpers to display progress output.
*
@@ -126,14 +126,14 @@ final class ProgressBar
/**
* @param int $max Maximum steps (0 if unknown)
*/
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, int $max = 0, float $minSecondsBetweenRedraws = 1 / 25)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, int $max = 0, float $minSecondsBetweenRedraws = 1 / 25)
{
- if ($output instanceof \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface) {
+ if ($output instanceof \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface) {
$output = $output->getErrorOutput();
}
$this->output = $output;
$this->setMaxSteps($max);
- $this->terminal = new \RectorPrefix20220217\Symfony\Component\Console\Terminal();
+ $this->terminal = new \RectorPrefix20220218\Symfony\Component\Console\Terminal();
if (0 < $minSecondsBetweenRedraws) {
$this->redrawFreq = null;
$this->minSecondsBetweenRedraws = $minSecondsBetweenRedraws;
@@ -145,7 +145,7 @@ final class ProgressBar
$this->redrawFreq = null;
}
$this->startTime = \time();
- $this->cursor = new \RectorPrefix20220217\Symfony\Component\Console\Cursor($output);
+ $this->cursor = new \RectorPrefix20220218\Symfony\Component\Console\Cursor($output);
}
/**
* Sets a placeholder formatter for a given name.
@@ -379,7 +379,7 @@ final class ProgressBar
{
$this->format = null;
$this->max = \max(0, $max);
- $this->stepWidth = $this->max ? \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width((string) $this->max) : 4;
+ $this->stepWidth = $this->max ? \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width((string) $this->max) : 4;
}
/**
* Finishes the progress output.
@@ -400,7 +400,7 @@ final class ProgressBar
*/
public function display() : void
{
- if (\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET === $this->output->getVerbosity()) {
+ if (\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET === $this->output->getVerbosity()) {
return;
}
if (null === $this->format) {
@@ -448,11 +448,11 @@ final class ProgressBar
$originalMessage = $message;
if ($this->overwrite) {
if (null !== $this->previousMessage) {
- if ($this->output instanceof \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleSectionOutput) {
+ if ($this->output instanceof \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleSectionOutput) {
$messageLines = \explode("\n", $message);
$lineCount = \count($messageLines);
foreach ($messageLines as $messageLine) {
- $messageLineLength = \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $messageLine));
+ $messageLineLength = \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $messageLine));
if ($messageLineLength > $this->terminal->getWidth()) {
$lineCount += \floor($messageLineLength / $this->terminal->getWidth());
}
@@ -480,11 +480,11 @@ final class ProgressBar
{
switch ($this->output->getVerbosity()) {
// OutputInterface::VERBOSITY_QUIET: display is disabled anyway
- case \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE:
+ case \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE:
return $this->max ? self::FORMAT_VERBOSE : self::FORMAT_VERBOSE_NOMAX;
- case \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE:
+ case \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE:
return $this->max ? self::FORMAT_VERY_VERBOSE : self::FORMAT_VERY_VERBOSE_NOMAX;
- case \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG:
+ case \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG:
return $this->max ? self::FORMAT_DEBUG : self::FORMAT_DEBUG_NOMAX;
default:
return $this->max ? self::FORMAT_NORMAL : self::FORMAT_NORMAL_NOMAX;
@@ -492,28 +492,28 @@ final class ProgressBar
}
private static function initPlaceholderFormatters() : array
{
- return ['bar' => function (self $bar, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output) {
+ return ['bar' => function (self $bar, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output) {
$completeBars = $bar->getBarOffset();
$display = \str_repeat($bar->getBarCharacter(), $completeBars);
if ($completeBars < $bar->getBarWidth()) {
- $emptyBars = $bar->getBarWidth() - $completeBars - \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::length(\RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::removeDecoration($output->getFormatter(), $bar->getProgressCharacter()));
+ $emptyBars = $bar->getBarWidth() - $completeBars - \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::length(\RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::removeDecoration($output->getFormatter(), $bar->getProgressCharacter()));
$display .= $bar->getProgressCharacter() . \str_repeat($bar->getEmptyBarCharacter(), $emptyBars);
}
return $display;
}, 'elapsed' => function (self $bar) {
- return \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::formatTime(\time() - $bar->getStartTime());
+ return \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::formatTime(\time() - $bar->getStartTime());
}, 'remaining' => function (self $bar) {
if (!$bar->getMaxSteps()) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException('Unable to display the remaining time if the maximum number of steps is not set.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException('Unable to display the remaining time if the maximum number of steps is not set.');
}
- return \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::formatTime($bar->getRemaining());
+ return \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::formatTime($bar->getRemaining());
}, 'estimated' => function (self $bar) {
if (!$bar->getMaxSteps()) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException('Unable to display the estimated time if the maximum number of steps is not set.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException('Unable to display the estimated time if the maximum number of steps is not set.');
}
- return \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::formatTime($bar->getEstimated());
+ return \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::formatTime($bar->getEstimated());
}, 'memory' => function (self $bar) {
- return \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::formatMemory(\memory_get_usage(\true));
+ return \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::formatMemory(\memory_get_usage(\true));
}, 'current' => function (self $bar) {
return \str_pad($bar->getProgress(), $bar->getStepWidth(), ' ', \STR_PAD_LEFT);
}, 'max' => function (self $bar) {
@@ -546,7 +546,7 @@ final class ProgressBar
$line = \preg_replace_callback($regex, $callback, $this->format);
// gets string length for each sub line with multiline format
$linesLength = \array_map(function ($subLine) {
- return \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), \rtrim($subLine, "\r")));
+ return \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), \rtrim($subLine, "\r")));
}, \explode("\n", $line));
$linesWidth = \max($linesLength);
$terminalWidth = $this->terminal->getWidth();
diff --git a/vendor/symfony/console/Helper/ProgressIndicator.php b/vendor/symfony/console/Helper/ProgressIndicator.php
index 899fbc3974c..cb4d3841a27 100644
--- a/vendor/symfony/console/Helper/ProgressIndicator.php
+++ b/vendor/symfony/console/Helper/ProgressIndicator.php
@@ -8,11 +8,11 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* @author Kevin Bond
*/
@@ -60,7 +60,7 @@ class ProgressIndicator
* @param int $indicatorChangeInterval Change interval in milliseconds
* @param array|null $indicatorValues Animated indicator characters
*/
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, string $format = null, int $indicatorChangeInterval = 100, array $indicatorValues = null)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, string $format = null, int $indicatorChangeInterval = 100, array $indicatorValues = null)
{
$this->output = $output;
if (null === $format) {
@@ -71,7 +71,7 @@ class ProgressIndicator
}
$indicatorValues = \array_values($indicatorValues);
if (2 > \count($indicatorValues)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException('Must have at least 2 indicator value characters.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException('Must have at least 2 indicator value characters.');
}
$this->format = self::getFormatDefinition($format);
$this->indicatorChangeInterval = $indicatorChangeInterval;
@@ -92,7 +92,7 @@ class ProgressIndicator
public function start(string $message)
{
if ($this->started) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException('Progress indicator already started.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException('Progress indicator already started.');
}
$this->message = $message;
$this->started = \true;
@@ -107,7 +107,7 @@ class ProgressIndicator
public function advance()
{
if (!$this->started) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException('Progress indicator has not yet been started.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException('Progress indicator has not yet been started.');
}
if (!$this->output->isDecorated()) {
return;
@@ -128,7 +128,7 @@ class ProgressIndicator
public function finish(string $message)
{
if (!$this->started) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException('Progress indicator has not yet been started.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException('Progress indicator has not yet been started.');
}
$this->message = $message;
$this->display();
@@ -162,7 +162,7 @@ class ProgressIndicator
}
private function display()
{
- if (\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET === $this->output->getVerbosity()) {
+ if (\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET === $this->output->getVerbosity()) {
return;
}
$this->overwrite(\preg_replace_callback("{%([a-z\\-_]+)(?:\\:([^%]+))?%}i", function ($matches) {
@@ -176,10 +176,10 @@ class ProgressIndicator
{
switch ($this->output->getVerbosity()) {
// OutputInterface::VERBOSITY_QUIET: display is disabled anyway
- case \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE:
+ case \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE:
return $this->output->isDecorated() ? 'verbose' : 'verbose_no_ansi';
- case \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE:
- case \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG:
+ case \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE:
+ case \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG:
return $this->output->isDecorated() ? 'very_verbose' : 'very_verbose_no_ansi';
default:
return $this->output->isDecorated() ? 'normal' : 'normal_no_ansi';
@@ -211,9 +211,9 @@ class ProgressIndicator
}, 'message' => function (self $indicator) {
return $indicator->message;
}, 'elapsed' => function (self $indicator) {
- return \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::formatTime(\time() - $indicator->startTime);
+ return \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::formatTime(\time() - $indicator->startTime);
}, 'memory' => function () {
- return \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::formatMemory(\memory_get_usage(\true));
+ return \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::formatMemory(\memory_get_usage(\true));
}];
}
}
diff --git a/vendor/symfony/console/Helper/QuestionHelper.php b/vendor/symfony/console/Helper/QuestionHelper.php
index 94f7b320793..e4925b6ed98 100644
--- a/vendor/symfony/console/Helper/QuestionHelper.php
+++ b/vendor/symfony/console/Helper/QuestionHelper.php
@@ -8,28 +8,28 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Cursor;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\MissingInputException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyle;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Input\StreamableInputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleSectionOutput;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Question\ChoiceQuestion;
-use RectorPrefix20220217\Symfony\Component\Console\Question\Question;
-use RectorPrefix20220217\Symfony\Component\Console\Terminal;
-use function RectorPrefix20220217\Symfony\Component\String\s;
+use RectorPrefix20220218\Symfony\Component\Console\Cursor;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\MissingInputException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyle;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Input\StreamableInputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleSectionOutput;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Question\ChoiceQuestion;
+use RectorPrefix20220218\Symfony\Component\Console\Question\Question;
+use RectorPrefix20220218\Symfony\Component\Console\Terminal;
+use function RectorPrefix20220218\Symfony\Component\String\s;
/**
* The QuestionHelper class provides helpers to interact with the user.
*
* @author Fabien Potencier
*/
-class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper
+class QuestionHelper extends \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper
{
/**
* @var resource|null
@@ -50,15 +50,15 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
*
* @throws RuntimeException If there is no data to read in the input stream
*/
- public function ask(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220217\Symfony\Component\Console\Question\Question $question)
+ public function ask(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220218\Symfony\Component\Console\Question\Question $question)
{
- if ($output instanceof \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface) {
+ if ($output instanceof \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface) {
$output = $output->getErrorOutput();
}
if (!$input->isInteractive()) {
return $this->getDefaultAnswer($question);
}
- if ($input instanceof \RectorPrefix20220217\Symfony\Component\Console\Input\StreamableInputInterface && ($stream = $input->getStream())) {
+ if ($input instanceof \RectorPrefix20220218\Symfony\Component\Console\Input\StreamableInputInterface && ($stream = $input->getStream())) {
$this->inputStream = $stream;
}
try {
@@ -69,7 +69,7 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
return $this->doAsk($output, $question);
};
return $this->validateAttempts($interviewer, $output, $question);
- } catch (\RectorPrefix20220217\Symfony\Component\Console\Exception\MissingInputException $exception) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Console\Exception\MissingInputException $exception) {
$input->setInteractive(\false);
if (null === ($fallbackOutput = $this->getDefaultAnswer($question))) {
throw $exception;
@@ -97,18 +97,18 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
* @throws RuntimeException In case the fallback is deactivated and the response cannot be hidden
* @return mixed
*/
- private function doAsk(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220217\Symfony\Component\Console\Question\Question $question)
+ private function doAsk(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220218\Symfony\Component\Console\Question\Question $question)
{
$this->writePrompt($output, $question);
$inputStream = $this->inputStream ?: \STDIN;
$autocomplete = $question->getAutocompleterCallback();
- if (null === $autocomplete || !self::$stty || !\RectorPrefix20220217\Symfony\Component\Console\Terminal::hasSttyAvailable()) {
+ if (null === $autocomplete || !self::$stty || !\RectorPrefix20220218\Symfony\Component\Console\Terminal::hasSttyAvailable()) {
$ret = \false;
if ($question->isHidden()) {
try {
$hiddenResponse = $this->getHiddenResponse($output, $inputStream, $question->isTrimmable());
$ret = $question->isTrimmable() ? \trim($hiddenResponse) : $hiddenResponse;
- } catch (\RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException $e) {
if (!$question->isHiddenFallback()) {
throw $e;
}
@@ -117,7 +117,7 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
if (\false === $ret) {
$ret = $this->readInput($inputStream, $question);
if (\false === $ret) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\MissingInputException('Aborted.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\MissingInputException('Aborted.');
}
if ($question->isTrimmable()) {
$ret = \trim($ret);
@@ -127,7 +127,7 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
$autocomplete = $this->autocomplete($output, $question, $inputStream, $autocomplete);
$ret = $question->isTrimmable() ? \trim($autocomplete) : $autocomplete;
}
- if ($output instanceof \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleSectionOutput) {
+ if ($output instanceof \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleSectionOutput) {
$output->addContent($ret);
}
$ret = \strlen($ret) > 0 ? $ret : $question->getDefault();
@@ -139,7 +139,7 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
/**
* @return mixed
*/
- private function getDefaultAnswer(\RectorPrefix20220217\Symfony\Component\Console\Question\Question $question)
+ private function getDefaultAnswer(\RectorPrefix20220218\Symfony\Component\Console\Question\Question $question)
{
$default = $question->getDefault();
if (null === $default) {
@@ -147,7 +147,7 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
}
if ($validator = $question->getValidator()) {
return \call_user_func($question->getValidator(), $default);
- } elseif ($question instanceof \RectorPrefix20220217\Symfony\Component\Console\Question\ChoiceQuestion) {
+ } elseif ($question instanceof \RectorPrefix20220218\Symfony\Component\Console\Question\ChoiceQuestion) {
$choices = $question->getChoices();
if (!$question->isMultiselect()) {
return $choices[$default] ?? $default;
@@ -163,10 +163,10 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
/**
* Outputs the question prompt.
*/
- protected function writePrompt(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220217\Symfony\Component\Console\Question\Question $question)
+ protected function writePrompt(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220218\Symfony\Component\Console\Question\Question $question)
{
$message = $question->getQuestion();
- if ($question instanceof \RectorPrefix20220217\Symfony\Component\Console\Question\ChoiceQuestion) {
+ if ($question instanceof \RectorPrefix20220218\Symfony\Component\Console\Question\ChoiceQuestion) {
$output->writeln(\array_merge([$question->getQuestion()], $this->formatChoiceQuestionChoices($question, 'info')));
$message = $question->getPrompt();
}
@@ -175,7 +175,7 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
/**
* @return string[]
*/
- protected function formatChoiceQuestionChoices(\RectorPrefix20220217\Symfony\Component\Console\Question\ChoiceQuestion $question, string $tag) : array
+ protected function formatChoiceQuestionChoices(\RectorPrefix20220218\Symfony\Component\Console\Question\ChoiceQuestion $question, string $tag) : array
{
$messages = [];
$maxWidth = \max(\array_map([__CLASS__, 'width'], \array_keys($choices = $question->getChoices())));
@@ -188,7 +188,7 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
/**
* Outputs an error message.
*/
- protected function writeError(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, \Exception $error)
+ protected function writeError(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, \Exception $error)
{
if (null !== $this->getHelperSet() && $this->getHelperSet()->has('formatter')) {
$message = $this->getHelperSet()->get('formatter')->formatBlock($error->getMessage(), 'error');
@@ -202,9 +202,9 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
*
* @param resource $inputStream
*/
- private function autocomplete(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220217\Symfony\Component\Console\Question\Question $question, $inputStream, callable $autocomplete) : string
+ private function autocomplete(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220218\Symfony\Component\Console\Question\Question $question, $inputStream, callable $autocomplete) : string
{
- $cursor = new \RectorPrefix20220217\Symfony\Component\Console\Cursor($output, $inputStream);
+ $cursor = new \RectorPrefix20220218\Symfony\Component\Console\Cursor($output, $inputStream);
$fullChoice = '';
$ret = '';
$i = 0;
@@ -218,7 +218,7 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
// Disable icanon (so we can fread each keypress) and echo (we'll do echoing here instead)
\shell_exec('stty -icanon -echo');
// Add highlighted text style
- $output->getFormatter()->setStyle('hl', new \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterStyle('black', 'white'));
+ $output->getFormatter()->setStyle('hl', new \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterStyle('black', 'white'));
// Read a keypress
while (!\feof($inputStream)) {
while ($isStdin && 0 === @\stream_select($r, $w, $w, 0, 100)) {
@@ -229,12 +229,12 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
// as opposed to fgets(), fread() returns an empty string when the stream content is empty, not false.
if (\false === $c || '' === $ret && '' === $c && null === $question->getDefault()) {
\shell_exec('stty ' . $sttyMode);
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\MissingInputException('Aborted.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\MissingInputException('Aborted.');
} elseif ("" === $c) {
// Backspace Character
if (0 === $numMatches && 0 !== $i) {
--$i;
- $cursor->moveLeft(\RectorPrefix20220217\Symfony\Component\String\s($fullChoice)->slice(-1)->width(\false));
+ $cursor->moveLeft(\RectorPrefix20220218\Symfony\Component\String\s($fullChoice)->slice(-1)->width(\false));
$fullChoice = self::substr($fullChoice, 0, $i);
}
if (0 === $i) {
@@ -291,7 +291,7 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
$fullChoice .= $c;
++$i;
$tempRet = $ret;
- if ($question instanceof \RectorPrefix20220217\Symfony\Component\Console\Question\ChoiceQuestion && $question->isMultiselect()) {
+ if ($question instanceof \RectorPrefix20220218\Symfony\Component\Console\Question\ChoiceQuestion && $question->isMultiselect()) {
$tempRet = $this->mostRecentlyEnteredValue($fullChoice);
}
$numMatches = 0;
@@ -308,7 +308,7 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
$cursor->savePosition();
// Write highlighted text, complete the partially entered response
$charactersEntered = \strlen(\trim($this->mostRecentlyEnteredValue($fullChoice)));
- $output->write('' . \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash(\substr($matches[$ofs], $charactersEntered)) . '');
+ $output->write('' . \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash(\substr($matches[$ofs], $charactersEntered)) . '');
$cursor->restorePosition();
}
}
@@ -336,7 +336,7 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
*
* @throws RuntimeException In case the fallback is deactivated and the response cannot be hidden
*/
- private function getHiddenResponse(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, $inputStream, bool $trimmable = \true) : string
+ private function getHiddenResponse(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, $inputStream, bool $trimmable = \true) : string
{
if ('\\' === \DIRECTORY_SEPARATOR) {
$exe = __DIR__ . '/../Resources/bin/hiddeninput.exe';
@@ -354,18 +354,18 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
}
return $value;
}
- if (self::$stty && \RectorPrefix20220217\Symfony\Component\Console\Terminal::hasSttyAvailable()) {
+ if (self::$stty && \RectorPrefix20220218\Symfony\Component\Console\Terminal::hasSttyAvailable()) {
$sttyMode = \shell_exec('stty -g');
\shell_exec('stty -echo');
} elseif ($this->isInteractiveInput($inputStream)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException('Unable to hide the response.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException('Unable to hide the response.');
}
$value = \fgets($inputStream, 4096);
- if (self::$stty && \RectorPrefix20220217\Symfony\Component\Console\Terminal::hasSttyAvailable()) {
+ if (self::$stty && \RectorPrefix20220218\Symfony\Component\Console\Terminal::hasSttyAvailable()) {
\shell_exec('stty ' . $sttyMode);
}
if (\false === $value) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\MissingInputException('Aborted.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\MissingInputException('Aborted.');
}
if ($trimmable) {
$value = \trim($value);
@@ -381,7 +381,7 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
* @throws \Exception In case the max number of attempts has been reached and no valid response has been given
* @return mixed
*/
- private function validateAttempts(callable $interviewer, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220217\Symfony\Component\Console\Question\Question $question)
+ private function validateAttempts(callable $interviewer, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220218\Symfony\Component\Console\Question\Question $question)
{
$error = null;
$attempts = $question->getMaxAttempts();
@@ -391,7 +391,7 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
}
try {
return $question->getValidator()($interviewer());
- } catch (\RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException $e) {
throw $e;
} catch (\Exception $error) {
}
@@ -425,7 +425,7 @@ class QuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Hel
* @param Question $question The question being asked
* @return string|true
*/
- private function readInput($inputStream, \RectorPrefix20220217\Symfony\Component\Console\Question\Question $question)
+ private function readInput($inputStream, \RectorPrefix20220218\Symfony\Component\Console\Question\Question $question)
{
if (!$question->isMultiline()) {
$cp = $this->setIOCodepage();
diff --git a/vendor/symfony/console/Helper/SymfonyQuestionHelper.php b/vendor/symfony/console/Helper/SymfonyQuestionHelper.php
index adbceff7a04..10c8b8575b2 100644
--- a/vendor/symfony/console/Helper/SymfonyQuestionHelper.php
+++ b/vendor/symfony/console/Helper/SymfonyQuestionHelper.php
@@ -8,27 +8,27 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Question\ChoiceQuestion;
-use RectorPrefix20220217\Symfony\Component\Console\Question\ConfirmationQuestion;
-use RectorPrefix20220217\Symfony\Component\Console\Question\Question;
-use RectorPrefix20220217\Symfony\Component\Console\Style\SymfonyStyle;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Question\ChoiceQuestion;
+use RectorPrefix20220218\Symfony\Component\Console\Question\ConfirmationQuestion;
+use RectorPrefix20220218\Symfony\Component\Console\Question\Question;
+use RectorPrefix20220218\Symfony\Component\Console\Style\SymfonyStyle;
/**
* Symfony Style Guide compliant question helper.
*
* @author Kevin Bond
*/
-class SymfonyQuestionHelper extends \RectorPrefix20220217\Symfony\Component\Console\Helper\QuestionHelper
+class SymfonyQuestionHelper extends \RectorPrefix20220218\Symfony\Component\Console\Helper\QuestionHelper
{
/**
* {@inheritdoc}
*/
- protected function writePrompt(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220217\Symfony\Component\Console\Question\Question $question)
+ protected function writePrompt(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20220218\Symfony\Component\Console\Question\Question $question)
{
- $text = \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($question->getQuestion());
+ $text = \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($question->getQuestion());
$default = $question->getDefault();
if ($question->isMultiline()) {
$text .= \sprintf(' (press %s to continue)', $this->getEofShortcut());
@@ -37,27 +37,27 @@ class SymfonyQuestionHelper extends \RectorPrefix20220217\Symfony\Component\Cons
case null === $default:
$text = \sprintf(' %s:', $text);
break;
- case $question instanceof \RectorPrefix20220217\Symfony\Component\Console\Question\ConfirmationQuestion:
+ case $question instanceof \RectorPrefix20220218\Symfony\Component\Console\Question\ConfirmationQuestion:
$text = \sprintf(' %s (yes/no) [%s]:', $text, $default ? 'yes' : 'no');
break;
- case $question instanceof \RectorPrefix20220217\Symfony\Component\Console\Question\ChoiceQuestion && $question->isMultiselect():
+ case $question instanceof \RectorPrefix20220218\Symfony\Component\Console\Question\ChoiceQuestion && $question->isMultiselect():
$choices = $question->getChoices();
$default = \explode(',', $default);
foreach ($default as $key => $value) {
$default[$key] = $choices[\trim($value)];
}
- $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter::escape(\implode(', ', $default)));
+ $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter::escape(\implode(', ', $default)));
break;
- case $question instanceof \RectorPrefix20220217\Symfony\Component\Console\Question\ChoiceQuestion:
+ case $question instanceof \RectorPrefix20220218\Symfony\Component\Console\Question\ChoiceQuestion:
$choices = $question->getChoices();
- $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter::escape($choices[$default] ?? $default));
+ $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter::escape($choices[$default] ?? $default));
break;
default:
- $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter::escape($default));
+ $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter::escape($default));
}
$output->writeln($text);
$prompt = ' > ';
- if ($question instanceof \RectorPrefix20220217\Symfony\Component\Console\Question\ChoiceQuestion) {
+ if ($question instanceof \RectorPrefix20220218\Symfony\Component\Console\Question\ChoiceQuestion) {
$output->writeln($this->formatChoiceQuestionChoices($question, 'comment'));
$prompt = $question->getPrompt();
}
@@ -66,9 +66,9 @@ class SymfonyQuestionHelper extends \RectorPrefix20220217\Symfony\Component\Cons
/**
* {@inheritdoc}
*/
- protected function writeError(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, \Exception $error)
+ protected function writeError(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, \Exception $error)
{
- if ($output instanceof \RectorPrefix20220217\Symfony\Component\Console\Style\SymfonyStyle) {
+ if ($output instanceof \RectorPrefix20220218\Symfony\Component\Console\Style\SymfonyStyle) {
$output->newLine();
$output->error($error->getMessage());
return;
diff --git a/vendor/symfony/console/Helper/Table.php b/vendor/symfony/console/Helper/Table.php
index a269944ed3d..271294fb6cb 100644
--- a/vendor/symfony/console/Helper/Table.php
+++ b/vendor/symfony/console/Helper/Table.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleSectionOutput;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleSectionOutput;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* Provides helpers to display a table.
*
@@ -83,7 +83,7 @@ class Table
* @var mixed[]
*/
private static $styles;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output)
{
$this->output = $output;
self::$styles = self::$styles ?? self::initStyles();
@@ -92,7 +92,7 @@ class Table
/**
* Sets a style definition.
*/
- public static function setStyleDefinition(string $name, \RectorPrefix20220217\Symfony\Component\Console\Helper\TableStyle $style)
+ public static function setStyleDefinition(string $name, \RectorPrefix20220218\Symfony\Component\Console\Helper\TableStyle $style)
{
self::$styles = self::$styles ?? self::initStyles();
self::$styles[$name] = $style;
@@ -100,11 +100,11 @@ class Table
/**
* Gets a style definition by name.
*/
- public static function getStyleDefinition(string $name) : \RectorPrefix20220217\Symfony\Component\Console\Helper\TableStyle
+ public static function getStyleDefinition(string $name) : \RectorPrefix20220218\Symfony\Component\Console\Helper\TableStyle
{
self::$styles = self::$styles ?? self::initStyles();
if (!isset(self::$styles[$name])) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Style "%s" is not defined.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Style "%s" is not defined.', $name));
}
return self::$styles[$name];
}
@@ -122,7 +122,7 @@ class Table
/**
* Gets the current table style.
*/
- public function getStyle() : \RectorPrefix20220217\Symfony\Component\Console\Helper\TableStyle
+ public function getStyle() : \RectorPrefix20220218\Symfony\Component\Console\Helper\TableStyle
{
return $this->style;
}
@@ -143,7 +143,7 @@ class Table
*
* If style was not set, it returns the global table style.
*/
- public function getColumnStyle(int $columnIndex) : \RectorPrefix20220217\Symfony\Component\Console\Helper\TableStyle
+ public function getColumnStyle(int $columnIndex) : \RectorPrefix20220218\Symfony\Component\Console\Helper\TableStyle
{
return $this->columnStyles[$columnIndex] ?? $this->getStyle();
}
@@ -180,8 +180,8 @@ class Table
*/
public function setColumnMaxWidth(int $columnIndex, int $width)
{
- if (!$this->output->getFormatter() instanceof \RectorPrefix20220217\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface) {
- throw new \LogicException(\sprintf('Setting a maximum column width is only supported when using a "%s" formatter, got "%s".', \RectorPrefix20220217\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface::class, \get_debug_type($this->output->getFormatter())));
+ if (!$this->output->getFormatter() instanceof \RectorPrefix20220218\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface) {
+ throw new \LogicException(\sprintf('Setting a maximum column width is only supported when using a "%s" formatter, got "%s".', \RectorPrefix20220218\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface::class, \get_debug_type($this->output->getFormatter())));
}
$this->columnMaxWidths[$columnIndex] = $width;
return $this;
@@ -219,7 +219,7 @@ class Table
*/
public function addRow($row)
{
- if ($row instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableSeparator) {
+ if ($row instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableSeparator) {
$this->rows[] = $row;
return $this;
}
@@ -234,8 +234,8 @@ class Table
*/
public function appendRow($row)
{
- if (!$this->output instanceof \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleSectionOutput) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException(\sprintf('Output should be an instance of "%s" when calling "%s".', \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleSectionOutput::class, __METHOD__));
+ if (!$this->output instanceof \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleSectionOutput) {
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException(\sprintf('Output should be an instance of "%s" when calling "%s".', \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleSectionOutput::class, __METHOD__));
}
if ($this->rendered) {
$this->output->clear($this->calculateRowCount());
@@ -292,18 +292,18 @@ class Table
*/
public function render()
{
- $divider = new \RectorPrefix20220217\Symfony\Component\Console\Helper\TableSeparator();
+ $divider = new \RectorPrefix20220218\Symfony\Component\Console\Helper\TableSeparator();
if ($this->horizontal) {
$rows = [];
foreach ($this->headers[0] ?? [] as $i => $header) {
$rows[$i] = [$header];
foreach ($this->rows as $row) {
- if ($row instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableSeparator) {
+ if ($row instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableSeparator) {
continue;
}
if (isset($row[$i])) {
$rows[$i][] = $row[$i];
- } elseif ($rows[$i][0] instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell && $rows[$i][0]->getColspan() >= 2) {
+ } elseif ($rows[$i][0] instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell && $rows[$i][0]->getColspan() >= 2) {
// Noop, there is a "title"
} else {
$rows[$i][] = null;
@@ -325,7 +325,7 @@ class Table
$isFirstRow = \true;
continue;
}
- if ($row instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableSeparator) {
+ if ($row instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableSeparator) {
$this->renderRowSeparator();
continue;
}
@@ -379,12 +379,12 @@ class Table
$markup .= $column === $count - 1 ? $rightChar : $midChar;
}
if (null !== $title) {
- $titleLength = \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter = $this->output->getFormatter(), $formattedTitle = \sprintf($titleFormat, $title)));
- $markupLength = \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($markup);
+ $titleLength = \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter = $this->output->getFormatter(), $formattedTitle = \sprintf($titleFormat, $title)));
+ $markupLength = \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($markup);
if ($titleLength > ($limit = $markupLength - 4)) {
$titleLength = $limit;
- $formatLength = \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter, \sprintf($titleFormat, '')));
- $formattedTitle = \sprintf($titleFormat, \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::substr($title, 0, $limit - $formatLength - 3) . '...');
+ $formatLength = \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter, \sprintf($titleFormat, '')));
+ $formattedTitle = \sprintf($titleFormat, \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::substr($title, 0, $limit - $formatLength - 3) . '...');
}
$titleStart = \intdiv($markupLength - $titleLength, 2);
if (\false === \mb_detect_encoding($markup, null, \true)) {
@@ -432,7 +432,7 @@ class Table
{
$cell = $row[$column] ?? '';
$width = $this->effectiveColumnWidths[$column];
- if ($cell instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell && $cell->getColspan() > 1) {
+ if ($cell instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell && $cell->getColspan() > 1) {
// add the width of the following columns(numbers of colspan).
foreach (\range($column + 1, $column + $cell->getColspan() - 1) as $nextColumn) {
$width += $this->getColumnSeparatorWidth() + $this->effectiveColumnWidths[$nextColumn];
@@ -443,13 +443,13 @@ class Table
$width += \strlen($cell) - \mb_strwidth($cell, $encoding);
}
$style = $this->getColumnStyle($column);
- if ($cell instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableSeparator) {
+ if ($cell instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableSeparator) {
return \sprintf($style->getBorderFormat(), \str_repeat($style->getBorderChars()[2], $width));
}
- $width += \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::length($cell) - \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::length(\RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell));
+ $width += \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::length($cell) - \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::length(\RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell));
$content = \sprintf($style->getCellRowContentFormat(), $cell);
$padType = $style->getPadType();
- if ($cell instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell && $cell->getStyle() instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCellStyle) {
+ if ($cell instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell && $cell->getStyle() instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCellStyle) {
$isNotStyledByTag = !\preg_match('/^<(\\w+|(\\w+=[\\w,]+;?)*)>.+<\\/(\\w+|(\\w+=\\w+;?)*)?>$/', $cell);
if ($isNotStyledByTag) {
$cellFormat = $cell->getStyle()->getCellFormat();
@@ -477,14 +477,14 @@ class Table
{
$columns = [0];
foreach ($rows as $row) {
- if ($row instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableSeparator) {
+ if ($row instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableSeparator) {
continue;
}
$columns[] = $this->getNumberOfColumns($row);
}
$this->numberOfColumns = \max($columns);
}
- private function buildTableRows(array $rows) : \RectorPrefix20220217\Symfony\Component\Console\Helper\TableRows
+ private function buildTableRows(array $rows) : \RectorPrefix20220218\Symfony\Component\Console\Helper\TableRows
{
/** @var WrappableOutputFormatterInterface $formatter */
$formatter = $this->output->getFormatter();
@@ -493,19 +493,19 @@ class Table
$rows = $this->fillNextRows($rows, $rowKey);
// Remove any new line breaks and replace it with a new line
foreach ($rows[$rowKey] as $column => $cell) {
- $colspan = $cell instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell ? $cell->getColspan() : 1;
- if (isset($this->columnMaxWidths[$column]) && \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter, $cell)) > $this->columnMaxWidths[$column]) {
+ $colspan = $cell instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell ? $cell->getColspan() : 1;
+ if (isset($this->columnMaxWidths[$column]) && \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter, $cell)) > $this->columnMaxWidths[$column]) {
$cell = $formatter->formatAndWrap($cell, $this->columnMaxWidths[$column] * $colspan);
}
if (!\strstr($cell ?? '', "\n")) {
continue;
}
- $escaped = \implode("\n", \array_map([\RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter::class, 'escapeTrailingBackslash'], \explode("\n", $cell)));
- $cell = $cell instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell ? new \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell($escaped, ['colspan' => $cell->getColspan()]) : $escaped;
+ $escaped = \implode("\n", \array_map([\RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter::class, 'escapeTrailingBackslash'], \explode("\n", $cell)));
+ $cell = $cell instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell ? new \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell($escaped, ['colspan' => $cell->getColspan()]) : $escaped;
$lines = \explode("\n", \str_replace("\n", "\n>", $cell));
foreach ($lines as $lineKey => $line) {
if ($colspan > 1) {
- $line = new \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell($line, ['colspan' => $colspan]);
+ $line = new \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell($line, ['colspan' => $colspan]);
}
if (0 === $lineKey) {
$rows[$rowKey][$column] = $line;
@@ -518,12 +518,12 @@ class Table
}
}
}
- return new \RectorPrefix20220217\Symfony\Component\Console\Helper\TableRows(function () use($rows, $unmergedRows) : \Traversable {
+ return new \RectorPrefix20220218\Symfony\Component\Console\Helper\TableRows(function () use($rows, $unmergedRows) : \Traversable {
foreach ($rows as $rowKey => $row) {
- (yield $row instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableSeparator ? $row : $this->fillCells($row));
+ (yield $row instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableSeparator ? $row : $this->fillCells($row));
if (isset($unmergedRows[$rowKey])) {
foreach ($unmergedRows[$rowKey] as $row) {
- (yield $row instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableSeparator ? $row : $this->fillCells($row));
+ (yield $row instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableSeparator ? $row : $this->fillCells($row));
}
}
}
@@ -531,7 +531,7 @@ class Table
}
private function calculateRowCount() : int
{
- $numberOfRows = \count(\iterator_to_array($this->buildTableRows(\array_merge($this->headers, [new \RectorPrefix20220217\Symfony\Component\Console\Helper\TableSeparator()], $this->rows))));
+ $numberOfRows = \count(\iterator_to_array($this->buildTableRows(\array_merge($this->headers, [new \RectorPrefix20220218\Symfony\Component\Console\Helper\TableSeparator()], $this->rows))));
if ($this->headers) {
++$numberOfRows;
// Add row for header separator
@@ -551,23 +551,23 @@ class Table
{
$unmergedRows = [];
foreach ($rows[$line] as $column => $cell) {
- if (null !== $cell && !$cell instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell && !\is_scalar($cell) && !$cell instanceof \Stringable) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('A cell must be a TableCell, a scalar or an object implementing "__toString()", "%s" given.', \get_debug_type($cell)));
+ if (null !== $cell && !$cell instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell && !\is_scalar($cell) && !$cell instanceof \Stringable) {
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('A cell must be a TableCell, a scalar or an object implementing "__toString()", "%s" given.', \get_debug_type($cell)));
}
- if ($cell instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell && $cell->getRowspan() > 1) {
+ if ($cell instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell && $cell->getRowspan() > 1) {
$nbLines = $cell->getRowspan() - 1;
$lines = [$cell];
if (\strstr($cell, "\n")) {
$lines = \explode("\n", \str_replace("\n", "\n>", $cell));
$nbLines = \count($lines) > $nbLines ? \substr_count($cell, "\n") : $nbLines;
- $rows[$line][$column] = new \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell($lines[0], ['colspan' => $cell->getColspan(), 'style' => $cell->getStyle()]);
+ $rows[$line][$column] = new \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell($lines[0], ['colspan' => $cell->getColspan(), 'style' => $cell->getStyle()]);
unset($lines[0]);
}
// create a two dimensional array (rowspan x colspan)
$unmergedRows = \array_replace_recursive(\array_fill($line + 1, $nbLines, []), $unmergedRows);
foreach ($unmergedRows as $unmergedRowKey => $unmergedRow) {
$value = $lines[$unmergedRowKey - $line] ?? '';
- $unmergedRows[$unmergedRowKey][$column] = new \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell($value, ['colspan' => $cell->getColspan(), 'style' => $cell->getStyle()]);
+ $unmergedRows[$unmergedRowKey][$column] = new \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell($value, ['colspan' => $cell->getColspan(), 'style' => $cell->getStyle()]);
if ($nbLines === $unmergedRowKey - $line) {
break;
}
@@ -601,7 +601,7 @@ class Table
$newRow = [];
foreach ($row as $column => $cell) {
$newRow[] = $cell;
- if ($cell instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell && $cell->getColspan() > 1) {
+ if ($cell instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell && $cell->getColspan() > 1) {
foreach (\range($column + 1, $column + $cell->getColspan() - 1) as $position) {
// insert empty value at column position
$newRow[] = '';
@@ -615,8 +615,8 @@ class Table
$row = $rows[$line];
foreach ($row as $cellKey => $cellValue) {
$row[$cellKey] = '';
- if ($cellValue instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell) {
- $row[$cellKey] = new \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell('', ['colspan' => $cellValue->getColspan()]);
+ if ($cellValue instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell) {
+ $row[$cellKey] = new \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell('', ['colspan' => $cellValue->getColspan()]);
}
}
return $row;
@@ -628,7 +628,7 @@ class Table
{
$columns = \count($row);
foreach ($row as $column) {
- $columns += $column instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell ? $column->getColspan() - 1 : 0;
+ $columns += $column instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell ? $column->getColspan() - 1 : 0;
}
return $columns;
}
@@ -639,7 +639,7 @@ class Table
{
$columns = \range(0, $this->numberOfColumns - 1);
foreach ($row as $cellKey => $cell) {
- if ($cell instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell && $cell->getColspan() > 1) {
+ if ($cell instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell && $cell->getColspan() > 1) {
// exclude grouped columns.
$columns = \array_diff($columns, \range($cellKey + 1, $cellKey + $cell->getColspan() - 1));
}
@@ -654,13 +654,13 @@ class Table
for ($column = 0; $column < $this->numberOfColumns; ++$column) {
$lengths = [];
foreach ($rows as $row) {
- if ($row instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableSeparator) {
+ if ($row instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableSeparator) {
continue;
}
foreach ($row as $i => $cell) {
- if ($cell instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell) {
- $textContent = \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell);
- $textLength = \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($textContent);
+ if ($cell instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell) {
+ $textContent = \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell);
+ $textLength = \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($textContent);
if ($textLength > 0) {
$contentColumns = \str_split($textContent, \ceil($textLength / $cell->getColspan()));
foreach ($contentColumns as $position => $content) {
@@ -671,19 +671,19 @@ class Table
}
$lengths[] = $this->getCellWidth($row, $column);
}
- $this->effectiveColumnWidths[$column] = \max($lengths) + \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($this->style->getCellRowContentFormat()) - 2;
+ $this->effectiveColumnWidths[$column] = \max($lengths) + \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($this->style->getCellRowContentFormat()) - 2;
}
}
private function getColumnSeparatorWidth() : int
{
- return \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width(\sprintf($this->style->getBorderFormat(), $this->style->getBorderChars()[3]));
+ return \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width(\sprintf($this->style->getBorderFormat(), $this->style->getBorderChars()[3]));
}
private function getCellWidth(array $row, int $column) : int
{
$cellWidth = 0;
if (isset($row[$column])) {
$cell = $row[$column];
- $cellWidth = \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell));
+ $cellWidth = \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell));
}
$columnWidth = $this->columnWidths[$column] ?? 0;
$cellWidth = \max($cellWidth, $columnWidth);
@@ -702,26 +702,26 @@ class Table
*/
private static function initStyles() : array
{
- $borderless = new \RectorPrefix20220217\Symfony\Component\Console\Helper\TableStyle();
+ $borderless = new \RectorPrefix20220218\Symfony\Component\Console\Helper\TableStyle();
$borderless->setHorizontalBorderChars('=')->setVerticalBorderChars(' ')->setDefaultCrossingChar(' ');
- $compact = new \RectorPrefix20220217\Symfony\Component\Console\Helper\TableStyle();
+ $compact = new \RectorPrefix20220218\Symfony\Component\Console\Helper\TableStyle();
$compact->setHorizontalBorderChars('')->setVerticalBorderChars(' ')->setDefaultCrossingChar('')->setCellRowContentFormat('%s');
- $styleGuide = new \RectorPrefix20220217\Symfony\Component\Console\Helper\TableStyle();
+ $styleGuide = new \RectorPrefix20220218\Symfony\Component\Console\Helper\TableStyle();
$styleGuide->setHorizontalBorderChars('-')->setVerticalBorderChars(' ')->setDefaultCrossingChar(' ')->setCellHeaderFormat('%s');
- $box = (new \RectorPrefix20220217\Symfony\Component\Console\Helper\TableStyle())->setHorizontalBorderChars('─')->setVerticalBorderChars('│')->setCrossingChars('┼', '┌', '┬', '┐', '┤', '┘', '┴', '└', '├');
- $boxDouble = (new \RectorPrefix20220217\Symfony\Component\Console\Helper\TableStyle())->setHorizontalBorderChars('═', '─')->setVerticalBorderChars('║', '│')->setCrossingChars('┼', '╔', '╤', '╗', '╢', '╝', '╧', '╚', '╟', '╠', '╪', '╣');
- return ['default' => new \RectorPrefix20220217\Symfony\Component\Console\Helper\TableStyle(), 'borderless' => $borderless, 'compact' => $compact, 'symfony-style-guide' => $styleGuide, 'box' => $box, 'box-double' => $boxDouble];
+ $box = (new \RectorPrefix20220218\Symfony\Component\Console\Helper\TableStyle())->setHorizontalBorderChars('─')->setVerticalBorderChars('│')->setCrossingChars('┼', '┌', '┬', '┐', '┤', '┘', '┴', '└', '├');
+ $boxDouble = (new \RectorPrefix20220218\Symfony\Component\Console\Helper\TableStyle())->setHorizontalBorderChars('═', '─')->setVerticalBorderChars('║', '│')->setCrossingChars('┼', '╔', '╤', '╗', '╢', '╝', '╧', '╚', '╟', '╠', '╪', '╣');
+ return ['default' => new \RectorPrefix20220218\Symfony\Component\Console\Helper\TableStyle(), 'borderless' => $borderless, 'compact' => $compact, 'symfony-style-guide' => $styleGuide, 'box' => $box, 'box-double' => $boxDouble];
}
/**
* @param string|\Symfony\Component\Console\Helper\TableStyle $name
*/
- private function resolveStyle($name) : \RectorPrefix20220217\Symfony\Component\Console\Helper\TableStyle
+ private function resolveStyle($name) : \RectorPrefix20220218\Symfony\Component\Console\Helper\TableStyle
{
- if ($name instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableStyle) {
+ if ($name instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableStyle) {
return $name;
}
if (!isset(self::$styles[$name])) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Style "%s" is not defined.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Style "%s" is not defined.', $name));
}
return self::$styles[$name];
}
diff --git a/vendor/symfony/console/Helper/TableCell.php b/vendor/symfony/console/Helper/TableCell.php
index 83b975cff9a..95ce041a257 100644
--- a/vendor/symfony/console/Helper/TableCell.php
+++ b/vendor/symfony/console/Helper/TableCell.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
/**
* @author Abdellatif Ait boudad
*/
@@ -29,10 +29,10 @@ class TableCell
$this->value = $value;
// check option names
if ($diff = \array_diff(\array_keys($options), \array_keys($this->options))) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The TableCell does not support the following options: \'%s\'.', \implode('\', \'', $diff)));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The TableCell does not support the following options: \'%s\'.', \implode('\', \'', $diff)));
}
- if (isset($options['style']) && !$options['style'] instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCellStyle) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException('The style option must be an instance of "TableCellStyle".');
+ if (isset($options['style']) && !$options['style'] instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCellStyle) {
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException('The style option must be an instance of "TableCellStyle".');
}
$this->options = \array_merge($this->options, $options);
}
@@ -57,7 +57,7 @@ class TableCell
{
return (int) $this->options['rowspan'];
}
- public function getStyle() : ?\RectorPrefix20220217\Symfony\Component\Console\Helper\TableCellStyle
+ public function getStyle() : ?\RectorPrefix20220218\Symfony\Component\Console\Helper\TableCellStyle
{
return $this->options['style'];
}
diff --git a/vendor/symfony/console/Helper/TableCellStyle.php b/vendor/symfony/console/Helper/TableCellStyle.php
index 4e3b6408315..3fb8fad67fc 100644
--- a/vendor/symfony/console/Helper/TableCellStyle.php
+++ b/vendor/symfony/console/Helper/TableCellStyle.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
/**
* @author Yewhen Khoptynskyi
*/
@@ -26,10 +26,10 @@ class TableCellStyle
public function __construct(array $options = [])
{
if ($diff = \array_diff(\array_keys($options), \array_keys($this->options))) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The TableCellStyle does not support the following options: \'%s\'.', \implode('\', \'', $diff)));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The TableCellStyle does not support the following options: \'%s\'.', \implode('\', \'', $diff)));
}
if (isset($options['align']) && !\array_key_exists($options['align'], self::ALIGN_MAP)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Wrong align value. Value must be following: \'%s\'.', \implode('\', \'', \array_keys(self::ALIGN_MAP))));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Wrong align value. Value must be following: \'%s\'.', \implode('\', \'', \array_keys(self::ALIGN_MAP))));
}
$this->options = \array_merge($this->options, $options);
}
diff --git a/vendor/symfony/console/Helper/TableRows.php b/vendor/symfony/console/Helper/TableRows.php
index f0b20941b31..a3b54a83d09 100644
--- a/vendor/symfony/console/Helper/TableRows.php
+++ b/vendor/symfony/console/Helper/TableRows.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
/**
* @internal
diff --git a/vendor/symfony/console/Helper/TableSeparator.php b/vendor/symfony/console/Helper/TableSeparator.php
index 8ab7bf62ae1..89e53d3bdb7 100644
--- a/vendor/symfony/console/Helper/TableSeparator.php
+++ b/vendor/symfony/console/Helper/TableSeparator.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
/**
* Marks a row as being a separator.
*
* @author Fabien Potencier
*/
-class TableSeparator extends \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell
+class TableSeparator extends \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell
{
public function __construct(array $options = [])
{
diff --git a/vendor/symfony/console/Helper/TableStyle.php b/vendor/symfony/console/Helper/TableStyle.php
index 82ac4be5294..a0905cc62d6 100644
--- a/vendor/symfony/console/Helper/TableStyle.php
+++ b/vendor/symfony/console/Helper/TableStyle.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Helper;
+namespace RectorPrefix20220218\Symfony\Component\Console\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException;
/**
* Defines the styles for a Table.
*
@@ -125,7 +125,7 @@ class TableStyle
public function setPaddingChar(string $paddingChar)
{
if (!$paddingChar) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException('The padding char must not be empty.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException('The padding char must not be empty.');
}
$this->paddingChar = $paddingChar;
return $this;
@@ -339,7 +339,7 @@ class TableStyle
public function setPadType(int $padType)
{
if (!\in_array($padType, [\STR_PAD_LEFT, \STR_PAD_RIGHT, \STR_PAD_BOTH], \true)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException('Invalid padding type. Expected one of (STR_PAD_LEFT, STR_PAD_RIGHT, STR_PAD_BOTH).');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException('Invalid padding type. Expected one of (STR_PAD_LEFT, STR_PAD_RIGHT, STR_PAD_BOTH).');
}
$this->padType = $padType;
return $this;
diff --git a/vendor/symfony/console/Input/ArgvInput.php b/vendor/symfony/console/Input/ArgvInput.php
index f565b0b4af7..9302c59f891 100644
--- a/vendor/symfony/console/Input/ArgvInput.php
+++ b/vendor/symfony/console/Input/ArgvInput.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Input;
+namespace RectorPrefix20220218\Symfony\Component\Console\Input;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException;
/**
* ArgvInput represents an input coming from the CLI arguments.
*
@@ -36,7 +36,7 @@ use RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException;
* @see http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html
* @see http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html#tag_12_02
*/
-class ArgvInput extends \RectorPrefix20220217\Symfony\Component\Console\Input\Input
+class ArgvInput extends \RectorPrefix20220218\Symfony\Component\Console\Input\Input
{
/**
* @var mixed[]
@@ -46,7 +46,7 @@ class ArgvInput extends \RectorPrefix20220217\Symfony\Component\Console\Input\In
* @var mixed[]
*/
private $parsed;
- public function __construct(array $argv = null, \RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition $definition = null)
+ public function __construct(array $argv = null, \RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition $definition = null)
{
$argv = $argv ?? $_SERVER['argv'] ?? [];
// strip the application name
@@ -112,7 +112,7 @@ class ArgvInput extends \RectorPrefix20220217\Symfony\Component\Console\Input\In
for ($i = 0; $i < $len; ++$i) {
if (!$this->definition->hasShortcut($name[$i])) {
$encoding = \mb_detect_encoding($name, null, \true);
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "-%s" option does not exist.', \false === $encoding ? $name[$i] : \mb_substr($name, $i, 1, $encoding)));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "-%s" option does not exist.', \false === $encoding ? $name[$i] : \mb_substr($name, $i, 1, $encoding)));
}
$option = $this->definition->getOptionForShortcut($name[$i]);
if ($option->acceptValue()) {
@@ -174,7 +174,7 @@ class ArgvInput extends \RectorPrefix20220217\Symfony\Component\Console\Input\In
} else {
$message = \sprintf('No arguments expected, got "%s".', $token);
}
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException($message);
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException($message);
}
}
/**
@@ -186,7 +186,7 @@ class ArgvInput extends \RectorPrefix20220217\Symfony\Component\Console\Input\In
private function addShortOption(string $shortcut, $value)
{
if (!$this->definition->hasShortcut($shortcut)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "-%s" option does not exist.', $shortcut));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "-%s" option does not exist.', $shortcut));
}
$this->addLongOption($this->definition->getOptionForShortcut($shortcut)->getName(), $value);
}
@@ -200,18 +200,18 @@ class ArgvInput extends \RectorPrefix20220217\Symfony\Component\Console\Input\In
{
if (!$this->definition->hasOption($name)) {
if (!$this->definition->hasNegation($name)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option does not exist.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option does not exist.', $name));
}
$optionName = $this->definition->negationToName($name);
if (null !== $value) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option does not accept a value.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option does not accept a value.', $name));
}
$this->options[$optionName] = \false;
return;
}
$option = $this->definition->getOption($name);
if (null !== $value && !$option->acceptValue()) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option does not accept a value.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option does not accept a value.', $name));
}
if (\in_array($value, ['', null], \true) && $option->acceptValue() && \count($this->parsed)) {
// if option accepts an optional or mandatory argument
@@ -225,7 +225,7 @@ class ArgvInput extends \RectorPrefix20220217\Symfony\Component\Console\Input\In
}
if (null === $value) {
if ($option->isValueRequired()) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option requires a value.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option requires a value.', $name));
}
if (!$option->isArray() && !$option->isValueOptional()) {
$value = \true;
diff --git a/vendor/symfony/console/Input/ArrayInput.php b/vendor/symfony/console/Input/ArrayInput.php
index 92489e14d42..fdd6e966396 100644
--- a/vendor/symfony/console/Input/ArrayInput.php
+++ b/vendor/symfony/console/Input/ArrayInput.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Input;
+namespace RectorPrefix20220218\Symfony\Component\Console\Input;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidOptionException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidOptionException;
/**
* ArrayInput represents an input provided as an array.
*
@@ -21,13 +21,13 @@ use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidOptionExcept
*
* @author Fabien Potencier
*/
-class ArrayInput extends \RectorPrefix20220217\Symfony\Component\Console\Input\Input
+class ArrayInput extends \RectorPrefix20220218\Symfony\Component\Console\Input\Input
{
/**
* @var mixed[]
*/
private $parameters;
- public function __construct(array $parameters, \RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition $definition = null)
+ public function __construct(array $parameters, \RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition $definition = null)
{
$this->parameters = $parameters;
parent::__construct($definition);
@@ -137,7 +137,7 @@ class ArrayInput extends \RectorPrefix20220217\Symfony\Component\Console\Input\I
private function addShortOption(string $shortcut, $value)
{
if (!$this->definition->hasShortcut($shortcut)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "-%s" option does not exist.', $shortcut));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "-%s" option does not exist.', $shortcut));
}
$this->addLongOption($this->definition->getOptionForShortcut($shortcut)->getName(), $value);
}
@@ -152,7 +152,7 @@ class ArrayInput extends \RectorPrefix20220217\Symfony\Component\Console\Input\I
{
if (!$this->definition->hasOption($name)) {
if (!$this->definition->hasNegation($name)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "--%s" option does not exist.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "--%s" option does not exist.', $name));
}
$optionName = $this->definition->negationToName($name);
$this->options[$optionName] = \false;
@@ -161,7 +161,7 @@ class ArrayInput extends \RectorPrefix20220217\Symfony\Component\Console\Input\I
$option = $this->definition->getOption($name);
if (null === $value) {
if ($option->isValueRequired()) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "--%s" option requires a value.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "--%s" option requires a value.', $name));
}
if (!$option->isValueOptional()) {
$value = \true;
@@ -179,7 +179,7 @@ class ArrayInput extends \RectorPrefix20220217\Symfony\Component\Console\Input\I
private function addArgument($name, $value)
{
if (!$this->definition->hasArgument($name)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name));
}
$this->arguments[$name] = $value;
}
diff --git a/vendor/symfony/console/Input/Input.php b/vendor/symfony/console/Input/Input.php
index 1691e216c60..cafba0c7bea 100644
--- a/vendor/symfony/console/Input/Input.php
+++ b/vendor/symfony/console/Input/Input.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Input;
+namespace RectorPrefix20220218\Symfony\Component\Console\Input;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException;
/**
* Input is the base class for all concrete Input classes.
*
@@ -23,17 +23,17 @@ use RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException;
*
* @author Fabien Potencier
*/
-abstract class Input implements \RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface, \RectorPrefix20220217\Symfony\Component\Console\Input\StreamableInputInterface
+abstract class Input implements \RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface, \RectorPrefix20220218\Symfony\Component\Console\Input\StreamableInputInterface
{
protected $definition;
protected $stream;
protected $options = [];
protected $arguments = [];
protected $interactive = \true;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition $definition = null)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition $definition = null)
{
if (null === $definition) {
- $this->definition = new \RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition();
+ $this->definition = new \RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition();
} else {
$this->bind($definition);
$this->validate();
@@ -42,7 +42,7 @@ abstract class Input implements \RectorPrefix20220217\Symfony\Component\Console\
/**
* {@inheritdoc}
*/
- public function bind(\RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition $definition)
+ public function bind(\RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition $definition)
{
$this->arguments = [];
$this->options = [];
@@ -64,7 +64,7 @@ abstract class Input implements \RectorPrefix20220217\Symfony\Component\Console\
return !\array_key_exists($argument, $givenArguments) && $definition->getArgument($argument)->isRequired();
});
if (\count($missingArguments) > 0) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException(\sprintf('Not enough arguments (missing: "%s").', \implode(', ', $missingArguments)));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException(\sprintf('Not enough arguments (missing: "%s").', \implode(', ', $missingArguments)));
}
}
/**
@@ -95,7 +95,7 @@ abstract class Input implements \RectorPrefix20220217\Symfony\Component\Console\
public function getArgument(string $name)
{
if (!$this->definition->hasArgument($name)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name));
}
return $this->arguments[$name] ?? $this->definition->getArgument($name)->getDefault();
}
@@ -106,7 +106,7 @@ abstract class Input implements \RectorPrefix20220217\Symfony\Component\Console\
public function setArgument(string $name, $value)
{
if (!$this->definition->hasArgument($name)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name));
}
$this->arguments[$name] = $value;
}
@@ -137,7 +137,7 @@ abstract class Input implements \RectorPrefix20220217\Symfony\Component\Console\
return !$value;
}
if (!$this->definition->hasOption($name)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" option does not exist.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" option does not exist.', $name));
}
return \array_key_exists($name, $this->options) ? $this->options[$name] : $this->definition->getOption($name)->getDefault();
}
@@ -151,7 +151,7 @@ abstract class Input implements \RectorPrefix20220217\Symfony\Component\Console\
$this->options[$this->definition->negationToName($name)] = !$value;
return;
} elseif (!$this->definition->hasOption($name)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" option does not exist.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" option does not exist.', $name));
}
$this->options[$name] = $value;
}
diff --git a/vendor/symfony/console/Input/InputArgument.php b/vendor/symfony/console/Input/InputArgument.php
index 8f900e58b63..e83bfb39b13 100644
--- a/vendor/symfony/console/Input/InputArgument.php
+++ b/vendor/symfony/console/Input/InputArgument.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Input;
+namespace RectorPrefix20220218\Symfony\Component\Console\Input;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException;
/**
* Represents a command line argument.
*
@@ -51,7 +51,7 @@ class InputArgument
if (null === $mode) {
$mode = self::OPTIONAL;
} elseif ($mode > 7 || $mode < 1) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Argument mode "%s" is not valid.', $mode));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Argument mode "%s" is not valid.', $mode));
}
$this->name = $name;
$this->mode = $mode;
@@ -92,13 +92,13 @@ class InputArgument
public function setDefault($default = null)
{
if (self::REQUIRED === $this->mode && null !== $default) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException('Cannot set a default value except for InputArgument::OPTIONAL mode.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException('Cannot set a default value except for InputArgument::OPTIONAL mode.');
}
if ($this->isArray()) {
if (null === $default) {
$default = [];
} elseif (!\is_array($default)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException('A default value for an array argument must be an array.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException('A default value for an array argument must be an array.');
}
}
$this->default = $default;
diff --git a/vendor/symfony/console/Input/InputAwareInterface.php b/vendor/symfony/console/Input/InputAwareInterface.php
index 2f2162d9373..3d12bc0bfcb 100644
--- a/vendor/symfony/console/Input/InputAwareInterface.php
+++ b/vendor/symfony/console/Input/InputAwareInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Input;
+namespace RectorPrefix20220218\Symfony\Component\Console\Input;
/**
* InputAwareInterface should be implemented by classes that depends on the
@@ -21,5 +21,5 @@ interface InputAwareInterface
/**
* Sets the Console Input.
*/
- public function setInput(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input);
+ public function setInput(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input);
}
diff --git a/vendor/symfony/console/Input/InputDefinition.php b/vendor/symfony/console/Input/InputDefinition.php
index d454376a23b..b8947e644ae 100644
--- a/vendor/symfony/console/Input/InputDefinition.php
+++ b/vendor/symfony/console/Input/InputDefinition.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Input;
+namespace RectorPrefix20220218\Symfony\Component\Console\Input;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException;
/**
* A InputDefinition represents a set of valid command line arguments and options.
*
@@ -63,7 +63,7 @@ class InputDefinition
$arguments = [];
$options = [];
foreach ($definition as $item) {
- if ($item instanceof \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption) {
+ if ($item instanceof \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption) {
$options[] = $item;
} else {
$arguments[] = $item;
@@ -101,16 +101,16 @@ class InputDefinition
/**
* @throws LogicException When incorrect argument is given
*/
- public function addArgument(\RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument $argument)
+ public function addArgument(\RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument $argument)
{
if (isset($this->arguments[$argument->getName()])) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException(\sprintf('An argument with name "%s" already exists.', $argument->getName()));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException(\sprintf('An argument with name "%s" already exists.', $argument->getName()));
}
if (null !== $this->lastArrayArgument) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException(\sprintf('Cannot add a required argument "%s" after an array argument "%s".', $argument->getName(), $this->lastArrayArgument->getName()));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException(\sprintf('Cannot add a required argument "%s" after an array argument "%s".', $argument->getName(), $this->lastArrayArgument->getName()));
}
if ($argument->isRequired() && null !== $this->lastOptionalArgument) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException(\sprintf('Cannot add a required argument "%s" after an optional one "%s".', $argument->getName(), $this->lastOptionalArgument->getName()));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException(\sprintf('Cannot add a required argument "%s" after an optional one "%s".', $argument->getName(), $this->lastOptionalArgument->getName()));
}
if ($argument->isArray()) {
$this->lastArrayArgument = $argument;
@@ -128,10 +128,10 @@ class InputDefinition
* @throws InvalidArgumentException When argument given doesn't exist
* @param int|string $name
*/
- public function getArgument($name) : \RectorPrefix20220217\Symfony\Component\Console\Input\InputArgument
+ public function getArgument($name) : \RectorPrefix20220218\Symfony\Component\Console\Input\InputArgument
{
if (!$this->hasArgument($name)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name));
}
$arguments = \is_int($name) ? \array_values($this->arguments) : $this->arguments;
return $arguments[$name];
@@ -205,18 +205,18 @@ class InputDefinition
/**
* @throws LogicException When option given already exist
*/
- public function addOption(\RectorPrefix20220217\Symfony\Component\Console\Input\InputOption $option)
+ public function addOption(\RectorPrefix20220218\Symfony\Component\Console\Input\InputOption $option)
{
if (isset($this->options[$option->getName()]) && !$option->equals($this->options[$option->getName()])) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $option->getName()));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $option->getName()));
}
if (isset($this->negations[$option->getName()])) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $option->getName()));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $option->getName()));
}
if ($option->getShortcut()) {
foreach (\explode('|', $option->getShortcut()) as $shortcut) {
if (isset($this->shortcuts[$shortcut]) && !$option->equals($this->options[$this->shortcuts[$shortcut]])) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException(\sprintf('An option with shortcut "%s" already exists.', $shortcut));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException(\sprintf('An option with shortcut "%s" already exists.', $shortcut));
}
}
}
@@ -229,7 +229,7 @@ class InputDefinition
if ($option->isNegatable()) {
$negatedName = 'no-' . $option->getName();
if (isset($this->options[$negatedName])) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $negatedName));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $negatedName));
}
$this->negations[$negatedName] = $option->getName();
}
@@ -239,10 +239,10 @@ class InputDefinition
*
* @throws InvalidArgumentException When option given doesn't exist
*/
- public function getOption(string $name) : \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption
+ public function getOption(string $name) : \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption
{
if (!$this->hasOption($name)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "--%s" option does not exist.', $name));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "--%s" option does not exist.', $name));
}
return $this->options[$name];
}
@@ -282,7 +282,7 @@ class InputDefinition
/**
* Gets an InputOption by shortcut.
*/
- public function getOptionForShortcut(string $shortcut) : \RectorPrefix20220217\Symfony\Component\Console\Input\InputOption
+ public function getOptionForShortcut(string $shortcut) : \RectorPrefix20220218\Symfony\Component\Console\Input\InputOption
{
return $this->getOption($this->shortcutToName($shortcut));
}
@@ -307,7 +307,7 @@ class InputDefinition
public function shortcutToName(string $shortcut) : string
{
if (!isset($this->shortcuts[$shortcut])) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "-%s" option does not exist.', $shortcut));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "-%s" option does not exist.', $shortcut));
}
return $this->shortcuts[$shortcut];
}
@@ -321,7 +321,7 @@ class InputDefinition
public function negationToName(string $negation) : string
{
if (!isset($this->negations[$negation])) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "--%s" option does not exist.', $negation));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "--%s" option does not exist.', $negation));
}
return $this->negations[$negation];
}
diff --git a/vendor/symfony/console/Input/InputInterface.php b/vendor/symfony/console/Input/InputInterface.php
index fcb1bf1cc3c..ac3c01addbd 100644
--- a/vendor/symfony/console/Input/InputInterface.php
+++ b/vendor/symfony/console/Input/InputInterface.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Input;
+namespace RectorPrefix20220218\Symfony\Component\Console\Input;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException;
/**
* InputInterface is the interface implemented by all input classes.
*
@@ -55,7 +55,7 @@ interface InputInterface
*
* @throws RuntimeException
*/
- public function bind(\RectorPrefix20220217\Symfony\Component\Console\Input\InputDefinition $definition);
+ public function bind(\RectorPrefix20220218\Symfony\Component\Console\Input\InputDefinition $definition);
/**
* Validates the input.
*
diff --git a/vendor/symfony/console/Input/InputOption.php b/vendor/symfony/console/Input/InputOption.php
index be1d3c1ba4a..dc6254b9e11 100644
--- a/vendor/symfony/console/Input/InputOption.php
+++ b/vendor/symfony/console/Input/InputOption.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Input;
+namespace RectorPrefix20220218\Symfony\Component\Console\Input;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException;
/**
* Represents a command line option.
*
@@ -72,7 +72,7 @@ class InputOption
$name = \substr($name, 2);
}
if (empty($name)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException('An option name cannot be empty.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException('An option name cannot be empty.');
}
if (empty($shortcut)) {
$shortcut = null;
@@ -85,23 +85,23 @@ class InputOption
$shortcuts = \array_filter($shortcuts);
$shortcut = \implode('|', $shortcuts);
if (empty($shortcut)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException('An option shortcut cannot be empty.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException('An option shortcut cannot be empty.');
}
}
if (null === $mode) {
$mode = self::VALUE_NONE;
} elseif ($mode >= self::VALUE_NEGATABLE << 1 || $mode < 1) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Option mode "%s" is not valid.', $mode));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Option mode "%s" is not valid.', $mode));
}
$this->name = $name;
$this->shortcut = $shortcut;
$this->mode = $mode;
$this->description = $description;
if ($this->isArray() && !$this->acceptValue()) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException('Impossible to have an option mode VALUE_IS_ARRAY if the option does not accept a value.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException('Impossible to have an option mode VALUE_IS_ARRAY if the option does not accept a value.');
}
if ($this->isNegatable() && $this->acceptValue()) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException('Impossible to have an option mode VALUE_NEGATABLE if the option also accepts a value.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException('Impossible to have an option mode VALUE_NEGATABLE if the option also accepts a value.');
}
$this->setDefault($default);
}
@@ -165,13 +165,13 @@ class InputOption
public function setDefault($default = null)
{
if (self::VALUE_NONE === (self::VALUE_NONE & $this->mode) && null !== $default) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException('Cannot set a default value when using InputOption::VALUE_NONE mode.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException('Cannot set a default value when using InputOption::VALUE_NONE mode.');
}
if ($this->isArray()) {
if (null === $default) {
$default = [];
} elseif (!\is_array($default)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException('A default value for an array option must be an array.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException('A default value for an array option must be an array.');
}
}
$this->default = $this->acceptValue() || $this->isNegatable() ? $default : \false;
diff --git a/vendor/symfony/console/Input/StreamableInputInterface.php b/vendor/symfony/console/Input/StreamableInputInterface.php
index 0865d0a898d..2c0f478ee45 100644
--- a/vendor/symfony/console/Input/StreamableInputInterface.php
+++ b/vendor/symfony/console/Input/StreamableInputInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Input;
+namespace RectorPrefix20220218\Symfony\Component\Console\Input;
/**
* StreamableInputInterface is the interface implemented by all input classes
@@ -16,7 +16,7 @@ namespace RectorPrefix20220217\Symfony\Component\Console\Input;
*
* @author Robin Chalas
*/
-interface StreamableInputInterface extends \RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface
+interface StreamableInputInterface extends \RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface
{
/**
* Sets the input stream to read from when interacting with the user.
diff --git a/vendor/symfony/console/Input/StringInput.php b/vendor/symfony/console/Input/StringInput.php
index 002bae67f1f..bfa3c9c7d45 100644
--- a/vendor/symfony/console/Input/StringInput.php
+++ b/vendor/symfony/console/Input/StringInput.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Input;
+namespace RectorPrefix20220218\Symfony\Component\Console\Input;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
/**
* StringInput represents an input provided as a string.
*
@@ -20,7 +20,7 @@ use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentExce
*
* @author Fabien Potencier
*/
-class StringInput extends \RectorPrefix20220217\Symfony\Component\Console\Input\ArgvInput
+class StringInput extends \RectorPrefix20220218\Symfony\Component\Console\Input\ArgvInput
{
public const REGEX_STRING = '([^\\s\\\\]+?)';
public const REGEX_QUOTED_STRING = '(?:"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"|\'([^\'\\\\]*(?:\\\\.[^\'\\\\]*)*)\')';
@@ -62,7 +62,7 @@ class StringInput extends \RectorPrefix20220217\Symfony\Component\Console\Input\
$token .= $match[1];
} else {
// should never happen
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Unable to parse input near "... %s ...".', \substr($input, $cursor, 10)));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Unable to parse input near "... %s ...".', \substr($input, $cursor, 10)));
}
$cursor += \strlen($match[0]);
}
diff --git a/vendor/symfony/console/Logger/ConsoleLogger.php b/vendor/symfony/console/Logger/ConsoleLogger.php
index 2a13b5ef953..5217953e76d 100644
--- a/vendor/symfony/console/Logger/ConsoleLogger.php
+++ b/vendor/symfony/console/Logger/ConsoleLogger.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Logger;
+namespace RectorPrefix20220218\Symfony\Component\Console\Logger;
-use RectorPrefix20220217\Psr\Log\AbstractLogger;
-use RectorPrefix20220217\Psr\Log\InvalidArgumentException;
-use RectorPrefix20220217\Psr\Log\LogLevel;
-use RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Psr\Log\AbstractLogger;
+use RectorPrefix20220218\Psr\Log\InvalidArgumentException;
+use RectorPrefix20220218\Psr\Log\LogLevel;
+use RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* PSR-3 compliant console logger.
*
@@ -22,7 +22,7 @@ use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
*
* @see https://www.php-fig.org/psr/psr-3/
*/
-class ConsoleLogger extends \RectorPrefix20220217\Psr\Log\AbstractLogger
+class ConsoleLogger extends \RectorPrefix20220218\Psr\Log\AbstractLogger
{
public const INFO = 'info';
public const ERROR = 'error';
@@ -30,16 +30,16 @@ class ConsoleLogger extends \RectorPrefix20220217\Psr\Log\AbstractLogger
/**
* @var mixed[]
*/
- private $verbosityLevelMap = [\RectorPrefix20220217\Psr\Log\LogLevel::EMERGENCY => \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220217\Psr\Log\LogLevel::ALERT => \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220217\Psr\Log\LogLevel::CRITICAL => \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220217\Psr\Log\LogLevel::ERROR => \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220217\Psr\Log\LogLevel::WARNING => \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220217\Psr\Log\LogLevel::NOTICE => \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE, \RectorPrefix20220217\Psr\Log\LogLevel::INFO => \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE, \RectorPrefix20220217\Psr\Log\LogLevel::DEBUG => \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG];
+ private $verbosityLevelMap = [\RectorPrefix20220218\Psr\Log\LogLevel::EMERGENCY => \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220218\Psr\Log\LogLevel::ALERT => \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220218\Psr\Log\LogLevel::CRITICAL => \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220218\Psr\Log\LogLevel::ERROR => \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220218\Psr\Log\LogLevel::WARNING => \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20220218\Psr\Log\LogLevel::NOTICE => \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE, \RectorPrefix20220218\Psr\Log\LogLevel::INFO => \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE, \RectorPrefix20220218\Psr\Log\LogLevel::DEBUG => \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG];
/**
* @var mixed[]
*/
- private $formatLevelMap = [\RectorPrefix20220217\Psr\Log\LogLevel::EMERGENCY => self::ERROR, \RectorPrefix20220217\Psr\Log\LogLevel::ALERT => self::ERROR, \RectorPrefix20220217\Psr\Log\LogLevel::CRITICAL => self::ERROR, \RectorPrefix20220217\Psr\Log\LogLevel::ERROR => self::ERROR, \RectorPrefix20220217\Psr\Log\LogLevel::WARNING => self::INFO, \RectorPrefix20220217\Psr\Log\LogLevel::NOTICE => self::INFO, \RectorPrefix20220217\Psr\Log\LogLevel::INFO => self::INFO, \RectorPrefix20220217\Psr\Log\LogLevel::DEBUG => self::INFO];
+ private $formatLevelMap = [\RectorPrefix20220218\Psr\Log\LogLevel::EMERGENCY => self::ERROR, \RectorPrefix20220218\Psr\Log\LogLevel::ALERT => self::ERROR, \RectorPrefix20220218\Psr\Log\LogLevel::CRITICAL => self::ERROR, \RectorPrefix20220218\Psr\Log\LogLevel::ERROR => self::ERROR, \RectorPrefix20220218\Psr\Log\LogLevel::WARNING => self::INFO, \RectorPrefix20220218\Psr\Log\LogLevel::NOTICE => self::INFO, \RectorPrefix20220218\Psr\Log\LogLevel::INFO => self::INFO, \RectorPrefix20220218\Psr\Log\LogLevel::DEBUG => self::INFO];
/**
* @var bool
*/
private $errored = \false;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output, array $verbosityLevelMap = [], array $formatLevelMap = [])
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output, array $verbosityLevelMap = [], array $formatLevelMap = [])
{
$this->output = $output;
$this->verbosityLevelMap = $verbosityLevelMap + $this->verbosityLevelMap;
@@ -51,12 +51,12 @@ class ConsoleLogger extends \RectorPrefix20220217\Psr\Log\AbstractLogger
public function log($level, $message, array $context = []) : void
{
if (!isset($this->verbosityLevelMap[$level])) {
- throw new \RectorPrefix20220217\Psr\Log\InvalidArgumentException(\sprintf('The log level "%s" does not exist.', $level));
+ throw new \RectorPrefix20220218\Psr\Log\InvalidArgumentException(\sprintf('The log level "%s" does not exist.', $level));
}
$output = $this->output;
// Write to the error output if necessary and available
if (self::ERROR === $this->formatLevelMap[$level]) {
- if ($this->output instanceof \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface) {
+ if ($this->output instanceof \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface) {
$output = $output->getErrorOutput();
}
$this->errored = \true;
diff --git a/vendor/symfony/console/Output/BufferedOutput.php b/vendor/symfony/console/Output/BufferedOutput.php
index 671703c616a..da643e02fad 100644
--- a/vendor/symfony/console/Output/BufferedOutput.php
+++ b/vendor/symfony/console/Output/BufferedOutput.php
@@ -8,12 +8,12 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Output;
+namespace RectorPrefix20220218\Symfony\Component\Console\Output;
/**
* @author Jean-François Simon
*/
-class BufferedOutput extends \RectorPrefix20220217\Symfony\Component\Console\Output\Output
+class BufferedOutput extends \RectorPrefix20220218\Symfony\Component\Console\Output\Output
{
/**
* @var string
diff --git a/vendor/symfony/console/Output/ConsoleOutput.php b/vendor/symfony/console/Output/ConsoleOutput.php
index 8d3639d7d4f..a9b178c3031 100644
--- a/vendor/symfony/console/Output/ConsoleOutput.php
+++ b/vendor/symfony/console/Output/ConsoleOutput.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Output;
+namespace RectorPrefix20220218\Symfony\Component\Console\Output;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface;
/**
* ConsoleOutput is the default class for all CLI output. It uses STDOUT and STDERR.
*
@@ -25,7 +25,7 @@ use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInte
*
* @author Fabien Potencier
*/
-class ConsoleOutput extends \RectorPrefix20220217\Symfony\Component\Console\Output\StreamOutput implements \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface
+class ConsoleOutput extends \RectorPrefix20220218\Symfony\Component\Console\Output\StreamOutput implements \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface
{
private $stderr;
/**
@@ -37,16 +37,16 @@ class ConsoleOutput extends \RectorPrefix20220217\Symfony\Component\Console\Outp
* @param bool|null $decorated Whether to decorate messages (null for auto-guessing)
* @param OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter)
*/
- public function __construct(int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = null, \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null)
+ public function __construct(int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = null, \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null)
{
parent::__construct($this->openOutputStream(), $verbosity, $decorated, $formatter);
if (null === $formatter) {
// for BC reasons, stdErr has it own Formatter only when user don't inject a specific formatter.
- $this->stderr = new \RectorPrefix20220217\Symfony\Component\Console\Output\StreamOutput($this->openErrorStream(), $verbosity, $decorated);
+ $this->stderr = new \RectorPrefix20220218\Symfony\Component\Console\Output\StreamOutput($this->openErrorStream(), $verbosity, $decorated);
return;
}
$actualDecorated = $this->isDecorated();
- $this->stderr = new \RectorPrefix20220217\Symfony\Component\Console\Output\StreamOutput($this->openErrorStream(), $verbosity, $decorated, $this->getFormatter());
+ $this->stderr = new \RectorPrefix20220218\Symfony\Component\Console\Output\StreamOutput($this->openErrorStream(), $verbosity, $decorated, $this->getFormatter());
if (null === $decorated) {
$this->setDecorated($actualDecorated && $this->stderr->isDecorated());
}
@@ -54,9 +54,9 @@ class ConsoleOutput extends \RectorPrefix20220217\Symfony\Component\Console\Outp
/**
* Creates a new output section.
*/
- public function section() : \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleSectionOutput
+ public function section() : \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleSectionOutput
{
- return new \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleSectionOutput($this->getStream(), $this->consoleSectionOutputs, $this->getVerbosity(), $this->isDecorated(), $this->getFormatter());
+ return new \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleSectionOutput($this->getStream(), $this->consoleSectionOutputs, $this->getVerbosity(), $this->isDecorated(), $this->getFormatter());
}
/**
* {@inheritdoc}
@@ -69,7 +69,7 @@ class ConsoleOutput extends \RectorPrefix20220217\Symfony\Component\Console\Outp
/**
* {@inheritdoc}
*/
- public function setFormatter(\RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter)
+ public function setFormatter(\RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter)
{
parent::setFormatter($formatter);
$this->stderr->setFormatter($formatter);
@@ -85,14 +85,14 @@ class ConsoleOutput extends \RectorPrefix20220217\Symfony\Component\Console\Outp
/**
* {@inheritdoc}
*/
- public function getErrorOutput() : \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface
+ public function getErrorOutput() : \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface
{
return $this->stderr;
}
/**
* {@inheritdoc}
*/
- public function setErrorOutput(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $error)
+ public function setErrorOutput(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $error)
{
$this->stderr = $error;
}
diff --git a/vendor/symfony/console/Output/ConsoleOutputInterface.php b/vendor/symfony/console/Output/ConsoleOutputInterface.php
index bf4a9ccee17..096641bcb06 100644
--- a/vendor/symfony/console/Output/ConsoleOutputInterface.php
+++ b/vendor/symfony/console/Output/ConsoleOutputInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Output;
+namespace RectorPrefix20220218\Symfony\Component\Console\Output;
/**
* ConsoleOutputInterface is the interface implemented by ConsoleOutput class.
@@ -16,12 +16,12 @@ namespace RectorPrefix20220217\Symfony\Component\Console\Output;
*
* @author Dariusz Górecki
*/
-interface ConsoleOutputInterface extends \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface
+interface ConsoleOutputInterface extends \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface
{
/**
* Gets the OutputInterface for errors.
*/
- public function getErrorOutput() : \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
- public function setErrorOutput(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $error);
- public function section() : \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleSectionOutput;
+ public function getErrorOutput() : \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
+ public function setErrorOutput(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $error);
+ public function section() : \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleSectionOutput;
}
diff --git a/vendor/symfony/console/Output/ConsoleSectionOutput.php b/vendor/symfony/console/Output/ConsoleSectionOutput.php
index a354b621a66..786503e3ae0 100644
--- a/vendor/symfony/console/Output/ConsoleSectionOutput.php
+++ b/vendor/symfony/console/Output/ConsoleSectionOutput.php
@@ -8,16 +8,16 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Output;
+namespace RectorPrefix20220218\Symfony\Component\Console\Output;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Terminal;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\Helper;
+use RectorPrefix20220218\Symfony\Component\Console\Terminal;
/**
* @author Pierre du Plessis
* @author Gabriel Ostrolucký
*/
-class ConsoleSectionOutput extends \RectorPrefix20220217\Symfony\Component\Console\Output\StreamOutput
+class ConsoleSectionOutput extends \RectorPrefix20220218\Symfony\Component\Console\Output\StreamOutput
{
/**
* @var mixed[]
@@ -36,12 +36,12 @@ class ConsoleSectionOutput extends \RectorPrefix20220217\Symfony\Component\Conso
* @param resource $stream
* @param ConsoleSectionOutput[] $sections
*/
- public function __construct($stream, array &$sections, int $verbosity, bool $decorated, \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter)
+ public function __construct($stream, array &$sections, int $verbosity, bool $decorated, \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter)
{
parent::__construct($stream, $verbosity, $decorated, $formatter);
\array_unshift($sections, $this);
$this->sections =& $sections;
- $this->terminal = new \RectorPrefix20220217\Symfony\Component\Console\Terminal();
+ $this->terminal = new \RectorPrefix20220218\Symfony\Component\Console\Terminal();
}
/**
* Clears previous output for this section.
@@ -126,6 +126,6 @@ class ConsoleSectionOutput extends \RectorPrefix20220217\Symfony\Component\Conso
}
private function getDisplayLength(string $text) : int
{
- return \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), \str_replace("\t", ' ', $text)));
+ return \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), \str_replace("\t", ' ', $text)));
}
}
diff --git a/vendor/symfony/console/Output/NullOutput.php b/vendor/symfony/console/Output/NullOutput.php
index a785584b055..8f129851eae 100644
--- a/vendor/symfony/console/Output/NullOutput.php
+++ b/vendor/symfony/console/Output/NullOutput.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Output;
+namespace RectorPrefix20220218\Symfony\Component\Console\Output;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\NullOutputFormatter;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\NullOutputFormatter;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface;
/**
* NullOutput suppresses all output.
*
@@ -20,23 +20,23 @@ use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInte
* @author Fabien Potencier
* @author Tobias Schultze
*/
-class NullOutput implements \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface
+class NullOutput implements \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface
{
private $formatter;
/**
* {@inheritdoc}
*/
- public function setFormatter(\RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter)
+ public function setFormatter(\RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter)
{
// do nothing
}
/**
* {@inheritdoc}
*/
- public function getFormatter() : \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface
+ public function getFormatter() : \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface
{
// to comply with the interface we must return a OutputFormatterInterface
- return $this->formatter = $this->formatter ?? new \RectorPrefix20220217\Symfony\Component\Console\Formatter\NullOutputFormatter();
+ return $this->formatter = $this->formatter ?? new \RectorPrefix20220218\Symfony\Component\Console\Formatter\NullOutputFormatter();
}
/**
* {@inheritdoc}
diff --git a/vendor/symfony/console/Output/Output.php b/vendor/symfony/console/Output/Output.php
index 367866fef4c..279b0a89b2f 100644
--- a/vendor/symfony/console/Output/Output.php
+++ b/vendor/symfony/console/Output/Output.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Output;
+namespace RectorPrefix20220218\Symfony\Component\Console\Output;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface;
/**
* Base class for output classes.
*
@@ -25,7 +25,7 @@ use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInte
*
* @author Fabien Potencier
*/
-abstract class Output implements \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface
+abstract class Output implements \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface
{
/**
* @var int
@@ -37,23 +37,23 @@ abstract class Output implements \RectorPrefix20220217\Symfony\Component\Console
* @param bool $decorated Whether to decorate messages
* @param OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter)
*/
- public function __construct(?int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = \false, \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null)
+ public function __construct(?int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = \false, \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null)
{
$this->verbosity = $verbosity ?? self::VERBOSITY_NORMAL;
- $this->formatter = $formatter ?? new \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter();
+ $this->formatter = $formatter ?? new \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter();
$this->formatter->setDecorated($decorated);
}
/**
* {@inheritdoc}
*/
- public function setFormatter(\RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter)
+ public function setFormatter(\RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter)
{
$this->formatter = $formatter;
}
/**
* {@inheritdoc}
*/
- public function getFormatter() : \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface
+ public function getFormatter() : \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface
{
return $this->formatter;
}
@@ -139,12 +139,12 @@ abstract class Output implements \RectorPrefix20220217\Symfony\Component\Console
}
foreach ($messages as $message) {
switch ($type) {
- case \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::OUTPUT_NORMAL:
+ case \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::OUTPUT_NORMAL:
$message = $this->formatter->format($message);
break;
- case \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::OUTPUT_RAW:
+ case \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::OUTPUT_RAW:
break;
- case \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface::OUTPUT_PLAIN:
+ case \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface::OUTPUT_PLAIN:
$message = \strip_tags($this->formatter->format($message));
break;
}
diff --git a/vendor/symfony/console/Output/OutputInterface.php b/vendor/symfony/console/Output/OutputInterface.php
index d7ad34308e2..792f28d034e 100644
--- a/vendor/symfony/console/Output/OutputInterface.php
+++ b/vendor/symfony/console/Output/OutputInterface.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Output;
+namespace RectorPrefix20220218\Symfony\Component\Console\Output;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface;
/**
* OutputInterface is the interface implemented by all Output classes.
*
@@ -71,9 +71,9 @@ interface OutputInterface
* Gets the decorated flag.
*/
public function isDecorated() : bool;
- public function setFormatter(\RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter);
+ public function setFormatter(\RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter);
/**
* Returns current output formatter instance.
*/
- public function getFormatter() : \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface;
+ public function getFormatter() : \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface;
}
diff --git a/vendor/symfony/console/Output/StreamOutput.php b/vendor/symfony/console/Output/StreamOutput.php
index 5fad1a8b5f3..1c0de4a2560 100644
--- a/vendor/symfony/console/Output/StreamOutput.php
+++ b/vendor/symfony/console/Output/StreamOutput.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Output;
+namespace RectorPrefix20220218\Symfony\Component\Console\Output;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface;
/**
* StreamOutput writes the output to a given stream.
*
@@ -25,7 +25,7 @@ use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInte
*
* @author Fabien Potencier
*/
-class StreamOutput extends \RectorPrefix20220217\Symfony\Component\Console\Output\Output
+class StreamOutput extends \RectorPrefix20220218\Symfony\Component\Console\Output\Output
{
private $stream;
/**
@@ -36,10 +36,10 @@ class StreamOutput extends \RectorPrefix20220217\Symfony\Component\Console\Outpu
*
* @throws InvalidArgumentException When first argument is not a real stream
*/
- public function __construct($stream, int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = null, \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null)
+ public function __construct($stream, int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = null, \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null)
{
if (!\is_resource($stream) || 'stream' !== \get_resource_type($stream)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException('The StreamOutput class needs a stream as its first argument.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException('The StreamOutput class needs a stream as its first argument.');
}
$this->stream = $stream;
if (null === $decorated) {
diff --git a/vendor/symfony/console/Output/TrimmedBufferOutput.php b/vendor/symfony/console/Output/TrimmedBufferOutput.php
index fc69f780222..e7f0f28a98e 100644
--- a/vendor/symfony/console/Output/TrimmedBufferOutput.php
+++ b/vendor/symfony/console/Output/TrimmedBufferOutput.php
@@ -8,16 +8,16 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Output;
+namespace RectorPrefix20220218\Symfony\Component\Console\Output;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface;
/**
* A BufferedOutput that keeps only the last N chars.
*
* @author Jérémy Derussé
*/
-class TrimmedBufferOutput extends \RectorPrefix20220217\Symfony\Component\Console\Output\Output
+class TrimmedBufferOutput extends \RectorPrefix20220218\Symfony\Component\Console\Output\Output
{
/**
* @var int
@@ -27,10 +27,10 @@ class TrimmedBufferOutput extends \RectorPrefix20220217\Symfony\Component\Consol
* @var string
*/
private $buffer = '';
- public function __construct(int $maxLength, ?int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = \false, \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null)
+ public function __construct(int $maxLength, ?int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = \false, \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null)
{
if ($maxLength <= 0) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('"%s()" expects a strictly positive maxLength. Got %d.', __METHOD__, $maxLength));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('"%s()" expects a strictly positive maxLength. Got %d.', __METHOD__, $maxLength));
}
parent::__construct($verbosity, $decorated, $formatter);
$this->maxLength = $maxLength;
diff --git a/vendor/symfony/console/Question/ChoiceQuestion.php b/vendor/symfony/console/Question/ChoiceQuestion.php
index e6ae7add66e..36c2f87a4e5 100644
--- a/vendor/symfony/console/Question/ChoiceQuestion.php
+++ b/vendor/symfony/console/Question/ChoiceQuestion.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Question;
+namespace RectorPrefix20220218\Symfony\Component\Console\Question;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
/**
* Represents a choice question.
*
* @author Fabien Potencier
*/
-class ChoiceQuestion extends \RectorPrefix20220217\Symfony\Component\Console\Question\Question
+class ChoiceQuestion extends \RectorPrefix20220218\Symfony\Component\Console\Question\Question
{
/**
* @var mixed[]
@@ -116,7 +116,7 @@ class ChoiceQuestion extends \RectorPrefix20220217\Symfony\Component\Console\Que
if ($multiselect) {
// Check for a separated comma values
if (!\preg_match('/^[^,]+(?:,[^,]+)*$/', (string) $selected, $matches)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf($errorMessage, $selected));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf($errorMessage, $selected));
}
$selectedChoices = \explode(',', (string) $selected);
} else {
@@ -136,7 +136,7 @@ class ChoiceQuestion extends \RectorPrefix20220217\Symfony\Component\Console\Que
}
}
if (\count($results) > 1) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The provided answer is ambiguous. Value should be one of "%s".', \implode('" or "', $results)));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The provided answer is ambiguous. Value should be one of "%s".', \implode('" or "', $results)));
}
$result = \array_search($value, $choices);
if (!$isAssoc) {
@@ -149,7 +149,7 @@ class ChoiceQuestion extends \RectorPrefix20220217\Symfony\Component\Console\Que
$result = $value;
}
if (\false === $result) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf($errorMessage, $value));
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf($errorMessage, $value));
}
// For associative choices, consistently return the key as string:
$multiselectChoices[] = $isAssoc ? (string) $result : $result;
diff --git a/vendor/symfony/console/Question/ConfirmationQuestion.php b/vendor/symfony/console/Question/ConfirmationQuestion.php
index 4027e971bc1..d44a5b0f74d 100644
--- a/vendor/symfony/console/Question/ConfirmationQuestion.php
+++ b/vendor/symfony/console/Question/ConfirmationQuestion.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Question;
+namespace RectorPrefix20220218\Symfony\Component\Console\Question;
/**
* Represents a yes/no question.
*
* @author Fabien Potencier
*/
-class ConfirmationQuestion extends \RectorPrefix20220217\Symfony\Component\Console\Question\Question
+class ConfirmationQuestion extends \RectorPrefix20220218\Symfony\Component\Console\Question\Question
{
/**
* @var string
diff --git a/vendor/symfony/console/Question/Question.php b/vendor/symfony/console/Question/Question.php
index 5585ac865c8..1ce67e20865 100644
--- a/vendor/symfony/console/Question/Question.php
+++ b/vendor/symfony/console/Question/Question.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Question;
+namespace RectorPrefix20220218\Symfony\Component\Console\Question;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException;
/**
* Represents a Question.
*
@@ -117,7 +117,7 @@ class Question
public function setHidden(bool $hidden)
{
if ($this->autocompleterCallback) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException('A hidden question cannot use the autocompleter.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException('A hidden question cannot use the autocompleter.');
}
$this->hidden = $hidden;
return $this;
@@ -188,7 +188,7 @@ class Question
public function setAutocompleterCallback(callable $callback = null)
{
if ($this->hidden && null !== $callback) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\LogicException('A hidden question cannot use the autocompleter.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\LogicException('A hidden question cannot use the autocompleter.');
}
$this->autocompleterCallback = null === $callback || $callback instanceof \Closure ? $callback : \Closure::fromCallable($callback);
return $this;
@@ -222,7 +222,7 @@ class Question
public function setMaxAttempts(?int $attempts)
{
if (null !== $attempts && $attempts < 1) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException('Maximum number of attempts must be a positive value.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException('Maximum number of attempts must be a positive value.');
}
$this->attempts = $attempts;
return $this;
diff --git a/vendor/symfony/console/SignalRegistry/SignalRegistry.php b/vendor/symfony/console/SignalRegistry/SignalRegistry.php
index e0441e86954..20844c87b9b 100644
--- a/vendor/symfony/console/SignalRegistry/SignalRegistry.php
+++ b/vendor/symfony/console/SignalRegistry/SignalRegistry.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\SignalRegistry;
+namespace RectorPrefix20220218\Symfony\Component\Console\SignalRegistry;
final class SignalRegistry
{
diff --git a/vendor/symfony/console/SingleCommandApplication.php b/vendor/symfony/console/SingleCommandApplication.php
index 65232c5b74e..394f680cac3 100644
--- a/vendor/symfony/console/SingleCommandApplication.php
+++ b/vendor/symfony/console/SingleCommandApplication.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console;
+namespace RectorPrefix20220218\Symfony\Component\Console;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* @author Grégoire Pineau
*/
-class SingleCommandApplication extends \RectorPrefix20220217\Symfony\Component\Console\Command\Command
+class SingleCommandApplication extends \RectorPrefix20220218\Symfony\Component\Console\Command\Command
{
/**
* @var string
@@ -48,13 +48,13 @@ class SingleCommandApplication extends \RectorPrefix20220217\Symfony\Component\C
$this->autoExit = $autoExit;
return $this;
}
- public function run(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input = null, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output = null) : int
+ public function run(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input = null, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output = null) : int
{
if ($this->running) {
return parent::run($input, $output);
}
// We use the command name as the application name
- $application = new \RectorPrefix20220217\Symfony\Component\Console\Application($this->getName() ?: 'UNKNOWN', $this->version);
+ $application = new \RectorPrefix20220218\Symfony\Component\Console\Application($this->getName() ?: 'UNKNOWN', $this->version);
$application->setAutoExit($this->autoExit);
// Fix the usage of the command displayed with "--help"
$this->setName($_SERVER['argv'][0]);
diff --git a/vendor/symfony/console/Style/OutputStyle.php b/vendor/symfony/console/Style/OutputStyle.php
index af01fa0781b..49570a67db4 100644
--- a/vendor/symfony/console/Style/OutputStyle.php
+++ b/vendor/symfony/console/Style/OutputStyle.php
@@ -8,21 +8,21 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Style;
+namespace RectorPrefix20220218\Symfony\Component\Console\Style;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\ProgressBar;
-use RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\ProgressBar;
+use RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
/**
* Decorates output to add console style guide helpers.
*
* @author Kevin Bond
*/
-abstract class OutputStyle implements \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface, \RectorPrefix20220217\Symfony\Component\Console\Style\StyleInterface
+abstract class OutputStyle implements \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface, \RectorPrefix20220218\Symfony\Component\Console\Style\StyleInterface
{
private $output;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output)
{
$this->output = $output;
}
@@ -33,9 +33,9 @@ abstract class OutputStyle implements \RectorPrefix20220217\Symfony\Component\Co
{
$this->output->write(\str_repeat(\PHP_EOL, $count));
}
- public function createProgressBar(int $max = 0) : \RectorPrefix20220217\Symfony\Component\Console\Helper\ProgressBar
+ public function createProgressBar(int $max = 0) : \RectorPrefix20220218\Symfony\Component\Console\Helper\ProgressBar
{
- return new \RectorPrefix20220217\Symfony\Component\Console\Helper\ProgressBar($this->output, $max);
+ return new \RectorPrefix20220218\Symfony\Component\Console\Helper\ProgressBar($this->output, $max);
}
/**
* {@inheritdoc}
@@ -84,14 +84,14 @@ abstract class OutputStyle implements \RectorPrefix20220217\Symfony\Component\Co
/**
* {@inheritdoc}
*/
- public function setFormatter(\RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter)
+ public function setFormatter(\RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter)
{
$this->output->setFormatter($formatter);
}
/**
* {@inheritdoc}
*/
- public function getFormatter() : \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatterInterface
+ public function getFormatter() : \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatterInterface
{
return $this->output->getFormatter();
}
@@ -125,7 +125,7 @@ abstract class OutputStyle implements \RectorPrefix20220217\Symfony\Component\Co
}
protected function getErrorOutput()
{
- if (!$this->output instanceof \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface) {
+ if (!$this->output instanceof \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface) {
return $this->output;
}
return $this->output->getErrorOutput();
diff --git a/vendor/symfony/console/Style/StyleInterface.php b/vendor/symfony/console/Style/StyleInterface.php
index 4b0fe821e3f..747d7811ece 100644
--- a/vendor/symfony/console/Style/StyleInterface.php
+++ b/vendor/symfony/console/Style/StyleInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Style;
+namespace RectorPrefix20220218\Symfony\Component\Console\Style;
/**
* Output style helpers.
diff --git a/vendor/symfony/console/Style/SymfonyStyle.php b/vendor/symfony/console/Style/SymfonyStyle.php
index b37ac3cf69a..c98568fc422 100644
--- a/vendor/symfony/console/Style/SymfonyStyle.php
+++ b/vendor/symfony/console/Style/SymfonyStyle.php
@@ -8,31 +8,31 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Style;
+namespace RectorPrefix20220218\Symfony\Component\Console\Style;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException;
-use RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\Helper;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\ProgressBar;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\SymfonyQuestionHelper;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\Table;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell;
-use RectorPrefix20220217\Symfony\Component\Console\Helper\TableSeparator;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\TrimmedBufferOutput;
-use RectorPrefix20220217\Symfony\Component\Console\Question\ChoiceQuestion;
-use RectorPrefix20220217\Symfony\Component\Console\Question\ConfirmationQuestion;
-use RectorPrefix20220217\Symfony\Component\Console\Question\Question;
-use RectorPrefix20220217\Symfony\Component\Console\Terminal;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException;
+use RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\Helper;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\ProgressBar;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\SymfonyQuestionHelper;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\Table;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell;
+use RectorPrefix20220218\Symfony\Component\Console\Helper\TableSeparator;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\TrimmedBufferOutput;
+use RectorPrefix20220218\Symfony\Component\Console\Question\ChoiceQuestion;
+use RectorPrefix20220218\Symfony\Component\Console\Question\ConfirmationQuestion;
+use RectorPrefix20220218\Symfony\Component\Console\Question\Question;
+use RectorPrefix20220218\Symfony\Component\Console\Terminal;
/**
* Output decorator helpers for the Symfony Style Guide.
*
* @author Kevin Bond
*/
-class SymfonyStyle extends \RectorPrefix20220217\Symfony\Component\Console\Style\OutputStyle
+class SymfonyStyle extends \RectorPrefix20220218\Symfony\Component\Console\Style\OutputStyle
{
public const MAX_LINE_LENGTH = 120;
private $input;
@@ -44,12 +44,12 @@ class SymfonyStyle extends \RectorPrefix20220217\Symfony\Component\Console\Style
*/
private $lineLength;
private $bufferedOutput;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface $output)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface $output)
{
$this->input = $input;
- $this->bufferedOutput = new \RectorPrefix20220217\Symfony\Component\Console\Output\TrimmedBufferOutput(\DIRECTORY_SEPARATOR === '\\' ? 4 : 2, $output->getVerbosity(), \false, clone $output->getFormatter());
+ $this->bufferedOutput = new \RectorPrefix20220218\Symfony\Component\Console\Output\TrimmedBufferOutput(\DIRECTORY_SEPARATOR === '\\' ? 4 : 2, $output->getVerbosity(), \false, clone $output->getFormatter());
// Windows cmd wraps lines as soon as the terminal width is reached, whether there are following chars or not.
- $width = (new \RectorPrefix20220217\Symfony\Component\Console\Terminal())->getWidth() ?: self::MAX_LINE_LENGTH;
+ $width = (new \RectorPrefix20220218\Symfony\Component\Console\Terminal())->getWidth() ?: self::MAX_LINE_LENGTH;
$this->lineLength = \min($width - (int) (\DIRECTORY_SEPARATOR === '\\'), self::MAX_LINE_LENGTH);
parent::__construct($this->output = $output);
}
@@ -70,7 +70,7 @@ class SymfonyStyle extends \RectorPrefix20220217\Symfony\Component\Console\Style
public function title(string $message)
{
$this->autoPrependBlock();
- $this->writeln([\sprintf('%s>', \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($message)), \sprintf('%s>', \str_repeat('=', \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message))))]);
+ $this->writeln([\sprintf('%s>', \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($message)), \sprintf('%s>', \str_repeat('=', \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message))))]);
$this->newLine();
}
/**
@@ -79,7 +79,7 @@ class SymfonyStyle extends \RectorPrefix20220217\Symfony\Component\Console\Style
public function section(string $message)
{
$this->autoPrependBlock();
- $this->writeln([\sprintf('%s>', \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($message)), \sprintf('%s>', \str_repeat('-', \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message))))]);
+ $this->writeln([\sprintf('%s>', \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($message)), \sprintf('%s>', \str_repeat('-', \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message))))]);
$this->newLine();
}
/**
@@ -192,18 +192,18 @@ class SymfonyStyle extends \RectorPrefix20220217\Symfony\Component\Console\Style
$headers = [];
$row = [];
foreach ($list as $value) {
- if ($value instanceof \RectorPrefix20220217\Symfony\Component\Console\Helper\TableSeparator) {
+ if ($value instanceof \RectorPrefix20220218\Symfony\Component\Console\Helper\TableSeparator) {
$headers[] = $value;
$row[] = $value;
continue;
}
if (\is_string($value)) {
- $headers[] = new \RectorPrefix20220217\Symfony\Component\Console\Helper\TableCell($value, ['colspan' => 2]);
+ $headers[] = new \RectorPrefix20220218\Symfony\Component\Console\Helper\TableCell($value, ['colspan' => 2]);
$row[] = null;
continue;
}
if (!\is_array($value)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\InvalidArgumentException('Value should be an array, string, or an instance of TableSeparator.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\InvalidArgumentException('Value should be an array, string, or an instance of TableSeparator.');
}
$headers[] = \key($value);
$row[] = \current($value);
@@ -216,7 +216,7 @@ class SymfonyStyle extends \RectorPrefix20220217\Symfony\Component\Console\Style
*/
public function ask(string $question, string $default = null, callable $validator = null)
{
- $question = new \RectorPrefix20220217\Symfony\Component\Console\Question\Question($question, $default);
+ $question = new \RectorPrefix20220218\Symfony\Component\Console\Question\Question($question, $default);
$question->setValidator($validator);
return $this->askQuestion($question);
}
@@ -226,7 +226,7 @@ class SymfonyStyle extends \RectorPrefix20220217\Symfony\Component\Console\Style
*/
public function askHidden(string $question, callable $validator = null)
{
- $question = new \RectorPrefix20220217\Symfony\Component\Console\Question\Question($question);
+ $question = new \RectorPrefix20220218\Symfony\Component\Console\Question\Question($question);
$question->setHidden(\true);
$question->setValidator($validator);
return $this->askQuestion($question);
@@ -236,7 +236,7 @@ class SymfonyStyle extends \RectorPrefix20220217\Symfony\Component\Console\Style
*/
public function confirm(string $question, bool $default = \true) : bool
{
- return $this->askQuestion(new \RectorPrefix20220217\Symfony\Component\Console\Question\ConfirmationQuestion($question, $default));
+ return $this->askQuestion(new \RectorPrefix20220218\Symfony\Component\Console\Question\ConfirmationQuestion($question, $default));
}
/**
* {@inheritdoc}
@@ -249,7 +249,7 @@ class SymfonyStyle extends \RectorPrefix20220217\Symfony\Component\Console\Style
$values = \array_flip($choices);
$default = $values[$default] ?? $default;
}
- return $this->askQuestion(new \RectorPrefix20220217\Symfony\Component\Console\Question\ChoiceQuestion($question, $choices, $default));
+ return $this->askQuestion(new \RectorPrefix20220218\Symfony\Component\Console\Question\ChoiceQuestion($question, $choices, $default));
}
/**
* {@inheritdoc}
@@ -278,7 +278,7 @@ class SymfonyStyle extends \RectorPrefix20220217\Symfony\Component\Console\Style
/**
* {@inheritdoc}
*/
- public function createProgressBar(int $max = 0) : \RectorPrefix20220217\Symfony\Component\Console\Helper\ProgressBar
+ public function createProgressBar(int $max = 0) : \RectorPrefix20220218\Symfony\Component\Console\Helper\ProgressBar
{
$progressBar = parent::createProgressBar($max);
if ('\\' !== \DIRECTORY_SEPARATOR || 'Hyper' === \getenv('TERM_PROGRAM')) {
@@ -301,12 +301,12 @@ class SymfonyStyle extends \RectorPrefix20220217\Symfony\Component\Console\Style
/**
* @return mixed
*/
- public function askQuestion(\RectorPrefix20220217\Symfony\Component\Console\Question\Question $question)
+ public function askQuestion(\RectorPrefix20220218\Symfony\Component\Console\Question\Question $question)
{
if ($this->input->isInteractive()) {
$this->autoPrependBlock();
}
- $this->questionHelper = $this->questionHelper ?? new \RectorPrefix20220217\Symfony\Component\Console\Helper\SymfonyQuestionHelper();
+ $this->questionHelper = $this->questionHelper ?? new \RectorPrefix20220218\Symfony\Component\Console\Helper\SymfonyQuestionHelper();
$answer = $this->questionHelper->ask($this->input, $this, $question);
if ($this->input->isInteractive()) {
$this->newLine();
@@ -357,17 +357,17 @@ class SymfonyStyle extends \RectorPrefix20220217\Symfony\Component\Console\Style
{
return new self($this->input, $this->getErrorOutput());
}
- public function createTable() : \RectorPrefix20220217\Symfony\Component\Console\Helper\Table
+ public function createTable() : \RectorPrefix20220218\Symfony\Component\Console\Helper\Table
{
- $output = $this->output instanceof \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutputInterface ? $this->output->section() : $this->output;
- $style = clone \RectorPrefix20220217\Symfony\Component\Console\Helper\Table::getStyleDefinition('symfony-style-guide');
+ $output = $this->output instanceof \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutputInterface ? $this->output->section() : $this->output;
+ $style = clone \RectorPrefix20220218\Symfony\Component\Console\Helper\Table::getStyleDefinition('symfony-style-guide');
$style->setCellHeaderFormat('%s');
- return (new \RectorPrefix20220217\Symfony\Component\Console\Helper\Table($output))->setStyle($style);
+ return (new \RectorPrefix20220218\Symfony\Component\Console\Helper\Table($output))->setStyle($style);
}
- private function getProgressBar() : \RectorPrefix20220217\Symfony\Component\Console\Helper\ProgressBar
+ private function getProgressBar() : \RectorPrefix20220218\Symfony\Component\Console\Helper\ProgressBar
{
if (!isset($this->progressBar)) {
- throw new \RectorPrefix20220217\Symfony\Component\Console\Exception\RuntimeException('The ProgressBar is not started.');
+ throw new \RectorPrefix20220218\Symfony\Component\Console\Exception\RuntimeException('The ProgressBar is not started.');
}
return $this->progressBar;
}
@@ -398,7 +398,7 @@ class SymfonyStyle extends \RectorPrefix20220217\Symfony\Component\Console\Style
private function createBlock(iterable $messages, string $type = null, string $style = null, string $prefix = ' ', bool $padding = \false, bool $escape = \false) : array
{
$indentLength = 0;
- $prefixLength = \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $prefix));
+ $prefixLength = \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $prefix));
$lines = [];
if (null !== $type) {
$type = \sprintf('[%s] ', $type);
@@ -408,9 +408,9 @@ class SymfonyStyle extends \RectorPrefix20220217\Symfony\Component\Console\Style
// wrap and add newlines for each element
foreach ($messages as $key => $message) {
if ($escape) {
- $message = \RectorPrefix20220217\Symfony\Component\Console\Formatter\OutputFormatter::escape($message);
+ $message = \RectorPrefix20220218\Symfony\Component\Console\Formatter\OutputFormatter::escape($message);
}
- $decorationLength = \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width($message) - \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message));
+ $decorationLength = \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width($message) - \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message));
$messageLineLength = \min($this->lineLength - $prefixLength - $indentLength + $decorationLength, $this->lineLength);
$messageLines = \explode(\PHP_EOL, \wordwrap($message, $messageLineLength, \PHP_EOL, \true));
foreach ($messageLines as $messageLine) {
@@ -431,7 +431,7 @@ class SymfonyStyle extends \RectorPrefix20220217\Symfony\Component\Console\Style
$line = $firstLineIndex === $i ? $type . $line : $lineIndentation . $line;
}
$line = $prefix . $line;
- $line .= \str_repeat(' ', \max($this->lineLength - \RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220217\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $line)), 0));
+ $line .= \str_repeat(' ', \max($this->lineLength - \RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20220218\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $line)), 0));
if ($style) {
$line = \sprintf('<%s>%s>', $style, $line);
}
diff --git a/vendor/symfony/console/Terminal.php b/vendor/symfony/console/Terminal.php
index e372d0ddf15..5b1ce3a7e9e 100644
--- a/vendor/symfony/console/Terminal.php
+++ b/vendor/symfony/console/Terminal.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console;
+namespace RectorPrefix20220218\Symfony\Component\Console;
class Terminal
{
diff --git a/vendor/symfony/console/Tester/ApplicationTester.php b/vendor/symfony/console/Tester/ApplicationTester.php
index c00186d3719..f0bec02da52 100644
--- a/vendor/symfony/console/Tester/ApplicationTester.php
+++ b/vendor/symfony/console/Tester/ApplicationTester.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Tester;
+namespace RectorPrefix20220218\Symfony\Component\Console\Tester;
-use RectorPrefix20220217\Symfony\Component\Console\Application;
-use RectorPrefix20220217\Symfony\Component\Console\Input\ArrayInput;
+use RectorPrefix20220218\Symfony\Component\Console\Application;
+use RectorPrefix20220218\Symfony\Component\Console\Input\ArrayInput;
/**
* Eases the testing of console applications.
*
@@ -26,7 +26,7 @@ class ApplicationTester
{
use TesterTrait;
private $application;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Application $application)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Application $application)
{
$this->application = $application;
}
@@ -44,7 +44,7 @@ class ApplicationTester
*/
public function run(array $input, array $options = []) : int
{
- $this->input = new \RectorPrefix20220217\Symfony\Component\Console\Input\ArrayInput($input);
+ $this->input = new \RectorPrefix20220218\Symfony\Component\Console\Input\ArrayInput($input);
if (isset($options['interactive'])) {
$this->input->setInteractive($options['interactive']);
}
diff --git a/vendor/symfony/console/Tester/CommandCompletionTester.php b/vendor/symfony/console/Tester/CommandCompletionTester.php
index 88702a3bc90..a1267e9d27c 100644
--- a/vendor/symfony/console/Tester/CommandCompletionTester.php
+++ b/vendor/symfony/console/Tester/CommandCompletionTester.php
@@ -8,11 +8,11 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Tester;
+namespace RectorPrefix20220218\Symfony\Component\Console\Tester;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput;
-use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput;
+use RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions;
/**
* Eases the testing of command completion.
*
@@ -21,7 +21,7 @@ use RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggesti
class CommandCompletionTester
{
private $command;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command)
{
$this->command = $command;
}
@@ -35,9 +35,9 @@ class CommandCompletionTester
\array_pop($input);
}
\array_unshift($input, $this->command->getName());
- $completionInput = \RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionInput::fromTokens($input, $currentIndex);
+ $completionInput = \RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionInput::fromTokens($input, $currentIndex);
$completionInput->bind($this->command->getDefinition());
- $suggestions = new \RectorPrefix20220217\Symfony\Component\Console\Completion\CompletionSuggestions();
+ $suggestions = new \RectorPrefix20220218\Symfony\Component\Console\Completion\CompletionSuggestions();
$this->command->complete($completionInput, $suggestions);
$options = [];
foreach ($suggestions->getOptionSuggestions() as $option) {
diff --git a/vendor/symfony/console/Tester/CommandTester.php b/vendor/symfony/console/Tester/CommandTester.php
index f797b2a4a24..c021b565f80 100644
--- a/vendor/symfony/console/Tester/CommandTester.php
+++ b/vendor/symfony/console/Tester/CommandTester.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Tester;
+namespace RectorPrefix20220218\Symfony\Component\Console\Tester;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-use RectorPrefix20220217\Symfony\Component\Console\Input\ArrayInput;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+use RectorPrefix20220218\Symfony\Component\Console\Input\ArrayInput;
/**
* Eases the testing of console commands.
*
@@ -22,7 +22,7 @@ class CommandTester
{
use TesterTrait;
private $command;
- public function __construct(\RectorPrefix20220217\Symfony\Component\Console\Command\Command $command)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\Console\Command\Command $command)
{
$this->command = $command;
}
@@ -48,7 +48,7 @@ class CommandTester
if (!isset($input['command']) && null !== ($application = $this->command->getApplication()) && $application->getDefinition()->hasArgument('command')) {
$input = \array_merge(['command' => $this->command->getName()], $input);
}
- $this->input = new \RectorPrefix20220217\Symfony\Component\Console\Input\ArrayInput($input);
+ $this->input = new \RectorPrefix20220218\Symfony\Component\Console\Input\ArrayInput($input);
// Use an in-memory input stream even if no inputs are set so that QuestionHelper::ask() does not rely on the blocking STDIN.
$this->input->setStream(self::createStream($this->inputs));
if (isset($options['interactive'])) {
diff --git a/vendor/symfony/console/Tester/Constraint/CommandIsSuccessful.php b/vendor/symfony/console/Tester/Constraint/CommandIsSuccessful.php
index 404e10c68df..dcc1df40db9 100644
--- a/vendor/symfony/console/Tester/Constraint/CommandIsSuccessful.php
+++ b/vendor/symfony/console/Tester/Constraint/CommandIsSuccessful.php
@@ -8,11 +8,11 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Tester\Constraint;
+namespace RectorPrefix20220218\Symfony\Component\Console\Tester\Constraint;
-use RectorPrefix20220217\PHPUnit\Framework\Constraint\Constraint;
-use RectorPrefix20220217\Symfony\Component\Console\Command\Command;
-final class CommandIsSuccessful extends \RectorPrefix20220217\PHPUnit\Framework\Constraint\Constraint
+use RectorPrefix20220218\PHPUnit\Framework\Constraint\Constraint;
+use RectorPrefix20220218\Symfony\Component\Console\Command\Command;
+final class CommandIsSuccessful extends \RectorPrefix20220218\PHPUnit\Framework\Constraint\Constraint
{
/**
* {@inheritdoc}
@@ -26,7 +26,7 @@ final class CommandIsSuccessful extends \RectorPrefix20220217\PHPUnit\Framework\
*/
protected function matches($other) : bool
{
- return \RectorPrefix20220217\Symfony\Component\Console\Command\Command::SUCCESS === $other;
+ return \RectorPrefix20220218\Symfony\Component\Console\Command\Command::SUCCESS === $other;
}
/**
* {@inheritdoc}
@@ -40,7 +40,7 @@ final class CommandIsSuccessful extends \RectorPrefix20220217\PHPUnit\Framework\
*/
protected function additionalFailureDescription($other) : string
{
- $mapping = [\RectorPrefix20220217\Symfony\Component\Console\Command\Command::FAILURE => 'Command failed.', \RectorPrefix20220217\Symfony\Component\Console\Command\Command::INVALID => 'Command was invalid.'];
+ $mapping = [\RectorPrefix20220218\Symfony\Component\Console\Command\Command::FAILURE => 'Command failed.', \RectorPrefix20220218\Symfony\Component\Console\Command\Command::INVALID => 'Command was invalid.'];
return $mapping[$other] ?? \sprintf('Command returned exit status %d.', $other);
}
}
diff --git a/vendor/symfony/console/Tester/TesterTrait.php b/vendor/symfony/console/Tester/TesterTrait.php
index cb58eeb8b26..81a4c92b14d 100644
--- a/vendor/symfony/console/Tester/TesterTrait.php
+++ b/vendor/symfony/console/Tester/TesterTrait.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\Console\Tester;
+namespace RectorPrefix20220218\Symfony\Component\Console\Tester;
-use RectorPrefix20220217\PHPUnit\Framework\Assert;
-use RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutput;
-use RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface;
-use RectorPrefix20220217\Symfony\Component\Console\Output\StreamOutput;
-use RectorPrefix20220217\Symfony\Component\Console\Tester\Constraint\CommandIsSuccessful;
+use RectorPrefix20220218\PHPUnit\Framework\Assert;
+use RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutput;
+use RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface;
+use RectorPrefix20220218\Symfony\Component\Console\Output\StreamOutput;
+use RectorPrefix20220218\Symfony\Component\Console\Tester\Constraint\CommandIsSuccessful;
/**
* @author Amrouche Hamza
*/
@@ -63,14 +63,14 @@ trait TesterTrait
/**
* Gets the input instance used by the last execution of the command or application.
*/
- public function getInput() : \RectorPrefix20220217\Symfony\Component\Console\Input\InputInterface
+ public function getInput() : \RectorPrefix20220218\Symfony\Component\Console\Input\InputInterface
{
return $this->input;
}
/**
* Gets the output instance used by the last execution of the command or application.
*/
- public function getOutput() : \RectorPrefix20220217\Symfony\Component\Console\Output\OutputInterface
+ public function getOutput() : \RectorPrefix20220218\Symfony\Component\Console\Output\OutputInterface
{
return $this->output;
}
@@ -85,7 +85,7 @@ trait TesterTrait
}
public function assertCommandIsSuccessful(string $message = '') : void
{
- \RectorPrefix20220217\PHPUnit\Framework\Assert::assertThat($this->statusCode, new \RectorPrefix20220217\Symfony\Component\Console\Tester\Constraint\CommandIsSuccessful(), $message);
+ \RectorPrefix20220218\PHPUnit\Framework\Assert::assertThat($this->statusCode, new \RectorPrefix20220218\Symfony\Component\Console\Tester\Constraint\CommandIsSuccessful(), $message);
}
/**
* Sets the user inputs.
@@ -113,7 +113,7 @@ trait TesterTrait
{
$this->captureStreamsIndependently = \array_key_exists('capture_stderr_separately', $options) && $options['capture_stderr_separately'];
if (!$this->captureStreamsIndependently) {
- $this->output = new \RectorPrefix20220217\Symfony\Component\Console\Output\StreamOutput(\fopen('php://memory', 'w', \false));
+ $this->output = new \RectorPrefix20220218\Symfony\Component\Console\Output\StreamOutput(\fopen('php://memory', 'w', \false));
if (isset($options['decorated'])) {
$this->output->setDecorated($options['decorated']);
}
@@ -121,8 +121,8 @@ trait TesterTrait
$this->output->setVerbosity($options['verbosity']);
}
} else {
- $this->output = new \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutput($options['verbosity'] ?? \RectorPrefix20220217\Symfony\Component\Console\Output\ConsoleOutput::VERBOSITY_NORMAL, $options['decorated'] ?? null);
- $errorOutput = new \RectorPrefix20220217\Symfony\Component\Console\Output\StreamOutput(\fopen('php://memory', 'w', \false));
+ $this->output = new \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutput($options['verbosity'] ?? \RectorPrefix20220218\Symfony\Component\Console\Output\ConsoleOutput::VERBOSITY_NORMAL, $options['decorated'] ?? null);
+ $errorOutput = new \RectorPrefix20220218\Symfony\Component\Console\Output\StreamOutput(\fopen('php://memory', 'w', \false));
$errorOutput->setFormatter($this->output->getFormatter());
$errorOutput->setVerbosity($this->output->getVerbosity());
$errorOutput->setDecorated($this->output->isDecorated());
diff --git a/vendor/symfony/console/composer.json b/vendor/symfony/console/composer.json
index 5ab4325c445..b6ad44c7a55 100644
--- a/vendor/symfony/console/composer.json
+++ b/vendor/symfony/console/composer.json
@@ -53,7 +53,7 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\Symfony\\Component\\Console\\": ""
+ "RectorPrefix20220218\\Symfony\\Component\\Console\\": ""
},
"exclude-from-classmap": [
"\/Tests\/"
diff --git a/vendor/symfony/contracts/Cache/CacheInterface.php b/vendor/symfony/contracts/Cache/CacheInterface.php
index 04bd25d501a..a19f5d7f2e4 100644
--- a/vendor/symfony/contracts/Cache/CacheInterface.php
+++ b/vendor/symfony/contracts/Cache/CacheInterface.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Cache;
+namespace RectorPrefix20220218\Symfony\Contracts\Cache;
-use RectorPrefix20220217\Psr\Cache\CacheItemInterface;
-use RectorPrefix20220217\Psr\Cache\InvalidArgumentException;
+use RectorPrefix20220218\Psr\Cache\CacheItemInterface;
+use RectorPrefix20220218\Psr\Cache\InvalidArgumentException;
/**
* Covers most simple to advanced caching needs.
*
diff --git a/vendor/symfony/contracts/Cache/CacheTrait.php b/vendor/symfony/contracts/Cache/CacheTrait.php
index 38e2aa8df2d..97aa348b30f 100644
--- a/vendor/symfony/contracts/Cache/CacheTrait.php
+++ b/vendor/symfony/contracts/Cache/CacheTrait.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Cache;
+namespace RectorPrefix20220218\Symfony\Contracts\Cache;
-use RectorPrefix20220217\Psr\Cache\CacheItemPoolInterface;
-use RectorPrefix20220217\Psr\Cache\InvalidArgumentException;
-use RectorPrefix20220217\Psr\Log\LoggerInterface;
+use RectorPrefix20220218\Psr\Cache\CacheItemPoolInterface;
+use RectorPrefix20220218\Psr\Cache\InvalidArgumentException;
+use RectorPrefix20220218\Psr\Log\LoggerInterface;
// Help opcache.preload discover always-needed symbols
-\class_exists(\RectorPrefix20220217\Psr\Cache\InvalidArgumentException::class);
+\class_exists(\RectorPrefix20220218\Psr\Cache\InvalidArgumentException::class);
/**
* An implementation of CacheInterface for PSR-6 CacheItemPoolInterface classes.
*
@@ -36,19 +36,19 @@ trait CacheTrait
{
return $this->deleteItem($key);
}
- private function doGet(\RectorPrefix20220217\Psr\Cache\CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, \RectorPrefix20220217\Psr\Log\LoggerInterface $logger = null) : mixed
+ private function doGet(\RectorPrefix20220218\Psr\Cache\CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, \RectorPrefix20220218\Psr\Log\LoggerInterface $logger = null) : mixed
{
if (0 > ($beta = $beta ?? 1.0)) {
- throw new class(\sprintf('Argument "$beta" provided to "%s::get()" must be a positive number, %f given.', static::class, $beta)) extends \InvalidArgumentException implements \RectorPrefix20220217\Psr\Cache\InvalidArgumentException
+ throw new class(\sprintf('Argument "$beta" provided to "%s::get()" must be a positive number, %f given.', static::class, $beta)) extends \InvalidArgumentException implements \RectorPrefix20220218\Psr\Cache\InvalidArgumentException
{
};
}
$item = $pool->getItem($key);
$recompute = !$item->isHit() || \INF === $beta;
- $metadata = $item instanceof \RectorPrefix20220217\Symfony\Contracts\Cache\ItemInterface ? $item->getMetadata() : [];
+ $metadata = $item instanceof \RectorPrefix20220218\Symfony\Contracts\Cache\ItemInterface ? $item->getMetadata() : [];
if (!$recompute && $metadata) {
- $expiry = $metadata[\RectorPrefix20220217\Symfony\Contracts\Cache\ItemInterface::METADATA_EXPIRY] ?? \false;
- $ctime = $metadata[\RectorPrefix20220217\Symfony\Contracts\Cache\ItemInterface::METADATA_CTIME] ?? \false;
+ $expiry = $metadata[\RectorPrefix20220218\Symfony\Contracts\Cache\ItemInterface::METADATA_EXPIRY] ?? \false;
+ $ctime = $metadata[\RectorPrefix20220218\Symfony\Contracts\Cache\ItemInterface::METADATA_CTIME] ?? \false;
if ($recompute = $ctime && $expiry && $expiry <= ($now = \microtime(\true)) - $ctime / 1000 * $beta * \log(\random_int(1, \PHP_INT_MAX) / \PHP_INT_MAX)) {
// force applying defaultLifetime to expiry
$item->expiresAt(null);
diff --git a/vendor/symfony/contracts/Cache/CallbackInterface.php b/vendor/symfony/contracts/Cache/CallbackInterface.php
index 97ecd24e2a6..904e21304e7 100644
--- a/vendor/symfony/contracts/Cache/CallbackInterface.php
+++ b/vendor/symfony/contracts/Cache/CallbackInterface.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Cache;
+namespace RectorPrefix20220218\Symfony\Contracts\Cache;
-use RectorPrefix20220217\Psr\Cache\CacheItemInterface;
+use RectorPrefix20220218\Psr\Cache\CacheItemInterface;
/**
* Computes and returns the cached value of an item.
*
@@ -24,5 +24,5 @@ interface CallbackInterface
*
* @return mixed The computed value for the passed item
*/
- public function __invoke(\RectorPrefix20220217\Psr\Cache\CacheItemInterface $item, bool &$save) : mixed;
+ public function __invoke(\RectorPrefix20220218\Psr\Cache\CacheItemInterface $item, bool &$save) : mixed;
}
diff --git a/vendor/symfony/contracts/Cache/ItemInterface.php b/vendor/symfony/contracts/Cache/ItemInterface.php
index fd66e3190e3..2116f1b43d2 100644
--- a/vendor/symfony/contracts/Cache/ItemInterface.php
+++ b/vendor/symfony/contracts/Cache/ItemInterface.php
@@ -8,17 +8,17 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Cache;
+namespace RectorPrefix20220218\Symfony\Contracts\Cache;
-use RectorPrefix20220217\Psr\Cache\CacheException;
-use RectorPrefix20220217\Psr\Cache\CacheItemInterface;
-use RectorPrefix20220217\Psr\Cache\InvalidArgumentException;
+use RectorPrefix20220218\Psr\Cache\CacheException;
+use RectorPrefix20220218\Psr\Cache\CacheItemInterface;
+use RectorPrefix20220218\Psr\Cache\InvalidArgumentException;
/**
* Augments PSR-6's CacheItemInterface with support for tags and metadata.
*
* @author Nicolas Grekas
*/
-interface ItemInterface extends \RectorPrefix20220217\Psr\Cache\CacheItemInterface
+interface ItemInterface extends \RectorPrefix20220218\Psr\Cache\CacheItemInterface
{
/**
* References the Unix timestamp stating when the item will expire.
diff --git a/vendor/symfony/contracts/Cache/TagAwareCacheInterface.php b/vendor/symfony/contracts/Cache/TagAwareCacheInterface.php
index 7951ceb5c0f..91bf3893b04 100644
--- a/vendor/symfony/contracts/Cache/TagAwareCacheInterface.php
+++ b/vendor/symfony/contracts/Cache/TagAwareCacheInterface.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Cache;
+namespace RectorPrefix20220218\Symfony\Contracts\Cache;
-use RectorPrefix20220217\Psr\Cache\InvalidArgumentException;
+use RectorPrefix20220218\Psr\Cache\InvalidArgumentException;
/**
* Allows invalidating cached items using tags.
*
* @author Nicolas Grekas
*/
-interface TagAwareCacheInterface extends \RectorPrefix20220217\Symfony\Contracts\Cache\CacheInterface
+interface TagAwareCacheInterface extends \RectorPrefix20220218\Symfony\Contracts\Cache\CacheInterface
{
/**
* Invalidates cached items using tags.
diff --git a/vendor/symfony/contracts/Cache/composer.json b/vendor/symfony/contracts/Cache/composer.json
index 956942e298c..24cd47dba71 100644
--- a/vendor/symfony/contracts/Cache/composer.json
+++ b/vendor/symfony/contracts/Cache/composer.json
@@ -31,7 +31,7 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\Symfony\\Contracts\\Cache\\": ""
+ "RectorPrefix20220218\\Symfony\\Contracts\\Cache\\": ""
}
},
"minimum-stability": "dev",
diff --git a/vendor/symfony/contracts/Deprecation/function.php b/vendor/symfony/contracts/Deprecation/function.php
index 08e9c3580f5..39df0495465 100644
--- a/vendor/symfony/contracts/Deprecation/function.php
+++ b/vendor/symfony/contracts/Deprecation/function.php
@@ -1,6 +1,6 @@
* @author Nicolas Grekas
*/
-class Event implements \RectorPrefix20220217\Psr\EventDispatcher\StoppableEventInterface
+class Event implements \RectorPrefix20220218\Psr\EventDispatcher\StoppableEventInterface
{
/**
* @var bool
diff --git a/vendor/symfony/contracts/EventDispatcher/EventDispatcherInterface.php b/vendor/symfony/contracts/EventDispatcher/EventDispatcherInterface.php
index 58ea6732839..29fa18b9e37 100644
--- a/vendor/symfony/contracts/EventDispatcher/EventDispatcherInterface.php
+++ b/vendor/symfony/contracts/EventDispatcher/EventDispatcherInterface.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\EventDispatcher;
+namespace RectorPrefix20220218\Symfony\Contracts\EventDispatcher;
-use RectorPrefix20220217\Psr\EventDispatcher\EventDispatcherInterface as PsrEventDispatcherInterface;
+use RectorPrefix20220218\Psr\EventDispatcher\EventDispatcherInterface as PsrEventDispatcherInterface;
/**
* Allows providing hooks on domain-specific lifecycles by dispatching events.
*/
-interface EventDispatcherInterface extends \RectorPrefix20220217\Psr\EventDispatcher\EventDispatcherInterface
+interface EventDispatcherInterface extends \RectorPrefix20220218\Psr\EventDispatcher\EventDispatcherInterface
{
/**
* Dispatches an event to all registered listeners.
diff --git a/vendor/symfony/contracts/EventDispatcher/composer.json b/vendor/symfony/contracts/EventDispatcher/composer.json
index bddb86deefe..a711c99a576 100644
--- a/vendor/symfony/contracts/EventDispatcher/composer.json
+++ b/vendor/symfony/contracts/EventDispatcher/composer.json
@@ -31,7 +31,7 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\Symfony\\Contracts\\EventDispatcher\\": ""
+ "RectorPrefix20220218\\Symfony\\Contracts\\EventDispatcher\\": ""
}
},
"minimum-stability": "dev",
diff --git a/vendor/symfony/contracts/HttpClient/ChunkInterface.php b/vendor/symfony/contracts/HttpClient/ChunkInterface.php
index d6d47c4ac80..5c5b8745a27 100644
--- a/vendor/symfony/contracts/HttpClient/ChunkInterface.php
+++ b/vendor/symfony/contracts/HttpClient/ChunkInterface.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\HttpClient;
+namespace RectorPrefix20220218\Symfony\Contracts\HttpClient;
-use RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
+use RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
/**
* The interface of chunks returned by ResponseStreamInterface::current().
*
diff --git a/vendor/symfony/contracts/HttpClient/Exception/ClientExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/ClientExceptionInterface.php
index 425756e51dc..e03a873c196 100644
--- a/vendor/symfony/contracts/HttpClient/Exception/ClientExceptionInterface.php
+++ b/vendor/symfony/contracts/HttpClient/Exception/ClientExceptionInterface.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception;
+namespace RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception;
/**
* When a 4xx response is returned.
*
* @author Nicolas Grekas
*/
-interface ClientExceptionInterface extends \RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface
+interface ClientExceptionInterface extends \RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface
{
}
diff --git a/vendor/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php
index 8f58d561337..2b4dd53c975 100644
--- a/vendor/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php
+++ b/vendor/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception;
+namespace RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception;
/**
* When a content-type cannot be decoded to the expected representation.
*
* @author Nicolas Grekas
*/
-interface DecodingExceptionInterface extends \RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ExceptionInterface
+interface DecodingExceptionInterface extends \RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ExceptionInterface
{
}
diff --git a/vendor/symfony/contracts/HttpClient/Exception/ExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/ExceptionInterface.php
index d757baa682d..11638d6a7d3 100644
--- a/vendor/symfony/contracts/HttpClient/Exception/ExceptionInterface.php
+++ b/vendor/symfony/contracts/HttpClient/Exception/ExceptionInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception;
+namespace RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception;
/**
* The base interface for all exceptions in the contract.
diff --git a/vendor/symfony/contracts/HttpClient/Exception/HttpExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/HttpExceptionInterface.php
index 5c64016399b..4070ce9f54d 100644
--- a/vendor/symfony/contracts/HttpClient/Exception/HttpExceptionInterface.php
+++ b/vendor/symfony/contracts/HttpClient/Exception/HttpExceptionInterface.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception;
+namespace RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception;
-use RectorPrefix20220217\Symfony\Contracts\HttpClient\ResponseInterface;
+use RectorPrefix20220218\Symfony\Contracts\HttpClient\ResponseInterface;
/**
* Base interface for HTTP-related exceptions.
*
* @author Anton Chernikov
*/
-interface HttpExceptionInterface extends \RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ExceptionInterface
+interface HttpExceptionInterface extends \RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ExceptionInterface
{
- public function getResponse() : \RectorPrefix20220217\Symfony\Contracts\HttpClient\ResponseInterface;
+ public function getResponse() : \RectorPrefix20220218\Symfony\Contracts\HttpClient\ResponseInterface;
}
diff --git a/vendor/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php
index a38b16be0c5..c77f5431dec 100644
--- a/vendor/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php
+++ b/vendor/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception;
+namespace RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception;
/**
* When a 3xx response is returned and the "max_redirects" option has been reached.
*
* @author Nicolas Grekas
*/
-interface RedirectionExceptionInterface extends \RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface
+interface RedirectionExceptionInterface extends \RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface
{
}
diff --git a/vendor/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php
index 7ab1aa50d79..09ddf1eae13 100644
--- a/vendor/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php
+++ b/vendor/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception;
+namespace RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception;
/**
* When a 5xx response is returned.
*
* @author Nicolas Grekas
*/
-interface ServerExceptionInterface extends \RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface
+interface ServerExceptionInterface extends \RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface
{
}
diff --git a/vendor/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php
index 45ba1bb5c7e..f92c275a408 100644
--- a/vendor/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php
+++ b/vendor/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception;
+namespace RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception;
/**
* When an idle timeout occurs.
*
* @author Nicolas Grekas
*/
-interface TimeoutExceptionInterface extends \RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface
+interface TimeoutExceptionInterface extends \RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface
{
}
diff --git a/vendor/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php
index 2d8a3afc0b0..58aa8cd28c8 100644
--- a/vendor/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php
+++ b/vendor/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception;
+namespace RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception;
/**
* When any error happens at the transport level.
*
* @author Nicolas Grekas
*/
-interface TransportExceptionInterface extends \RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ExceptionInterface
+interface TransportExceptionInterface extends \RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ExceptionInterface
{
}
diff --git a/vendor/symfony/contracts/HttpClient/HttpClientInterface.php b/vendor/symfony/contracts/HttpClient/HttpClientInterface.php
index 557a2e0b785..24f10cecce1 100644
--- a/vendor/symfony/contracts/HttpClient/HttpClientInterface.php
+++ b/vendor/symfony/contracts/HttpClient/HttpClientInterface.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\HttpClient;
+namespace RectorPrefix20220218\Symfony\Contracts\HttpClient;
-use RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
-use RectorPrefix20220217\Symfony\Contracts\HttpClient\Test\HttpClientTestCase;
+use RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
+use RectorPrefix20220218\Symfony\Contracts\HttpClient\Test\HttpClientTestCase;
/**
* Provides flexible methods for requesting HTTP resources synchronously or asynchronously.
*
@@ -97,14 +97,14 @@ interface HttpClientInterface
*
* @throws TransportExceptionInterface When an unsupported option is passed
*/
- public function request(string $method, string $url, array $options = []) : \RectorPrefix20220217\Symfony\Contracts\HttpClient\ResponseInterface;
+ public function request(string $method, string $url, array $options = []) : \RectorPrefix20220218\Symfony\Contracts\HttpClient\ResponseInterface;
/**
* Yields responses chunk by chunk as they complete.
*
* @param ResponseInterface|iterable $responses One or more responses created by the current HTTP client
* @param float|null $timeout The idle timeout before yielding timeout chunks
*/
- public function stream($responses, float $timeout = null) : \RectorPrefix20220217\Symfony\Contracts\HttpClient\ResponseStreamInterface;
+ public function stream($responses, float $timeout = null) : \RectorPrefix20220218\Symfony\Contracts\HttpClient\ResponseStreamInterface;
/**
* Returns a new instance of the client with new default options.
* @return $this
diff --git a/vendor/symfony/contracts/HttpClient/ResponseInterface.php b/vendor/symfony/contracts/HttpClient/ResponseInterface.php
index b314ccd1876..f8d6cff0073 100644
--- a/vendor/symfony/contracts/HttpClient/ResponseInterface.php
+++ b/vendor/symfony/contracts/HttpClient/ResponseInterface.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\HttpClient;
+namespace RectorPrefix20220218\Symfony\Contracts\HttpClient;
-use RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface;
-use RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\DecodingExceptionInterface;
-use RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ExceptionInterface;
-use RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface;
-use RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ServerExceptionInterface;
-use RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
+use RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface;
+use RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\DecodingExceptionInterface;
+use RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ExceptionInterface;
+use RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface;
+use RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ServerExceptionInterface;
+use RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
/**
* A (lazily retrieved) HTTP response.
*
diff --git a/vendor/symfony/contracts/HttpClient/ResponseStreamInterface.php b/vendor/symfony/contracts/HttpClient/ResponseStreamInterface.php
index c3440a64c72..352245f0f32 100644
--- a/vendor/symfony/contracts/HttpClient/ResponseStreamInterface.php
+++ b/vendor/symfony/contracts/HttpClient/ResponseStreamInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\HttpClient;
+namespace RectorPrefix20220218\Symfony\Contracts\HttpClient;
/**
* Yields response chunks, returned by HttpClientInterface::stream().
@@ -19,6 +19,6 @@ namespace RectorPrefix20220217\Symfony\Contracts\HttpClient;
*/
interface ResponseStreamInterface extends \Iterator
{
- public function key() : \RectorPrefix20220217\Symfony\Contracts\HttpClient\ResponseInterface;
- public function current() : \RectorPrefix20220217\Symfony\Contracts\HttpClient\ChunkInterface;
+ public function key() : \RectorPrefix20220218\Symfony\Contracts\HttpClient\ResponseInterface;
+ public function current() : \RectorPrefix20220218\Symfony\Contracts\HttpClient\ChunkInterface;
}
diff --git a/vendor/symfony/contracts/HttpClient/Test/Fixtures/web/index.php b/vendor/symfony/contracts/HttpClient/Test/Fixtures/web/index.php
index 57c80b86744..bb6c03803de 100644
--- a/vendor/symfony/contracts/HttpClient/Test/Fixtures/web/index.php
+++ b/vendor/symfony/contracts/HttpClient/Test/Fixtures/web/index.php
@@ -1,6 +1,6 @@
getHttpClient(__FUNCTION__);
@@ -50,7 +50,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
$this->assertSame('localhost:8057', $body['HTTP_HOST']);
$this->assertSame('baR', $body['HTTP_FOO']);
$response = $client->request('GET', 'http://localhost:8057/length-broken');
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
$response->getContent();
}
public function testHeadRequest()
@@ -74,7 +74,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
$response = $client->request('GET', 'http://localhost:8057', ['buffer' => \false, 'headers' => ['Foo' => 'baR']]);
$body = $response->toArray();
$this->assertSame('baR', $body['HTTP_FOO']);
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
$response->getContent();
}
public function testBufferSink()
@@ -99,7 +99,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
return \false;
}]);
$response->getContent();
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
$response->getContent();
}
public function testReentrantBufferCallback()
@@ -110,7 +110,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
return \true;
}]);
$this->assertSame(200, $response->getStatusCode());
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
$response->getContent();
}
public function testThrowingBufferCallback()
@@ -120,7 +120,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
throw new \Exception('Boo.');
}]);
$this->assertSame(200, $response->getStatusCode());
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
$this->expectExceptionMessage('Boo');
$response->getContent();
}
@@ -148,7 +148,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
$this->assertSame(['chunked'], $response->getHeaders()['transfer-encoding']);
$this->assertSame('Symfony is awesome!', $response->getContent());
$response = $client->request('GET', 'http://localhost:8057/chunked-broken');
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
$response->getContent();
}
public function testClientError()
@@ -159,13 +159,13 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
$this->assertSame(404, $response->getInfo('http_code'));
try {
$response->getHeaders();
- $this->fail(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected');
- } catch (\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) {
+ $this->fail(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected');
+ } catch (\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) {
}
try {
$response->getContent();
- $this->fail(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected');
- } catch (\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) {
+ $this->fail(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected');
+ } catch (\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) {
}
$this->assertSame(404, $response->getStatusCode());
$this->assertSame(['application/json'], $response->getHeaders(\false)['content-type']);
@@ -175,8 +175,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
foreach ($client->stream($response) as $chunk) {
$this->assertTrue($chunk->isFirst());
}
- $this->fail(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected');
- } catch (\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) {
+ $this->fail(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected');
+ } catch (\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) {
}
}
public function testIgnoreErrors()
@@ -191,27 +191,27 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
$response = $client->request('GET', 'http://localhost:8057/301/bad-tld');
try {
$response->getStatusCode();
- $this->fail(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected');
- } catch (\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) {
+ $this->fail(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected');
+ } catch (\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) {
$this->addToAssertionCount(1);
}
try {
$response->getStatusCode();
- $this->fail(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' still expected');
- } catch (\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) {
+ $this->fail(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' still expected');
+ } catch (\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) {
$this->addToAssertionCount(1);
}
$response = $client->request('GET', 'http://localhost:8057/301/bad-tld');
try {
foreach ($client->stream($response) as $r => $chunk) {
}
- $this->fail(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected');
- } catch (\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) {
+ $this->fail(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected');
+ } catch (\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) {
$this->addToAssertionCount(1);
}
$this->assertSame($response, $r);
$this->assertNotNull($chunk->getError());
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
foreach ($client->stream($response) as $chunk) {
}
}
@@ -226,7 +226,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
public function testBadRequestBody()
{
$client = $this->getHttpClient(__FUNCTION__);
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
$response = $client->request('POST', 'http://localhost:8057/', ['body' => function () {
(yield []);
}]);
@@ -265,7 +265,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
$this->assertSame(['//?foo=bar'], $response->getHeaders(\false)['location']);
$this->assertSame(0, $response->getInfo('redirect_count'));
$this->assertNull($response->getInfo('redirect_url'));
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface::class);
$response->getHeaders();
}
public function testRelativeRedirects()
@@ -296,8 +296,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
$response = $client->request('GET', 'http://localhost:8057/301', ['max_redirects' => 1, 'auth_basic' => 'foo:bar']);
try {
$response->getHeaders();
- $this->fail(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface::class . ' expected');
- } catch (\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface $e) {
+ $this->fail(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface::class . ' expected');
+ } catch (\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface $e) {
}
$this->assertSame(302, $response->getStatusCode());
$this->assertSame(1, $response->getInfo('redirect_count'));
@@ -415,7 +415,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
$client = $this->getHttpClient(__FUNCTION__);
$response = $client->request('GET', 'http://localhost:8057/timeout-header');
$response->cancel();
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
$response->getHeaders();
}
public function testInfoOnCanceledResponse()
@@ -433,7 +433,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
foreach ($client->stream($response) as $chunk) {
$response->cancel();
}
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
foreach ($client->stream($response) as $chunk) {
}
}
@@ -448,12 +448,12 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
try {
foreach ($client->stream([$response]) as $chunk) {
}
- $this->fail(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected');
- } catch (\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) {
+ $this->fail(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected');
+ } catch (\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) {
$this->assertSame('Aborting the request.', $e->getPrevious()->getMessage());
}
$this->assertNotNull($response->getInfo('error'));
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
$response->getContent();
}
public function testOnProgressError()
@@ -472,7 +472,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
$this->assertSame('BUG.', $e->getMessage());
}
$this->assertNotNull($response->getInfo('error'));
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
$response->getContent();
}
public function testResolve()
@@ -482,7 +482,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
$this->assertSame(200, $response->getStatusCode());
$this->assertSame(200, $client->request('GET', 'http://symfony.com:8057/')->getStatusCode());
$response = null;
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
$client->request('GET', 'http://symfony.com:8057/', ['timeout' => 1]);
}
public function testIdnResolve()
@@ -504,7 +504,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
{
$client = $this->getHttpClient(__FUNCTION__);
$response = $client->request('GET', 'http://localhost:8057/timeout-header', ['timeout' => 0.1]);
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
$response->getHeaders();
}
public function testTimeoutIsNotAFatalError()
@@ -515,14 +515,14 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
$response = $client->request('GET', 'http://localhost:8057/timeout-body', ['timeout' => 0.25]);
try {
$response->getContent();
- $this->fail(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface::class . ' expected');
- } catch (\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface $e) {
+ $this->fail(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface::class . ' expected');
+ } catch (\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface $e) {
}
for ($i = 0; $i < 10; ++$i) {
try {
$this->assertSame('<1><2>', $response->getContent());
break;
- } catch (\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface $e) {
+ } catch (\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface $e) {
}
}
if (10 === $i) {
@@ -557,20 +557,20 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
$client = $this->getHttpClient(__FUNCTION__);
$response = $client->request('GET', 'http://localhost:8057/timeout-body');
$chunks = $client->stream([$response], 0.1);
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
foreach ($chunks as $r => $chunk) {
}
}
public function testTimeoutWithActiveConcurrentStream()
{
- $p1 = \RectorPrefix20220217\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8067);
- $p2 = \RectorPrefix20220217\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8077);
+ $p1 = \RectorPrefix20220218\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8067);
+ $p2 = \RectorPrefix20220218\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8077);
$client = $this->getHttpClient(__FUNCTION__);
$streamingResponse = $client->request('GET', 'http://localhost:8067/max-duration');
$blockingResponse = $client->request('GET', 'http://localhost:8077/timeout-body', ['timeout' => 0.25]);
$this->assertSame(200, $streamingResponse->getStatusCode());
$this->assertSame(200, $blockingResponse->getStatusCode());
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
try {
$blockingResponse->getContent();
} finally {
@@ -580,8 +580,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
}
public function testTimeoutOnDestruct()
{
- $p1 = \RectorPrefix20220217\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8067);
- $p2 = \RectorPrefix20220217\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8077);
+ $p1 = \RectorPrefix20220218\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8067);
+ $p2 = \RectorPrefix20220218\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8077);
$client = $this->getHttpClient(__FUNCTION__);
$start = \microtime(\true);
$responses = [];
@@ -593,8 +593,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
while ($response = \array_shift($responses)) {
try {
unset($response);
- $this->fail(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected');
- } catch (\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) {
+ $this->fail(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected');
+ } catch (\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) {
}
}
$duration = \microtime(\true) - $start;
@@ -619,8 +619,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
$client = $this->getHttpClient(__FUNCTION__);
try {
$client->request('GET', 'http://localhost:8057/404');
- $this->fail(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected');
- } catch (\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) {
+ $this->fail(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected');
+ } catch (\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) {
$this->assertSame('GET', $e->getResponse()->toArray(\false)['REQUEST_METHOD']);
}
}
@@ -629,8 +629,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
$client = $this->getHttpClient(__FUNCTION__);
try {
$client->request('GET', 'http://localhost:8057/404-gzipped');
- $this->fail(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected');
- } catch (\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) {
+ $this->fail(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected');
+ } catch (\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) {
$this->assertSame('some text', $e->getResponse()->getContent(\false));
}
}
@@ -735,7 +735,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
{
$client = $this->getHttpClient(__FUNCTION__);
$response = $client->request('GET', 'http://localhost:8057/gzip-broken');
- $this->expectException(\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class);
$response->getContent();
}
public function testMaxDuration()
@@ -745,7 +745,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20220217\PHPUnit\Framewor
$start = \microtime(\true);
try {
$response->getContent();
- } catch (\RectorPrefix20220217\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) {
+ } catch (\RectorPrefix20220218\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) {
$this->addToAssertionCount(1);
}
$duration = \microtime(\true) - $start;
diff --git a/vendor/symfony/contracts/HttpClient/Test/TestHttpServer.php b/vendor/symfony/contracts/HttpClient/Test/TestHttpServer.php
index d92b1b3935d..40911be764d 100644
--- a/vendor/symfony/contracts/HttpClient/Test/TestHttpServer.php
+++ b/vendor/symfony/contracts/HttpClient/Test/TestHttpServer.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\HttpClient\Test;
+namespace RectorPrefix20220218\Symfony\Contracts\HttpClient\Test;
-use RectorPrefix20220217\Symfony\Component\Process\PhpExecutableFinder;
-use RectorPrefix20220217\Symfony\Component\Process\Process;
+use RectorPrefix20220218\Symfony\Component\Process\PhpExecutableFinder;
+use RectorPrefix20220218\Symfony\Component\Process\Process;
class TestHttpServer
{
private static $process = [];
- public static function start(int $port = 8057) : \RectorPrefix20220217\Symfony\Component\Process\Process
+ public static function start(int $port = 8057) : \RectorPrefix20220218\Symfony\Component\Process\Process
{
if (isset(self::$process[$port])) {
self::$process[$port]->stop();
@@ -24,8 +24,8 @@ class TestHttpServer
self::$process[$port]->stop();
});
}
- $finder = new \RectorPrefix20220217\Symfony\Component\Process\PhpExecutableFinder();
- $process = new \RectorPrefix20220217\Symfony\Component\Process\Process(\array_merge([$finder->find(\false)], $finder->findArguments(), ['-dopcache.enable=0', '-dvariables_order=EGPCS', '-S', '127.0.0.1:' . $port]));
+ $finder = new \RectorPrefix20220218\Symfony\Component\Process\PhpExecutableFinder();
+ $process = new \RectorPrefix20220218\Symfony\Component\Process\Process(\array_merge([$finder->find(\false)], $finder->findArguments(), ['-dopcache.enable=0', '-dvariables_order=EGPCS', '-S', '127.0.0.1:' . $port]));
$process->setWorkingDirectory(__DIR__ . '/Fixtures/web');
$process->start();
self::$process[$port] = $process;
diff --git a/vendor/symfony/contracts/HttpClient/composer.json b/vendor/symfony/contracts/HttpClient/composer.json
index df122266e9e..a3e3218fc72 100644
--- a/vendor/symfony/contracts/HttpClient/composer.json
+++ b/vendor/symfony/contracts/HttpClient/composer.json
@@ -30,7 +30,7 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\Symfony\\Contracts\\HttpClient\\": ""
+ "RectorPrefix20220218\\Symfony\\Contracts\\HttpClient\\": ""
}
},
"minimum-stability": "dev",
diff --git a/vendor/symfony/contracts/Service/Attribute/Required.php b/vendor/symfony/contracts/Service/Attribute/Required.php
index 8b19fffa025..c2f3f3c39f3 100644
--- a/vendor/symfony/contracts/Service/Attribute/Required.php
+++ b/vendor/symfony/contracts/Service/Attribute/Required.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Service\Attribute;
+namespace RectorPrefix20220218\Symfony\Contracts\Service\Attribute;
/**
* A required dependency.
diff --git a/vendor/symfony/contracts/Service/Attribute/SubscribedService.php b/vendor/symfony/contracts/Service/Attribute/SubscribedService.php
index 6b959f06bd4..b804e51993a 100644
--- a/vendor/symfony/contracts/Service/Attribute/SubscribedService.php
+++ b/vendor/symfony/contracts/Service/Attribute/SubscribedService.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Service\Attribute;
+namespace RectorPrefix20220218\Symfony\Contracts\Service\Attribute;
-use RectorPrefix20220217\Symfony\Contracts\Service\ServiceSubscriberTrait;
+use RectorPrefix20220218\Symfony\Contracts\Service\ServiceSubscriberTrait;
/**
* Use with {@see ServiceSubscriberTrait} to mark a method's return type
* as a subscribed service.
diff --git a/vendor/symfony/contracts/Service/ResetInterface.php b/vendor/symfony/contracts/Service/ResetInterface.php
index b925ecdbbd7..4c2b9e3052d 100644
--- a/vendor/symfony/contracts/Service/ResetInterface.php
+++ b/vendor/symfony/contracts/Service/ResetInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Service;
+namespace RectorPrefix20220218\Symfony\Contracts\Service;
/**
* Provides a way to reset an object to its initial state.
diff --git a/vendor/symfony/contracts/Service/ServiceLocatorTrait.php b/vendor/symfony/contracts/Service/ServiceLocatorTrait.php
index 2e431b0c4c1..ff946d9b7f3 100644
--- a/vendor/symfony/contracts/Service/ServiceLocatorTrait.php
+++ b/vendor/symfony/contracts/Service/ServiceLocatorTrait.php
@@ -8,13 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Service;
+namespace RectorPrefix20220218\Symfony\Contracts\Service;
-use RectorPrefix20220217\Psr\Container\ContainerExceptionInterface;
-use RectorPrefix20220217\Psr\Container\NotFoundExceptionInterface;
+use RectorPrefix20220218\Psr\Container\ContainerExceptionInterface;
+use RectorPrefix20220218\Psr\Container\NotFoundExceptionInterface;
// Help opcache.preload discover always-needed symbols
-\class_exists(\RectorPrefix20220217\Psr\Container\ContainerExceptionInterface::class);
-\class_exists(\RectorPrefix20220217\Psr\Container\NotFoundExceptionInterface::class);
+\class_exists(\RectorPrefix20220218\Psr\Container\ContainerExceptionInterface::class);
+\class_exists(\RectorPrefix20220218\Psr\Container\NotFoundExceptionInterface::class);
/**
* A trait to help implement ServiceProviderInterface.
*
@@ -89,7 +89,7 @@ trait ServiceLocatorTrait
}
return $this->providedTypes;
}
- private function createNotFoundException(string $id) : \RectorPrefix20220217\Psr\Container\NotFoundExceptionInterface
+ private function createNotFoundException(string $id) : \RectorPrefix20220218\Psr\Container\NotFoundExceptionInterface
{
if (!($alternatives = \array_keys($this->factories))) {
$message = 'is empty...';
@@ -106,13 +106,13 @@ trait ServiceLocatorTrait
} else {
$message = \sprintf('Service "%s" not found: the current service locator %s', $id, $message);
}
- return new class($message) extends \InvalidArgumentException implements \RectorPrefix20220217\Psr\Container\NotFoundExceptionInterface
+ return new class($message) extends \InvalidArgumentException implements \RectorPrefix20220218\Psr\Container\NotFoundExceptionInterface
{
};
}
- private function createCircularReferenceException(string $id, array $path) : \RectorPrefix20220217\Psr\Container\ContainerExceptionInterface
+ private function createCircularReferenceException(string $id, array $path) : \RectorPrefix20220218\Psr\Container\ContainerExceptionInterface
{
- return new class(\sprintf('Circular reference detected for service "%s", path: "%s".', $id, \implode(' -> ', $path))) extends \RuntimeException implements \RectorPrefix20220217\Psr\Container\ContainerExceptionInterface
+ return new class(\sprintf('Circular reference detected for service "%s", path: "%s".', $id, \implode(' -> ', $path))) extends \RuntimeException implements \RectorPrefix20220218\Psr\Container\ContainerExceptionInterface
{
};
}
diff --git a/vendor/symfony/contracts/Service/ServiceProviderInterface.php b/vendor/symfony/contracts/Service/ServiceProviderInterface.php
index 64e36a038d7..b13e3d60e40 100644
--- a/vendor/symfony/contracts/Service/ServiceProviderInterface.php
+++ b/vendor/symfony/contracts/Service/ServiceProviderInterface.php
@@ -8,16 +8,16 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Service;
+namespace RectorPrefix20220218\Symfony\Contracts\Service;
-use RectorPrefix20220217\Psr\Container\ContainerInterface;
+use RectorPrefix20220218\Psr\Container\ContainerInterface;
/**
* A ServiceProviderInterface exposes the identifiers and the types of services provided by a container.
*
* @author Nicolas Grekas
* @author Mateusz Sip
*/
-interface ServiceProviderInterface extends \RectorPrefix20220217\Psr\Container\ContainerInterface
+interface ServiceProviderInterface extends \RectorPrefix20220218\Psr\Container\ContainerInterface
{
/**
* Returns an associative array of service types keyed by the identifiers provided by the current container.
diff --git a/vendor/symfony/contracts/Service/ServiceSubscriberInterface.php b/vendor/symfony/contracts/Service/ServiceSubscriberInterface.php
index 61196ed8eaa..658c3d60799 100644
--- a/vendor/symfony/contracts/Service/ServiceSubscriberInterface.php
+++ b/vendor/symfony/contracts/Service/ServiceSubscriberInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Service;
+namespace RectorPrefix20220218\Symfony\Contracts\Service;
/**
* A ServiceSubscriber exposes its dependencies via the static {@link getSubscribedServices} method.
diff --git a/vendor/symfony/contracts/Service/ServiceSubscriberTrait.php b/vendor/symfony/contracts/Service/ServiceSubscriberTrait.php
index 95e0223243d..3b2fb3d9d60 100644
--- a/vendor/symfony/contracts/Service/ServiceSubscriberTrait.php
+++ b/vendor/symfony/contracts/Service/ServiceSubscriberTrait.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Service;
+namespace RectorPrefix20220218\Symfony\Contracts\Service;
-use RectorPrefix20220217\Psr\Container\ContainerInterface;
-use RectorPrefix20220217\Symfony\Contracts\Service\Attribute\SubscribedService;
+use RectorPrefix20220218\Psr\Container\ContainerInterface;
+use RectorPrefix20220218\Symfony\Contracts\Service\Attribute\SubscribedService;
/**
* Implementation of ServiceSubscriberInterface that determines subscribed services from
* method return types. Service ids are available as "ClassName::methodName".
@@ -36,14 +36,14 @@ trait ServiceSubscriberTrait
if (self::class !== $method->getDeclaringClass()->name) {
continue;
}
- if (!($attribute = (\method_exists($method, 'getAttributes') ? $method->getAttributes(\RectorPrefix20220217\Symfony\Contracts\Service\Attribute\SubscribedService::class) : [])[0] ?? null)) {
+ if (!($attribute = (\method_exists($method, 'getAttributes') ? $method->getAttributes(\RectorPrefix20220218\Symfony\Contracts\Service\Attribute\SubscribedService::class) : [])[0] ?? null)) {
continue;
}
if ($method->isStatic() || $method->isAbstract() || $method->isGenerator() || $method->isInternal() || $method->getNumberOfRequiredParameters()) {
- throw new \LogicException(\sprintf('Cannot use "%s" on method "%s::%s()" (can only be used on non-static, non-abstract methods with no parameters).', \RectorPrefix20220217\Symfony\Contracts\Service\Attribute\SubscribedService::class, self::class, $method->name));
+ throw new \LogicException(\sprintf('Cannot use "%s" on method "%s::%s()" (can only be used on non-static, non-abstract methods with no parameters).', \RectorPrefix20220218\Symfony\Contracts\Service\Attribute\SubscribedService::class, self::class, $method->name));
}
if (!($returnType = $method->getReturnType())) {
- throw new \LogicException(\sprintf('Cannot use "%s" on methods without a return type in "%s::%s()".', \RectorPrefix20220217\Symfony\Contracts\Service\Attribute\SubscribedService::class, $method->name, self::class));
+ throw new \LogicException(\sprintf('Cannot use "%s" on methods without a return type in "%s::%s()".', \RectorPrefix20220218\Symfony\Contracts\Service\Attribute\SubscribedService::class, $method->name, self::class));
}
$serviceId = $returnType instanceof \ReflectionNamedType ? $returnType->getName() : (string) $returnType;
if ($returnType->allowsNull()) {
@@ -56,7 +56,7 @@ trait ServiceSubscriberTrait
/**
* @required
*/
- public function setContainer(\RectorPrefix20220217\Psr\Container\ContainerInterface $container) : ?\RectorPrefix20220217\Psr\Container\ContainerInterface
+ public function setContainer(\RectorPrefix20220218\Psr\Container\ContainerInterface $container) : ?\RectorPrefix20220218\Psr\Container\ContainerInterface
{
$this->container = $container;
if (\is_callable(['parent', __FUNCTION__])) {
diff --git a/vendor/symfony/contracts/Service/Test/ServiceLocatorTest.php b/vendor/symfony/contracts/Service/Test/ServiceLocatorTest.php
index e2640d10aab..b7bba48d8dc 100644
--- a/vendor/symfony/contracts/Service/Test/ServiceLocatorTest.php
+++ b/vendor/symfony/contracts/Service/Test/ServiceLocatorTest.php
@@ -8,16 +8,16 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Service\Test;
+namespace RectorPrefix20220218\Symfony\Contracts\Service\Test;
-use RectorPrefix20220217\PHPUnit\Framework\TestCase;
-use RectorPrefix20220217\Psr\Container\ContainerInterface;
-use RectorPrefix20220217\Symfony\Contracts\Service\ServiceLocatorTrait;
-abstract class ServiceLocatorTest extends \RectorPrefix20220217\PHPUnit\Framework\TestCase
+use RectorPrefix20220218\PHPUnit\Framework\TestCase;
+use RectorPrefix20220218\Psr\Container\ContainerInterface;
+use RectorPrefix20220218\Symfony\Contracts\Service\ServiceLocatorTrait;
+abstract class ServiceLocatorTest extends \RectorPrefix20220218\PHPUnit\Framework\TestCase
{
- protected function getServiceLocator(array $factories) : \RectorPrefix20220217\Psr\Container\ContainerInterface
+ protected function getServiceLocator(array $factories) : \RectorPrefix20220218\Psr\Container\ContainerInterface
{
- return new class($factories) implements \RectorPrefix20220217\Psr\Container\ContainerInterface
+ return new class($factories) implements \RectorPrefix20220218\Psr\Container\ContainerInterface
{
use ServiceLocatorTrait;
};
@@ -59,7 +59,7 @@ abstract class ServiceLocatorTest extends \RectorPrefix20220217\PHPUnit\Framewor
public function testThrowsOnUndefinedInternalService()
{
if (!$this->getExpectedException()) {
- $this->expectException(\RectorPrefix20220217\Psr\Container\NotFoundExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Psr\Container\NotFoundExceptionInterface::class);
$this->expectExceptionMessage('The service "foo" has a dependency on a non-existent service "bar". This locator only knows about the "foo" service.');
}
$locator = $this->getServiceLocator(['foo' => function () use(&$locator) {
@@ -69,7 +69,7 @@ abstract class ServiceLocatorTest extends \RectorPrefix20220217\PHPUnit\Framewor
}
public function testThrowsOnCircularReference()
{
- $this->expectException(\RectorPrefix20220217\Psr\Container\ContainerExceptionInterface::class);
+ $this->expectException(\RectorPrefix20220218\Psr\Container\ContainerExceptionInterface::class);
$this->expectExceptionMessage('Circular reference detected for service "bar", path: "bar -> baz -> bar".');
$locator = $this->getServiceLocator(['foo' => function () use(&$locator) {
return $locator->get('bar');
diff --git a/vendor/symfony/contracts/Service/composer.json b/vendor/symfony/contracts/Service/composer.json
index 2cbca4a2e89..971c297dc32 100644
--- a/vendor/symfony/contracts/Service/composer.json
+++ b/vendor/symfony/contracts/Service/composer.json
@@ -34,7 +34,7 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\Symfony\\Contracts\\Service\\": ""
+ "RectorPrefix20220218\\Symfony\\Contracts\\Service\\": ""
}
},
"minimum-stability": "dev",
diff --git a/vendor/symfony/contracts/Tests/Cache/CacheTraitTest.php b/vendor/symfony/contracts/Tests/Cache/CacheTraitTest.php
index 16e1be3ef4f..ba88dfce507 100644
--- a/vendor/symfony/contracts/Tests/Cache/CacheTraitTest.php
+++ b/vendor/symfony/contracts/Tests/Cache/CacheTraitTest.php
@@ -8,69 +8,69 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Tests\Cache;
+namespace RectorPrefix20220218\Symfony\Contracts\Tests\Cache;
-use RectorPrefix20220217\PHPUnit\Framework\TestCase;
-use RectorPrefix20220217\Psr\Cache\CacheItemInterface;
-use RectorPrefix20220217\Psr\Cache\CacheItemPoolInterface;
-use RectorPrefix20220217\Symfony\Contracts\Cache\CacheTrait;
+use RectorPrefix20220218\PHPUnit\Framework\TestCase;
+use RectorPrefix20220218\Psr\Cache\CacheItemInterface;
+use RectorPrefix20220218\Psr\Cache\CacheItemPoolInterface;
+use RectorPrefix20220218\Symfony\Contracts\Cache\CacheTrait;
/**
* @author Tobias Nyholm
*/
-class CacheTraitTest extends \RectorPrefix20220217\PHPUnit\Framework\TestCase
+class CacheTraitTest extends \RectorPrefix20220218\PHPUnit\Framework\TestCase
{
public function testSave()
{
- $item = $this->createMock(\RectorPrefix20220217\Psr\Cache\CacheItemInterface::class);
+ $item = $this->createMock(\RectorPrefix20220218\Psr\Cache\CacheItemInterface::class);
$item->method('set')->willReturn($item);
$item->method('isHit')->willReturn(\false);
$item->expects($this->once())->method('set')->with('computed data');
- $cache = $this->getMockBuilder(\RectorPrefix20220217\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock();
+ $cache = $this->getMockBuilder(\RectorPrefix20220218\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock();
$cache->expects($this->once())->method('getItem')->with('key')->willReturn($item);
$cache->expects($this->once())->method('save');
- $callback = function (\RectorPrefix20220217\Psr\Cache\CacheItemInterface $item) {
+ $callback = function (\RectorPrefix20220218\Psr\Cache\CacheItemInterface $item) {
return 'computed data';
};
$cache->get('key', $callback);
}
public function testNoCallbackCallOnHit()
{
- $item = $this->createMock(\RectorPrefix20220217\Psr\Cache\CacheItemInterface::class);
+ $item = $this->createMock(\RectorPrefix20220218\Psr\Cache\CacheItemInterface::class);
$item->method('isHit')->willReturn(\true);
$item->expects($this->never())->method('set');
- $cache = $this->getMockBuilder(\RectorPrefix20220217\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock();
+ $cache = $this->getMockBuilder(\RectorPrefix20220218\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock();
$cache->expects($this->once())->method('getItem')->with('key')->willReturn($item);
$cache->expects($this->never())->method('save');
- $callback = function (\RectorPrefix20220217\Psr\Cache\CacheItemInterface $item) {
+ $callback = function (\RectorPrefix20220218\Psr\Cache\CacheItemInterface $item) {
$this->assertTrue(\false, 'This code should never be reached');
};
$cache->get('key', $callback);
}
public function testRecomputeOnBetaInf()
{
- $item = $this->createMock(\RectorPrefix20220217\Psr\Cache\CacheItemInterface::class);
+ $item = $this->createMock(\RectorPrefix20220218\Psr\Cache\CacheItemInterface::class);
$item->method('set')->willReturn($item);
$item->method('isHit')->willReturn(\true);
$item->expects($this->once())->method('set')->with('computed data');
- $cache = $this->getMockBuilder(\RectorPrefix20220217\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock();
+ $cache = $this->getMockBuilder(\RectorPrefix20220218\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock();
$cache->expects($this->once())->method('getItem')->with('key')->willReturn($item);
$cache->expects($this->once())->method('save');
- $callback = function (\RectorPrefix20220217\Psr\Cache\CacheItemInterface $item) {
+ $callback = function (\RectorPrefix20220218\Psr\Cache\CacheItemInterface $item) {
return 'computed data';
};
$cache->get('key', $callback, \INF);
}
public function testExceptionOnNegativeBeta()
{
- $cache = $this->getMockBuilder(\RectorPrefix20220217\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock();
- $callback = function (\RectorPrefix20220217\Psr\Cache\CacheItemInterface $item) {
+ $cache = $this->getMockBuilder(\RectorPrefix20220218\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock();
+ $callback = function (\RectorPrefix20220218\Psr\Cache\CacheItemInterface $item) {
return 'computed data';
};
$this->expectException(\InvalidArgumentException::class);
$cache->get('key', $callback, -2);
}
}
-class TestPool implements \RectorPrefix20220217\Psr\Cache\CacheItemPoolInterface
+class TestPool implements \RectorPrefix20220218\Psr\Cache\CacheItemPoolInterface
{
use CacheTrait;
public function hasItem($key) : bool
@@ -82,16 +82,16 @@ class TestPool implements \RectorPrefix20220217\Psr\Cache\CacheItemPoolInterface
public function deleteItems(array $keys = []) : bool
{
}
- public function getItem($key) : \RectorPrefix20220217\Psr\Cache\CacheItemInterface
+ public function getItem($key) : \RectorPrefix20220218\Psr\Cache\CacheItemInterface
{
}
public function getItems(array $key = []) : iterable
{
}
- public function saveDeferred(\RectorPrefix20220217\Psr\Cache\CacheItemInterface $item) : bool
+ public function saveDeferred(\RectorPrefix20220218\Psr\Cache\CacheItemInterface $item) : bool
{
}
- public function save(\RectorPrefix20220217\Psr\Cache\CacheItemInterface $item) : bool
+ public function save(\RectorPrefix20220218\Psr\Cache\CacheItemInterface $item) : bool
{
}
public function commit() : bool
diff --git a/vendor/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php b/vendor/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php
index a4bda8d17b3..62a42c5166c 100644
--- a/vendor/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php
+++ b/vendor/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php
@@ -8,58 +8,58 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Tests\Service;
+namespace RectorPrefix20220218\Symfony\Contracts\Tests\Service;
-use RectorPrefix20220217\PHPUnit\Framework\TestCase;
-use RectorPrefix20220217\Psr\Container\ContainerInterface;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir1\Service1;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2;
-use RectorPrefix20220217\Symfony\Contracts\Service\Attribute\SubscribedService;
-use RectorPrefix20220217\Symfony\Contracts\Service\ServiceLocatorTrait;
-use RectorPrefix20220217\Symfony\Contracts\Service\ServiceSubscriberInterface;
-use RectorPrefix20220217\Symfony\Contracts\Service\ServiceSubscriberTrait;
-class ServiceSubscriberTraitTest extends \RectorPrefix20220217\PHPUnit\Framework\TestCase
+use RectorPrefix20220218\PHPUnit\Framework\TestCase;
+use RectorPrefix20220218\Psr\Container\ContainerInterface;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir1\Service1;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2;
+use RectorPrefix20220218\Symfony\Contracts\Service\Attribute\SubscribedService;
+use RectorPrefix20220218\Symfony\Contracts\Service\ServiceLocatorTrait;
+use RectorPrefix20220218\Symfony\Contracts\Service\ServiceSubscriberInterface;
+use RectorPrefix20220218\Symfony\Contracts\Service\ServiceSubscriberTrait;
+class ServiceSubscriberTraitTest extends \RectorPrefix20220218\PHPUnit\Framework\TestCase
{
public function testMethodsOnParentsAndChildrenAreIgnoredInGetSubscribedServices()
{
- $expected = [\RectorPrefix20220217\Symfony\Contracts\Tests\Service\TestService::class . '::aService' => \RectorPrefix20220217\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2::class, \RectorPrefix20220217\Symfony\Contracts\Tests\Service\TestService::class . '::nullableService' => '?' . \RectorPrefix20220217\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2::class];
- $this->assertEquals($expected, \RectorPrefix20220217\Symfony\Contracts\Tests\Service\ChildTestService::getSubscribedServices());
+ $expected = [\RectorPrefix20220218\Symfony\Contracts\Tests\Service\TestService::class . '::aService' => \RectorPrefix20220218\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2::class, \RectorPrefix20220218\Symfony\Contracts\Tests\Service\TestService::class . '::nullableService' => '?' . \RectorPrefix20220218\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2::class];
+ $this->assertEquals($expected, \RectorPrefix20220218\Symfony\Contracts\Tests\Service\ChildTestService::getSubscribedServices());
}
public function testSetContainerIsCalledOnParent()
{
- $container = new class([]) implements \RectorPrefix20220217\Psr\Container\ContainerInterface
+ $container = new class([]) implements \RectorPrefix20220218\Psr\Container\ContainerInterface
{
use ServiceLocatorTrait;
};
- $this->assertSame($container, (new \RectorPrefix20220217\Symfony\Contracts\Tests\Service\TestService())->setContainer($container));
+ $this->assertSame($container, (new \RectorPrefix20220218\Symfony\Contracts\Tests\Service\TestService())->setContainer($container));
}
}
class ParentTestService
{
- public function aParentService() : \RectorPrefix20220217\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir1\Service1
+ public function aParentService() : \RectorPrefix20220218\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir1\Service1
{
}
- public function setContainer(\RectorPrefix20220217\Psr\Container\ContainerInterface $container)
+ public function setContainer(\RectorPrefix20220218\Psr\Container\ContainerInterface $container)
{
return $container;
}
}
-class TestService extends \RectorPrefix20220217\Symfony\Contracts\Tests\Service\ParentTestService implements \RectorPrefix20220217\Symfony\Contracts\Service\ServiceSubscriberInterface
+class TestService extends \RectorPrefix20220218\Symfony\Contracts\Tests\Service\ParentTestService implements \RectorPrefix20220218\Symfony\Contracts\Service\ServiceSubscriberInterface
{
use ServiceSubscriberTrait;
#[SubscribedService]
- public function aService() : \RectorPrefix20220217\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2
+ public function aService() : \RectorPrefix20220218\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2
{
}
#[SubscribedService]
- public function nullableService() : ?\RectorPrefix20220217\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2
+ public function nullableService() : ?\RectorPrefix20220218\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2
{
}
}
-class ChildTestService extends \RectorPrefix20220217\Symfony\Contracts\Tests\Service\TestService
+class ChildTestService extends \RectorPrefix20220218\Symfony\Contracts\Tests\Service\TestService
{
#[SubscribedService]
- public function aChildService() : \RectorPrefix20220217\Symfony\Contracts\Tests\Service\Service3
+ public function aChildService() : \RectorPrefix20220218\Symfony\Contracts\Tests\Service\Service3
{
}
}
diff --git a/vendor/symfony/contracts/Translation/LocaleAwareInterface.php b/vendor/symfony/contracts/Translation/LocaleAwareInterface.php
index 95554322a07..35fd603b6f0 100644
--- a/vendor/symfony/contracts/Translation/LocaleAwareInterface.php
+++ b/vendor/symfony/contracts/Translation/LocaleAwareInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Translation;
+namespace RectorPrefix20220218\Symfony\Contracts\Translation;
interface LocaleAwareInterface
{
diff --git a/vendor/symfony/contracts/Translation/Test/TranslatorTest.php b/vendor/symfony/contracts/Translation/Test/TranslatorTest.php
index 1ad4c85db3a..61413f0674e 100644
--- a/vendor/symfony/contracts/Translation/Test/TranslatorTest.php
+++ b/vendor/symfony/contracts/Translation/Test/TranslatorTest.php
@@ -8,11 +8,11 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Translation\Test;
+namespace RectorPrefix20220218\Symfony\Contracts\Translation\Test;
-use RectorPrefix20220217\PHPUnit\Framework\TestCase;
-use RectorPrefix20220217\Symfony\Contracts\Translation\TranslatorInterface;
-use RectorPrefix20220217\Symfony\Contracts\Translation\TranslatorTrait;
+use RectorPrefix20220218\PHPUnit\Framework\TestCase;
+use RectorPrefix20220218\Symfony\Contracts\Translation\TranslatorInterface;
+use RectorPrefix20220218\Symfony\Contracts\Translation\TranslatorTrait;
/**
* Test should cover all languages mentioned on http://translate.sourceforge.net/wiki/l10n/pluralforms
* and Plural forms mentioned on http://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms.
@@ -26,7 +26,7 @@ use RectorPrefix20220217\Symfony\Contracts\Translation\TranslatorTrait;
*
* @author Clemens Tolboom clemens@build2be.nl
*/
-class TranslatorTest extends \RectorPrefix20220217\PHPUnit\Framework\TestCase
+class TranslatorTest extends \RectorPrefix20220218\PHPUnit\Framework\TestCase
{
private $defaultLocale;
protected function setUp() : void
@@ -38,9 +38,9 @@ class TranslatorTest extends \RectorPrefix20220217\PHPUnit\Framework\TestCase
{
\Locale::setDefault($this->defaultLocale);
}
- public function getTranslator() : \RectorPrefix20220217\Symfony\Contracts\Translation\TranslatorInterface
+ public function getTranslator() : \RectorPrefix20220218\Symfony\Contracts\Translation\TranslatorInterface
{
- return new class implements \RectorPrefix20220217\Symfony\Contracts\Translation\TranslatorInterface
+ return new class implements \RectorPrefix20220218\Symfony\Contracts\Translation\TranslatorInterface
{
use TranslatorTrait;
};
diff --git a/vendor/symfony/contracts/Translation/TranslatableInterface.php b/vendor/symfony/contracts/Translation/TranslatableInterface.php
index e4551592c15..9101955d4a2 100644
--- a/vendor/symfony/contracts/Translation/TranslatableInterface.php
+++ b/vendor/symfony/contracts/Translation/TranslatableInterface.php
@@ -8,12 +8,12 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Translation;
+namespace RectorPrefix20220218\Symfony\Contracts\Translation;
/**
* @author Nicolas Grekas
*/
interface TranslatableInterface
{
- public function trans(\RectorPrefix20220217\Symfony\Contracts\Translation\TranslatorInterface $translator, string $locale = null) : string;
+ public function trans(\RectorPrefix20220218\Symfony\Contracts\Translation\TranslatorInterface $translator, string $locale = null) : string;
}
diff --git a/vendor/symfony/contracts/Translation/TranslatorInterface.php b/vendor/symfony/contracts/Translation/TranslatorInterface.php
index a1d86469a32..d6ff6423c03 100644
--- a/vendor/symfony/contracts/Translation/TranslatorInterface.php
+++ b/vendor/symfony/contracts/Translation/TranslatorInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Translation;
+namespace RectorPrefix20220218\Symfony\Contracts\Translation;
/**
* @author Fabien Potencier
diff --git a/vendor/symfony/contracts/Translation/TranslatorTrait.php b/vendor/symfony/contracts/Translation/TranslatorTrait.php
index 65d67341296..4ddc282936c 100644
--- a/vendor/symfony/contracts/Translation/TranslatorTrait.php
+++ b/vendor/symfony/contracts/Translation/TranslatorTrait.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Contracts\Translation;
+namespace RectorPrefix20220218\Symfony\Contracts\Translation;
-use RectorPrefix20220217\Symfony\Component\Translation\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\Translation\Exception\InvalidArgumentException;
/**
* A trait to help implement TranslatorInterface and LocaleAwareInterface.
*
@@ -104,8 +104,8 @@ EOF;
return \strtr($standardRules[0], $parameters);
}
$message = \sprintf('Unable to choose a translation for "%s" with locale "%s" for value "%d". Double check that this translation has the correct plural options (e.g. "There is one apple|There are %%count%% apples").', $id, $locale, $number);
- if (\class_exists(\RectorPrefix20220217\Symfony\Component\Translation\Exception\InvalidArgumentException::class)) {
- throw new \RectorPrefix20220217\Symfony\Component\Translation\Exception\InvalidArgumentException($message);
+ if (\class_exists(\RectorPrefix20220218\Symfony\Component\Translation\Exception\InvalidArgumentException::class)) {
+ throw new \RectorPrefix20220218\Symfony\Component\Translation\Exception\InvalidArgumentException($message);
}
throw new \InvalidArgumentException($message);
}
diff --git a/vendor/symfony/contracts/Translation/composer.json b/vendor/symfony/contracts/Translation/composer.json
index bc87f3f6485..e1c6fb24a69 100644
--- a/vendor/symfony/contracts/Translation/composer.json
+++ b/vendor/symfony/contracts/Translation/composer.json
@@ -30,7 +30,7 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\Symfony\\Contracts\\Translation\\": ""
+ "RectorPrefix20220218\\Symfony\\Contracts\\Translation\\": ""
}
},
"minimum-stability": "dev",
diff --git a/vendor/symfony/contracts/composer.json b/vendor/symfony/contracts/composer.json
index 9e423c3c427..6144457dbdc 100644
--- a/vendor/symfony/contracts/composer.json
+++ b/vendor/symfony/contracts/composer.json
@@ -51,7 +51,7 @@
},
"autoload": {
"psr-4": {
- "RectorPrefix20220217\\Symfony\\Contracts\\": ""
+ "RectorPrefix20220218\\Symfony\\Contracts\\": ""
},
"files": [
"Deprecation\/function.php"
diff --git a/vendor/symfony/dependency-injection/Alias.php b/vendor/symfony/dependency-injection/Alias.php
index c9eb29b0221..095323eefbf 100644
--- a/vendor/symfony/dependency-injection/Alias.php
+++ b/vendor/symfony/dependency-injection/Alias.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
class Alias
{
private const DEFAULT_DEPRECATION_TEMPLATE = 'The "%alias_id%" service alias is deprecated. You should stop using it, as it will be removed in the future.';
@@ -71,10 +71,10 @@ class Alias
{
if ('' !== $message) {
if (\preg_match('#[\\r\\n]|\\*/#', $message)) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('Invalid characters found in deprecation template.');
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('Invalid characters found in deprecation template.');
}
if (\strpos($message, '%alias_id%') === \false) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The deprecation template must contain the "%alias_id%" placeholder.');
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The deprecation template must contain the "%alias_id%" placeholder.');
}
}
$this->deprecation = ['package' => $package, 'version' => $version, 'message' => $message ?: self::DEFAULT_DEPRECATION_TEMPLATE];
diff --git a/vendor/symfony/dependency-injection/Argument/AbstractArgument.php b/vendor/symfony/dependency-injection/Argument/AbstractArgument.php
index 6689f7fa922..ffb9303c3b1 100644
--- a/vendor/symfony/dependency-injection/Argument/AbstractArgument.php
+++ b/vendor/symfony/dependency-injection/Argument/AbstractArgument.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument;
/**
* Represents an abstract service argument, which have to be set by a compiler pass or a DI extension.
diff --git a/vendor/symfony/dependency-injection/Argument/ArgumentInterface.php b/vendor/symfony/dependency-injection/Argument/ArgumentInterface.php
index 84995aefa3a..cad9747588a 100644
--- a/vendor/symfony/dependency-injection/Argument/ArgumentInterface.php
+++ b/vendor/symfony/dependency-injection/Argument/ArgumentInterface.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument;
/**
* Represents a complex argument containing nested values.
diff --git a/vendor/symfony/dependency-injection/Argument/BoundArgument.php b/vendor/symfony/dependency-injection/Argument/BoundArgument.php
index 2f5c5eac29c..f7801342973 100644
--- a/vendor/symfony/dependency-injection/Argument/BoundArgument.php
+++ b/vendor/symfony/dependency-injection/Argument/BoundArgument.php
@@ -8,12 +8,12 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument;
/**
* @author Guilhem Niot
*/
-final class BoundArgument implements \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ArgumentInterface
+final class BoundArgument implements \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ArgumentInterface
{
public const SERVICE_BINDING = 0;
public const DEFAULTS_BINDING = 1;
diff --git a/vendor/symfony/dependency-injection/Argument/IteratorArgument.php b/vendor/symfony/dependency-injection/Argument/IteratorArgument.php
index 7bc7b57f0c1..e073ec7dc27 100644
--- a/vendor/symfony/dependency-injection/Argument/IteratorArgument.php
+++ b/vendor/symfony/dependency-injection/Argument/IteratorArgument.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument;
/**
* Represents a collection of values to lazily iterate over.
*
* @author Titouan Galopin
*/
-class IteratorArgument implements \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ArgumentInterface
+class IteratorArgument implements \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ArgumentInterface
{
use ReferenceSetArgumentTrait;
}
diff --git a/vendor/symfony/dependency-injection/Argument/ReferenceSetArgumentTrait.php b/vendor/symfony/dependency-injection/Argument/ReferenceSetArgumentTrait.php
index a2f65d6527d..e69e479738c 100644
--- a/vendor/symfony/dependency-injection/Argument/ReferenceSetArgumentTrait.php
+++ b/vendor/symfony/dependency-injection/Argument/ReferenceSetArgumentTrait.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference;
/**
* @author Titouan Galopin
* @author Nicolas Grekas
@@ -42,8 +42,8 @@ trait ReferenceSetArgumentTrait
public function setValues(array $values)
{
foreach ($values as $k => $v) {
- if (null !== $v && !$v instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A "%s" must hold only Reference instances, "%s" given.', __CLASS__, \get_debug_type($v)));
+ if (null !== $v && !$v instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference) {
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A "%s" must hold only Reference instances, "%s" given.', __CLASS__, \get_debug_type($v)));
}
}
$this->values = $values;
diff --git a/vendor/symfony/dependency-injection/Argument/RewindableGenerator.php b/vendor/symfony/dependency-injection/Argument/RewindableGenerator.php
index fe3ba1c59ab..05016fefa84 100644
--- a/vendor/symfony/dependency-injection/Argument/RewindableGenerator.php
+++ b/vendor/symfony/dependency-injection/Argument/RewindableGenerator.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument;
/**
* @internal
diff --git a/vendor/symfony/dependency-injection/Argument/ServiceClosureArgument.php b/vendor/symfony/dependency-injection/Argument/ServiceClosureArgument.php
index 94a6d20388c..1b8a9e699d2 100644
--- a/vendor/symfony/dependency-injection/Argument/ServiceClosureArgument.php
+++ b/vendor/symfony/dependency-injection/Argument/ServiceClosureArgument.php
@@ -8,22 +8,22 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference;
/**
* Represents a service wrapped in a memoizing closure.
*
* @author Nicolas Grekas
*/
-class ServiceClosureArgument implements \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ArgumentInterface
+class ServiceClosureArgument implements \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ArgumentInterface
{
/**
* @var mixed[]
*/
private $values;
- public function __construct(\RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference $reference)
+ public function __construct(\RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference $reference)
{
$this->values = [$reference];
}
@@ -39,8 +39,8 @@ class ServiceClosureArgument implements \RectorPrefix20220217\Symfony\Component\
*/
public function setValues(array $values)
{
- if ([0] !== \array_keys($values) || !($values[0] instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference || null === $values[0])) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('A ServiceClosureArgument must hold one and only one Reference.');
+ if ([0] !== \array_keys($values) || !($values[0] instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference || null === $values[0])) {
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('A ServiceClosureArgument must hold one and only one Reference.');
}
$this->values = $values;
}
diff --git a/vendor/symfony/dependency-injection/Argument/ServiceLocator.php b/vendor/symfony/dependency-injection/Argument/ServiceLocator.php
index 03dfb2b5986..529f5dba263 100644
--- a/vendor/symfony/dependency-injection/Argument/ServiceLocator.php
+++ b/vendor/symfony/dependency-injection/Argument/ServiceLocator.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ServiceLocator as BaseServiceLocator;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ServiceLocator as BaseServiceLocator;
/**
* @author Nicolas Grekas
*
* @internal
*/
-class ServiceLocator extends \RectorPrefix20220217\Symfony\Component\DependencyInjection\ServiceLocator
+class ServiceLocator extends \RectorPrefix20220218\Symfony\Component\DependencyInjection\ServiceLocator
{
/**
* @var \Closure
diff --git a/vendor/symfony/dependency-injection/Argument/ServiceLocatorArgument.php b/vendor/symfony/dependency-injection/Argument/ServiceLocatorArgument.php
index a5f430244a4..4b22ca0a0c7 100644
--- a/vendor/symfony/dependency-injection/Argument/ServiceLocatorArgument.php
+++ b/vendor/symfony/dependency-injection/Argument/ServiceLocatorArgument.php
@@ -8,15 +8,15 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference;
/**
* Represents a closure acting as a service locator.
*
* @author Nicolas Grekas
*/
-class ServiceLocatorArgument implements \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ArgumentInterface
+class ServiceLocatorArgument implements \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ArgumentInterface
{
use ReferenceSetArgumentTrait;
private $taggedIteratorArgument = null;
@@ -25,14 +25,14 @@ class ServiceLocatorArgument implements \RectorPrefix20220217\Symfony\Component\
*/
public function __construct($values = [])
{
- if ($values instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) {
+ if ($values instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) {
$this->taggedIteratorArgument = $values;
$this->values = [];
} else {
$this->setValues($values);
}
}
- public function getTaggedIteratorArgument() : ?\RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument
+ public function getTaggedIteratorArgument() : ?\RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument
{
return $this->taggedIteratorArgument;
}
diff --git a/vendor/symfony/dependency-injection/Argument/TaggedIteratorArgument.php b/vendor/symfony/dependency-injection/Argument/TaggedIteratorArgument.php
index 9dc1d615751..fc304f126cb 100644
--- a/vendor/symfony/dependency-injection/Argument/TaggedIteratorArgument.php
+++ b/vendor/symfony/dependency-injection/Argument/TaggedIteratorArgument.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument;
/**
* Represents a collection of services found by tag name to lazily iterate over.
*
* @author Roland Franssen
*/
-class TaggedIteratorArgument extends \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\IteratorArgument
+class TaggedIteratorArgument extends \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\IteratorArgument
{
/**
* @var string
diff --git a/vendor/symfony/dependency-injection/Attribute/AsTaggedItem.php b/vendor/symfony/dependency-injection/Attribute/AsTaggedItem.php
index 6ebe1241b87..80969a443b8 100644
--- a/vendor/symfony/dependency-injection/Attribute/AsTaggedItem.php
+++ b/vendor/symfony/dependency-injection/Attribute/AsTaggedItem.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Attribute;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Attribute;
/**
* An attribute to tell under which index and priority a service class should be found in tagged iterators/locators.
diff --git a/vendor/symfony/dependency-injection/Attribute/Autoconfigure.php b/vendor/symfony/dependency-injection/Attribute/Autoconfigure.php
index 8fd4634f0ab..ba3e8ffda65 100644
--- a/vendor/symfony/dependency-injection/Attribute/Autoconfigure.php
+++ b/vendor/symfony/dependency-injection/Attribute/Autoconfigure.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Attribute;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Attribute;
/**
* An attribute to tell how a base type should be autoconfigured.
diff --git a/vendor/symfony/dependency-injection/Attribute/AutoconfigureTag.php b/vendor/symfony/dependency-injection/Attribute/AutoconfigureTag.php
index cb04bc9eeb6..110fa1d56cd 100644
--- a/vendor/symfony/dependency-injection/Attribute/AutoconfigureTag.php
+++ b/vendor/symfony/dependency-injection/Attribute/AutoconfigureTag.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Attribute;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Attribute;
/**
* An attribute to tell how a base type should be tagged.
@@ -16,7 +16,7 @@ namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Attribute;
* @author Nicolas Grekas
*/
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]
-class AutoconfigureTag extends \RectorPrefix20220217\Symfony\Component\DependencyInjection\Attribute\Autoconfigure
+class AutoconfigureTag extends \RectorPrefix20220218\Symfony\Component\DependencyInjection\Attribute\Autoconfigure
{
public function __construct(string $name = null, array $attributes = [])
{
diff --git a/vendor/symfony/dependency-injection/Attribute/TaggedIterator.php b/vendor/symfony/dependency-injection/Attribute/TaggedIterator.php
index 34b5d10267e..7d89f6c0e22 100644
--- a/vendor/symfony/dependency-injection/Attribute/TaggedIterator.php
+++ b/vendor/symfony/dependency-injection/Attribute/TaggedIterator.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Attribute;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Attribute;
#[\Attribute(\Attribute::TARGET_PARAMETER)]
class TaggedIterator
diff --git a/vendor/symfony/dependency-injection/Attribute/TaggedLocator.php b/vendor/symfony/dependency-injection/Attribute/TaggedLocator.php
index 86286c7dea3..2a6884b4781 100644
--- a/vendor/symfony/dependency-injection/Attribute/TaggedLocator.php
+++ b/vendor/symfony/dependency-injection/Attribute/TaggedLocator.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Attribute;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Attribute;
#[\Attribute(\Attribute::TARGET_PARAMETER)]
class TaggedLocator
diff --git a/vendor/symfony/dependency-injection/Attribute/Target.php b/vendor/symfony/dependency-injection/Attribute/Target.php
index 3d0af99ebb0..6c334af4b35 100644
--- a/vendor/symfony/dependency-injection/Attribute/Target.php
+++ b/vendor/symfony/dependency-injection/Attribute/Target.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Attribute;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Attribute;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
/**
* An attribute to tell how a dependency is used and hint named autowiring aliases.
*
@@ -39,7 +39,7 @@ final class Target
} else {
$function = $function->name;
}
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid #[Target] name "%s" on parameter "$%s" of "%s()": the first character must be a letter.', $name, $parameter->name, $function));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid #[Target] name "%s" on parameter "$%s" of "%s()": the first character must be a letter.', $name, $parameter->name, $function));
}
return $name;
}
diff --git a/vendor/symfony/dependency-injection/Attribute/When.php b/vendor/symfony/dependency-injection/Attribute/When.php
index 465663c0d1a..9a20e0c0218 100644
--- a/vendor/symfony/dependency-injection/Attribute/When.php
+++ b/vendor/symfony/dependency-injection/Attribute/When.php
@@ -8,7 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Attribute;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Attribute;
/**
* An attribute to tell under which environement this class should be registered as a service.
diff --git a/vendor/symfony/dependency-injection/ChildDefinition.php b/vendor/symfony/dependency-injection/ChildDefinition.php
index c686c1f1889..4a939831a4f 100644
--- a/vendor/symfony/dependency-injection/ChildDefinition.php
+++ b/vendor/symfony/dependency-injection/ChildDefinition.php
@@ -8,16 +8,16 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException;
/**
* This definition extends another definition.
*
* @author Johannes M. Schmitt
*/
-class ChildDefinition extends \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition
+class ChildDefinition extends \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition
{
/**
* @var string
@@ -85,7 +85,7 @@ class ChildDefinition extends \RectorPrefix20220217\Symfony\Component\Dependency
} elseif (\strncmp($index, '$', \strlen('$')) === 0) {
$this->arguments[$index] = $value;
} else {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The argument must be an existing index or the name of a constructor\'s parameter.');
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The argument must be an existing index or the name of a constructor\'s parameter.');
}
return $this;
}
diff --git a/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php b/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php
index 83b2b531284..20651740414 100644
--- a/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php
+++ b/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php
@@ -8,21 +8,21 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ArgumentInterface;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ChildDefinition;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\LogicException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ExpressionLanguage;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference;
-use RectorPrefix20220217\Symfony\Component\ExpressionLanguage\Expression;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ArgumentInterface;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ChildDefinition;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\LogicException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ExpressionLanguage;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference;
+use RectorPrefix20220218\Symfony\Component\ExpressionLanguage\Expression;
/**
* @author Nicolas Grekas
*/
-abstract class AbstractRecursivePass implements \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
+abstract class AbstractRecursivePass implements \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
{
/**
* @var ContainerBuilder
@@ -41,7 +41,7 @@ abstract class AbstractRecursivePass implements \RectorPrefix20220217\Symfony\Co
/**
* {@inheritdoc}
*/
- public function process(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container)
+ public function process(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container)
{
$this->container = $container;
try {
@@ -79,11 +79,11 @@ abstract class AbstractRecursivePass implements \RectorPrefix20220217\Symfony\Co
$value[$k] = $processedValue;
}
}
- } elseif ($value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) {
+ } elseif ($value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) {
$value->setValues($this->processValue($value->getValues()));
- } elseif ($value instanceof \RectorPrefix20220217\Symfony\Component\ExpressionLanguage\Expression && $this->processExpressions) {
+ } elseif ($value instanceof \RectorPrefix20220218\Symfony\Component\ExpressionLanguage\Expression && $this->processExpressions) {
$this->getExpressionLanguage()->compile((string) $value, ['this' => 'container']);
- } elseif ($value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition) {
+ } elseif ($value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition) {
$value->setArguments($this->processValue($value->getArguments()));
$value->setProperties($this->processValue($value->getProperties()));
$value->setMethodCalls($this->processValue($value->getMethodCalls()));
@@ -100,14 +100,14 @@ abstract class AbstractRecursivePass implements \RectorPrefix20220217\Symfony\Co
/**
* @throws RuntimeException
*/
- protected function getConstructor(\RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition $definition, bool $required) : ?\ReflectionFunctionAbstract
+ protected function getConstructor(\RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition $definition, bool $required) : ?\ReflectionFunctionAbstract
{
if ($definition->isSynthetic()) {
return null;
}
if (\is_string($factory = $definition->getFactory())) {
if (!\function_exists($factory)) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": function "%s" does not exist.', $this->currentId, $factory));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": function "%s" does not exist.', $this->currentId, $factory));
}
$r = new \ReflectionFunction($factory);
if (\false !== $r->getFileName() && \file_exists($r->getFileName())) {
@@ -118,87 +118,87 @@ abstract class AbstractRecursivePass implements \RectorPrefix20220217\Symfony\Co
if ($factory) {
[$class, $method] = $factory;
if ('__construct' === $method) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": "__construct()" cannot be used as a factory method.', $this->currentId));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": "__construct()" cannot be used as a factory method.', $this->currentId));
}
- if ($class instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference) {
+ if ($class instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference) {
$factoryDefinition = $this->container->findDefinition((string) $class);
- while (null === ($class = $factoryDefinition->getClass()) && $factoryDefinition instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\ChildDefinition) {
+ while (null === ($class = $factoryDefinition->getClass()) && $factoryDefinition instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\ChildDefinition) {
$factoryDefinition = $this->container->findDefinition($factoryDefinition->getParent());
}
- } elseif ($class instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition) {
+ } elseif ($class instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition) {
$class = $class->getClass();
} elseif (null === $class) {
$class = $definition->getClass();
}
- return $this->getReflectionMethod(new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition($class), $method);
+ return $this->getReflectionMethod(new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition($class), $method);
}
- while (null === ($class = $definition->getClass()) && $definition instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\ChildDefinition) {
+ while (null === ($class = $definition->getClass()) && $definition instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\ChildDefinition) {
$definition = $this->container->findDefinition($definition->getParent());
}
try {
if (!($r = $this->container->getReflectionClass($class))) {
if (null === $class) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": the class is not set.', $this->currentId));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": the class is not set.', $this->currentId));
}
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class "%s" does not exist.', $this->currentId, $class));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class "%s" does not exist.', $this->currentId, $class));
}
} catch (\ReflectionException $e) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": ', $this->currentId) . \lcfirst($e->getMessage()));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": ', $this->currentId) . \lcfirst($e->getMessage()));
}
if (!($r = $r->getConstructor())) {
if ($required) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class%s has no constructor.', $this->currentId, \sprintf($class !== $this->currentId ? ' "%s"' : '', $class)));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class%s has no constructor.', $this->currentId, \sprintf($class !== $this->currentId ? ' "%s"' : '', $class)));
}
} elseif (!$r->isPublic()) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": ', $this->currentId) . \sprintf($class !== $this->currentId ? 'constructor of class "%s"' : 'its constructor', $class) . ' must be public.');
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": ', $this->currentId) . \sprintf($class !== $this->currentId ? 'constructor of class "%s"' : 'its constructor', $class) . ' must be public.');
}
return $r;
}
/**
* @throws RuntimeException
*/
- protected function getReflectionMethod(\RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition $definition, string $method) : \ReflectionFunctionAbstract
+ protected function getReflectionMethod(\RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition $definition, string $method) : \ReflectionFunctionAbstract
{
if ('__construct' === $method) {
return $this->getConstructor($definition, \true);
}
- while (null === ($class = $definition->getClass()) && $definition instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\ChildDefinition) {
+ while (null === ($class = $definition->getClass()) && $definition instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\ChildDefinition) {
$definition = $this->container->findDefinition($definition->getParent());
}
if (null === $class) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": the class is not set.', $this->currentId));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": the class is not set.', $this->currentId));
}
if (!($r = $this->container->getReflectionClass($class))) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class "%s" does not exist.', $this->currentId, $class));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class "%s" does not exist.', $this->currentId, $class));
}
if (!$r->hasMethod($method)) {
if ($r->hasMethod('__call') && ($r = $r->getMethod('__call')) && $r->isPublic()) {
return new \ReflectionMethod(static function (...$arguments) {
}, '__invoke');
}
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": method "%s()" does not exist.', $this->currentId, $class !== $this->currentId ? $class . '::' . $method : $method));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": method "%s()" does not exist.', $this->currentId, $class !== $this->currentId ? $class . '::' . $method : $method));
}
$r = $r->getMethod($method);
if (!$r->isPublic()) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": method "%s()" must be public.', $this->currentId, $class !== $this->currentId ? $class . '::' . $method : $method));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": method "%s()" must be public.', $this->currentId, $class !== $this->currentId ? $class . '::' . $method : $method));
}
return $r;
}
- private function getExpressionLanguage() : \RectorPrefix20220217\Symfony\Component\DependencyInjection\ExpressionLanguage
+ private function getExpressionLanguage() : \RectorPrefix20220218\Symfony\Component\DependencyInjection\ExpressionLanguage
{
if (!isset($this->expressionLanguage)) {
- if (!\class_exists(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ExpressionLanguage::class)) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\LogicException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed. Try running "composer require symfony/expression-language".');
+ if (!\class_exists(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ExpressionLanguage::class)) {
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\LogicException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed. Try running "composer require symfony/expression-language".');
}
$providers = $this->container->getExpressionLanguageProviders();
- $this->expressionLanguage = new \RectorPrefix20220217\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $providers, function (string $arg) : string {
+ $this->expressionLanguage = new \RectorPrefix20220218\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $providers, function (string $arg) : string {
if ('""' === \substr_replace($arg, '', 1, -1)) {
$id = \stripcslashes(\substr($arg, 1, -1));
$this->inExpression = \true;
- $arg = $this->processValue(new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference($id));
+ $arg = $this->processValue(new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference($id));
$this->inExpression = \false;
- if (!$arg instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('"%s::processValue()" must return a Reference when processing an expression, "%s" returned for service("%s").', static::class, \get_debug_type($arg), $id));
+ if (!$arg instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference) {
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('"%s::processValue()" must return a Reference when processing an expression, "%s" returned for service("%s").', static::class, \get_debug_type($arg), $id));
}
$arg = \sprintf('"%s"', $arg);
}
diff --git a/vendor/symfony/dependency-injection/Compiler/AliasDeprecatedPublicServicesPass.php b/vendor/symfony/dependency-injection/Compiler/AliasDeprecatedPublicServicesPass.php
index 11ed939700b..30b19432919 100644
--- a/vendor/symfony/dependency-injection/Compiler/AliasDeprecatedPublicServicesPass.php
+++ b/vendor/symfony/dependency-injection/Compiler/AliasDeprecatedPublicServicesPass.php
@@ -8,12 +8,12 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference;
-final class AliasDeprecatedPublicServicesPass extends \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference;
+final class AliasDeprecatedPublicServicesPass extends \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
{
/**
* @var mixed[]
@@ -26,22 +26,22 @@ final class AliasDeprecatedPublicServicesPass extends \RectorPrefix20220217\Symf
*/
protected function processValue($value, bool $isRoot = \false)
{
- if ($value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference && isset($this->aliases[$id = (string) $value])) {
- return new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference($this->aliases[$id], $value->getInvalidBehavior());
+ if ($value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference && isset($this->aliases[$id = (string) $value])) {
+ return new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference($this->aliases[$id], $value->getInvalidBehavior());
}
return parent::processValue($value, $isRoot);
}
/**
* {@inheritdoc}
*/
- public function process(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container)
+ public function process(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container)
{
foreach ($container->findTaggedServiceIds('container.private') as $id => $tags) {
if (null === ($package = $tags[0]['package'] ?? null)) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "package" attribute is mandatory for the "container.private" tag on the "%s" service.', $id));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "package" attribute is mandatory for the "container.private" tag on the "%s" service.', $id));
}
if (null === ($version = $tags[0]['version'] ?? null)) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "version" attribute is mandatory for the "container.private" tag on the "%s" service.', $id));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "version" attribute is mandatory for the "container.private" tag on the "%s" service.', $id));
}
$definition = $container->getDefinition($id);
if (!$definition->isPublic() || $definition->isPrivate()) {
diff --git a/vendor/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php b/vendor/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php
index 48685fd6128..7fa3b18d61b 100644
--- a/vendor/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php
+++ b/vendor/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ArgumentInterface;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\IteratorArgument;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerInterface;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ArgumentInterface;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\IteratorArgument;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerInterface;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference;
/**
* Run this pass before passes that need to know more about the relation of
* your services.
@@ -26,7 +26,7 @@ use RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference;
* @author Johannes M. Schmitt
* @author Nicolas Grekas
*/
-class AnalyzeServiceReferencesPass extends \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
+class AnalyzeServiceReferencesPass extends \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
{
private $graph;
private $currentDefinition = null;
@@ -70,7 +70,7 @@ class AnalyzeServiceReferencesPass extends \RectorPrefix20220217\Symfony\Compone
/**
* Processes a ContainerBuilder object to populate the service reference graph.
*/
- public function process(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container)
+ public function process(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container)
{
$this->container = $container;
$this->graph = $container->getCompiler()->getServiceReferenceGraph();
@@ -98,22 +98,22 @@ class AnalyzeServiceReferencesPass extends \RectorPrefix20220217\Symfony\Compone
{
$lazy = $this->lazy;
$inExpression = $this->inExpression();
- if ($value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) {
- $this->lazy = !$this->byFactory || !$value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\IteratorArgument;
+ if ($value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) {
+ $this->lazy = !$this->byFactory || !$value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\IteratorArgument;
parent::processValue($value->getValues());
$this->lazy = $lazy;
return $value;
}
- if ($value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference) {
+ if ($value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference) {
$targetId = $this->getDefinitionId((string) $value);
$targetDefinition = null !== $targetId ? $this->container->getDefinition($targetId) : null;
- $this->graph->connect($this->currentId, $this->currentDefinition, $targetId, $targetDefinition, $value, $this->lazy || $this->hasProxyDumper && $targetDefinition && $targetDefinition->isLazy(), \RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $value->getInvalidBehavior(), $this->byConstructor);
+ $this->graph->connect($this->currentId, $this->currentDefinition, $targetId, $targetDefinition, $value, $this->lazy || $this->hasProxyDumper && $targetDefinition && $targetDefinition->isLazy(), \RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $value->getInvalidBehavior(), $this->byConstructor);
if ($inExpression) {
$this->graph->connect('.internal.reference_in_expression', null, $targetId, $targetDefinition, $value, $this->lazy || $targetDefinition && $targetDefinition->isLazy(), \true);
}
return $value;
}
- if (!$value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition) {
+ if (!$value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition) {
return parent::processValue($value, $isRoot);
}
if ($isRoot) {
diff --git a/vendor/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php b/vendor/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php
index 33d80792074..11b8ed57794 100644
--- a/vendor/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php
+++ b/vendor/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php
@@ -8,23 +8,23 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ChildDefinition;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\LogicException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ChildDefinition;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\LogicException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @author Alexander M. Turek
*/
-final class AttributeAutoconfigurationPass extends \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
+final class AttributeAutoconfigurationPass extends \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
{
private $classAttributeConfigurators = [];
private $methodAttributeConfigurators = [];
private $propertyAttributeConfigurators = [];
private $parameterAttributeConfigurators = [];
- public function process(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container) : void
+ public function process(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container) : void
{
if (!$container->getAutoconfiguredAttributes()) {
return;
@@ -45,7 +45,7 @@ final class AttributeAutoconfigurationPass extends \RectorPrefix20220217\Symfony
} elseif ($parameterType instanceof \ReflectionNamedType) {
$types[] = $parameterType->getName();
} else {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('Argument "$%s" of attribute autoconfigurator should have a type, use one or more of "\\ReflectionClass|\\ReflectionMethod|\\ReflectionProperty|\\ReflectionParameter|\\Reflector" in "%s" on line "%d".', $reflectorParameter->getName(), $callableReflector->getFileName(), $callableReflector->getStartLine()));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('Argument "$%s" of attribute autoconfigurator should have a type, use one or more of "\\ReflectionClass|\\ReflectionMethod|\\ReflectionProperty|\\ReflectionParameter|\\Reflector" in "%s" on line "%d".', $reflectorParameter->getName(), $callableReflector->getFileName(), $callableReflector->getStartLine()));
}
try {
$attributeReflector = new \ReflectionClass($attributeName);
@@ -60,7 +60,7 @@ final class AttributeAutoconfigurationPass extends \RectorPrefix20220217\Symfony
continue;
}
if (!($targets & \constant('Attribute::TARGET_' . \strtoupper($symbol)))) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('Invalid type "Reflection%s" on argument "$%s": attribute "%s" cannot target a ' . $symbol . ' in "%s" on line "%d".', \ucfirst($symbol), $reflectorParameter->getName(), $attributeName, $callableReflector->getFileName(), $callableReflector->getStartLine()));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('Invalid type "Reflection%s" on argument "$%s": attribute "%s" cannot target a ' . $symbol . ' in "%s" on line "%d".', \ucfirst($symbol), $reflectorParameter->getName(), $attributeName, $callableReflector->getFileName(), $callableReflector->getStartLine()));
}
}
$this->{$symbol . 'AttributeConfigurators'}[$attributeName] = $callable;
@@ -74,11 +74,11 @@ final class AttributeAutoconfigurationPass extends \RectorPrefix20220217\Symfony
*/
protected function processValue($value, bool $isRoot = \false)
{
- if (!$value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition || !$value->isAutoconfigured() || $value->isAbstract() || $value->hasTag('container.ignore_attributes') || !($classReflector = $this->container->getReflectionClass($value->getClass(), \false))) {
+ if (!$value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition || !$value->isAutoconfigured() || $value->isAbstract() || $value->hasTag('container.ignore_attributes') || !($classReflector = $this->container->getReflectionClass($value->getClass(), \false))) {
return parent::processValue($value, $isRoot);
}
$instanceof = $value->getInstanceofConditionals();
- $conditionals = $instanceof[$classReflector->getName()] ?? new \RectorPrefix20220217\Symfony\Component\DependencyInjection\ChildDefinition('');
+ $conditionals = $instanceof[$classReflector->getName()] ?? new \RectorPrefix20220218\Symfony\Component\DependencyInjection\ChildDefinition('');
if ($this->classAttributeConfigurators) {
foreach (\method_exists($classReflector, 'getAttributes') ? $classReflector->getAttributes() : [] as $attribute) {
if ($configurator = $this->classAttributeConfigurators[$attribute->getName()] ?? null) {
@@ -89,7 +89,7 @@ final class AttributeAutoconfigurationPass extends \RectorPrefix20220217\Symfony
if ($this->parameterAttributeConfigurators) {
try {
$constructorReflector = $this->getConstructor($value, \false);
- } catch (\RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) {
$constructorReflector = null;
}
if ($constructorReflector) {
@@ -137,7 +137,7 @@ final class AttributeAutoconfigurationPass extends \RectorPrefix20220217\Symfony
}
}
}
- if (!isset($instanceof[$classReflector->getName()]) && new \RectorPrefix20220217\Symfony\Component\DependencyInjection\ChildDefinition('') != $conditionals) {
+ if (!isset($instanceof[$classReflector->getName()]) && new \RectorPrefix20220218\Symfony\Component\DependencyInjection\ChildDefinition('') != $conditionals) {
$instanceof[$classReflector->getName()] = $conditionals;
$value->setInstanceofConditionals($instanceof);
}
diff --git a/vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php b/vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php
index 5aad2196fef..2e5014244d7 100644
--- a/vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php
+++ b/vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php
@@ -8,29 +8,29 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Alias;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Alias;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
/**
* Sets a service to be an alias of another one, given a format pattern.
*/
-class AutoAliasServicePass implements \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
+class AutoAliasServicePass implements \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
{
/**
* {@inheritdoc}
*/
- public function process(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container)
+ public function process(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container)
{
foreach ($container->findTaggedServiceIds('auto_alias') as $serviceId => $tags) {
foreach ($tags as $tag) {
if (!isset($tag['format'])) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing tag information "format" on auto_alias service "%s".', $serviceId));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing tag information "format" on auto_alias service "%s".', $serviceId));
}
$aliasId = $container->getParameterBag()->resolveValue($tag['format']);
if ($container->hasDefinition($aliasId) || $container->hasAlias($aliasId)) {
- $alias = new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Alias($aliasId, $container->getDefinition($serviceId)->isPublic());
+ $alias = new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Alias($aliasId, $container->getDefinition($serviceId)->isPublic());
$container->setAlias($serviceId, $alias);
}
}
diff --git a/vendor/symfony/dependency-injection/Compiler/AutowirePass.php b/vendor/symfony/dependency-injection/Compiler/AutowirePass.php
index 764f972c7c8..75eddd8d098 100644
--- a/vendor/symfony/dependency-injection/Compiler/AutowirePass.php
+++ b/vendor/symfony/dependency-injection/Compiler/AutowirePass.php
@@ -8,27 +8,27 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\Config\Resource\ClassExistenceResource;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Attribute\TaggedIterator;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Attribute\TaggedLocator;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Attribute\Target;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference;
+use RectorPrefix20220218\Symfony\Component\Config\Resource\ClassExistenceResource;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Attribute\TaggedIterator;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Attribute\TaggedLocator;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Attribute\Target;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference;
/**
* Inspects existing service definitions and wires the autowired ones using the type hints of their classes.
*
* @author Kévin Dunglas
* @author Nicolas Grekas
*/
-class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
+class AutowirePass extends \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
{
/**
* @var mixed[]
@@ -98,7 +98,7 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
/**
* {@inheritdoc}
*/
- public function process(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container)
+ public function process(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container)
{
$this->populateCombinedAliases($container);
try {
@@ -125,7 +125,7 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
{
try {
return $this->doProcessValue($value, $isRoot);
- } catch (\RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException $e) {
if ($this->throwOnAutowiringException) {
throw $e;
}
@@ -139,19 +139,19 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
*/
private function doProcessValue($value, bool $isRoot = \false)
{
- if ($value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference) {
+ if ($value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference) {
if ($ref = $this->getAutowiredReference($value, \true)) {
return $ref;
}
- if (\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE === $value->getInvalidBehavior()) {
+ if (\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE === $value->getInvalidBehavior()) {
$message = $this->createTypeNotFoundMessageCallback($value, 'it');
// since the error message varies by referenced id and $this->currentId, so should the id of the dummy errored definition
$this->container->register($id = \sprintf('.errored.%s.%s', $this->currentId, (string) $value), $value->getType())->addError($message);
- return new \RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference($id, $value->getType(), $value->getInvalidBehavior(), $value->getName());
+ return new \RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference($id, $value->getType(), $value->getInvalidBehavior(), $value->getName());
}
}
$value = parent::processValue($value, $isRoot);
- if (!$value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) {
+ if (!$value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) {
return $value;
}
if (!($reflectionClass = $this->container->getReflectionClass($value->getClass(), \false))) {
@@ -161,8 +161,8 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
$this->methodCalls = $value->getMethodCalls();
try {
$constructor = $this->getConstructor($value, \false);
- } catch (\RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException($this->currentId, $e->getMessage(), 0, $e);
+ } catch (\RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) {
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException($this->currentId, $e->getMessage(), 0, $e);
}
if ($constructor) {
\array_unshift($this->methodCalls, [$constructor, $value->getArguments()]);
@@ -194,10 +194,10 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
if ($method instanceof \ReflectionFunctionAbstract) {
$reflectionMethod = $method;
} else {
- $definition = new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition($reflectionClass->name);
+ $definition = new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition($reflectionClass->name);
try {
$reflectionMethod = $this->getReflectionMethod($definition, $method);
- } catch (\RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) {
if ($definition->getFactory()) {
continue;
}
@@ -252,17 +252,17 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
if (\array_key_exists($index, $arguments) && '' !== $arguments[$index]) {
continue;
}
- $type = \RectorPrefix20220217\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($reflectionMethod, $parameter, \true);
+ $type = \RectorPrefix20220218\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($reflectionMethod, $parameter, \true);
if ($checkAttributes) {
foreach (\method_exists($parameter, 'getAttributes') ? $parameter->getAttributes() : [] as $attribute) {
- if (\RectorPrefix20220217\Symfony\Component\DependencyInjection\Attribute\TaggedIterator::class === $attribute->getName()) {
+ if (\RectorPrefix20220218\Symfony\Component\DependencyInjection\Attribute\TaggedIterator::class === $attribute->getName()) {
$attribute = $attribute->newInstance();
- $arguments[$index] = new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($attribute->tag, $attribute->indexAttribute, $attribute->defaultIndexMethod, \false, $attribute->defaultPriorityMethod);
+ $arguments[$index] = new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($attribute->tag, $attribute->indexAttribute, $attribute->defaultIndexMethod, \false, $attribute->defaultPriorityMethod);
break;
}
- if (\RectorPrefix20220217\Symfony\Component\DependencyInjection\Attribute\TaggedLocator::class === $attribute->getName()) {
+ if (\RectorPrefix20220218\Symfony\Component\DependencyInjection\Attribute\TaggedLocator::class === $attribute->getName()) {
$attribute = $attribute->newInstance();
- $arguments[$index] = new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument(new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($attribute->tag, $attribute->indexAttribute, $attribute->defaultIndexMethod, \true, $attribute->defaultPriorityMethod));
+ $arguments[$index] = new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument(new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($attribute->tag, $attribute->indexAttribute, $attribute->defaultIndexMethod, \true, $attribute->defaultPriorityMethod));
break;
}
}
@@ -283,9 +283,9 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
--$index;
break;
}
- $type = \RectorPrefix20220217\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($reflectionMethod, $parameter, \false);
+ $type = \RectorPrefix20220218\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($reflectionMethod, $parameter, \false);
$type = $type ? \sprintf('is type-hinted "%s"', \ltrim($type, '\\')) : 'has no type-hint';
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException($this->currentId, \sprintf('Cannot autowire service "%s": argument "$%s" of method "%s()" %s, you should configure its value explicitly.', $this->currentId, $parameter->name, $class !== $this->currentId ? $class . '::' . $method : $method, $type));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException($this->currentId, \sprintf('Cannot autowire service "%s": argument "$%s" of method "%s()" %s, you should configure its value explicitly.', $this->currentId, $parameter->name, $class !== $this->currentId ? $class . '::' . $method : $method, $type));
}
// specifically pass the default value
$arguments[$index] = clone $this->defaultArgument;
@@ -293,13 +293,13 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
continue;
}
$getValue = function () use($type, $parameter, $class, $method) {
- if (!($value = $this->getAutowiredReference($ref = new \RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference($type, $type, \RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder::EXCEPTION_ON_INVALID_REFERENCE, \RectorPrefix20220217\Symfony\Component\DependencyInjection\Attribute\Target::parseName($parameter)), \true))) {
+ if (!($value = $this->getAutowiredReference($ref = new \RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference($type, $type, \RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder::EXCEPTION_ON_INVALID_REFERENCE, \RectorPrefix20220218\Symfony\Component\DependencyInjection\Attribute\Target::parseName($parameter)), \true))) {
$failureMessage = $this->createTypeNotFoundMessageCallback($ref, \sprintf('argument "$%s" of method "%s()"', $parameter->name, $class !== $this->currentId ? $class . '::' . $method : $method));
if ($parameter->isDefaultValueAvailable()) {
$value = clone $this->defaultArgument;
$value->value = $parameter->getDefaultValue();
} elseif (!$parameter->allowsNull()) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException($this->currentId, $failureMessage);
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException($this->currentId, $failureMessage);
}
}
return $value;
@@ -314,7 +314,7 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
$this->decoratedClass = null;
// Prevent further checks
} else {
- $arguments[$index] = new \RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference($this->decoratedId, $this->decoratedClass);
+ $arguments[$index] = new \RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference($this->decoratedId, $this->decoratedClass);
$this->getPreviousValue = $getValue;
$this->decoratedMethodIndex = $methodIndex;
$this->decoratedMethodArgumentIndex = $index;
@@ -339,7 +339,7 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
/**
* Returns a reference to the service matching the given type, if any.
*/
- private function getAutowiredReference(\RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference $reference, bool $filterType) : ?\RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference
+ private function getAutowiredReference(\RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference $reference, bool $filterType) : ?\RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference
{
$this->lastFailure = null;
$type = $reference->getType();
@@ -353,31 +353,31 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
}
if (null !== ($name = $reference->getName())) {
if ($this->container->has($alias = $type . ' $' . $name) && !$this->container->findDefinition($alias)->isAbstract()) {
- return new \RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference($alias, $type, $reference->getInvalidBehavior());
+ return new \RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference($alias, $type, $reference->getInvalidBehavior());
}
if (null !== ($alias = $this->combinedAliases[$alias] ?? null) && !$this->container->findDefinition($alias)->isAbstract()) {
- return new \RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference($alias, $type, $reference->getInvalidBehavior());
+ return new \RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference($alias, $type, $reference->getInvalidBehavior());
}
if ($this->container->has($name) && !$this->container->findDefinition($name)->isAbstract()) {
foreach ($this->container->getAliases() + $this->combinedAliases as $id => $alias) {
if ($name === (string) $alias && \strncmp($id, $type . ' $', \strlen($type . ' $')) === 0) {
- return new \RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference($name, $type, $reference->getInvalidBehavior());
+ return new \RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference($name, $type, $reference->getInvalidBehavior());
}
}
}
}
if ($this->container->has($type) && !$this->container->findDefinition($type)->isAbstract()) {
- return new \RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference($type, $type, $reference->getInvalidBehavior());
+ return new \RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference($type, $type, $reference->getInvalidBehavior());
}
if (null !== ($alias = $this->combinedAliases[$type] ?? null) && !$this->container->findDefinition($alias)->isAbstract()) {
- return new \RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference($alias, $type, $reference->getInvalidBehavior());
+ return new \RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference($alias, $type, $reference->getInvalidBehavior());
}
return null;
}
/**
* Populates the list of available types.
*/
- private function populateAvailableTypes(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container)
+ private function populateAvailableTypes(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container)
{
$this->types = [];
$this->ambiguousServiceTypes = [];
@@ -392,7 +392,7 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
/**
* Populates the list of available types for a given definition.
*/
- private function populateAvailableType(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $id, \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition $definition)
+ private function populateAvailableType(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $id, \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition $definition)
{
// Never use abstract services
if ($definition->isAbstract()) {
@@ -431,10 +431,10 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
}
$this->ambiguousServiceTypes[$type][] = $id;
}
- private function createTypeNotFoundMessageCallback(\RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference $reference, string $label) : \Closure
+ private function createTypeNotFoundMessageCallback(\RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference $reference, string $label) : \Closure
{
if (null === $this->typesClone->container) {
- $this->typesClone->container = new \RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder($this->container->getParameterBag());
+ $this->typesClone->container = new \RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder($this->container->getParameterBag());
$this->typesClone->container->setAliases($this->container->getAliases());
$this->typesClone->container->setDefinitions($this->container->getDefinitions());
$this->typesClone->container->setResourceTracking(\false);
@@ -444,12 +444,12 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
return $this->createTypeNotFoundMessage($reference, $label, $currentId);
})->bindTo($this->typesClone);
}
- private function createTypeNotFoundMessage(\RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference $reference, string $label, string $currentId) : string
+ private function createTypeNotFoundMessage(\RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference $reference, string $label, string $currentId) : string
{
if (!($r = $this->container->getReflectionClass($type = $reference->getType(), \false))) {
// either $type does not exist or a parent class does not exist
try {
- $resource = new \RectorPrefix20220217\Symfony\Component\Config\Resource\ClassExistenceResource($type, \false);
+ $resource = new \RectorPrefix20220218\Symfony\Component\Config\Resource\ClassExistenceResource($type, \false);
// isFresh() will explode ONLY if a parent class/trait does not exist
$resource->isFresh(0);
$parentMsg = \false;
@@ -472,7 +472,7 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
}
return $message;
}
- private function createTypeAlternatives(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference $reference) : string
+ private function createTypeAlternatives(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference $reference) : string
{
// try suggesting available aliases first
if ($message = $this->getAliasesSuggestionForType($container, $type = $reference->getType())) {
@@ -496,7 +496,7 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
}
return \sprintf(' You should maybe alias this %s to %s.', \class_exists($type, \false) ? 'class' : 'interface', $message);
}
- private function getAliasesSuggestionForType(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $type) : ?string
+ private function getAliasesSuggestionForType(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $type) : ?string
{
$aliases = [];
foreach (\class_parents($type) + \class_implements($type) as $parent) {
@@ -528,7 +528,7 @@ class AutowirePass extends \RectorPrefix20220217\Symfony\Component\DependencyInj
$this->autowiringAliases[$type][$name] = $name;
}
}
- private function populateCombinedAliases(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container) : void
+ private function populateCombinedAliases(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container) : void
{
$this->combinedAliases = [];
$reverseAliases = [];
diff --git a/vendor/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php b/vendor/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php
index dda6daa1aa4..8fda901e4df 100644
--- a/vendor/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php
+++ b/vendor/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php
@@ -8,16 +8,16 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition;
-use RectorPrefix20220217\Symfony\Contracts\Service\Attribute\Required;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition;
+use RectorPrefix20220218\Symfony\Contracts\Service\Attribute\Required;
/**
* Looks for definitions with autowiring enabled and registers their corresponding "@required" methods as setters.
*
* @author Nicolas Grekas
*/
-class AutowireRequiredMethodsPass extends \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
+class AutowireRequiredMethodsPass extends \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
{
/**
* {@inheritdoc}
@@ -27,7 +27,7 @@ class AutowireRequiredMethodsPass extends \RectorPrefix20220217\Symfony\Componen
protected function processValue($value, bool $isRoot = \false)
{
$value = parent::processValue($value, $isRoot);
- if (!$value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) {
+ if (!$value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) {
return $value;
}
if (!($reflectionClass = $this->container->getReflectionClass($value->getClass(), \false))) {
@@ -44,7 +44,7 @@ class AutowireRequiredMethodsPass extends \RectorPrefix20220217\Symfony\Componen
continue;
}
while (\true) {
- if (\method_exists($r, 'getAttributes') ? $r->getAttributes(\RectorPrefix20220217\Symfony\Contracts\Service\Attribute\Required::class) : []) {
+ if (\method_exists($r, 'getAttributes') ? $r->getAttributes(\RectorPrefix20220218\Symfony\Contracts\Service\Attribute\Required::class) : []) {
if ($this->isWither($r, $r->getDocComment() ?: '')) {
$withers[] = [$r->name, [], \true];
} else {
diff --git a/vendor/symfony/dependency-injection/Compiler/AutowireRequiredPropertiesPass.php b/vendor/symfony/dependency-injection/Compiler/AutowireRequiredPropertiesPass.php
index 734b2a37bf0..3d11c143cbc 100644
--- a/vendor/symfony/dependency-injection/Compiler/AutowireRequiredPropertiesPass.php
+++ b/vendor/symfony/dependency-injection/Compiler/AutowireRequiredPropertiesPass.php
@@ -8,19 +8,19 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerInterface;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference;
-use RectorPrefix20220217\Symfony\Contracts\Service\Attribute\Required;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerInterface;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference;
+use RectorPrefix20220218\Symfony\Contracts\Service\Attribute\Required;
/**
* Looks for definitions with autowiring enabled and registers their corresponding "@required" properties.
*
* @author Sebastien Morel (Plopix)
* @author Nicolas Grekas
*/
-class AutowireRequiredPropertiesPass extends \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
+class AutowireRequiredPropertiesPass extends \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
{
/**
* {@inheritdoc}
@@ -30,7 +30,7 @@ class AutowireRequiredPropertiesPass extends \RectorPrefix20220217\Symfony\Compo
protected function processValue($value, bool $isRoot = \false)
{
$value = parent::processValue($value, $isRoot);
- if (!$value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) {
+ if (!$value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) {
return $value;
}
if (!($reflectionClass = $this->container->getReflectionClass($value->getClass(), \false))) {
@@ -41,14 +41,14 @@ class AutowireRequiredPropertiesPass extends \RectorPrefix20220217\Symfony\Compo
if (!($type = \method_exists($reflectionProperty, 'getType') ? $reflectionProperty->getType() : null) instanceof \ReflectionNamedType) {
continue;
}
- if (!(\method_exists($reflectionProperty, 'getAttributes') ? $reflectionProperty->getAttributes(\RectorPrefix20220217\Symfony\Contracts\Service\Attribute\Required::class) : []) && (\false === ($doc = $reflectionProperty->getDocComment()) || \false === \stripos($doc, '@required') || !\preg_match('#(?:^/\\*\\*|\\n\\s*+\\*)\\s*+@required(?:\\s|\\*/$)#i', $doc))) {
+ if (!(\method_exists($reflectionProperty, 'getAttributes') ? $reflectionProperty->getAttributes(\RectorPrefix20220218\Symfony\Contracts\Service\Attribute\Required::class) : []) && (\false === ($doc = $reflectionProperty->getDocComment()) || \false === \stripos($doc, '@required') || !\preg_match('#(?:^/\\*\\*|\\n\\s*+\\*)\\s*+@required(?:\\s|\\*/$)#i', $doc))) {
continue;
}
if (\array_key_exists($name = $reflectionProperty->getName(), $properties)) {
continue;
}
$type = $type->getName();
- $value->setProperty($name, new \RectorPrefix20220217\Symfony\Component\DependencyInjection\TypedReference($type, $type, \RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, $name));
+ $value->setProperty($name, new \RectorPrefix20220218\Symfony\Component\DependencyInjection\TypedReference($type, $type, \RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, $name));
}
return $value;
}
diff --git a/vendor/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php b/vendor/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php
index 24275108c5d..86ef8300abb 100644
--- a/vendor/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php
+++ b/vendor/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php
@@ -8,17 +8,17 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* Checks if arguments of methods are properly configured.
*
* @author Kévin Dunglas
* @author Nicolas Grekas
*/
-class CheckArgumentsValidityPass extends \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
+class CheckArgumentsValidityPass extends \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
{
/**
* @var bool
@@ -35,7 +35,7 @@ class CheckArgumentsValidityPass extends \RectorPrefix20220217\Symfony\Component
*/
protected function processValue($value, bool $isRoot = \false)
{
- if (!$value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition) {
+ if (!$value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition) {
return parent::processValue($value, $isRoot);
}
$i = 0;
@@ -50,21 +50,21 @@ class CheckArgumentsValidityPass extends \RectorPrefix20220217\Symfony\Component
$msg = \sprintf('Invalid constructor argument for service "%s": integer expected but found string "%s". Check your service definition.', $this->currentId, $k);
$value->addError($msg);
if ($this->throwExceptions) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg);
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg);
}
break;
}
$msg = \sprintf('Invalid constructor argument %d for service "%s": argument %d must be defined before. Check your service definition.', 1 + $k, $this->currentId, $i);
$value->addError($msg);
if ($this->throwExceptions) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg);
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg);
}
}
if ($hasNamedArgs) {
$msg = \sprintf('Invalid constructor argument for service "%s": cannot use positional argument after named argument. Check your service definition.', $this->currentId);
$value->addError($msg);
if ($this->throwExceptions) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg);
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg);
}
break;
}
@@ -82,21 +82,21 @@ class CheckArgumentsValidityPass extends \RectorPrefix20220217\Symfony\Component
$msg = \sprintf('Invalid argument for method call "%s" of service "%s": integer expected but found string "%s". Check your service definition.', $methodCall[0], $this->currentId, $k);
$value->addError($msg);
if ($this->throwExceptions) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg);
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg);
}
break;
}
$msg = \sprintf('Invalid argument %d for method call "%s" of service "%s": argument %d must be defined before. Check your service definition.', 1 + $k, $methodCall[0], $this->currentId, $i);
$value->addError($msg);
if ($this->throwExceptions) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg);
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg);
}
}
if ($hasNamedArgs) {
$msg = \sprintf('Invalid argument for method call "%s" of service "%s": cannot use positional argument after named argument. Check your service definition.', $methodCall[0], $this->currentId);
$value->addError($msg);
if ($this->throwExceptions) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg);
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg);
}
break;
}
diff --git a/vendor/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php b/vendor/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php
index 0c04fc610b2..922b0caf74f 100644
--- a/vendor/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php
+++ b/vendor/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException;
/**
* Checks your services for circular references.
*
@@ -22,7 +22,7 @@ use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\Service
*
* @author Johannes M. Schmitt
*/
-class CheckCircularReferencesPass implements \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
+class CheckCircularReferencesPass implements \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
{
/**
* @var mixed[]
@@ -35,7 +35,7 @@ class CheckCircularReferencesPass implements \RectorPrefix20220217\Symfony\Compo
/**
* Checks the ContainerBuilder object for circular references.
*/
- public function process(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container)
+ public function process(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container)
{
$graph = $container->getCompiler()->getServiceReferenceGraph();
$this->checkedNodes = [];
@@ -62,7 +62,7 @@ class CheckCircularReferencesPass implements \RectorPrefix20220217\Symfony\Compo
$searchKey = \array_search($id, $this->currentPath);
$this->currentPath[] = $id;
if (\false !== $searchKey) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_slice($this->currentPath, $searchKey));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_slice($this->currentPath, $searchKey));
}
$this->checkOutEdges($node->getOutEdges());
}
diff --git a/vendor/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php b/vendor/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php
index f5eaf031e50..786bd5afd81 100644
--- a/vendor/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php
+++ b/vendor/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php
@@ -8,12 +8,12 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\EnvParameterException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Loader\FileLoader;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\EnvParameterException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Loader\FileLoader;
/**
* This pass validates each definition individually only taking the information
* into account which is contained in the definition itself.
@@ -26,39 +26,39 @@ use RectorPrefix20220217\Symfony\Component\DependencyInjection\Loader\FileLoader
*
* @author Johannes M. Schmitt
*/
-class CheckDefinitionValidityPass implements \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
+class CheckDefinitionValidityPass implements \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
{
/**
* Processes the ContainerBuilder to validate the Definition.
*
* @throws RuntimeException When the Definition is invalid
*/
- public function process(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container)
+ public function process(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container)
{
foreach ($container->getDefinitions() as $id => $definition) {
// synthetic service is public
if ($definition->isSynthetic() && !$definition->isPublic()) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('A synthetic service ("%s") must be public.', $id));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('A synthetic service ("%s") must be public.', $id));
}
// non-synthetic, non-abstract service has class
- if (!$definition->isAbstract() && !$definition->isSynthetic() && !$definition->getClass() && !$definition->hasTag('container.service_locator') && (!$definition->getFactory() || !\preg_match(\RectorPrefix20220217\Symfony\Component\DependencyInjection\Loader\FileLoader::ANONYMOUS_ID_REGEXP, $id))) {
+ if (!$definition->isAbstract() && !$definition->isSynthetic() && !$definition->getClass() && !$definition->hasTag('container.service_locator') && (!$definition->getFactory() || !\preg_match(\RectorPrefix20220218\Symfony\Component\DependencyInjection\Loader\FileLoader::ANONYMOUS_ID_REGEXP, $id))) {
if ($definition->getFactory()) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Please add the class to service "%s" even if it is constructed by a factory since we might need to add method calls based on compile-time checks.', $id));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Please add the class to service "%s" even if it is constructed by a factory since we might need to add method calls based on compile-time checks.', $id));
}
if (\class_exists($id) || \interface_exists($id, \false)) {
if (\strncmp($id, '\\', \strlen('\\')) === 0 && 1 < \substr_count($id, '\\')) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The definition for "%s" has no class attribute, and appears to reference a class or interface. Please specify the class attribute explicitly or remove the leading backslash by renaming the service to "%s" to get rid of this error.', $id, \substr($id, 1)));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The definition for "%s" has no class attribute, and appears to reference a class or interface. Please specify the class attribute explicitly or remove the leading backslash by renaming the service to "%s" to get rid of this error.', $id, \substr($id, 1)));
}
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The definition for "%s" has no class attribute, and appears to reference a class or interface in the global namespace. Leaving out the "class" attribute is only allowed for namespaced classes. Please specify the class attribute explicitly to get rid of this error.', $id));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The definition for "%s" has no class attribute, and appears to reference a class or interface in the global namespace. Leaving out the "class" attribute is only allowed for namespaced classes. Please specify the class attribute explicitly to get rid of this error.', $id));
}
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The definition for "%s" has no class. If you intend to inject this service dynamically at runtime, please mark it as synthetic=true. If this is an abstract definition solely used by child definitions, please add abstract=true, otherwise specify a class to get rid of this error.', $id));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The definition for "%s" has no class. If you intend to inject this service dynamically at runtime, please mark it as synthetic=true. If this is an abstract definition solely used by child definitions, please add abstract=true, otherwise specify a class to get rid of this error.', $id));
}
// tag attribute values must be scalars
foreach ($definition->getTags() as $name => $tags) {
foreach ($tags as $attributes) {
foreach ($attributes as $attribute => $value) {
if (!\is_scalar($value) && null !== $value) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('A "tags" attribute must be of a scalar-type for service "%s", tag "%s", attribute "%s".', $id, $name, $attribute));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('A "tags" attribute must be of a scalar-type for service "%s", tag "%s", attribute "%s".', $id, $name, $attribute));
}
}
}
@@ -66,7 +66,7 @@ class CheckDefinitionValidityPass implements \RectorPrefix20220217\Symfony\Compo
if ($definition->isPublic() && !$definition->isPrivate()) {
$resolvedId = $container->resolveEnvPlaceholders($id, null, $usedEnvs);
if (null !== $usedEnvs) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\EnvParameterException([$resolvedId], null, 'A service name ("%s") cannot contain dynamic values.');
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\EnvParameterException([$resolvedId], null, 'A service name ("%s") cannot contain dynamic values.');
}
}
}
@@ -74,7 +74,7 @@ class CheckDefinitionValidityPass implements \RectorPrefix20220217\Symfony\Compo
if ($alias->isPublic() && !$alias->isPrivate()) {
$resolvedId = $container->resolveEnvPlaceholders($id, null, $usedEnvs);
if (null !== $usedEnvs) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\EnvParameterException([$resolvedId], null, 'An alias name ("%s") cannot contain dynamic values.');
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\EnvParameterException([$resolvedId], null, 'An alias name ("%s") cannot contain dynamic values.');
}
}
}
diff --git a/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php b/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php
index fd3c1f6f02f..943ad6e8788 100644
--- a/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php
+++ b/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php
@@ -8,18 +8,18 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerInterface;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerInterface;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference;
/**
* Checks that all references are pointing to a valid service.
*
* @author Johannes M. Schmitt
*/
-class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
+class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
{
/**
* @var mixed[]
@@ -28,7 +28,7 @@ class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20220217
/**
* {@inheritdoc}
*/
- public function process(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container)
+ public function process(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container)
{
$this->serviceLocatorContextIds = [];
foreach ($container->findTaggedServiceIds('container.service_locator_context') as $id => $tags) {
@@ -47,10 +47,10 @@ class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20220217
*/
protected function processValue($value, bool $isRoot = \false)
{
- if (!$value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference) {
+ if (!$value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference) {
return parent::processValue($value, $isRoot);
}
- if (\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $value->getInvalidBehavior() || $this->container->has($id = (string) $value)) {
+ if (\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $value->getInvalidBehavior() || $this->container->has($id = (string) $value)) {
return $value;
}
$currentId = $this->currentId;
@@ -63,13 +63,13 @@ class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20220217
if ($k !== $id) {
$currentId = $k . '" in the container provided to "' . $currentId;
}
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, $currentId, null, $this->getAlternatives($id));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, $currentId, null, $this->getAlternatives($id));
}
}
}
if ('.' === $currentId[0] && $graph->hasNode($currentId)) {
foreach ($graph->getNode($currentId)->getInEdges() as $edge) {
- if (!$edge->getValue() instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference || \RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $edge->getValue()->getInvalidBehavior()) {
+ if (!$edge->getValue() instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference || \RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $edge->getValue()->getInvalidBehavior()) {
continue;
}
$sourceId = $edge->getSourceNode()->getId();
@@ -79,7 +79,7 @@ class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20220217
}
}
}
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, $currentId, null, $this->getAlternatives($id));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, $currentId, null, $this->getAlternatives($id));
}
private function getAlternatives(string $id) : array
{
diff --git a/vendor/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php b/vendor/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php
index 733d6f1acad..26939ca1e7a 100644
--- a/vendor/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php
+++ b/vendor/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php
@@ -8,11 +8,11 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference;
/**
* Checks the validity of references.
*
@@ -21,7 +21,7 @@ use RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference;
*
* @author Johannes M. Schmitt
*/
-class CheckReferenceValidityPass extends \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
+class CheckReferenceValidityPass extends \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
{
/**
* @param mixed $value
@@ -29,13 +29,13 @@ class CheckReferenceValidityPass extends \RectorPrefix20220217\Symfony\Component
*/
protected function processValue($value, bool $isRoot = \false)
{
- if ($isRoot && $value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition && ($value->isSynthetic() || $value->isAbstract())) {
+ if ($isRoot && $value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition && ($value->isSynthetic() || $value->isAbstract())) {
return $value;
}
- if ($value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference && $this->container->hasDefinition((string) $value)) {
+ if ($value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference && $this->container->hasDefinition((string) $value)) {
$targetDefinition = $this->container->getDefinition((string) $value);
if ($targetDefinition->isAbstract()) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The definition "%s" has a reference to an abstract definition "%s". Abstract definitions cannot be the target of references.', $this->currentId, $value));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The definition "%s" has a reference to an abstract definition "%s". Abstract definitions cannot be the target of references.', $this->currentId, $value));
}
}
return parent::processValue($value, $isRoot);
diff --git a/vendor/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php b/vendor/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php
index 2caf6df19af..10d20e3568e 100644
--- a/vendor/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php
+++ b/vendor/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php
@@ -8,23 +8,23 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\IteratorArgument;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Container;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ExpressionLanguage;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Parameter;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ServiceLocator;
-use RectorPrefix20220217\Symfony\Component\ExpressionLanguage\Expression;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\IteratorArgument;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Container;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ExpressionLanguage;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Parameter;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ServiceLocator;
+use RectorPrefix20220218\Symfony\Component\ExpressionLanguage\Expression;
/**
* Checks whether injected parameters are compatible with type declarations.
*
@@ -37,7 +37,7 @@ use RectorPrefix20220217\Symfony\Component\ExpressionLanguage\Expression;
* @author Nicolas Grekas
* @author Julien Maulny
*/
-final class CheckTypeDeclarationsPass extends \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
+final class CheckTypeDeclarationsPass extends \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
{
private const SCALAR_TYPES = ['int' => \true, 'float' => \true, 'bool' => \true, 'string' => \true];
private const BUILTIN_TYPES = ['array' => \true, 'bool' => \true, 'callable' => \true, 'float' => \true, 'int' => \true, 'iterable' => \true, 'object' => \true, 'string' => \true];
@@ -70,7 +70,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220217\Symfony\Comp
if (isset($this->skippedIds[$this->currentId])) {
return $value;
}
- if (!$value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition || $value->hasErrors() || $value->isDeprecated()) {
+ if (!$value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition || $value->hasErrors() || $value->isDeprecated()) {
return parent::processValue($value, $isRoot);
}
if (!$this->autoload) {
@@ -81,7 +81,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220217\Symfony\Comp
return parent::processValue($value, $isRoot);
}
}
- if (\RectorPrefix20220217\Symfony\Component\DependencyInjection\ServiceLocator::class === $value->getClass()) {
+ if (\RectorPrefix20220218\Symfony\Component\DependencyInjection\ServiceLocator::class === $value->getClass()) {
return parent::processValue($value, $isRoot);
}
if ($constructor = $this->getConstructor($value, \false)) {
@@ -90,7 +90,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220217\Symfony\Comp
foreach ($value->getMethodCalls() as $methodCall) {
try {
$reflectionMethod = $this->getReflectionMethod($value, $methodCall[0]);
- } catch (\RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) {
if ($value->getFactory()) {
continue;
}
@@ -103,15 +103,15 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220217\Symfony\Comp
/**
* @throws InvalidArgumentException When not enough parameters are defined for the method
*/
- private function checkTypeDeclarations(\RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition $checkedDefinition, \ReflectionFunctionAbstract $reflectionFunction, array $values) : void
+ private function checkTypeDeclarations(\RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition $checkedDefinition, \ReflectionFunctionAbstract $reflectionFunction, array $values) : void
{
$numberOfRequiredParameters = $reflectionFunction->getNumberOfRequiredParameters();
if (\count($values) < $numberOfRequiredParameters) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid definition for service "%s": "%s::%s()" requires %d arguments, %d passed.', $this->currentId, $reflectionFunction->class, $reflectionFunction->name, $numberOfRequiredParameters, \count($values)));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid definition for service "%s": "%s::%s()" requires %d arguments, %d passed.', $this->currentId, $reflectionFunction->class, $reflectionFunction->name, $numberOfRequiredParameters, \count($values)));
}
$reflectionParameters = $reflectionFunction->getParameters();
$checksCount = \min($reflectionFunction->getNumberOfParameters(), \count($values));
- $envPlaceholderUniquePrefix = $this->container->getParameterBag() instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag ? $this->container->getParameterBag()->getEnvPlaceholderUniquePrefix() : null;
+ $envPlaceholderUniquePrefix = $this->container->getParameterBag() instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag ? $this->container->getParameterBag()->getEnvPlaceholderUniquePrefix() : null;
for ($i = 0; $i < $checksCount; ++$i) {
if (!$reflectionParameters[$i]->hasType() || $reflectionParameters[$i]->isVariadic()) {
continue;
@@ -129,7 +129,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220217\Symfony\Comp
* @throws InvalidParameterTypeException When a parameter is not compatible with the declared type
* @param mixed $value
*/
- private function checkType(\RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition $checkedDefinition, $value, \ReflectionParameter $parameter, ?string $envPlaceholderUniquePrefix, \ReflectionType $reflectionType = null) : void
+ private function checkType(\RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition $checkedDefinition, $value, \ReflectionParameter $parameter, ?string $envPlaceholderUniquePrefix, \ReflectionType $reflectionType = null) : void
{
$reflectionType = $reflectionType ?? $parameter->getType();
if ($reflectionType instanceof \ReflectionUnionType) {
@@ -137,12 +137,12 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220217\Symfony\Comp
try {
$this->checkType($checkedDefinition, $value, $parameter, $envPlaceholderUniquePrefix, $t);
return;
- } catch (\RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException $e) {
+ } catch (\RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException $e) {
}
}
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException($this->currentId, $e->getCode(), $parameter);
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException($this->currentId, $e->getCode(), $parameter);
}
- if ($reflectionType instanceof \RectorPrefix20220217\ReflectionIntersectionType) {
+ if ($reflectionType instanceof \RectorPrefix20220218\ReflectionIntersectionType) {
foreach ($reflectionType->getTypes() as $t) {
$this->checkType($checkedDefinition, $value, $parameter, $envPlaceholderUniquePrefix, $t);
}
@@ -152,11 +152,11 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220217\Symfony\Comp
return;
}
$type = $reflectionType->getName();
- if ($value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference) {
+ if ($value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference) {
if (!$this->container->has($value = (string) $value)) {
return;
}
- if ('service_container' === $value && \is_a($type, \RectorPrefix20220217\Symfony\Component\DependencyInjection\Container::class, \true)) {
+ if ('service_container' === $value && \is_a($type, \RectorPrefix20220218\Symfony\Component\DependencyInjection\Container::class, \true)) {
return;
}
$value = $this->container->findDefinition($value);
@@ -168,7 +168,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220217\Symfony\Comp
$type = $checkedDefinition->getClass();
}
$class = null;
- if ($value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition) {
+ if ($value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition) {
if ($value->getFactory()) {
return;
}
@@ -178,9 +178,9 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220217\Symfony\Comp
} elseif (!$class || !$this->autoload && !\class_exists($class, \false) && !\interface_exists($class, \false)) {
return;
}
- } elseif ($value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Parameter) {
+ } elseif ($value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Parameter) {
$value = $this->container->getParameter($value);
- } elseif ($value instanceof \RectorPrefix20220217\Symfony\Component\ExpressionLanguage\Expression) {
+ } elseif ($value instanceof \RectorPrefix20220218\Symfony\Component\ExpressionLanguage\Expression) {
try {
$value = $this->getExpressionLanguage()->evaluate($value, ['container' => $this->container]);
} catch (\Exception $e) {
@@ -208,12 +208,12 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220217\Symfony\Comp
return;
}
if (null === $class) {
- if ($value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\IteratorArgument) {
- $class = \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\RewindableGenerator::class;
- } elseif ($value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) {
+ if ($value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\IteratorArgument) {
+ $class = \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\RewindableGenerator::class;
+ } elseif ($value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) {
$class = \Closure::class;
- } elseif ($value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) {
- $class = \RectorPrefix20220217\Symfony\Component\DependencyInjection\ServiceLocator::class;
+ } elseif ($value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) {
+ $class = \RectorPrefix20220218\Symfony\Component\DependencyInjection\ServiceLocator::class;
} elseif (\is_object($value)) {
$class = \get_class($value);
} else {
@@ -230,7 +230,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220217\Symfony\Comp
if ('callable' === $type && (\Closure::class === $class || \method_exists($class, '__invoke'))) {
return;
}
- if ('callable' === $type && \is_array($value) && isset($value[0]) && ($value[0] instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference || $value[0] instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition || \is_string($value[0]))) {
+ if ('callable' === $type && \is_array($value) && isset($value[0]) && ($value[0] instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference || $value[0] instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition || \is_string($value[0]))) {
return;
}
if ('iterable' === $type && (\is_array($value) || 'array' === $class || \is_subclass_of($class, \Traversable::class))) {
@@ -258,10 +258,10 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20220217\Symfony\Comp
return;
}
}
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException($this->currentId, \is_object($value) ? $class : \get_debug_type($value), $parameter);
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException($this->currentId, \is_object($value) ? $class : \get_debug_type($value), $parameter);
}
- private function getExpressionLanguage() : \RectorPrefix20220217\Symfony\Component\DependencyInjection\ExpressionLanguage
+ private function getExpressionLanguage() : \RectorPrefix20220218\Symfony\Component\DependencyInjection\ExpressionLanguage
{
- return $this->expressionLanguage = $this->expressionLanguage ?? new \RectorPrefix20220217\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $this->container->getExpressionLanguageProviders());
+ return $this->expressionLanguage = $this->expressionLanguage ?? new \RectorPrefix20220218\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $this->container->getExpressionLanguageProviders());
}
}
diff --git a/vendor/symfony/dependency-injection/Compiler/Compiler.php b/vendor/symfony/dependency-injection/Compiler/Compiler.php
index 01b285f00bc..aab7df993d3 100644
--- a/vendor/symfony/dependency-injection/Compiler/Compiler.php
+++ b/vendor/symfony/dependency-injection/Compiler/Compiler.php
@@ -8,10 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\EnvParameterException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\EnvParameterException;
/**
* This class is used to remove circular dependencies between individual passes.
*
@@ -27,25 +27,25 @@ class Compiler
private $serviceReferenceGraph;
public function __construct()
{
- $this->passConfig = new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\PassConfig();
- $this->serviceReferenceGraph = new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph();
+ $this->passConfig = new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\PassConfig();
+ $this->serviceReferenceGraph = new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph();
}
- public function getPassConfig() : \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\PassConfig
+ public function getPassConfig() : \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\PassConfig
{
return $this->passConfig;
}
- public function getServiceReferenceGraph() : \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph
+ public function getServiceReferenceGraph() : \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph
{
return $this->serviceReferenceGraph;
}
- public function addPass(\RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $type = \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION, int $priority = 0)
+ public function addPass(\RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $type = \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION, int $priority = 0)
{
$this->passConfig->addPass($pass, $type, $priority);
}
/**
* @final
*/
- public function log(\RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $message)
+ public function log(\RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $message)
{
if (\strpos($message, "\n") !== \false) {
$message = \str_replace("\n", "\n" . \get_class($pass) . ': ', \trim($message));
@@ -59,7 +59,7 @@ class Compiler
/**
* Run the Compiler and process all Passes.
*/
- public function compile(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container)
+ public function compile(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container)
{
try {
foreach ($this->passConfig->getPasses() as $pass) {
@@ -77,7 +77,7 @@ class Compiler
}
} while ($prev = $prev->getPrevious());
if ($usedEnvs) {
- $e = new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\EnvParameterException($usedEnvs, $e);
+ $e = new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\EnvParameterException($usedEnvs, $e);
}
throw $e;
} finally {
diff --git a/vendor/symfony/dependency-injection/Compiler/CompilerPassInterface.php b/vendor/symfony/dependency-injection/Compiler/CompilerPassInterface.php
index bd5df80c35d..99c8320e64b 100644
--- a/vendor/symfony/dependency-injection/Compiler/CompilerPassInterface.php
+++ b/vendor/symfony/dependency-injection/Compiler/CompilerPassInterface.php
@@ -8,9 +8,9 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder;
/**
* Interface that must be implemented by compilation passes.
*
@@ -21,5 +21,5 @@ interface CompilerPassInterface
/**
* You can modify the container here before it is dumped to PHP code.
*/
- public function process(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container);
+ public function process(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container);
}
diff --git a/vendor/symfony/dependency-injection/Compiler/DecoratorServicePass.php b/vendor/symfony/dependency-injection/Compiler/DecoratorServicePass.php
index d1154b03605..11dd395319c 100644
--- a/vendor/symfony/dependency-injection/Compiler/DecoratorServicePass.php
+++ b/vendor/symfony/dependency-injection/Compiler/DecoratorServicePass.php
@@ -8,14 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Alias;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerInterface;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Alias;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerInterface;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference;
/**
* Overwrites a service but keeps the overridden one.
*
@@ -23,9 +23,9 @@ use RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference;
* @author Fabien Potencier
* @author Diego Saint Esteben
*/
-class DecoratorServicePass extends \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
+class DecoratorServicePass extends \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
{
- public function process(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container)
+ public function process(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container)
{
$definitions = new \SplPriorityQueue();
$order = \PHP_INT_MAX;
@@ -39,7 +39,7 @@ class DecoratorServicePass extends \RectorPrefix20220217\Symfony\Component\Depen
foreach ($definitions as [$id, $definition]) {
$decoratedService = $definition->getDecoratedService();
[$inner, $renamedId] = $decoratedService;
- $invalidBehavior = $decoratedService[3] ?? \RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE;
+ $invalidBehavior = $decoratedService[3] ?? \RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE;
$definition->setDecoratedService(null);
if (!$renamedId) {
$renamedId = $id . '.inner';
@@ -53,7 +53,7 @@ class DecoratorServicePass extends \RectorPrefix20220217\Symfony\Component\Depen
if ($container->hasAlias($inner)) {
$alias = $container->getAlias($inner);
$public = $alias->isPublic();
- $container->setAlias($renamedId, new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Alias((string) $alias, \false));
+ $container->setAlias($renamedId, new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Alias((string) $alias, \false));
$decoratedDefinition = $container->findDefinition($alias);
} elseif ($container->hasDefinition($inner)) {
$decoratedDefinition = $container->getDefinition($inner);
@@ -61,17 +61,17 @@ class DecoratorServicePass extends \RectorPrefix20220217\Symfony\Component\Depen
$decoratedDefinition->setPublic(\false);
$container->setDefinition($renamedId, $decoratedDefinition);
$decoratingDefinitions[$inner] = $decoratedDefinition;
- } elseif (\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE === $invalidBehavior) {
+ } elseif (\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE === $invalidBehavior) {
$container->removeDefinition($id);
continue;
- } elseif (\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $invalidBehavior) {
+ } elseif (\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $invalidBehavior) {
$public = $definition->isPublic();
$decoratedDefinition = null;
} else {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($inner, $id);
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($inner, $id);
}
if ($decoratedDefinition && $decoratedDefinition->isSynthetic()) {
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A synthetic service cannot be decorated: service "%s" cannot decorate "%s".', $id, $inner));
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A synthetic service cannot be decorated: service "%s" cannot decorate "%s".', $id, $inner));
}
if (isset($decoratingDefinitions[$inner])) {
$decoratingDefinition = $decoratingDefinitions[$inner];
@@ -97,8 +97,8 @@ class DecoratorServicePass extends \RectorPrefix20220217\Symfony\Component\Depen
*/
protected function processValue($value, bool $isRoot = \false)
{
- if ($value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference && '.inner' === (string) $value) {
- return new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference($this->currentId, $value->getInvalidBehavior());
+ if ($value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference && '.inner' === (string) $value) {
+ return new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference($this->currentId, $value->getInvalidBehavior());
}
return parent::processValue($value, $isRoot);
}
diff --git a/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php b/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php
index d71f787a989..aa48ba10b6f 100644
--- a/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php
+++ b/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php
@@ -8,18 +8,18 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerInterface;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerInterface;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference;
/**
* Throws an exception for any Definitions that have errors and still exist.
*
* @author Ryan Weaver
*/
-class DefinitionErrorExceptionPass extends \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
+class DefinitionErrorExceptionPass extends \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass
{
/**
* {@inheritdoc}
@@ -28,14 +28,14 @@ class DefinitionErrorExceptionPass extends \RectorPrefix20220217\Symfony\Compone
*/
protected function processValue($value, bool $isRoot = \false)
{
- if (!$value instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition || !$value->hasErrors()) {
+ if (!$value instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition || !$value->hasErrors()) {
return parent::processValue($value, $isRoot);
}
if ($isRoot && !$value->isPublic()) {
$graph = $this->container->getCompiler()->getServiceReferenceGraph();
$runtimeException = \false;
foreach ($graph->getNode($this->currentId)->getInEdges() as $edge) {
- if (!$edge->getValue() instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference || \RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE !== $edge->getValue()->getInvalidBehavior()) {
+ if (!$edge->getValue() instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference || \RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE !== $edge->getValue()->getInvalidBehavior()) {
$runtimeException = \false;
break;
}
@@ -48,6 +48,6 @@ class DefinitionErrorExceptionPass extends \RectorPrefix20220217\Symfony\Compone
// only show the first error so the user can focus on it
$errors = $value->getErrors();
$message = \reset($errors);
- throw new \RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\RuntimeException($message);
+ throw new \RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\RuntimeException($message);
}
}
diff --git a/vendor/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php b/vendor/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php
index e97ad855dc9..fa1e644b343 100644
--- a/vendor/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php
+++ b/vendor/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php
@@ -8,24 +8,24 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder;
/**
* A pass to automatically process extensions if they implement
* CompilerPassInterface.
*
* @author Wouter J
*/
-class ExtensionCompilerPass implements \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
+class ExtensionCompilerPass implements \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
{
/**
* {@inheritdoc}
*/
- public function process(\RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder $container)
+ public function process(\RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder $container)
{
foreach ($container->getExtensions() as $extension) {
- if (!$extension instanceof \RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface) {
+ if (!$extension instanceof \RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface) {
continue;
}
$extension->process($container);
diff --git a/vendor/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php b/vendor/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php
index 2276d78000a..c3b3aa50dae 100644
--- a/vendor/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php
+++ b/vendor/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php
@@ -8,19 +8,19 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-namespace RectorPrefix20220217\Symfony\Component\DependencyInjection\Compiler;
+namespace RectorPrefix20220218\Symfony\Component\DependencyInjection\Compiler;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Argument\ArgumentInterface;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\ContainerBuilder;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Definition;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException;
-use RectorPrefix20220217\Symfony\Component\DependencyInjection\Reference;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Argument\ArgumentInterface;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\ContainerBuilder;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Definition;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException;
+use RectorPrefix20220218\Symfony\Component\DependencyInjection\Reference;
/**
* Inline service definitions where this is possible.
*
* @author Johannes M. Schmitt