From 6744147bf9d8dc9ea4cde43e34f2dbb1c032999e Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Wed, 31 Mar 2021 17:40:18 +0200 Subject: [PATCH] PHP syntax check for dictionnaries : change wrong file ext to avoid having errors in the IDE I was hoping a @noinspection annotation could be the answer but I didn't find any corresponding inspection key to disable :/ --- test/integration/DictionariesConsistencyTest.php | 2 +- ...ry.itop.core.KO.php => fr.dictionary.itop.core.KO.wrong_php} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename test/integration/dictionaries-test/{fr.dictionary.itop.core.KO.php => fr.dictionary.itop.core.KO.wrong_php} (100%) diff --git a/test/integration/DictionariesConsistencyTest.php b/test/integration/DictionariesConsistencyTest.php index 23bf4ff59..06ec9e088 100644 --- a/test/integration/DictionariesConsistencyTest.php +++ b/test/integration/DictionariesConsistencyTest.php @@ -128,7 +128,7 @@ class DictionariesConsistencyTest extends ItopTestCase */ public function testPlaygroundDictionariesPhpSyntax(): void { - $this->CheckDictionarySyntax(__DIR__.'/dictionaries-test/fr.dictionary.itop.core.KO.php', false); + $this->CheckDictionarySyntax(__DIR__.'/dictionaries-test/fr.dictionary.itop.core.KO.wrong_php', false); /** @noinspection PhpRedundantOptionalArgumentInspection */ $this->CheckDictionarySyntax(__DIR__.'/dictionaries-test/fr.dictionary.itop.core.OK.php', true); } diff --git a/test/integration/dictionaries-test/fr.dictionary.itop.core.KO.php b/test/integration/dictionaries-test/fr.dictionary.itop.core.KO.wrong_php similarity index 100% rename from test/integration/dictionaries-test/fr.dictionary.itop.core.KO.php rename to test/integration/dictionaries-test/fr.dictionary.itop.core.KO.wrong_php