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