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 :/
This commit is contained in:
Pierre Goiffon
2021-03-31 17:40:18 +02:00
parent fcb84423ea
commit 6744147bf9
2 changed files with 1 additions and 1 deletions

View File

@@ -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);
}