File tree 2 files changed +2
-1
lines changed
src/PhpWord/Writer/Word2007/Part
tests/PhpWord/Writer/Word2007/Part
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ private function getSettings()
106
106
'w:themeFontLang ' => array ('@attributes ' => array ('w:val ' => 'en-US ' )),
107
107
'w:decimalSymbol ' => array ('@attributes ' => array ('w:val ' => '. ' )),
108
108
'w:listSeparator ' => array ('@attributes ' => array ('w:val ' => '; ' )),
109
- 'w:compat ' => '' ,
109
+ 'w:compat ' => array () ,
110
110
'm:mathPr ' => array (
111
111
'm:mathFont ' => array ('@attributes ' => array ('m:val ' => 'Cambria Math ' )),
112
112
'm:brkBin ' => array ('@attributes ' => array ('m:val ' => 'before ' )),
Original file line number Diff line number Diff line change @@ -64,5 +64,6 @@ public function testCompatibility()
64
64
65
65
$ path = '/w:settings/w:compat/w:compatSetting ' ;
66
66
$ this ->assertTrue ($ doc ->elementExists ($ path , $ file ));
67
+ $ this ->assertEquals ($ phpWord ->getCompatibility ()->getOoxmlVersion (), 15 );
67
68
}
68
69
}
You can’t perform that action at this time.
0 commit comments