Updated Rector to commit cb76a5fb76548fd3b659c0af8b9e89625319e5fc

cb76a5fb76 [dx] enable all attributes, if none are selected to streamline config (#6451)
This commit is contained in:
Tomas Votruba 2024-11-19 18:28:14 +00:00
parent 9c3174be44
commit e23b5045f1
2 changed files with 6 additions and 2 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '4425eb59d0cd48ade99cae01c5db4d82132355de';
public const PACKAGE_VERSION = 'cb76a5fb76548fd3b659c0af8b9e89625319e5fc';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-11-19 19:17:09';
public const RELEASE_DATE = '2024-11-19 18:25:55';
/**
* @var int
*/

View File

@ -385,6 +385,10 @@ final class RectorConfigBuilder
*/
public function withAttributesSets(bool $symfony = \false, bool $doctrine = \false, bool $mongoDb = \false, bool $gedmo = \false, bool $phpunit = \false, bool $fosRest = \false, bool $jms = \false, bool $sensiolabs = \false, bool $all = \false) : self
{
// if nothing is passed, enable all as convention in other method
if (\func_get_args() === []) {
$all = \true;
}
if ($symfony || $all) {
$this->sets[] = SymfonySetList::ANNOTATIONS_TO_ATTRIBUTES;
}