Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

PSL2 is currently not supported #37

Merged
merged 1 commit into from
Sep 2, 2022
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
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="phpunit" version="^9.5.10" installed="9.5.10" location="./tools/phpunit.phar" copy="true"/>
<phar name="psalm" version="^4.15.0" installed="4.20.0" location="./tools/psalm.phar" copy="true"/>
<phar name="infection" version="^0.26" installed="0.26.4" location="./tools/infection.phar" copy="true"/>
<phar name="php-cs-fixer" version="^3.3.2" installed="3.3.2" location="./tools/php-cs-fixer.phar" copy="true"/>
<phar name="phpunit" version="^9.5.10" installed="9.5.24" location="./tools/phpunit.phar" copy="true"/>
<phar name="psalm" version="^4.15.0" installed="4.27.0" location="./tools/psalm.phar" copy="true"/>
<phar name="infection" version="^0.26" installed="0.26.14" location="./tools/infection.phar" copy="true"/>
<phar name="php-cs-fixer" version="^3.3.2" installed="3.11.0" location="./tools/php-cs-fixer.phar" copy="true"/>
</phive>
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"ext-xsl": "*",
"ext-xmlreader": "*",
"ext-xmlwriter": "*",
"azjezz/psl": "^1.9 || ^2.0",
"azjezz/psl": "^1.9",
"webmozart/assert": "^1.10"
},
"require-dev": {
Expand Down
1 change: 0 additions & 1 deletion src/Xml/Xslt/Configurator/profiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ function profiler(string $profilingFile): callable
{
return static fn (XSLTProcessor $processor)
=> disallow_issues(static function () use ($processor, $profilingFile) : XSLTProcessor {

// ext-xsl doesn't trigger errors if the file does not exist. We'll do it for you!
Assert::notEmpty($profilingFile);
$dir = dirname($profilingFile);
Expand Down
2 changes: 1 addition & 1 deletion tests/Xml/Helper/TmpFileTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
trait TmpFileTrait
{
/**
* @param callable(string): void
* @param callable(string): void $run
*/
private function createTmpFile(callable $run): void
{
Expand Down
Binary file modified tools/infection.phar
Binary file not shown.
Binary file modified tools/php-cs-fixer.phar
Binary file not shown.
154,376 changes: 78,766 additions & 75,610 deletions tools/phpunit.phar

Large diffs are not rendered by default.

Binary file modified tools/psalm.phar
Binary file not shown.