Skip to content

Commit

Permalink
[TASK] Update the development tools
Browse files Browse the repository at this point in the history
Also update the Psalm baseline.
  • Loading branch information
oliverklee committed Feb 24, 2024
1 parent 63065fb commit 0c6dac9
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .phive/phars.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="composer-normalize" version="^2.36.0" installed="2.36.0" location="./.phive/composer-normalize" copy="false"/>
<phar name="php-cs-fixer" version="^3.26.1" installed="3.26.1" location="./.phive/php-cs-fixer" copy="false"/>
<phar name="phpmd" version="^2.13.0" installed="2.13.0" location="./.phive/phpmd" copy="false"/>
<phar name="psalm" version="^5.15.0" installed="5.15.0" location="./.phive/psalm" copy="false"/>
<phar name="composer-normalize" version="^2.42.0" installed="2.42.0" location="./.phive/composer-normalize" copy="false"/>
<phar name="php-cs-fixer" version="^3.50.0" installed="3.50.0" location="./.phive/php-cs-fixer" copy="false"/>
<phar name="phpmd" version="^2.15.0" installed="2.15.0" location="./.phive/phpmd" copy="false"/>
<phar name="psalm" version="^5.22.2" installed="5.22.2" location="./.phive/psalm" copy="false"/>
</phive>
27 changes: 25 additions & 2 deletions psalm.baseline.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.15.0@5c774aca4746caf3d239d9c8cadb9f882ca29352">
<files psalm-version="5.22.2@d768d914152dbbf3486c36398802f74e80cfde48">
<file src="src/CssInliner.php">
<MixedAssignment>
<code><![CDATA[$path]]></code>
</MixedAssignment>
<MixedOperand>
<code><![CDATA[$path]]></code>
</MixedOperand>
<PossiblyInvalidArgument>
<code><![CDATA[$styleNode]]></code>
</PossiblyInvalidArgument>
<PossiblyUndefinedMethod>
<code><![CDATA[getNodePath]]></code>
</PossiblyUndefinedMethod>
</file>
<file src="src/HtmlProcessor/HtmlPruner.php">
<InvalidArgument>
<code><![CDATA[$elementsWithClassAttribute]]></code>
<code><![CDATA[$elementsWithClassAttribute]]></code>
</InvalidArgument>
<PossiblyInvalidArgument>
<code><![CDATA[$element]]></code>
</PossiblyInvalidArgument>
</file>
<file src="tests/Support/Constraint/CssConstraint.php">
<DirectConstructorCall>
<code>parent::__construct()</code>
<code><![CDATA[parent::__construct()]]></code>
</DirectConstructorCall>
</file>
</files>

0 comments on commit 0c6dac9

Please sign in to comment.