Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Dec 4, 2025

Backport of PR #56839

@backportbot backportbot bot added the 3. to review Waiting for reviews label Dec 4, 2025
@backportbot backportbot bot self-assigned this Dec 4, 2025
@CarlSchwan CarlSchwan changed the title [stable28] [stable31] refactor(workflowengine): Check if class is correct [stable28] refactor(workflowengine): Check if class is correct Dec 4, 2025
@blizzz blizzz requested a review from CarlSchwan December 8, 2025 11:52
@CarlSchwan CarlSchwan force-pushed the backport/56839/stable28 branch from d06e165 to 67b06df Compare December 9, 2025 09:34

protected function validateEvents(string $entity, array $events, IOperation $operation) {
/** @psalm-suppress TaintedCallable newInstance is not called */
$reflection = new \ReflectionClass($entity);

Check notice

Code scanning / Psalm

ArgumentTypeCoercion Note

Argument 1 of ReflectionClass::__construct expects class-string|object|trait-string, but parent type string provided
@blizzz blizzz merged commit 62c2aa1 into stable28 Dec 10, 2025
66 of 91 checks passed
@blizzz blizzz deleted the backport/56839/stable28 branch December 10, 2025 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants