Code development platform for open source projects from the European Union institutions

Commit 7d3bc41b authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

sa: add `psalm` baseline

parent 8e15da51
Loading
Loading
Loading
Loading

psalm-baseline.xml

0 → 100644
+13 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.1.0@4defa177c89397c5e14737a80fe4896584130674">
  <file src="src/Security/Core/User/EuLoginUser.php">
    <InvalidReturnStatement occurrences="2">
      <code>$this-&gt;getAttributes()['extendedAttributes'] ?? []</code>
      <code>$this-&gt;getAttributes()['groups'] ?? []</code>
    </InvalidReturnStatement>
    <InvalidReturnType occurrences="2">
      <code>array</code>
      <code>array</code>
    </InvalidReturnType>
  </file>
</files>
+1 −0
Original line number Diff line number Diff line
@@ -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" />