Fix the build pipeline in GitHub Actions

This commit is contained in:
Matthias Pigulla
2022-11-24 19:08:50 +01:00
committed by GitHub
parent 572c34e648
commit 5ca39f87ff
9 changed files with 103 additions and 28 deletions

View File

@@ -132,7 +132,7 @@ final class ContextServiceEnvironmentHandler implements EnvironmentHandler
throw new SuiteConfigurationException(sprintf(
'"contexts" setting of the "%s" suite is expected to be an array, %s given.',
$suite->getName(),
gettype($contexts)
gettype($contexts),
), $suite->getName());
}
@@ -147,7 +147,7 @@ final class ContextServiceEnvironmentHandler implements EnvironmentHandler
throw new SuiteConfigurationException(sprintf(
'"contexts" setting of the "%s" suite is expected to be an array, %s given.',
$suite->getName(),
gettype($contexts)
gettype($contexts),
), $suite->getName());
}
@@ -182,7 +182,7 @@ final class ContextServiceEnvironmentHandler implements EnvironmentHandler
throw new EnvironmentIsolationException(sprintf(
'"%s" does not support isolation of "%s" environment.',
static::class,
get_class($uninitializedEnvironment)
get_class($uninitializedEnvironment),
), $uninitializedEnvironment);
}
}
@@ -197,7 +197,7 @@ final class ContextServiceEnvironmentHandler implements EnvironmentHandler
get_class($this->symfonyKernel),
$this->symfonyKernel->getEnvironment(),
$this->symfonyKernel->isDebug() ? 'enabled' : 'disabled',
FriendsOfBehatSymfonyExtensionBundle::class
FriendsOfBehatSymfonyExtensionBundle::class,
));
}

View File

@@ -81,7 +81,7 @@ final class InitializedSymfonyExtensionEnvironment implements SymfonyExtensionEn
if (!isset($this->contexts[$class])) {
throw new ContextNotFoundException(sprintf(
'`%s` context is not found in the suite environment. Have you registered it?',
$class
$class,
), $class);
}

View File

@@ -19,7 +19,7 @@ final class SymfonyDriver extends BrowserKitDriver
'Please make sure the kernel is using "test" environment or have "framework.test" configuration option enabled.',
get_class($kernel),
$kernel->getEnvironment(),
$kernel->isDebug() ? 'enabled' : 'disabled'
$kernel->isDebug() ? 'enabled' : 'disabled',
));
}
@@ -31,7 +31,7 @@ final class SymfonyDriver extends BrowserKitDriver
'Service "test.client" should be an instance of "%s" or "%s", "%s" given.',
Client::class,
AbstractBrowser::class,
get_class($testClient)
get_class($testClient),
));
}

View File

@@ -222,7 +222,7 @@ final class SymfonyExtension implements Extension
if ($autodiscovered !== 1) {
throw new \RuntimeException(
'Could not autodiscover the application kernel. ' .
'Please define it manually with "FriendsOfBehat\SymfonyExtension.kernel" configuration option.'
'Please define it manually with "FriendsOfBehat\SymfonyExtension.kernel" configuration option.',
);
}
@@ -260,7 +260,7 @@ final class SymfonyExtension implements Extension
throw new \RuntimeException(
'Could not autodiscover the bootstrap file. ' .
'Please define it manually with "FriendsOfBehat\SymfonyExtension.bootstrap" configuration option. ' .
'Setting that option to "false" disables autodiscovering.'
'Setting that option to "false" disables autodiscovering.',
);
}