Update php-cs config: increment_style
This commit is contained in:
parent
0ab053dc6e
commit
e1ae3c8a81
@ -12,6 +12,7 @@ $config = PhpCsFixer\Config::create()
|
|||||||
'concat_space' => ['spacing' => 'one'],
|
'concat_space' => ['spacing' => 'one'],
|
||||||
'declare_equal_normalize' => ['space' => 'single'],
|
'declare_equal_normalize' => ['space' => 'single'],
|
||||||
'heredoc_to_nowdoc' => true,
|
'heredoc_to_nowdoc' => true,
|
||||||
|
'increment_style' => ['style' => 'post'],
|
||||||
'is_null' => ['use_yoda_style' => false],
|
'is_null' => ['use_yoda_style' => false],
|
||||||
'method_argument_space' => ['ensure_fully_multiline' => true],
|
'method_argument_space' => ['ensure_fully_multiline' => true],
|
||||||
'modernize_types_casting' => true,
|
'modernize_types_casting' => true,
|
||||||
@ -34,7 +35,6 @@ $config = PhpCsFixer\Config::create()
|
|||||||
'phpdoc_summary' => false,
|
'phpdoc_summary' => false,
|
||||||
'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
|
'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
|
||||||
'phpdoc_separation' => false,
|
'phpdoc_separation' => false,
|
||||||
'pre_increment' => false,
|
|
||||||
'protected_to_private' => true,
|
'protected_to_private' => true,
|
||||||
'psr4' => true,
|
'psr4' => true,
|
||||||
'return_type_declaration' => ['space_before' => 'one'],
|
'return_type_declaration' => ['space_before' => 'one'],
|
||||||
|
@ -200,7 +200,7 @@ class CellValueFormatter
|
|||||||
{
|
{
|
||||||
// Fix for the erroneous leap year in Excel
|
// Fix for the erroneous leap year in Excel
|
||||||
if (ceil($nodeValue) > self::ERRONEOUS_EXCEL_LEAP_YEAR_DAY) {
|
if (ceil($nodeValue) > self::ERRONEOUS_EXCEL_LEAP_YEAR_DAY) {
|
||||||
--$nodeValue;
|
$nodeValue--;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($nodeValue >= 1) {
|
if ($nodeValue >= 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user