Skip to content

Commit c4d3d6c

Browse files
committed
Formatting and typo fixes
1 parent 44453b7 commit c4d3d6c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/Phpbb/TranslationValidator/Validator/FileValidator.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,8 @@ public function setSafeMode($safeMode)
274274
*/
275275
public function openComposerJson($originFile)
276276
{
277-
$fileContents = (string) file_get_contents($this->originPath . '/' . $originFile);
277+
$fileContents = (string) file_get_contents($this->originPath . '/' . $originFile);
278+
278279
return json_decode($fileContents, true);
279280
}
280281

@@ -623,7 +624,7 @@ public function validateJsonFile($originFile)
623624
}
624625
elseif (count ($jsonContent['support']) < 1)
625626
{
626-
$this->output->addMessage(Output::ERROR, 'The support value has not sub values. Please provide at least one contact option e.g. forum, email.', $originFile);
627+
$this->output->addMessage(Output::ERROR, 'The support category has no values. Please provide at least one contact option e.g. forum or email.', $originFile);
627628
}
628629
// Check for the extra-section
629630
if (!array_key_exists('extra', $jsonContent))

0 commit comments

Comments
 (0)