Skip to content

Commit

Permalink
Updated Rector to commit 985d5ea5109e1282f35370006ad7ac26df7789de
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jan 17, 2024
1 parent 566e0f2 commit ee75e1d
Show file tree
Hide file tree
Showing 48 changed files with 113 additions and 461 deletions.
18 changes: 9 additions & 9 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -1802,12 +1802,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-phpunit.git",
"reference": "284250309f1cee702b9d93f41a6a8cb17d75d84c"
"reference": "f091938e0b34c64acab524c2acff911cea769b57"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-phpunit\/zipball\/284250309f1cee702b9d93f41a6a8cb17d75d84c",
"reference": "284250309f1cee702b9d93f41a6a8cb17d75d84c",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-phpunit\/zipball\/f091938e0b34c64acab524c2acff911cea769b57",
"reference": "f091938e0b34c64acab524c2acff911cea769b57",
"shasum": ""
},
"require": {
Expand All @@ -1830,7 +1830,7 @@
"tomasvotruba\/class-leak": "^0.2",
"tracy\/tracy": "^2.10"
},
"time": "2024-01-17T11:46:44+00:00",
"time": "2024-01-17T15:05:41+00:00",
"default-branch": true,
"type": "rector-extension",
"extra": {
Expand Down Expand Up @@ -1866,12 +1866,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-symfony.git",
"reference": "6d139d7dfc5b2d479aa7ad74aa83428666ee7003"
"reference": "9da9cdb203cb0138185d7b81a079a1e551597524"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/6d139d7dfc5b2d479aa7ad74aa83428666ee7003",
"reference": "6d139d7dfc5b2d479aa7ad74aa83428666ee7003",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/9da9cdb203cb0138185d7b81a079a1e551597524",
"reference": "9da9cdb203cb0138185d7b81a079a1e551597524",
"shasum": ""
},
"require": {
Expand All @@ -1892,15 +1892,15 @@
"symfony\/security-core": "^6.2",
"symfony\/security-http": "^6.1",
"symfony\/validator": "^6.2",
"symplify\/easy-coding-standard": "^12.0",
"symplify\/easy-coding-standard": "^12.1",
"symplify\/phpstan-extensions": "^11.1",
"symplify\/phpstan-rules": "^12.0",
"symplify\/rule-doc-generator": "^12.0",
"symplify\/vendor-patches": "^11.2",
"tomasvotruba\/class-leak": "^0.2.6",
"tracy\/tracy": "^2.10"
},
"time": "2024-01-17T00:22:50+00:00",
"time": "2024-01-17T15:01:48+00:00",
"default-branch": true,
"type": "rector-extension",
"extra": {
Expand Down
2 changes: 1 addition & 1 deletion vendor/composer/installed.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vendor/rector/extension-installer/src/GeneratedConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
final class GeneratedConfig
{
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => NULL, 'version' => 'dev-main b419ce7'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => NULL, 'version' => 'dev-main 51ff6e7'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => NULL, 'version' => 'dev-main 2842503'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => NULL, 'version' => 'dev-main 6d139d7'));
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => NULL, 'version' => 'dev-main b419ce7'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => NULL, 'version' => 'dev-main 51ff6e7'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => NULL, 'version' => 'dev-main f091938'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => NULL, 'version' => 'dev-main 9da9cdb'));
private function __construct()
{
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202401;

use Rector\Config\RectorConfig;
return static function (RectorConfig $rectorConfig) : void {
// this set was deprecated, due to overuse, conflicts and performance problems
// instead use one Symfony set at a time, and keep only up to latest Symfony version
// @see https://getrector.com/blog/5-common-mistakes-in-rector-config-and-how-to-avoid-them
};

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

24 changes: 13 additions & 11 deletions vendor/rector/rector-phpunit/src/Set/PHPUnitLevelSetList.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,38 @@
use Rector\Set\Contract\SetListInterface;
/**
* @api
* @deprecated Instead of too bloated and overriding level sets, use only latest PHPUnit set
*/
final class PHPUnitLevelSetList implements SetListInterface
{
/**
* @deprecated Instead of too bloated and overriding level sets, use only latest PHPUnit set
* @var string
*/
public const UP_TO_PHPUNIT_50 = __DIR__ . '/../../config/sets/level/up-to-phpunit-50.php';
public const UP_TO_PHPUNIT_50 = __DIR__ . '/../../config/sets/level/deprecated-level-set.php';
/**
* @deprecated Instead of too bloated and overriding level sets, use only latest PHPUnit set
* @var string
*/
public const UP_TO_PHPUNIT_60 = __DIR__ . '/../../config/sets/level/up-to-phpunit-60.php';
public const UP_TO_PHPUNIT_60 = __DIR__ . '/../../config/sets/level/deprecated-level-set.php';
/**
* @deprecated Instead of too bloated and overriding level sets, use only latest PHPUnit set
* @var string
*/
public const UP_TO_PHPUNIT_70 = __DIR__ . '/../../config/sets/level/up-to-phpunit-70.php';
public const UP_TO_PHPUNIT_70 = __DIR__ . '/../../config/sets/level/deprecated-level-set.php';
/**
* @deprecated Instead of too bloated and overriding level sets, use only latest PHPUnit set
* @var string
*/
public const UP_TO_PHPUNIT_80 = __DIR__ . '/../../config/sets/level/up-to-phpunit-80.php';
public const UP_TO_PHPUNIT_80 = __DIR__ . '/../../config/sets/level/deprecated-level-set.php';
/**
* @deprecated Instead of too bloated and overriding level sets, use only latest PHPUnit set
* @var string
*/
public const UP_TO_PHPUNIT_90 = __DIR__ . '/../../config/sets/level/up-to-phpunit-90.php';
public const UP_TO_PHPUNIT_90 = __DIR__ . '/../../config/sets/level/deprecated-level-set.php';
/**
* @deprecated Instead of too bloated and overriding level sets, use only latest PHPUnit set
* @var string
* @deprecated Use PHPUnitSetList::PHPUNIT_100 directly
*/
public const UP_TO_PHPUNIT_91 = __DIR__ . '/../../config/sets/level/up-to-phpunit-91.php';
/**
* @var string
*/
public const UP_TO_PHPUNIT_100 = __DIR__ . '/../../config/sets/level/up-to-phpunit-100.php';
public const UP_TO_PHPUNIT_100 = __DIR__ . '/../../config/sets/level/deprecated-level-set.php';
}
2 changes: 1 addition & 1 deletion vendor/rector/rector-symfony/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"symfony\/security-core": "^6.2",
"symfony\/security-http": "^6.1",
"symfony\/validator": "^6.2",
"symplify\/easy-coding-standard": "^12.0",
"symplify\/easy-coding-standard": "^12.1",
"symplify\/phpstan-extensions": "^11.1",
"symplify\/phpstan-rules": "^12.0",
"symplify\/rule-doc-generator": "^12.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

declare (strict_types=1);
namespace RectorPrefix202401;

use Rector\Config\RectorConfig;
return static function (RectorConfig $rectorConfig) : void {
// this set was deprecated, due to overuse, conflicts and performance problems
// instead use one Symfony set at a time, and keep only up to latest Symfony version
// @see https://getrector.com/blog/5-common-mistakes-in-rector-config-and-how-to-avoid-them
};

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit ee75e1d

Please sign in to comment.