Skip to content

Commit 2c9529a

Browse files
committed
Updated Rector to commit 4a1880bd2976e3cda6db8b1ca27c44c2c933b9e4
rectorphp/rector-src@4a1880b [CodeQuality] Add Equal and NotEqual support on SimplifyIfReturnBoolRector (#5697)
1 parent a49cabd commit 2c9529a

File tree

5 files changed

+21
-6
lines changed

5 files changed

+21
-6
lines changed

vendor/composer/installed.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1679,12 +1679,12 @@
16791679
"source": {
16801680
"type": "git",
16811681
"url": "https:\/\/github.com\/rectorphp\/rector-doctrine.git",
1682-
"reference": "b45a62ee19d9c3cdcc1c03815957dfadf80687cd"
1682+
"reference": "b8e34c7a9f690af4d666ac8c93b4ec89b1f8143b"
16831683
},
16841684
"dist": {
16851685
"type": "zip",
1686-
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-doctrine\/zipball\/b45a62ee19d9c3cdcc1c03815957dfadf80687cd",
1687-
"reference": "b45a62ee19d9c3cdcc1c03815957dfadf80687cd",
1686+
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-doctrine\/zipball\/b8e34c7a9f690af4d666ac8c93b4ec89b1f8143b",
1687+
"reference": "b8e34c7a9f690af4d666ac8c93b4ec89b1f8143b",
16881688
"shasum": ""
16891689
},
16901690
"require": {
@@ -1709,7 +1709,7 @@
17091709
"tomasvotruba\/unused-public": "^0.3",
17101710
"tracy\/tracy": "^2.10"
17111711
},
1712-
"time": "2024-03-07T12:44:28+00:00",
1712+
"time": "2024-03-07T13:55:53+00:00",
17131713
"default-branch": true,
17141714
"type": "rector-extension",
17151715
"extra": {

vendor/composer/installed.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

vendor/rector/extension-installer/src/GeneratedConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010
final class GeneratedConfig
1111
{
12-
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 b45a62e'), '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 68e0635'), '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 e065c40'), '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 5ce789d'));
12+
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 b8e34c7'), '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 68e0635'), '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 e065c40'), '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 5ce789d'));
1313
private function __construct()
1414
{
1515
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
declare (strict_types=1);
4+
namespace RectorPrefix202403;
5+
6+
use Rector\Config\RectorConfig;
7+
use Rector\Renaming\Rector\ClassConstFetch\RenameClassConstFetchRector;
8+
use Rector\Renaming\ValueObject\RenameClassAndConstFetch;
9+
return static function (RectorConfig $rectorConfig) : void {
10+
$rectorConfig->ruleWithConfiguration(RenameClassConstFetchRector::class, [new RenameClassAndConstFetch('Doctrine\\Common\\Collections\\Criteria', 'ASC', 'Doctrine\\Common\\Collections\\Order', 'ASC'), new RenameClassAndConstFetch('Doctrine\\Common\\Collections\\Criteria', 'DESC', 'Doctrine\\Common\\Collections\\Order', 'DESC')]);
11+
};

vendor/rector/rector-doctrine/src/Set/DoctrineSetList.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ final class DoctrineSetList implements SetListInterface
2121
* @var string
2222
*/
2323
public const DOCTRINE_COMMON_20 = __DIR__ . '/../../config/sets/doctrine-common-20.php';
24+
/**
25+
* @var string
26+
*/
27+
public const DOCTRINE_COLLECTION_22 = __DIR__ . '/../../config/sets/doctrine-collection-22.php';
2428
/**
2529
* @var string
2630
*/

0 commit comments

Comments
 (0)