Skip to content

Commit 4a11cdc

Browse files
authored
Update dev dependencies & fix CI (#52)
* Updated GitHub versions for non test jobs * Updated dev dependencies * Fix phpstan after update * Add tests to cover changes * Remove symplify/monorepo-builder from all CI jobs
1 parent 9ff39e3 commit 4a11cdc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit": "^9.4"
25+
"phpunit/phpunit": "^9.5"
2626
},
2727
"autoload-dev": {
2828
"psr-4": {

src/DependencyInjection/CompilerPass/RegisterJobsCompilerPass.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ public function process(ContainerBuilder $container): void
3535
*/
3636
private function getJobName(string $id, Definition $definition, array $attributes): string
3737
{
38-
if (isset($attributes['job'])) {
39-
return (string)$attributes['job'];
38+
if (isset($attributes['job']) && \is_string($attributes['job'])) {
39+
return $attributes['job'];
4040
}
4141

4242
$serviceClass = $definition->getClass();

0 commit comments

Comments
 (0)