DrawingTest.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /**
  3. * This file is part of PHPPresentation - A pure PHP library for reading and writing
  4. * presentations documents.
  5. *
  6. * PHPPresentation is free software distributed under the terms of the GNU Lesser
  7. * General Public License version 3 as published by the Free Software Foundation.
  8. *
  9. * For the full copyright and license information, please read the LICENSE
  10. * file that was distributed with this source code. For the full list of
  11. * contributors, visit https://github.com/PHPOffice/PHPPresentation/contributors.
  12. *
  13. * @copyright 2009-2015 PHPPresentation contributors
  14. * @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
  15. * @link https://github.com/PHPOffice/PHPPresentation
  16. */
  17. namespace PhpOffice\PhpPresentation\Shape\Drawing;
  18. use PhpOffice\PhpPresentation\Tests\Shape\Drawing\DrawingTest;
  19. function function_exists($function)
  20. {
  21. if ($function === 'getimagesizefromstring') {
  22. return DrawingTest::$getimagesizefromstringExists;
  23. }
  24. return \function_exists($function);
  25. }
  26. namespace PhpOffice\PhpPresentation\Tests\Shape\Drawing;
  27. // @codingStandardsIgnoreStart
  28. use PhpOffice\PhpPresentation\Tests\PhpPresentationTestCase;
  29. // @codingStandardsIgnoreEnd
  30. class DrawingTest extends PhpPresentationTestCase
  31. {
  32. public static $getimagesizefromstringExists = true;
  33. public function testIgnore()
  34. {
  35. }
  36. }