Skip to content

Commit d1f0d1f

Browse files
authored
Merge pull request #13 from PHPOffice/dependabot/github_actions/peaceiris/actions-gh-pages-4
Bump peaceiris/actions-gh-pages from 3 to 4
2 parents 0f62d45 + 49d660b commit d1f0d1f

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
### Deploy
4646
- name: Deploy
47-
uses: peaceiris/actions-gh-pages@v3
47+
uses: peaceiris/actions-gh-pages@v4
4848
if: github.ref == 'refs/heads/master'
4949
with:
5050
github_token: ${{ secrets.GITHUB_TOKEN }}

docs/changes/0.2.0.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
- Github Action : Roave BC Check by [@Progi1984](https://github/Progi1984) in [#9](https://github.com/PHPOffice/Math/pull/9)
1414
- Bump actions/checkout from 2 to 4 by [@dependabot](https://github/dependabot) in [#10](https://github.com/PHPOffice/Math/pull/10)
1515
- 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)

src/Math/Reader/MathML.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class MathML implements ReaderInterface
1919
/** @var DOMDocument */
2020
private $dom;
2121

22-
/** @var DOMXpath */
22+
/** @var DOMXPath */
2323
private $xpath;
2424

2525
public function read(string $content): ?Math
@@ -48,7 +48,7 @@ public function read(string $content): ?Math
4848
*/
4949
protected function parseNode(?DOMNode $nodeRowElement, $parent): void
5050
{
51-
$this->xpath = new DOMXpath($this->dom);
51+
$this->xpath = new DOMXPath($this->dom);
5252
foreach ($this->xpath->query('*', $nodeRowElement) ?: [] as $nodeElement) {
5353
if ($parent instanceof Element\Semantics
5454
&& $nodeElement instanceof DOMElement

src/Math/Reader/OfficeMathML.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class OfficeMathML implements ReaderInterface
1818
/** @var Math */
1919
protected $math;
2020

21-
/** @var DOMXpath */
21+
/** @var DOMXPath */
2222
protected $xpath;
2323

2424
/** @var string[] */
@@ -52,7 +52,7 @@ public function read(string $content): ?Math
5252
*/
5353
protected function parseNode(?DOMNode $nodeRowElement, $parent): void
5454
{
55-
$this->xpath = new DOMXpath($this->dom);
55+
$this->xpath = new DOMXPath($this->dom);
5656
foreach ($this->xpath->query('*', $nodeRowElement) ?: [] as $nodeElement) {
5757
$element = $this->getElement($nodeElement);
5858
$parent->add($element);

tests/Math/Writer/MathMLTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function testWriteNotImplemented(): void
9595

9696
$math = new Math();
9797

98-
$object = new class() extends Element\AbstractElement {};
98+
$object = new class extends Element\AbstractElement {};
9999
$math->add($object);
100100

101101
$writer = new MathML();

tests/Math/Writer/OfficeMathMLTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function testWriteNotImplemented(): void
7070

7171
$math = new Math();
7272

73-
$object = new class() extends Element\AbstractElement {};
73+
$object = new class extends Element\AbstractElement {};
7474
$math->add($object);
7575

7676
$writer = new OfficeMathML();

0 commit comments

Comments
 (0)