Skip to content

Commit 72b2318

Browse files
committed
Fix PHPCS/PHPMD errors
1 parent 20410e0 commit 72b2318

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

tests/PhpPowerpoint/Tests/Writer/PowerPoint2007/ChartTest.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,22 +60,14 @@ public function testConstructException()
6060
*/
6161
public function testPlotAreaBadType()
6262
{
63-
$seriesData = array(
64-
'A' => 1,
65-
'B' => 2,
66-
'C' => 4,
67-
'D' => 3,
68-
'E' => 2,
69-
);
70-
7163
$oPHPPowerPoint = new PhpPowerpoint();
7264
$oSlide = $oPHPPowerPoint->getActiveSlide();
7365
$oShape = $oSlide->createChartShape();
7466
$oShape->setResizeProportional(false)->setHeight(550)->setWidth(700)->setOffsetX(120)->setOffsetY(80);
7567
$stub = $this->getMockForAbstractClass('PhpOffice\PhpPowerpoint\Shape\Chart\AbstractType');
7668
$oShape->getPlotArea()->setType($stub);
7769

78-
$oXMLDoc = TestHelperDOCX::getDocument($oPHPPowerPoint, 'PowerPoint2007');
70+
TestHelperDOCX::getDocument($oPHPPowerPoint, 'PowerPoint2007');
7971
}
8072

8173
public function testTypeBar3D()

tests/PhpPowerpoint/Tests/Writer/PowerPoint2007/SlideTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ public function testLine()
260260
{
261261
$valEmu10 = Drawing::pixelsToEmu(10);
262262
$valEmu90 = Drawing::pixelsToEmu(90);
263-
$valEmu100 = Drawing::pixelsToEmu(100);
264263

265264
$phpPowerPoint = new PhpPowerpoint();
266265
$oSlide = $phpPowerPoint->getActiveSlide();

0 commit comments

Comments
 (0)