Autofix style code with phpcs

This commit is contained in:
Adrien Crivelli 2016-08-14 13:55:34 +09:00
parent c981efe272
commit ea513d9c1b
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
2 changed files with 6 additions and 5 deletions

View File

@ -126,7 +126,7 @@ class Chart extends WriterPart
* *
* @throws \PHPExcel\Writer\Exception * @throws \PHPExcel\Writer\Exception
*/ */
private function writeTitle(Title $title=null, $objWriter) private function writeTitle(Title $title = null, $objWriter)
{ {
if (is_null($title)) { if (is_null($title)) {
return; return;
@ -171,7 +171,7 @@ class Chart extends WriterPart
* *
* @throws \PHPExcel\Writer\Exception * @throws \PHPExcel\Writer\Exception
*/ */
private function writeLegend(Legend $legend=null, $objWriter) private function writeLegend(Legend $legend = null, $objWriter)
{ {
if (is_null($legend)) { if (is_null($legend)) {
return; return;
@ -226,7 +226,7 @@ class Chart extends WriterPart
* *
* @throws \PHPExcel\Writer\Exception * @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)) { if (is_null($plotArea)) {
return; return;
@ -361,7 +361,7 @@ class Chart extends WriterPart
* *
* @throws \PHPExcel\Writer\Exception * @throws \PHPExcel\Writer\Exception
*/ */
private function writeDataLabels($objWriter, Layout $chartLayout=null) private function writeDataLabels($objWriter, Layout $chartLayout = null)
{ {
$objWriter->startElement('c:dLbls'); $objWriter->startElement('c:dLbls');
@ -1404,7 +1404,7 @@ class Chart extends WriterPart
* *
* @throws \PHPExcel\Writer\Exception * @throws \PHPExcel\Writer\Exception
*/ */
private function writeLayout(Layout $layout=null, $objWriter) private function writeLayout(Layout $layout = null, $objWriter)
{ {
$objWriter->startElement('c:layout'); $objWriter->startElement('c:layout');

View File

@ -4,6 +4,7 @@ namespace PhpSpreadsheet\Tests\Style;
use PHPExcel\Shared\StringHelper; use PHPExcel\Shared\StringHelper;
use PHPExcel\Style\NumberFormat; use PHPExcel\Style\NumberFormat;
class NumberFormatTest extends \PHPUnit_Framework_TestCase class NumberFormatTest extends \PHPUnit_Framework_TestCase
{ {