diff --git a/src/PhpSpreadsheet/Writer/Excel2007/Chart.php b/src/PhpSpreadsheet/Writer/Excel2007/Chart.php index 6a87446e..b0d71c1f 100644 --- a/src/PhpSpreadsheet/Writer/Excel2007/Chart.php +++ b/src/PhpSpreadsheet/Writer/Excel2007/Chart.php @@ -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'); diff --git a/tests/PhpSpreadsheet/Style/NumberFormatTest.php b/tests/PhpSpreadsheet/Style/NumberFormatTest.php index af9b16d6..a33e1f65 100644 --- a/tests/PhpSpreadsheet/Style/NumberFormatTest.php +++ b/tests/PhpSpreadsheet/Style/NumberFormatTest.php @@ -4,6 +4,7 @@ namespace PhpSpreadsheet\Tests\Style; use PHPExcel\Shared\StringHelper; use PHPExcel\Style\NumberFormat; + class NumberFormatTest extends \PHPUnit_Framework_TestCase {