mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-16 13:00:23 +01:00
Updated Rector to commit cb76a5fb76548fd3b659c0af8b9e89625319e5fc
cb76a5fb76
[dx] enable all attributes, if none are selected to streamline config (#6451)
This commit is contained in:
parent
9c3174be44
commit
e23b5045f1
@ -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
|
||||
*/
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user