Updated Rector to commit 55e7c91cb1597e7c12f111689381ac5848540ec5

55e7c91cb1 fixed issue when indent is not 4 (#5479)
This commit is contained in:
Tomas Votruba 2024-01-19 15:01:25 +00:00
parent 6cacf30624
commit 233401c07f
2 changed files with 5 additions and 5 deletions

View File

@ -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
*/

View File

@ -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);