From a4f7f3486c5122afdd2232ed921a57300c655eb4 Mon Sep 17 00:00:00 2001 From: Fran Moreno Date: Sun, 16 May 2021 13:22:19 +0200 Subject: [PATCH] Ignore psalm issues They are related to Symfony, it has also been removed the psalm-baseline since it is not applicable anymore. --- psalm-baseline.xml | 9 --------- psalm.xml | 2 +- src/DependencyInjection/Configuration.php | 5 +++++ 3 files changed, 6 insertions(+), 10 deletions(-) delete mode 100644 psalm-baseline.xml diff --git a/psalm-baseline.xml b/psalm-baseline.xml deleted file mode 100644 index a6b51422..00000000 --- a/psalm-baseline.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - children - - - diff --git a/psalm.xml b/psalm.xml index b61fd1e0..169eebfb 100644 --- a/psalm.xml +++ b/psalm.xml @@ -1,5 +1,5 @@ - + diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 0ff9645b..c7e94464 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -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');