File tree Expand file tree Collapse file tree 6 files changed +9
-8
lines changed Expand file tree Collapse file tree 6 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 44
44
45
45
# ## Deploy
46
46
- name : Deploy
47
- uses : peaceiris/actions-gh-pages@v3
47
+ uses : peaceiris/actions-gh-pages@v4
48
48
if : github.ref == 'refs/heads/master'
49
49
with :
50
50
github_token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 13
13
- Github Action : Roave BC Check by [ @Progi1984 ] ( https://github/Progi1984 ) in [ #9 ] ( https://github.com/PHPOffice/Math/pull/9 )
14
14
- Bump actions/checkout from 2 to 4 by [ @dependabot ] ( https://github/dependabot ) in [ #10 ] ( https://github.com/PHPOffice/Math/pull/10 )
15
15
- Bump actions/setup-python from 2 to 4 by [ @dependabot ] ( https://github/dependabot ) in [ #11 ] ( https://github.com/PHPOffice/Math/pull/11 )
16
- - Bump actions/setup-python from 4 to 5 by [ @dependabot ] ( https://github/dependabot ) in [ #12 ] ( https://github.com/PHPOffice/Math/pull/12 )
16
+ - Bump actions/setup-python from 4 to 5 by [ @dependabot ] ( https://github/dependabot ) in [ #12 ] ( https://github.com/PHPOffice/Math/pull/12 )
17
+ - Bump peaceiris/actions-gh-pages from 3 to 4 by [ @dependabot ] ( https://github/dependabot ) in [ #12 ] ( https://github.com/PHPOffice/Math/pull/13 )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class MathML implements ReaderInterface
19
19
/** @var DOMDocument */
20
20
private $ dom ;
21
21
22
- /** @var DOMXpath */
22
+ /** @var DOMXPath */
23
23
private $ xpath ;
24
24
25
25
public function read (string $ content ): ?Math
@@ -48,7 +48,7 @@ public function read(string $content): ?Math
48
48
*/
49
49
protected function parseNode (?DOMNode $ nodeRowElement , $ parent ): void
50
50
{
51
- $ this ->xpath = new DOMXpath ($ this ->dom );
51
+ $ this ->xpath = new DOMXPath ($ this ->dom );
52
52
foreach ($ this ->xpath ->query ('* ' , $ nodeRowElement ) ?: [] as $ nodeElement ) {
53
53
if ($ parent instanceof Element \Semantics
54
54
&& $ nodeElement instanceof DOMElement
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class OfficeMathML implements ReaderInterface
18
18
/** @var Math */
19
19
protected $ math ;
20
20
21
- /** @var DOMXpath */
21
+ /** @var DOMXPath */
22
22
protected $ xpath ;
23
23
24
24
/** @var string[] */
@@ -52,7 +52,7 @@ public function read(string $content): ?Math
52
52
*/
53
53
protected function parseNode (?DOMNode $ nodeRowElement , $ parent ): void
54
54
{
55
- $ this ->xpath = new DOMXpath ($ this ->dom );
55
+ $ this ->xpath = new DOMXPath ($ this ->dom );
56
56
foreach ($ this ->xpath ->query ('* ' , $ nodeRowElement ) ?: [] as $ nodeElement ) {
57
57
$ element = $ this ->getElement ($ nodeElement );
58
58
$ parent ->add ($ element );
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ public function testWriteNotImplemented(): void
95
95
96
96
$ math = new Math ();
97
97
98
- $ object = new class () extends Element \AbstractElement {};
98
+ $ object = new class extends Element \AbstractElement {};
99
99
$ math ->add ($ object );
100
100
101
101
$ writer = new MathML ();
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public function testWriteNotImplemented(): void
70
70
71
71
$ math = new Math ();
72
72
73
- $ object = new class () extends Element \AbstractElement {};
73
+ $ object = new class extends Element \AbstractElement {};
74
74
$ math ->add ($ object );
75
75
76
76
$ writer = new OfficeMathML ();
You can’t perform that action at this time.
0 commit comments