mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
Updated Rector to commit 55e7c91cb1597e7c12f111689381ac5848540ec5
55e7c91cb1
fixed issue when indent is not 4 (#5479)
This commit is contained in:
parent
6cacf30624
commit
233401c07f
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '7e2495e5f572bb566a845a0e1a6329cf141f872d';
|
||||
public const PACKAGE_VERSION = '55e7c91cb1597e7c12f111689381ac5848540ec5';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-01-19 21:03:24';
|
||||
public const RELEASE_DATE = '2024-01-19 15:59:20';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
|
@ -157,9 +157,9 @@ final class BetterStandardPrinter extends Standard
|
|||
protected function outdent() : void
|
||||
{
|
||||
if ($this->getIndentCharacter() === ' ') {
|
||||
// - 4 spaces
|
||||
\assert($this->indentLevel >= 4);
|
||||
$this->indentLevel -= 4;
|
||||
$indentSize = SimpleParameterProvider::provideIntParameter(Option::INDENT_SIZE);
|
||||
\assert($this->indentLevel >= $indentSize);
|
||||
$this->indentLevel -= $indentSize;
|
||||
} else {
|
||||
// - 1 tab
|
||||
\assert($this->indentLevel >= 1);
|
||||
|
|
Loading…
Reference in New Issue
Block a user