Skip to content

Commit 89d25e3

Browse files
committed
Bump version to 1.5.2 and add 3.3 to allowed versions
1 parent e4ed353 commit 89d25e3

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

Diff for: .gitignore

+1-2
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/

Diff for: composer.json

+1-1
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
{

Diff for: src/Phpbb/TranslationValidator/Command/ValidateCommand.php

+2-2
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);

Diff for: translation.php

+1-1
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)