Skip to content

Commit

Permalink
Ignore psalm issues
Browse files Browse the repository at this point in the history
They are related to Symfony, it has also been removed the psalm-baseline
since it is not applicable anymore.
  • Loading branch information
franmomu committed May 16, 2021
1 parent 40035bb commit a4f7f34
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
9 changes: 0 additions & 9 deletions psalm-baseline.xml

This file was deleted.

2 changes: 1 addition & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<psalm 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" autoloader="vendor/bin/.phpunit/phpunit/vendor/autoload.php" errorBaseline="psalm-baseline.xml" errorLevel="2">
<psalm 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" autoloader="vendor/bin/.phpunit/phpunit/vendor/autoload.php" errorLevel="2" findUnusedPsalmSuppress="true">
<projectFiles>
<directory name="src"/>
<directory name="tests"/>
Expand Down
5 changes: 5 additions & 0 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
*/
final class Configuration implements ConfigurationInterface
{
/**
* @psalm-suppress PossiblyNullReference, PossiblyUndefinedMethod
*
* @see https://github.com/psalm/psalm-plugin-symfony/issues/174
*/
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder('sonata_translation');
Expand Down

0 comments on commit a4f7f34

Please sign in to comment.