Skip to content

Commit 027efbd

Browse files
committed
Merge branch 'develop'
2 parents 8b63f9e + 23a0a16 commit 027efbd

File tree

4 files changed

+30
-24
lines changed

4 files changed

+30
-24
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ Add the TranslationValidator as a dependency:
4545
}
4646
}
4747

48-
Then add the `php translation.php` call you run locally to your `.travis.yml` file.
48+
Then add a `php vendor/bin/translation.php` call to your `.travis.yml` file.
4949

50-
We use Travis-CI as a continous intergtation server and phpunit for our unit testing. See more information on the [phpBB development wiki](https://wiki.phpbb.com/Unit_Tests).
50+
We use Travis-CI as a continuous integration server and phpunit for our unit testing. See more information on the [phpBB development wiki](https://wiki.phpbb.com/Unit_Tests).
5151

5252
To run the unit tests locally, use this command:
5353

composer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929
"require-dev": {
3030
"phpunit/phpunit": "~5.7"
3131
},
32+
"bin": [
33+
"translation.php"
34+
],
35+
"config": {
36+
"bin-dir": "bin"
37+
},
3238
"autoload": {
3339
"classmap": [
3440
"src/",

composer.lock

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

translation.php

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

11-
require __DIR__ . '/vendor/autoload.php';
11+
require 'vendor/autoload.php';
1212

1313
use Phpbb\TranslationValidator\Cli;
1414

0 commit comments

Comments
 (0)