Autofix style code with phpcs
This commit is contained in:
parent
c981efe272
commit
ea513d9c1b
|
@ -126,7 +126,7 @@ class Chart extends WriterPart
|
|||
*
|
||||
* @throws \PHPExcel\Writer\Exception
|
||||
*/
|
||||
private function writeTitle(Title $title=null, $objWriter)
|
||||
private function writeTitle(Title $title = null, $objWriter)
|
||||
{
|
||||
if (is_null($title)) {
|
||||
return;
|
||||
|
@ -171,7 +171,7 @@ class Chart extends WriterPart
|
|||
*
|
||||
* @throws \PHPExcel\Writer\Exception
|
||||
*/
|
||||
private function writeLegend(Legend $legend=null, $objWriter)
|
||||
private function writeLegend(Legend $legend = null, $objWriter)
|
||||
{
|
||||
if (is_null($legend)) {
|
||||
return;
|
||||
|
@ -226,7 +226,7 @@ class Chart extends WriterPart
|
|||
*
|
||||
* @throws \PHPExcel\Writer\Exception
|
||||
*/
|
||||
private function writePlotArea(PlotArea $plotArea, Title $xAxisLabel=null, Title $yAxisLabel=null, $objWriter, \PHPExcel\Worksheet $pSheet, Axis $xAxis=null, Axis $yAxis=null, GridLines $majorGridlines=null, GridLines $minorGridlines=null)
|
||||
private function writePlotArea(PlotArea $plotArea, Title $xAxisLabel = null, Title $yAxisLabel = null, $objWriter, \PHPExcel\Worksheet $pSheet, Axis $xAxis = null, Axis $yAxis = null, GridLines $majorGridlines = null, GridLines $minorGridlines = null)
|
||||
{
|
||||
if (is_null($plotArea)) {
|
||||
return;
|
||||
|
@ -361,7 +361,7 @@ class Chart extends WriterPart
|
|||
*
|
||||
* @throws \PHPExcel\Writer\Exception
|
||||
*/
|
||||
private function writeDataLabels($objWriter, Layout $chartLayout=null)
|
||||
private function writeDataLabels($objWriter, Layout $chartLayout = null)
|
||||
{
|
||||
$objWriter->startElement('c:dLbls');
|
||||
|
||||
|
@ -1404,7 +1404,7 @@ class Chart extends WriterPart
|
|||
*
|
||||
* @throws \PHPExcel\Writer\Exception
|
||||
*/
|
||||
private function writeLayout(Layout $layout=null, $objWriter)
|
||||
private function writeLayout(Layout $layout = null, $objWriter)
|
||||
{
|
||||
$objWriter->startElement('c:layout');
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ namespace PhpSpreadsheet\Tests\Style;
|
|||
|
||||
use PHPExcel\Shared\StringHelper;
|
||||
use PHPExcel\Style\NumberFormat;
|
||||
|
||||
class NumberFormatTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in New Issue