Skip to content

Commit

Permalink
Merge pull request #96 from cakephp/2.x-stan-update
Browse files Browse the repository at this point in the history
2.x: stan update
  • Loading branch information
dereuromark authored Jan 21, 2024
2 parents e758e62 + bab96b9 commit 8b543dd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 45 deletions.
4 changes: 2 additions & 2 deletions .phive/phars.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="phpstan" version="1.9.12" installed="1.9.12" location="./tools/phpstan" copy="false"/>
<phar name="psalm" version="5.4.0" installed="5.4.0" location="./tools/psalm" copy="false"/>
<phar name="phpstan" version="1.10.56" installed="1.10.56" location="./tools/phpstan" copy="false"/>
<phar name="psalm" version="5.20.0" installed="5.20.0" location="./tools/psalm" copy="false"/>
</phive>
40 changes: 0 additions & 40 deletions psalm-baseline.xml

This file was deleted.

4 changes: 3 additions & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
errorBaseline="psalm-baseline.xml"
autoloader="tests/bootstrap.php"
findUnusedPsalmSuppress="true"
findUnusedBaselineEntry="true"
findUnusedCode="false"
>
<projectFiles>
<directory name="src"/>
Expand Down
3 changes: 1 addition & 2 deletions src/Twig/Extension/StringsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ public function getFilters(): array
new TwigFilter('utf8', 'Cake\Utility\Text::utf8'),
new TwigFilter('ascii', 'Cake\Utility\Text::ascii'),
new TwigFilter('parseFileSize', 'Cake\Utility\Text::parseFileSize'),
new TwigFilter('none', function ($string): void {
return;
new TwigFilter('none', function (): void {
}),
];
}
Expand Down

0 comments on commit 8b543dd

Please sign in to comment.