Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bump peaceiris/actions-gh-pages from 3 to 4 #13

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

### Deploy
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion docs/changes/0.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
- Github Action : Roave BC Check by [@Progi1984](https://github/Progi1984) in [#9](https://github.com/PHPOffice/Math/pull/9)
- Bump actions/checkout from 2 to 4 by [@dependabot](https://github/dependabot) in [#10](https://github.com/PHPOffice/Math/pull/10)
- Bump actions/setup-python from 2 to 4 by [@dependabot](https://github/dependabot) in [#11](https://github.com/PHPOffice/Math/pull/11)
- Bump actions/setup-python from 4 to 5 by [@dependabot](https://github/dependabot) in [#12](https://github.com/PHPOffice/Math/pull/12)
- Bump actions/setup-python from 4 to 5 by [@dependabot](https://github/dependabot) in [#12](https://github.com/PHPOffice/Math/pull/12)
- Bump peaceiris/actions-gh-pages from 3 to 4 by [@dependabot](https://github/dependabot) in [#12](https://github.com/PHPOffice/Math/pull/13)
4 changes: 2 additions & 2 deletions src/Math/Reader/MathML.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class MathML implements ReaderInterface
/** @var DOMDocument */
private $dom;

/** @var DOMXpath */
/** @var DOMXPath */
private $xpath;

public function read(string $content): ?Math
Expand Down Expand Up @@ -48,7 +48,7 @@ public function read(string $content): ?Math
*/
protected function parseNode(?DOMNode $nodeRowElement, $parent): void
{
$this->xpath = new DOMXpath($this->dom);
$this->xpath = new DOMXPath($this->dom);
foreach ($this->xpath->query('*', $nodeRowElement) ?: [] as $nodeElement) {
if ($parent instanceof Element\Semantics
&& $nodeElement instanceof DOMElement
Expand Down
4 changes: 2 additions & 2 deletions src/Math/Reader/OfficeMathML.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class OfficeMathML implements ReaderInterface
/** @var Math */
protected $math;

/** @var DOMXpath */
/** @var DOMXPath */
protected $xpath;

/** @var string[] */
Expand Down Expand Up @@ -52,7 +52,7 @@ public function read(string $content): ?Math
*/
protected function parseNode(?DOMNode $nodeRowElement, $parent): void
{
$this->xpath = new DOMXpath($this->dom);
$this->xpath = new DOMXPath($this->dom);
foreach ($this->xpath->query('*', $nodeRowElement) ?: [] as $nodeElement) {
$element = $this->getElement($nodeElement);
$parent->add($element);
Expand Down
2 changes: 1 addition & 1 deletion tests/Math/Writer/MathMLTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function testWriteNotImplemented(): void

$math = new Math();

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

$writer = new MathML();
Expand Down
2 changes: 1 addition & 1 deletion tests/Math/Writer/OfficeMathMLTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function testWriteNotImplemented(): void

$math = new Math();

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

$writer = new OfficeMathML();
Expand Down