Skip to content

Commit

Permalink
Merge pull request #65 from Crizz0/for-phpBB-3.3-and-release1.5.2
Browse files Browse the repository at this point in the history
Bump version to 1.5.2 and add 3.3 to allowed versions
  • Loading branch information
Crizz0 authored Jan 5, 2020
2 parents 4fefa3d + 89d25e3 commit e0a2274
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/vendor/
/.idea/
/bin/
/3.0/
/3.1/
/3.2/
/3.3/
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "phpbb/translation-validator",
"description": "A language package validator for phpBB language packs. Language packs are required to pass the validator when submitted to the language pack database.",
"homepage": "https://github.com/phpbb/phpbb-translation-validator",
"version": "1.5.1",
"version": "1.5.2",
"license": "GPL-2.0-only",
"authors": [
{
Expand Down
4 changes: 2 additions & 2 deletions src/Phpbb/TranslationValidator/Command/ValidateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
$displayNotices = $input->getOption('display-notices');
$safeMode = $input->getOption('safe-mode');

if (!in_array($phpbbVersion, array('3.2')))
if (!in_array($phpbbVersion, array('3.2', '3.3')))
{
throw new \RuntimeException('Invalid phpbb-version, allowed versions: 3.2');
throw new \RuntimeException('Invalid phpbb-version, allowed versions: 3.2 and 3.3');
}

$output = new Output($output, $debug);
Expand Down
2 changes: 1 addition & 1 deletion translation.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*/

const TRANSLATION_VALIDATOR_VERSION = '1.5.1';
const TRANSLATION_VALIDATOR_VERSION = '1.5.2';

require 'vendor/autoload.php';

Expand Down

0 comments on commit e0a2274

Please sign in to comment.