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 [stable29] [stable31] refactor(workflowengine): Check if class is correct [stable29] 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/stable29 branch from 99854f1 to c6c03ee Compare December 9, 2025 09:35

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 cde64a3 into stable29 Dec 10, 2025
193 of 200 checks passed
@blizzz blizzz deleted the backport/56839/stable29 branch December 10, 2025 18:13
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