Skip to content

Commit f53a105

Browse files
committed
Disable numeric_literal_separator
1 parent d3200b5 commit f53a105

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/Ruleset/Nexus80.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ public function __construct()
346346
'not_operator_with_successor_space' => true,
347347
'nullable_type_declaration' => ['syntax' => 'question_mark'],
348348
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true],
349+
'numeric_literal_separator' => false,
349350
'object_operator_without_whitespace' => true,
350351
'octal_notation' => false, // requires 8.1+
351352
'operator_linebreak' => ['only_booleans' => true, 'position' => 'beginning'],
@@ -698,7 +699,7 @@ public function __construct()
698699
'less_and_greater' => null,
699700
],
700701
];
701-
$this->requiredPHPVersion = 80000;
702+
$this->requiredPHPVersion = 8_00_00;
702703
$this->autoActivateIsRiskyAllowed = true;
703704
}
704705
}

src/Ruleset/Nexus81.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ public function __construct()
346346
'not_operator_with_successor_space' => true,
347347
'nullable_type_declaration' => ['syntax' => 'question_mark'],
348348
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true],
349+
'numeric_literal_separator' => false,
349350
'object_operator_without_whitespace' => true,
350351
'octal_notation' => true,
351352
'operator_linebreak' => ['only_booleans' => true, 'position' => 'beginning'],
@@ -698,7 +699,7 @@ public function __construct()
698699
'less_and_greater' => null,
699700
],
700701
];
701-
$this->requiredPHPVersion = 80100;
702+
$this->requiredPHPVersion = 8_01_00;
702703
$this->autoActivateIsRiskyAllowed = true;
703704
}
704705
}

src/Ruleset/Nexus82.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ public function __construct()
346346
'not_operator_with_successor_space' => true,
347347
'nullable_type_declaration' => ['syntax' => 'question_mark'],
348348
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true],
349+
'numeric_literal_separator' => false,
349350
'object_operator_without_whitespace' => true,
350351
'octal_notation' => true,
351352
'operator_linebreak' => ['only_booleans' => true, 'position' => 'beginning'],
@@ -698,7 +699,7 @@ public function __construct()
698699
'less_and_greater' => null,
699700
],
700701
];
701-
$this->requiredPHPVersion = 80200;
702+
$this->requiredPHPVersion = 8_02_00;
702703
$this->autoActivateIsRiskyAllowed = true;
703704
}
704705
}

0 commit comments

Comments
 (0)