Update php-cs config: increment_style

This commit is contained in:
Adrien Loison 2017-11-04 13:14:15 +01:00
parent 0ab053dc6e
commit e1ae3c8a81
2 changed files with 2 additions and 2 deletions

View File

@ -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'],

View File

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