Skip to content

Commit

Permalink
TravisCL Formatting Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jrking4 committed Jun 23, 2015
1 parent af4535f commit d878b83
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/PhpPowerpoint/Writer/PowerPoint2007/Chart.php
Expand Up @@ -1450,12 +1450,12 @@ protected function writeTypeBar3D(XMLWriter $objWriter, Bar3D $subject, $include

// c:spPr
if ($series->getFill()->getFillType() != Fill::FILL_NONE) {
// c:spPr
$objWriter->startElement('c:spPr');
// Write fill
$this->writeFill($objWriter, $series->getFill());
// ## c:spPr
$objWriter->endElement();
// c:spPr
$objWriter->startElement('c:spPr');
// Write fill
$this->writeFill($objWriter, $series->getFill());
// ## c:spPr
$objWriter->endElement();
}

// Write X axis data
Expand Down
6 changes: 3 additions & 3 deletions tests/PhpPowerpoint/Tests/Shape/Chart/Type/BarTest.php
Expand Up @@ -67,11 +67,11 @@ public function testBarGrouping()
{
$object = new Bar();
$this->assertEquals(Bar::GROUPING_CLUSTERED, $object->getBarGrouping());
$this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Chart\\Type\\Bar', $object->setBarGrouping( Bar::GROUPING_CLUSTERED) );
$this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Chart\\Type\\Bar', $object->setBarGrouping( Bar::GROUPING_CLUSTERED));
$this->assertEquals(Bar::GROUPING_CLUSTERED, $object->getBarGrouping() );
$this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Chart\\Type\\Bar', $object->setBarGrouping( Bar::GROUPING_STACKED) );
$this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Chart\\Type\\Bar', $object->setBarGrouping( Bar::GROUPING_STACKED));
$this->assertEquals(Bar::GROUPING_STACKED, $object->getBarGrouping() );
$this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Chart\\Type\\Bar', $object->setBarGrouping( Bar::GROUPING_PERCENTSTACKED) );
$this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Chart\\Type\\Bar', $object->setBarGrouping( Bar::GROUPING_PERCENTSTACKED));
$this->assertEquals(Bar::GROUPING_PERCENTSTACKED, $object->getBarGrouping());
}

Expand Down

0 comments on commit d878b83

Please sign in to comment.