mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-14 12:29:43 +01:00
Updated Rector to commit 07a61c18f678a24c102a83a4498265c874fab617
07a61c18f6
[Strict] Fix double === 0 comparison on BooleanInBooleanNotRuleFixerRector (#5940)
This commit is contained in:
parent
b7fd04453d
commit
3dc925f85c
1
vendor/composer/autoload_classmap.php
vendored
1
vendor/composer/autoload_classmap.php
vendored
@ -1777,7 +1777,6 @@ return array(
|
||||
'Rector\\PHPUnit\\Rector\\ClassMethod\\CreateMockToAnonymousClassRector' => $vendorDir . '/rector/rector-phpunit/src/Rector/ClassMethod/CreateMockToAnonymousClassRector.php',
|
||||
'Rector\\PHPUnit\\Rector\\Class_\\PreferPHPUnitSelfCallRector' => $vendorDir . '/rector/rector-phpunit/src/Rector/Class_/PreferPHPUnitSelfCallRector.php',
|
||||
'Rector\\PHPUnit\\Rector\\StmtsAwareInterface\\WithConsecutiveRector' => $vendorDir . '/rector/rector-phpunit/src/Rector/StmtsAwareInterface/WithConsecutiveRector.php',
|
||||
'Rector\\PHPUnit\\Set\\PHPUnitLevelSetList' => $vendorDir . '/rector/rector-phpunit/src/Set/PHPUnitLevelSetList.php',
|
||||
'Rector\\PHPUnit\\Set\\PHPUnitSetList' => $vendorDir . '/rector/rector-phpunit/src/Set/PHPUnitSetList.php',
|
||||
'Rector\\PHPUnit\\ValueObject\\AnnotationWithValueToAttribute' => $vendorDir . '/rector/rector-phpunit/src/ValueObject/AnnotationWithValueToAttribute.php',
|
||||
'Rector\\PHPUnit\\ValueObject\\BinaryOpWithAssertMethod' => $vendorDir . '/rector/rector-phpunit/src/ValueObject/BinaryOpWithAssertMethod.php',
|
||||
|
1
vendor/composer/autoload_static.php
vendored
1
vendor/composer/autoload_static.php
vendored
@ -1996,7 +1996,6 @@ class ComposerStaticInit617a88c9745824dcc98208775208cc4b
|
||||
'Rector\\PHPUnit\\Rector\\ClassMethod\\CreateMockToAnonymousClassRector' => __DIR__ . '/..' . '/rector/rector-phpunit/src/Rector/ClassMethod/CreateMockToAnonymousClassRector.php',
|
||||
'Rector\\PHPUnit\\Rector\\Class_\\PreferPHPUnitSelfCallRector' => __DIR__ . '/..' . '/rector/rector-phpunit/src/Rector/Class_/PreferPHPUnitSelfCallRector.php',
|
||||
'Rector\\PHPUnit\\Rector\\StmtsAwareInterface\\WithConsecutiveRector' => __DIR__ . '/..' . '/rector/rector-phpunit/src/Rector/StmtsAwareInterface/WithConsecutiveRector.php',
|
||||
'Rector\\PHPUnit\\Set\\PHPUnitLevelSetList' => __DIR__ . '/..' . '/rector/rector-phpunit/src/Set/PHPUnitLevelSetList.php',
|
||||
'Rector\\PHPUnit\\Set\\PHPUnitSetList' => __DIR__ . '/..' . '/rector/rector-phpunit/src/Set/PHPUnitSetList.php',
|
||||
'Rector\\PHPUnit\\ValueObject\\AnnotationWithValueToAttribute' => __DIR__ . '/..' . '/rector/rector-phpunit/src/ValueObject/AnnotationWithValueToAttribute.php',
|
||||
'Rector\\PHPUnit\\ValueObject\\BinaryOpWithAssertMethod' => __DIR__ . '/..' . '/rector/rector-phpunit/src/ValueObject/BinaryOpWithAssertMethod.php',
|
||||
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
@ -1803,12 +1803,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/rectorphp\/rector-phpunit.git",
|
||||
"reference": "afbe88dd542a8b71fb1ac39c2f359763d52653a7"
|
||||
"reference": "27bea367eeec461de72c460ae272f0c3f7837516"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-phpunit\/zipball\/afbe88dd542a8b71fb1ac39c2f359763d52653a7",
|
||||
"reference": "afbe88dd542a8b71fb1ac39c2f359763d52653a7",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-phpunit\/zipball\/27bea367eeec461de72c460ae272f0c3f7837516",
|
||||
"reference": "27bea367eeec461de72c460ae272f0c3f7837516",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1831,7 +1831,7 @@
|
||||
"tomasvotruba\/class-leak": "^0.2.13",
|
||||
"tracy\/tracy": "^2.10"
|
||||
},
|
||||
"time": "2024-05-30T15:05:14+00:00",
|
||||
"time": "2024-06-03T14:49:42+00:00",
|
||||
"default-branch": true,
|
||||
"type": "rector-extension",
|
||||
"extra": {
|
||||
|
2
vendor/composer/installed.php
vendored
2
vendor/composer/installed.php
vendored
File diff suppressed because one or more lines are too long
@ -9,7 +9,7 @@ namespace Rector\RectorInstaller;
|
||||
*/
|
||||
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 6eb8de8'), '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 efef745'), '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 afbe88d'), '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 9596a91'));
|
||||
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 6eb8de8'), '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 efef745'), '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 27bea36'), '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 9596a91'));
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
/** @deprecated Use PHPUnit 6.0 set instead, as related to the version */
|
||||
return static function (RectorConfig $rectorConfig) : void {
|
||||
};
|
@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
/** @deprecated Use PHPUnit CodeQuality set instead, as related to the code quality */
|
||||
return static function (RectorConfig $rectorConfig) : void {
|
||||
};
|
@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
// @deprecated as better outside PHPUnit scope, handle by find and replace when needed
|
||||
return static function (RectorConfig $rectorConfig) : void {
|
||||
};
|
@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
/** @deprecated Use PHPUnitSetList::PHPUNIT_100 directly */
|
||||
return static function (RectorConfig $rectorConfig) : void {
|
||||
};
|
@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace RectorPrefix202406;
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
/** @deprecated Use CodeQuality set instead, as related to code-quality */
|
||||
return static function (RectorConfig $rectorConfig) : void {
|
||||
};
|
@ -1,43 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare (strict_types=1);
|
||||
namespace Rector\PHPUnit\Set;
|
||||
|
||||
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/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/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/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/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/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_100 = __DIR__ . '/../../config/sets/level/deprecated-level-set.php';
|
||||
}
|
@ -9,11 +9,6 @@ use Rector\Set\Contract\SetListInterface;
|
||||
*/
|
||||
final class PHPUnitSetList implements SetListInterface
|
||||
{
|
||||
/**
|
||||
* @deprecated as better outside PHPUnit scope, handle by find and replace when needed
|
||||
* @var string
|
||||
*/
|
||||
public const PHPUNIT80_DMS = __DIR__ . '/../../config/sets/phpunit80-dms.php';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
@ -38,11 +33,6 @@ final class PHPUnitSetList implements SetListInterface
|
||||
* @var string
|
||||
*/
|
||||
public const PHPUNIT_90 = __DIR__ . '/../../config/sets/phpunit90.php';
|
||||
/**
|
||||
* @deprecated Use PHPUnitSetList::PHPUNIT_100 directly
|
||||
* @var string
|
||||
*/
|
||||
public const PHPUNIT_91 = __DIR__ . '/../../config/sets/phpunit91.php';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
@ -51,21 +41,6 @@ final class PHPUnitSetList implements SetListInterface
|
||||
* @var string
|
||||
*/
|
||||
public const PHPUNIT_CODE_QUALITY = __DIR__ . '/../../config/sets/phpunit-code-quality.php';
|
||||
/**
|
||||
* @deprecated Use PHPUnitSetList::PHPUNIT_60 set instead, as related to the version
|
||||
* @var string
|
||||
*/
|
||||
public const PHPUNIT_EXCEPTION = __DIR__ . '/../../config/sets/phpunit-exception.php';
|
||||
/**
|
||||
* @deprecated Use PHPUnitSetList::PHPUNIT_CODE_QUALITY set instead, as related to code-quality
|
||||
* @var string
|
||||
*/
|
||||
public const REMOVE_MOCKS = __DIR__ . '/../../config/sets/remove-mocks.php';
|
||||
/**
|
||||
* @deprecated Use PHPUnitSetList::PHPUNIT_CODE_QUALITY set instead, as related to the code quality
|
||||
* @var string
|
||||
*/
|
||||
public const PHPUNIT_SPECIFIC_METHOD = __DIR__ . '/../../config/sets/phpunit-specific-method.php';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user