Skip to content

Commit 709f674

Browse files
committed
Updated tests to pass on travis
1 parent 8f90487 commit 709f674

5 files changed

Lines changed: 23 additions & 22 deletions

File tree

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ php:
44
- 5.4
55
- 5.5
66
- 5.6
7-
- hhvm
7+
# - hhvm
8+
# disabled hhvm because of a bug in 3.2.0 which is resolved in 3.3.0
9+
# see: https://github.com/facebook/hhvm/issues/3932
810

911
install:
1012
- composer install

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
},
3737
"require-dev" : {
3838
"phpunit/phpunit" : "~4",
39-
"sami/sami" : "~1"
39+
"sami/sami" : "~2"
4040
}
4141
}

composer.lock

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

sami.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
return new Sami($iterator, [
1010
'title' => 'CodeGen API Documentation',
1111
'build_dir' => __DIR__ . '/api',
12-
'default_opened_level' => 2
12+
'default_opened_level' => 2,
13+
'theme' => 'enhanced'
1314
]);

tests/model/PhpParameterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace CG\Tests\Model;
2+
namespace gossi\codegen\tests\model;
33

44
use gossi\codegen\model\PhpParameter;
55

0 commit comments

Comments
 (0)