mirror of https://github.com/rectorphp/rector.git
Updated Rector to commit 5b23ffe923e57d49b92156c15725ac63cb52a9b5
5b23ffe923
custom copy path fix (#5502)
This commit is contained in:
parent
6dd3220875
commit
8debf03f05
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '174656a5f9719dba126a0f5ed68743c05ff53f3b';
|
||||
public const PACKAGE_VERSION = '5b23ffe923e57d49b92156c15725ac63cb52a9b5';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-01-25 08:16:35';
|
||||
public const RELEASE_DATE = '2024-01-25 18:15:33';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Utils\Rector\Tests\Rector\__Name__;
|
||||
|
||||
use PHPUnit\Framework\Attributes\DataProvider;
|
||||
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
|
||||
|
||||
final class __Name__Test extends AbstractRectorTestCase
|
||||
{
|
||||
#[DataProvider('provideData')]
|
||||
public function test(string $filePath): void
|
||||
{
|
||||
$this->doTestFile($filePath);
|
||||
}
|
||||
|
||||
public static function provideData(): \Iterator
|
||||
{
|
||||
return self::yieldFilesFromDirectory(__DIR__ . '/Fixture');
|
||||
}
|
||||
|
||||
public function provideConfigFilePath(): string
|
||||
{
|
||||
return __DIR__ . '/config/configured_rule.php';
|
||||
}
|
||||
}
|
|
@ -14,7 +14,7 @@ $loader = (static function () {
|
|||
// Restore the backup and ensure the excluded files are properly marked as loaded
|
||||
$GLOBALS['__composer_autoload_files'] = \array_merge(
|
||||
$existingComposerAutoloadFiles,
|
||||
\array_fill_keys(['0e6d7bf4a5811bfa5cf40c5ccd6fae6a', '5928a00fa978807cf85d90ec3f4b0147'], true)
|
||||
\array_fill_keys(['5928a00fa978807cf85d90ec3f4b0147', '0e6d7bf4a5811bfa5cf40c5ccd6fae6a'], true)
|
||||
);
|
||||
|
||||
return $loader;
|
||||
|
|
Loading…
Reference in New Issue