Skip to content

Commit

Permalink
Bump rector/rector from 1.0.3 to 1.0.5 (#176)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Markus Staab <[email protected]>
  • Loading branch information
dependabot[bot] and staabm authored May 11, 2024
1 parent 9d37c56 commit 40a9613
Show file tree
Hide file tree
Showing 1,175 changed files with 8,730 additions and 5,244 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"require": {
"php": ">=7.4",
"rector/rector": "1.0.3",
"rector/rector": "1.0.5",
"friendsofphp/php-cs-fixer": "3.38.2",
"redaxo/php-cs-fixer-config": "^1.0"
},
Expand Down
178 changes: 89 additions & 89 deletions composer.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions vendor/composer/autoload_classmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,7 @@
'Symfony\\Contracts\\Service\\ServiceSubscriberInterface' => $vendorDir . '/symfony/service-contracts/ServiceSubscriberInterface.php',
'Symfony\\Contracts\\Service\\ServiceSubscriberTrait' => $vendorDir . '/symfony/service-contracts/ServiceSubscriberTrait.php',
'Symfony\\Contracts\\Service\\Test\\ServiceLocatorTest' => $vendorDir . '/symfony/service-contracts/Test/ServiceLocatorTest.php',
'Symfony\\Contracts\\Service\\Test\\ServiceLocatorTestCase' => $vendorDir . '/symfony/service-contracts/Test/ServiceLocatorTestCase.php',
'Symfony\\Polyfill\\Ctype\\Ctype' => $vendorDir . '/symfony/polyfill-ctype/Ctype.php',
'Symfony\\Polyfill\\Intl\\Grapheme\\Grapheme' => $vendorDir . '/symfony/polyfill-intl-grapheme/Grapheme.php',
'Symfony\\Polyfill\\Intl\\Normalizer\\Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Normalizer.php',
Expand Down
1 change: 1 addition & 0 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,7 @@ class ComposerStaticInit432d9322d3d4193d52e9a1d1ec2ff418
'Symfony\\Contracts\\Service\\ServiceSubscriberInterface' => __DIR__ . '/..' . '/symfony/service-contracts/ServiceSubscriberInterface.php',
'Symfony\\Contracts\\Service\\ServiceSubscriberTrait' => __DIR__ . '/..' . '/symfony/service-contracts/ServiceSubscriberTrait.php',
'Symfony\\Contracts\\Service\\Test\\ServiceLocatorTest' => __DIR__ . '/..' . '/symfony/service-contracts/Test/ServiceLocatorTest.php',
'Symfony\\Contracts\\Service\\Test\\ServiceLocatorTestCase' => __DIR__ . '/..' . '/symfony/service-contracts/Test/ServiceLocatorTestCase.php',
'Symfony\\Polyfill\\Ctype\\Ctype' => __DIR__ . '/..' . '/symfony/polyfill-ctype/Ctype.php',
'Symfony\\Polyfill\\Intl\\Grapheme\\Grapheme' => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme/Grapheme.php',
'Symfony\\Polyfill\\Intl\\Normalizer\\Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Normalizer.php',
Expand Down
204 changes: 102 additions & 102 deletions vendor/composer/installed.json

Large diffs are not rendered by default.

88 changes: 44 additions & 44 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '37d2bd0a8bcfffaba45aa42f1b2ae8b0cfa6fd22',
'reference' => '6e4343516f2667323b3b38369ea21e52d3a47f8e',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '37d2bd0a8bcfffaba45aa42f1b2ae8b0cfa6fd22',
'reference' => '6e4343516f2667323b3b38369ea21e52d3a47f8e',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -38,9 +38,9 @@
'dev_requirement' => false,
),
'composer/xdebug-handler' => array(
'pretty_version' => '3.0.4',
'version' => '3.0.4.0',
'reference' => '4f988f8fdf580d53bdb2d1278fe93d1ed5462255',
'pretty_version' => '3.0.5',
'version' => '3.0.5.0',
'reference' => '6c1925561632e83d60a44492e0b344cf48ab85ef',
'type' => 'library',
'install_path' => __DIR__ . '/./xdebug-handler',
'aliases' => array(),
Expand All @@ -56,9 +56,9 @@
'dev_requirement' => false,
),
'phpstan/phpstan' => array(
'pretty_version' => '1.10.66',
'version' => '1.10.66.0',
'reference' => '94779c987e4ebd620025d9e5fdd23323903950bd',
'pretty_version' => '1.10.67',
'version' => '1.10.67.0',
'reference' => '16ddbe776f10da6a95ebd25de7c1dbed397dc493',
'type' => 'library',
'install_path' => __DIR__ . '/../phpstan/phpstan',
'aliases' => array(),
Expand Down Expand Up @@ -104,9 +104,9 @@
),
),
'rector/rector' => array(
'pretty_version' => '1.0.3',
'version' => '1.0.3.0',
'reference' => 'c59507a9090b465d65e1aceed91e5b81986e375b',
'pretty_version' => '1.0.5',
'version' => '1.0.5.0',
'reference' => '73eb63e4f9011dba6b7c66c3262543014e352f34',
'type' => 'library',
'install_path' => __DIR__ . '/../rector/rector',
'aliases' => array(),
Expand All @@ -131,36 +131,36 @@
'dev_requirement' => false,
),
'symfony/console' => array(
'pretty_version' => 'v5.4.36',
'version' => '5.4.36.0',
'reference' => '39f75d9d73d0c11952fdcecf4877b4d0f62a8f6e',
'pretty_version' => 'v5.4.39',
'version' => '5.4.39.0',
'reference' => 'f3e591c48688a0cfa1a3296205926c05e84b22b1',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/console',
'aliases' => array(),
'dev_requirement' => false,
),
'symfony/deprecation-contracts' => array(
'pretty_version' => 'v2.5.2',
'version' => '2.5.2.0',
'reference' => 'e8b495ea28c1d97b5e0c121748d6f9b53d075c66',
'pretty_version' => 'v2.5.3',
'version' => '2.5.3.0',
'reference' => '80d075412b557d41002320b96a096ca65aa2c98d',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/deprecation-contracts',
'aliases' => array(),
'dev_requirement' => false,
),
'symfony/event-dispatcher' => array(
'pretty_version' => 'v5.4.35',
'version' => '5.4.35.0',
'reference' => '7a69a85c7ea5bdd1e875806a99c51a87d3a74b38',
'pretty_version' => 'v5.4.39',
'version' => '5.4.39.0',
'reference' => 'd40fae9fd85c762b6ba378152fdd1157a85d7e4f',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/event-dispatcher',
'aliases' => array(),
'dev_requirement' => false,
),
'symfony/event-dispatcher-contracts' => array(
'pretty_version' => 'v2.5.2',
'version' => '2.5.2.0',
'reference' => 'f98b54df6ad059855739db6fcbc2d36995283fe1',
'pretty_version' => 'v2.5.3',
'version' => '2.5.3.0',
'reference' => '540f4c73e87fd0c71ca44a6aa305d024ac68cb73',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/event-dispatcher-contracts',
'aliases' => array(),
Expand All @@ -173,27 +173,27 @@
),
),
'symfony/filesystem' => array(
'pretty_version' => 'v5.4.35',
'version' => '5.4.35.0',
'reference' => '5a553607d4ffbfa9c0ab62facadea296c9db7086',
'pretty_version' => 'v5.4.39',
'version' => '5.4.39.0',
'reference' => 'e6edd875d5d39b03de51f3c3951148cfa79a4d12',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/filesystem',
'aliases' => array(),
'dev_requirement' => false,
),
'symfony/finder' => array(
'pretty_version' => 'v5.4.35',
'version' => '5.4.35.0',
'reference' => 'abe6d6f77d9465fed3cd2d029b29d03b56b56435',
'pretty_version' => 'v5.4.39',
'version' => '5.4.39.0',
'reference' => 'f6a96e4fcd468a25fede16ee665f50ced856bd0a',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/finder',
'aliases' => array(),
'dev_requirement' => false,
),
'symfony/options-resolver' => array(
'pretty_version' => 'v5.4.21',
'version' => '5.4.21.0',
'reference' => '4fe5cf6ede71096839f0e4b4444d65dd3a7c1eb9',
'pretty_version' => 'v5.4.39',
'version' => '5.4.39.0',
'reference' => '1303bb73d6c3882f07c618129295503085dfddb9',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/options-resolver',
'aliases' => array(),
Expand Down Expand Up @@ -263,36 +263,36 @@
'dev_requirement' => false,
),
'symfony/process' => array(
'pretty_version' => 'v5.4.36',
'version' => '5.4.36.0',
'reference' => '4fdf34004f149cc20b2f51d7d119aa500caad975',
'pretty_version' => 'v5.4.39',
'version' => '5.4.39.0',
'reference' => '85a554acd7c28522241faf2e97b9541247a0d3d5',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/process',
'aliases' => array(),
'dev_requirement' => false,
),
'symfony/service-contracts' => array(
'pretty_version' => 'v2.5.2',
'version' => '2.5.2.0',
'reference' => '4b426aac47d6427cc1a1d0f7e2ac724627f5966c',
'pretty_version' => 'v2.5.3',
'version' => '2.5.3.0',
'reference' => 'a2329596ddc8fd568900e3fc76cba42489ecc7f3',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/service-contracts',
'aliases' => array(),
'dev_requirement' => false,
),
'symfony/stopwatch' => array(
'pretty_version' => 'v5.4.35',
'version' => '5.4.35.0',
'reference' => '887762aa99ff16f65dc8b48aafead415f942d407',
'pretty_version' => 'v5.4.39',
'version' => '5.4.39.0',
'reference' => 'fb97497490bcec8a3c32c809cacfdd4c15dc8390',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/stopwatch',
'aliases' => array(),
'dev_requirement' => false,
),
'symfony/string' => array(
'pretty_version' => 'v5.4.36',
'version' => '5.4.36.0',
'reference' => '4e232c83622bd8cd32b794216aa29d0d266d353b',
'pretty_version' => 'v5.4.39',
'version' => '5.4.39.0',
'reference' => '495e71bae5862308051b9e63cc3e34078eed83ef',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/string',
'aliases' => array(),
Expand Down
10 changes: 7 additions & 3 deletions vendor/composer/xdebug-handler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## [Unreleased]

## [3.0.5] - 2024-05-06
* Fixed: fail restart if PHP_BINARY is not available

## [3.0.4] - 2024-03-26
* Added: Functional tests.
* Fixed: Incompatibility with PHPUnit 10.
Expand Down Expand Up @@ -112,9 +115,10 @@
* Break: the following class was renamed:
- `Composer\XdebugHandler` -> `Composer\XdebugHandler\XdebugHandler`

[Unreleased]: https://github.com/composer/xdebug-handler/compare/3.0.4...HEAD
[3.0.3]: https://github.com/composer/xdebug-handler/compare/3.0.3...3.0.4
[3.0.2]: https://github.com/composer/xdebug-handler/compare/3.0.2...3.0.3
[Unreleased]: https://github.com/composer/xdebug-handler/compare/3.0.5...HEAD
[3.0.5]: https://github.com/composer/xdebug-handler/compare/3.0.4...3.0.5
[3.0.4]: https://github.com/composer/xdebug-handler/compare/3.0.3...3.0.4
[3.0.3]: https://github.com/composer/xdebug-handler/compare/3.0.2...3.0.3
[3.0.2]: https://github.com/composer/xdebug-handler/compare/3.0.1...3.0.2
[3.0.1]: https://github.com/composer/xdebug-handler/compare/3.0.0...3.0.1
[3.0.0]: https://github.com/composer/xdebug-handler/compare/2.0.3...3.0.0
Expand Down
5 changes: 5 additions & 0 deletions vendor/composer/xdebug-handler/src/XdebugHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,11 @@ private function checkConfiguration(?string &$info): bool
return false;
}

