Skip to content

Commit e0a2274

Browse files
authored
Merge pull request #65 from Crizz0/for-phpBB-3.3-and-release1.5.2
Bump version to 1.5.2 and add 3.3 to allowed versions
2 parents 4fefa3d + 89d25e3 commit e0a2274

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/vendor/
22
/.idea/
33
/bin/
4-
/3.0/
5-
/3.1/
64
/3.2/
5+
/3.3/

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "phpbb/translation-validator",
33
"description": "A language package validator for phpBB language packs. Language packs are required to pass the validator when submitted to the language pack database.",
44
"homepage": "https://github.com/phpbb/phpbb-translation-validator",
5-
"version": "1.5.1",
5+
"version": "1.5.2",
66
"license": "GPL-2.0-only",
77
"authors": [
88
{

src/Phpbb/TranslationValidator/Command/ValidateCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
5252
$displayNotices = $input->getOption('display-notices');
5353
$safeMode = $input->getOption('safe-mode');
5454

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

6060
$output = new Output($output, $debug);

translation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*/
1010

11-
const TRANSLATION_VALIDATOR_VERSION = '1.5.1';
11+
const TRANSLATION_VALIDATOR_VERSION = '1.5.2';
1212

1313
require 'vendor/autoload.php';
1414

0 commit comments

Comments
 (0)