Skip to content

Conversation

@ChristophWurst
Copy link
Owner

@ChristophWurst ChristophWurst commented Mar 31, 2025

This is a follow-up to #700 and covers background jobs.

Bildschirmfoto vom 2025-03-31 18-36-52

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
/** @psalm-suppress TooManyArguments */
$context->registerMiddleware(PerformanceMonitoringMiddleware::class, true);
$context->registerEventListener(AddContentSecurityPolicyEvent::class, CustomCspListener::class);
if (class_exists(BeforeJobExecutedEvent::class)) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not be needed, the class name can be used without existance, just psalm complains

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did it for Psalm but it complains in any case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants