Skip to content

Commit

Permalink
fix: Add PSalm baseline.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jul 13, 2022
1 parent 84731e7 commit c60f317
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions composer.json
Expand Up @@ -32,7 +32,10 @@
"friends-of-behat/mink-extension": "^2.5",
"friends-of-behat/symfony-extension": "^2.2",
"nyholm/psr7": "^1",
"phpstan/phpstan-symfony": "^1.2",
"psalm/plugin-symfony": "^3.1",
"soyuka/contexts": "^3.3",
"symfony/config": "^6.1",
"symfony/http-client": "^5.4 || ^6",
"symfony/monolog-bundle": "^3.7",
"symfony/security-bundle": "^5.4 || ^6"
Expand Down
16 changes: 16 additions & 0 deletions psalm-baseline.xml
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.24.0@06dd975cb55d36af80f242561738f16c5f58264f">
<file src="src/DependencyInjection/Configuration.php">
<ReservedWord occurrences="1"/>
</file>
<file src="src/DependencyInjection/EuLoginApiAuthenticationExtension.php">
<ReservedWord occurrences="1">
<code>$loader-&gt;load('services.php')</code>
</ReservedWord>
</file>
<file src="src/Service/EuLoginApiCredentials.php">
<UndefinedMethod occurrences="1">
<code>build</code>
</UndefinedMethod>
</file>
</files>
1 change: 1 addition & 0 deletions psalm.xml
Expand Up @@ -5,6 +5,7 @@
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"
>
<projectFiles>
<directory name="src" />
Expand Down

0 comments on commit c60f317

Please sign in to comment.