Skip to content

Commit

Permalink
Merge pull request #13 from chimeraphp/fix-build
Browse files Browse the repository at this point in the history
Fix build
  • Loading branch information
lcobucci authored Oct 22, 2018
2 parents 2230755 + 2dec52b commit 16216e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ jobs:
- mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{.disabled,}
- if [[ ! $(php -m | grep -si xdebug) ]]; then echo "xdebug required for mutation tests"; exit 1; fi
script:
- ./vendor/bin/infection --test-framework-options='--testsuite=unit' --threads=4 --min-msi=8 --min-covered-msi=100
- ./vendor/bin/infection --test-framework-options='--testsuite=unit' --threads=$(nproc) --min-msi=7 --min-covered-msi=100
2 changes: 1 addition & 1 deletion src/Routing/Expressive/RegisterServices.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ private function registerServiceLocator(ContainerBuilder $container, array $serv
function (string $id): Reference {
return new Reference($id);
},
array_combine($services, $services)
(array) array_combine($services, $services)
)
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceBus/Tactician/RegisterServices.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ private function registerServiceLocator(ContainerBuilder $container, array $hand
function (string $id): Reference {
return new Reference($id);
},
array_combine($serviceIds, $serviceIds)
(array) array_combine($serviceIds, $serviceIds)
)
);
}
Expand Down

0 comments on commit 16216e6

Please sign in to comment.