diff --git a/.gitignore b/.gitignore index 2f5790c..18dfb74 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ /vendor/ /.idea/ /bin/ -/3.0/ -/3.1/ /3.2/ +/3.3/ diff --git a/composer.json b/composer.json index 329b631..16723ca 100644 --- a/composer.json +++ b/composer.json @@ -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": [ { diff --git a/src/Phpbb/TranslationValidator/Command/ValidateCommand.php b/src/Phpbb/TranslationValidator/Command/ValidateCommand.php index 9a65e23..5ca77b7 100644 --- a/src/Phpbb/TranslationValidator/Command/ValidateCommand.php +++ b/src/Phpbb/TranslationValidator/Command/ValidateCommand.php @@ -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); diff --git a/translation.php b/translation.php index 42fc851..b818804 100644 --- a/translation.php +++ b/translation.php @@ -8,7 +8,7 @@ * */ -const TRANSLATION_VALIDATOR_VERSION = '1.5.1'; +const TRANSLATION_VALIDATOR_VERSION = '1.5.2'; require 'vendor/autoload.php';