Fixed some scrutinizer issues
This commit is contained in:
parent
6705219f41
commit
e4ccef8592
@ -66,6 +66,10 @@ class Writer extends AbstractWriter
|
||||
$this->globalFunctionsHelper->fputs($this->filePointer, EncodingHelper::BOM_UTF8);
|
||||
}
|
||||
|
||||
public function registerStyle($style) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds data to the currently opened writer.
|
||||
*
|
||||
|
@ -167,11 +167,6 @@ abstract class AbstractWorkbook implements WorkbookInterface
|
||||
}
|
||||
}
|
||||
|
||||
public function applyStyleToCurrentWorksheet($style) {
|
||||
$updatedStyle = $styleHelper->applyExtraStylesIfNeeded($style, array());
|
||||
$registeredStyle = $styleHelper->registerStyle($updatedStyle);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool Whether the current worksheet has reached the maximum number of rows per sheet.
|
||||
*/
|
||||
|
@ -61,6 +61,10 @@ class Writer extends AbstractMultiSheetsWriter
|
||||
return $this->book;
|
||||
}
|
||||
|
||||
public function registerStyle($style) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds data to the currently opened writer.
|
||||
* If shouldCreateNewSheetsAutomatically option is set to true, it will handle pagination
|
||||
|
1
test.php
1
test.php
@ -5,7 +5,6 @@ include_once 'src/Spout/Autoloader/autoload.php';
|
||||
use Box\Spout\Common\Type;
|
||||
use Box\Spout\Writer\WriterFactory;
|
||||
use Box\Spout\Writer\Style\StyleBuilder;
|
||||
use Box\Spout\Writer\Style\Color;
|
||||
|
||||
# UNIX_DATE = (EXCEL_DATE - 25569) * 86400 : Excel -> unix
|
||||
# EXCEL_DATE = 25569 + (UNIX_DATE / 86400) : Unix -> excel
|
||||
|
Loading…
x
Reference in New Issue
Block a user