Upgrade to PHP-CS-Fixer 2.7

This commit is contained in:
Adrien Crivelli
2017-10-01 20:07:04 +09:00
parent e95e4dfd13
commit 4fd8e742e7
140 changed files with 3019 additions and 1093 deletions
+2 -1
View File
@@ -33,6 +33,7 @@ foreach ($inputFileNames as $inputFileName) {
if (!file_exists($inputFileName)) {
$helper->log('File ' . $inputFileNameShort . ' does not exist');
continue;
}
@@ -54,7 +55,7 @@ foreach ($inputFileNames as $inputFileName) {
natsort($chartNames);
foreach ($chartNames as $i => $chartName) {
$chart = $worksheet->getChartByName($chartName);
if (!is_null($chart->getTitle())) {
if ($chart->getTitle() !== null) {
$caption = '"' . implode(' ', $chart->getTitle()->getCaption()) . '"';
} else {
$caption = 'Untitled';