Skip to content

Commit a107d46

Browse files
committed
Change required license to GPL-2.0-only
1 parent de46382 commit a107d46

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Phpbb/TranslationValidator/Validator/FileValidator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,9 +602,9 @@ public function validateJsonFile($originFile)
602602
$this->output->addMessage(Output::FATAL, 'The homepage value is missing, can be an empty string.', $originFile);
603603
}
604604
// Check for the correct license value
605-
if (!$jsonContent['license'] == 'GPL-2.0')
605+
if ($jsonContent['license'] != 'GPL-2.0-only')
606606
{
607-
$this->output->addMessage(Output::FATAL, 'The license value has to be "GPL-2.0"', $originFile);
607+
$this->output->addMessage(Output::FATAL, 'The license value has to be "GPL-2.0-only"', $originFile);
608608
}
609609
// Check for the authors
610610
if (!array_key_exists('authors', $jsonContent))

0 commit comments

Comments
 (0)