Skip to content

fixed deprecation nullable for callback param in ExecutionTrait#235

Open
vmalyk wants to merge 1 commit into
valantic-at:masterfrom
vmalyk:callback_deprecation_nullable
Open

fixed deprecation nullable for callback param in ExecutionTrait#235
vmalyk wants to merge 1 commit into
valantic-at:masterfrom
vmalyk:callback_deprecation_nullable

Conversation

@vmalyk

@vmalyk vmalyk commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Pimcore 12.3.11 and PHP 8.4.17 fetched deprecation info:

[2026-07-15T01:26:02.068420+02:00] http://php.INFO : Deprecated: Elements\Bundle\ProcessManagerBundle\ExecutionTrait::executeChildProcesses(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead {"exception":"[object] (ErrorException(code: 0): Deprecated: Elements\\Bundle\\ProcessManagerBundle\\ExecutionTrait::executeChildProcesses(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead at /var/www/pimcore.xxx.dev/www/vendor/elements/process-manager-bundle/src/ExecutionTrait.php:266)"} []

Fixed by type hinting as null is required for default value.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant