Skip to content

Commit

Permalink
Update Psalm baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
alies-dev committed Oct 27, 2024
1 parent 67f60eb commit 7f99a4c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@
],
'single_trait_insert_per_statement' => true,
])
->setFinder($finder);
->setFinder($finder)
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect());
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
"cs": "vendor/bin/php-cs-fixer fix --allow-risky=yes",
"psalm": "vendor/bin/psalm",
"psalm:ci": "vendor/bin/psalm --shepherd",
"sa": "@psalm",
"sa:bl": "vendor/bin/psalm --set-baseline=psalm-baseline.xml --long-progress --threads=1",
"test": "vendor/bin/phpunit"
}
}
14 changes: 13 additions & 1 deletion psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.22.2@d768d914152dbbf3486c36398802f74e80cfde48">
<files psalm-version="5.26.1@d747f6500b38ac4f7dfc5edbcae6e4b637d7add0">
<file src="src/Commands/FindMissingTranslations.php">
<InvalidScalarArgument>
<code><![CDATA[$excludeLocales]]></code>
<code><![CDATA[$onlyLocales]]></code>
</InvalidScalarArgument>
<MixedArgument>
<code><![CDATA[$baseLanguageFile]]></code>
<code><![CDATA[$currentLocaleDirectoryPath]]></code>
<code><![CDATA[$currentLocaleDirectoryPath]]></code>
<code><![CDATA[$secondLanguageFile]]></code>
</MixedArgument>
<MixedAssignment>
Expand All @@ -25,7 +30,14 @@
<code><![CDATA[FindMissingTranslations]]></code>
</PropertyNotSetInConstructor>
<RiskyTruthyFalsyComparison>
<code><![CDATA[$excludeLocales]]></code>
<code><![CDATA[$onlyLocales]]></code>
<code><![CDATA[$this->option('base')]]></code>
</RiskyTruthyFalsyComparison>
</file>
<file src="tests/TestCase.php">
<LessSpecificImplementedReturnType>
<code><![CDATA[array]]></code>
</LessSpecificImplementedReturnType>
</file>
</files>

0 comments on commit 7f99a4c

Please sign in to comment.