File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
tests/PhpPowerpoint/Tests/Writer Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 31
31
*/
32
32
class AbstractPartTest extends \PHPUnit_Framework_TestCase
33
33
{
34
- protected function runProtectedMethod ($ obj , $ method , $ args = array ())
34
+ protected function runProtectedMethod ($ obj , $ method , $ args = array ())
35
35
{
36
36
$ method = new \ReflectionMethod (get_class ($ obj ), $ method );
37
37
$ method ->setAccessible (true );
Original file line number Diff line number Diff line change @@ -261,15 +261,15 @@ public function testRichTextBorder()
261
261
262
262
public function testRichTextShadow ()
263
263
{
264
- $ randAlpha = rand (0 ,100 );
264
+ $ randAlpha = rand (0 , 100 );
265
265
$ phpPowerPoint = new PhpPowerpoint ();
266
266
$ oSlide = $ phpPowerPoint ->getActiveSlide ();
267
267
$ oRichText = $ oSlide ->createRichTextShape ();
268
268
$ oRichText ->createTextRun ('AAA ' );
269
269
$ oRichText ->getShadow ()->setVisible (true )->setAlpha ($ randAlpha )->setBlurRadius (2 );
270
270
271
271
$ element = '/office:document-content/office:automatic-styles/style:style[@style:name= \'gr1 \']/style:graphic-properties ' ;
272
- for ($ inc = 0 ; $ inc <= 360 ; $ inc += 45 ) {
272
+ for ($ inc = 0 ; $ inc <= 360 ; $ inc += 45 ) {
273
273
$ randDistance = rand (0 , 100 );
274
274
$ oRichText ->getShadow ()->setDirection ($ inc )->setDistance ($ randDistance );
275
275
$ pres = TestHelperDOCX::getDocument ($ phpPowerPoint , 'ODPresentation ' );
Original file line number Diff line number Diff line change 30
30
*/
31
31
class AbstractPartTest extends \PHPUnit_Framework_TestCase
32
32
{
33
- protected function runProtectedMethod ($ obj , $ method , $ args = array ())
33
+ protected function runProtectedMethod ($ obj , $ method , $ args = array ())
34
34
{
35
35
$ method = new \ReflectionMethod (get_class ($ obj ), $ method );
36
36
$ method ->setAccessible (true );
You can’t perform that action at this time.
0 commit comments