Skip to content

Commit feee2a4

Browse files
committed
Repaired issues with codesniffer
After upgrading CodeSniffer to latest version (2.6.2) the following issue occurred in multiple (old) files. “Function closing brace must go on the next line following the body”
1 parent f08dd1f commit feee2a4

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

src/PhpPresentation/Shape/Line.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public function __construct($fromX, $fromY, $toX, $toY)
4343
$this->setOffsetY($fromY);
4444
$this->setWidth($toX - $fromX);
4545
$this->setHeight($toY - $fromY);
46-
4746
}
4847

4948
/**

src/PhpPresentation/Writer/ODPresentation/Content.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1343,6 +1343,5 @@ protected function writeStylePartShadow(XMLWriter $objWriter, Shadow $oShadow)
13431343
}
13441344
$objWriter->writeAttribute('draw:shadow-opacity', (100 - $oShadow->getAlpha()) . '%');
13451345
$objWriter->writeAttribute('style:mirror', 'none');
1346-
13471346
}
13481347
}

tests/PhpPresentation/Tests/Slide/TransitionTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,5 @@ public function testTransitionType()
8888
$this->assertNull($object->getTransitionType());
8989
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Slide\\Transition', $object->setTransitionType(Transition::TRANSITION_RANDOM));
9090
$this->assertEquals(Transition::TRANSITION_RANDOM, $object->getTransitionType());
91-
9291
}
9392
}

tests/PhpPresentation/Tests/Writer/ODPresentation/ObjectsChartTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ public function testAxisFont()
8686
$this->assertEquals('normal', $oXMLDoc->getElementAttribute($element, 'fo:font-style', 'Object 1/content.xml'));//Italic YAxis
8787
$this->assertEquals('16pt', $oXMLDoc->getElementAttribute($element, 'fo:font-size', 'Object 1/content.xml'));//Size YAxis
8888
$this->assertEquals('Arial', $oXMLDoc->getElementAttribute($element, 'fo:font-family', 'Object 1/content.xml'));//Size YAxis
89-
9089
}
9190

9291
public function testLegend()

0 commit comments

Comments
 (0)