if (!file_exists(PHP_BINARY)) {
$info = 'PHP_BINARY is not available';
return false;
}

if (extension_loaded('uopz') && !((bool) ini_get('uopz.disable'))) {
// uopz works at opcode level and disables exit calls
if (function_exists('uopz_allow_exit')) {
Expand Down
Binary file modified vendor/phpstan/phpstan/phpstan.phar
Binary file not shown.
26 changes: 13 additions & 13 deletions vendor/phpstan/phpstan/phpstan.phar.asc
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEynwsejDI6OEnSoR2UcZzBf/C5cAFAmYFl+cACgkQUcZzBf/C
5cAS1g//S99FoemVRWTmzdRPtlwFVnYom0MA1cx6Wgz6d3Tjj2AGKl3o/mY6+V5+
Gqm0LE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/5WDQUdwPYX
6XoFRzJ2Ey4TjiXHXvMlQhIQxSsUEWoeZcLqas5y9wLN6xBVR3PLA/qgpkMK165K
SGKRUW78FKtNjpYWalbrjBe8HWlQ9Ho9G1hOACjYUxeBTaO8UwfJ7JKjhEOXuzcH
1/mJ0hKg94lyV0ONp6xqtV3E/sIJOW/h7X9HcftA/J0CSZOWVwAIJJ3tvAoe+4Z3
pzCs6JWJR8lec+9p+oFaiSSNsPa1xwSDeaWZ2Wf8RTc0gUr0umQz9gyiQr6i6AMR
7qpCMCss4hTN/4ZAkvunKNEvgcWX9PUy5m4snNCN/D+y44hVRZo=
=FwC0
-----END PGP SIGNATURE-----
1 change: 1 addition & 0 deletions vendor/rector/rector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ Among there projects belong:
* [cakephp/upgrade](https://github.com/cakephp/upgrade)
* [driftingly/rector-laravel](https://github.com/driftingly/rector-laravel)
* [contao/contao-rector](https://github.com/contao/contao-rector)
* [php-static-analysis/rector-rule](https://github.com/php-static-analysis/rector-rule)

<br>

Expand Down
10 changes: 5 additions & 5 deletions vendor/rector/rector/bin/add-phpstan-self-replace.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

// this is part of downgrade build
declare (strict_types=1);
namespace RectorPrefix202403;
namespace RectorPrefix202405;

use RectorPrefix202403\Nette\Utils\FileSystem;
use RectorPrefix202403\Nette\Utils\Json;
use RectorPrefix202405\Nette\Utils\FileSystem;
use RectorPrefix202405\Nette\Utils\Json;
require __DIR__ . '/../vendor/autoload.php';
$composerJsonFileContents = FileSystem::read(__DIR__ . '/../composer.json');
$composerJson = Json::decode($composerJsonFileContents, Json::FORCE_ARRAY);
$composerJson = Json::decode($composerJsonFileContents, \true);
$composerJson['replace']['phpstan/phpstan'] = $composerJson['require']['phpstan/phpstan'];
$modifiedComposerJsonFileContents = Json::encode($composerJson, Json::PRETTY);
$modifiedComposerJsonFileContents = Json::encode($composerJson, \true);
FileSystem::write(__DIR__ . '/../composer.json', $modifiedComposerJsonFileContents, null);
echo 'Done!' . \PHP_EOL;
2 changes: 1 addition & 1 deletion vendor/rector/rector/bin/rector
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env php
<?php
namespace RectorPrefix202403;
namespace RectorPrefix202405;

require_once __DIR__ . '/rector.php';
12 changes: 6 additions & 6 deletions vendor/rector/rector/bin/rector.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202403;
namespace RectorPrefix202405;

use RectorPrefix202403\Nette\Utils\Json;
use RectorPrefix202405\Nette\Utils\Json;
use Rector\Bootstrap\RectorConfigsResolver;
use Rector\ChangesReporting\Output\JsonOutputFormatter;
use Rector\Configuration\Option;
use Rector\Console\Style\SymfonyStyleFactory;
use Rector\DependencyInjection\LazyContainerFactory;
use Rector\DependencyInjection\RectorContainerFactory;
use Rector\Util\Reflection\PrivatesAccessor;
use RectorPrefix202403\Symfony\Component\Console\Application;
use RectorPrefix202403\Symfony\Component\Console\Command\Command;
use RectorPrefix202403\Symfony\Component\Console\Input\ArgvInput;
use RectorPrefix202405\Symfony\Component\Console\Application;
use RectorPrefix202405\Symfony\Component\Console\Command\Command;
use RectorPrefix202405\Symfony\Component\Console\Input\ArgvInput;
// @ intentionally: continue anyway
@\ini_set('memory_limit', '-1');
// Performance boost
Expand Down Expand Up @@ -93,7 +93,7 @@ public function loadIfExistsAndNotLoadedYet(string $filePath) : void
require_once $filePath;
}
}
\class_alias('RectorPrefix202403\\AutoloadIncluder', 'AutoloadIncluder', \false);
\class_alias('RectorPrefix202405\\AutoloadIncluder', 'AutoloadIncluder', \false);
if (\file_exists(__DIR__ . '/../preload.php') && \is_dir(__DIR__ . '/../vendor')) {
require_once __DIR__ . '/../preload.php';
}
Expand Down
5 changes: 4 additions & 1 deletion vendor/rector/rector/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@
"rector/rector-downgrade-php": "*"
},
"minimum-stability": "dev",
"prefer-stable": true
"prefer-stable": true,
"suggest": {
"ext-dom": "To manipulate phpunit.xml via the custom-rule command"
}
}
6 changes: 4 additions & 2 deletions vendor/rector/rector/config/config.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202403;
namespace RectorPrefix202405;

use RectorPrefix202403\OndraM\CiDetector\CiDetector;
use RectorPrefix202405\OndraM\CiDetector\CiDetector;
use Rector\Bootstrap\ExtensionConfigResolver;
use Rector\Caching\ValueObject\Storage\MemoryCacheStorage;
use Rector\Config\RectorConfig;
Expand Down Expand Up @@ -31,4 +31,6 @@
foreach ($extensionConfigResolver->provide() as $extensionConfigFile) {
$rectorConfig->import($extensionConfigFile);
}
// use original php-parser printer to avoid BC break on fluent call
$rectorConfig->newLineOnFluentCall(\false);
};
Loading

0 comments on commit 40a9613

Please sign in to comment.