[Galactica] V5 - tests
This commit is contained in:
parent
a3ce2679e6
commit
23b1794321
|
@ -32,7 +32,7 @@ jobs:
|
|||
run: ./vendor/bin/phpunit --coverage-clover build/logs/coverage.xml
|
||||
- name: Run Coveralls
|
||||
env:
|
||||
XDEBUG_MODE: coverage
|
||||
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: ./vendor/bin/php-coveralls -v --coverage_clover build/logs/coverage.xml
|
||||
|
||||
unit_tests_81:
|
||||
|
@ -54,7 +54,3 @@ jobs:
|
|||
env:
|
||||
XDEBUG_MODE: coverage
|
||||
run: ./vendor/bin/phpunit --coverage-clover build/logs/coverage.xml
|
||||
- name: Run Coveralls
|
||||
env:
|
||||
XDEBUG_MODE: coverage
|
||||
run: ./vendor/bin/php-coveralls -v --coverage_clover build/logs/coverage.xml
|
||||
|
|
|
@ -441,7 +441,7 @@ class Runtime
|
|||
*/
|
||||
public function getHostPort(): ?int
|
||||
{
|
||||
$info = explode(':', $this->getWorkingHost());
|
||||
$info = explode(':', strval($this->getWorkingHost()));
|
||||
return isset($info[1]) ? intval($info[1]) : null;
|
||||
}
|
||||
|
||||
|
@ -450,7 +450,7 @@ class Runtime
|
|||
*/
|
||||
public function getHostName(): ?string
|
||||
{
|
||||
if (strpos($this->getWorkingHost(), ':') === false) {
|
||||
if (strpos(strval($this->getWorkingHost()), ':') === false) {
|
||||
return $this->getWorkingHost();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue