Skip to content

Commit e4b72f4

Browse files
authored
Merge pull request #20 from Divergence/develop
v2.1.0
2 parents bd73748 + 12f61e0 commit e4b72f4

25 files changed

Lines changed: 978 additions & 453 deletions

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ phpDocumentor.phar
88
docs
99
.vscode
1010
composer.lock
11-
.phpunit.result.cache
11+
.phpunit.result.cache
12+
clover.xml

.scrutinizer.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ build:
2323
dependencies:
2424
before:
2525
- mysql -u root -e "CREATE DATABASE IF NOT EXISTS test CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;"
26+
- sudo apt install -y ffmpeg exiftool
2627
tests:
2728
override:
2829
- command: ./vendor/bin/phpunit --coverage-clover=build/coverage/clover.xml # Or "./vendor/bin/phpunit --coverage-clover=build/coverage/clover.xml"

src/App.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function init($Path)
3535
{
3636
$this->ApplicationPath = $Path;
3737

38-
if (php_sapi_name()!=='cli') {
38+
if (php_sapi_name()!=='cli' || defined('PHPUNIT_TESTSUITE')) {
3939
$this->Path = new Path($_SERVER['REQUEST_URI']);
4040
}
4141

0 commit comments

Comments
 (0)