Skip to content

Commit c53e5e6

Browse files
committed
#192 : Image Adapter (PHPCS Fixes)
1 parent 4f04f56 commit c53e5e6

File tree

8 files changed

+7
-9
lines changed

8 files changed

+7
-9
lines changed

src/PhpPresentation/Reader/PowerPoint97.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,6 @@ private function readRecordDocumentContainer($stream, $pos)
886886
$pos += $fontEmbedData4['recLen'];
887887
$fontCollection['recLen'] -= $fontEmbedData4['recLen'];
888888
}
889-
890889
} while ($fontCollection['recLen'] > 0);
891890
}
892891
}

src/PhpPresentation/Shape/Drawing.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@
2424
* @deprecated Drawing\File
2525
*/
2626
class Drawing extends File
27-
{}
27+
{
28+
}

src/PhpPresentation/Shape/Drawing/AbstractDrawingAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ abstract public function getIndexedFilename();
2525
* @return string
2626
*/
2727
abstract public function getMimeType();
28-
}
28+
}

src/PhpPresentation/Shape/Drawing/Base64.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace PhpOffice\PhpPresentation\Shape\Drawing;
44

5-
65
class Base64 extends AbstractDrawingAdapter
76
{
87
/**
@@ -97,4 +96,4 @@ public function getMimeType()
9796
}
9897
return image_type_to_mime_type($image[2]);
9998
}
100-
}
99+
}

src/PhpPresentation/Shape/Drawing/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@ public function getIndexedFilename()
8787
$output = str_replace(' ', '_', $output);
8888
return $output;
8989
}
90-
}
90+
}

src/PhpPresentation/Shape/Drawing/Gd.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,4 @@ public function getIndexedFilename()
156156
{
157157
return $this->uniqueName . $this->getImageIndex() . '.' . $this->getExtension();
158158
}
159-
}
159+
}

src/PhpPresentation/Shape/Drawing/ZipFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ protected function getZipFileIn()
104104
$path = explode('#', $path);
105105
return empty($path[1]) ? '' : $path[1];
106106
}
107-
}
107+
}

src/PhpPresentation/Writer/PowerPoint2007/PptSlides.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ protected function writeSlideRelationships(Slide $pSlide)
300300

301301
$iterator2->next();
302302
}
303-
304303
}
305304

306305
$iterator->next();

0 commit comments

Comments
 (0)