Skip to content

Commit

Permalink
PHPOffice#192 : Image Adapter (PHPCS Fixes)
Browse files Browse the repository at this point in the history
  • Loading branch information
Progi1984 committed Apr 4, 2016
1 parent 4f04f56 commit c53e5e6
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/PhpPresentation/Reader/PowerPoint97.php
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,6 @@ private function readRecordDocumentContainer($stream, $pos)
$pos += $fontEmbedData4['recLen'];
$fontCollection['recLen'] -= $fontEmbedData4['recLen'];
}

} while ($fontCollection['recLen'] > 0);
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/PhpPresentation/Shape/Drawing.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
* @deprecated Drawing\File
*/
class Drawing extends File
{}
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ abstract public function getIndexedFilename();
* @return string
*/
abstract public function getMimeType();
}
}
3 changes: 1 addition & 2 deletions src/PhpPresentation/Shape/Drawing/Base64.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace PhpOffice\PhpPresentation\Shape\Drawing;


class Base64 extends AbstractDrawingAdapter
{
/**
Expand Down Expand Up @@ -97,4 +96,4 @@ public function getMimeType()
}
return image_type_to_mime_type($image[2]);
}
}
}
2 changes: 1 addition & 1 deletion src/PhpPresentation/Shape/Drawing/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ public function getIndexedFilename()
$output = str_replace(' ', '_', $output);
return $output;
}
}
}
2 changes: 1 addition & 1 deletion src/PhpPresentation/Shape/Drawing/Gd.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,4 @@ public function getIndexedFilename()
{
return $this->uniqueName . $this->getImageIndex() . '.' . $this->getExtension();
}
}
}
2 changes: 1 addition & 1 deletion src/PhpPresentation/Shape/Drawing/ZipFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ protected function getZipFileIn()
$path = explode('#', $path);
return empty($path[1]) ? '' : $path[1];
}
}
}
1 change: 0 additions & 1 deletion src/PhpPresentation/Writer/PowerPoint2007/PptSlides.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ protected function writeSlideRelationships(Slide $pSlide)

$iterator2->next();
}

}

$iterator->next();
Expand Down

0 comments on commit c53e5e6

Please sign in to comment.