File tree Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,6 @@ branches:
2626
2727matrix :
2828 fast_finish : true
29- allow_failures :
30- - php : hhvm
3129 include :
3230 - php : 5.5
3331 env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci" SYMFONY_VERSION=2.7.*
Original file line number Diff line number Diff line change @@ -21,7 +21,11 @@ public function registerBundles()
2121 */
2222 public function registerContainerConfiguration (LoaderInterface $ loader )
2323 {
24- $ loader ->load (__DIR__ .'/config/config.yml ' );
24+ $ runtime = 'php ' ;
25+ if (defined ('HHVM_VERSION ' )) {
26+ $ runtime = 'hhvm ' ;
27+ }
28+ $ loader ->load (__DIR__ .'/config/config_ ' .$ runtime .'.yml ' );
2529 }
2630
2731 /**
Original file line number Diff line number Diff line change 1+ framework :
2+ secret : php-http
3+ test : ~
4+
5+ # Do not use auto discovery
6+ httplug :
7+ classes :
8+ client : Http\Adapter\Guzzle6\Client
9+ message_factory : Http\Message\MessageFactory\GuzzleMessageFactory
10+ uri_factory : Http\Message\UriFactory\GuzzleUriFactory
11+ stream_factory : Http\Message\StreamFactory\GuzzleStreamFactory
Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ framework:
22 secret : php-http
33 test : ~
44
5+ # Use auto discovery
56httplug : ~
You can’t perform that action at this time.
0 commit comments