@@ -68,17 +68,17 @@ public function testSchema(PhpPresentation $presentation)
68
68
// http://schemas.openxmlformats.org/ to http://purl.oclc.org/ooxml/
69
69
// We need to use the http://purl.oclc.org/ooxml/ namespace to validate
70
70
// the xml against the current schema
71
- $ xmlSource = str_replace ([
71
+ $ xmlSource = str_replace (array (
72
72
"http://schemas.openxmlformats.org/drawingml/2006/main " ,
73
73
"http://schemas.openxmlformats.org/drawingml/2006/chart " ,
74
74
"http://schemas.openxmlformats.org/officeDocument/2006/relationships " ,
75
75
"http://schemas.openxmlformats.org/presentationml/2006/main " ,
76
- ], [
76
+ ), array (
77
77
"http://purl.oclc.org/ooxml/drawingml/main " ,
78
78
"http://purl.oclc.org/ooxml/drawingml/chart " ,
79
79
"http://purl.oclc.org/ooxml/officeDocument/relationships " ,
80
80
"http://purl.oclc.org/ooxml/presentationml/main " ,
81
- ] , $ xmlSource );
81
+ ) , $ xmlSource );
82
82
83
83
$ dom ->loadXML ($ xmlSource );
84
84
$ dom ->schemaValidate (__DIR__ . '/../../../../resources/schema/ooxml/pml.xsd ' );
@@ -92,10 +92,10 @@ public function testSchema(PhpPresentation $presentation)
92
92
93
93
public function pptProvider ()
94
94
{
95
- return [
96
- [ $ this ->generatePresentation01 ()] ,
97
- [ $ this ->generatePresentation02 ()] ,
98
- ] ;
95
+ return array (
96
+ array ( $ this ->generatePresentation01 ()) ,
97
+ array ( $ this ->generatePresentation02 ()) ,
98
+ ) ;
99
99
}
100
100
101
101
/**
0 commit comments