Move SetList to LubiSetList

This commit is contained in:
lubiana 2022-11-04 11:18:22 +01:00
parent 529210349a
commit a99023d484
No known key found for this signature in database
5 changed files with 25 additions and 8 deletions

10
src/LubiSetList.php Normal file
View file

@ -0,0 +1,10 @@
<?php declare(strict_types=1);
namespace Lubiana\CodeQuality;
final class LubiSetList
{
public const RECTOR = __DIR__ . '/../config/rector.php';
public const ECS = __DIR__ . '/../config/ecs.php';
}

View file

@ -2,9 +2,16 @@
namespace Lubiana\CodeQuality;
/** @deprecated use LubiSetList */
final class SetList
{
public const RECTOR = __DIR__ . '/../config/rector.php';
/**
* @deprecated use LubiSetList::RECTOR
*/
public const RECTOR = LubiSetList::RECTOR;
public const ECS = __DIR__ . '/../config/ecs.php';
/**
* @deprecated use LubiSetList::ECS
*/
public const ECS = LubiSetList::ECS;
}