mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
Updated Rector to commit 7cd56d864dc52f88416c47845239ad897467a003
7cd56d864d
RectorConfigBuilder: skip and rules can be called multiple times (#5623)
This commit is contained in:
parent
7a0ac36084
commit
f1e807548e
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const PACKAGE_VERSION = 'd0f0e9737dc3b7e9c39ef3b6e72a9f62aa0c7d67';
|
public const PACKAGE_VERSION = '7cd56d864dc52f88416c47845239ad897467a003';
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const RELEASE_DATE = '2024-02-16 17:35:27';
|
public const RELEASE_DATE = '2024-02-16 17:35:56';
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -246,7 +246,7 @@ final class RectorConfigBuilder
|
||||||
*/
|
*/
|
||||||
public function withSkip(array $skip) : self
|
public function withSkip(array $skip) : self
|
||||||
{
|
{
|
||||||
$this->skip = $skip;
|
$this->skip = \array_merge($this->skip, $skip);
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
@ -387,7 +387,7 @@ final class RectorConfigBuilder
|
||||||
*/
|
*/
|
||||||
public function withRules(array $rules) : self
|
public function withRules(array $rules) : self
|
||||||
{
|
{
|
||||||
$this->rules = $rules;
|
$this->rules = \array_merge($this->rules, $rules);
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user