Skip to content

Commit 955de33

Browse files
author
Codeliner
committed
Activate display errors for debugging travis
1 parent 55cdaee commit 955de33

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ before_script:
2626

2727
script:
2828
- php ./bin/phpunit -c ./module/Application/tests/PHPUnit
29-
- bin/behat -v
29+
- bin/behat --verbose
3030

module/Application/src/Application/Controller/CargoController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function indexAction()
5858
public function showAction()
5959
{
6060
$trackingId = $this->getEvent()->getRouteMatch()->getParam('trackingid');
61-
61+
6262
if (is_null($trackingId)) {
6363
throw new \InvalidArgumentException('Cargo can not be found. TrackingId missing!');
6464
}

public/index.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
*/
66
chdir(dirname(__DIR__));
77

8+
error_reporting(E_ALL);
9+
ini_set('display_errors', 1);
10+
811
// Decline static file requests back to the PHP built-in webserver
912
if (php_sapi_name() === 'cli-server' && is_file(__DIR__ . parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH))) {
1013
return false;

0 commit comments

Comments
 (0)