I think that it cames from upstream packages or used in composer like nette/utils, but not sure exactly which package brings the deprecated in your deps.
vendor/bin/jack open-versions
Analyzing "composer.json" for outdated packages
Deprecated: Return type of Jack202505\Nette\Utils\DateTime::createFromFormat(string $format, string $time, $timezone = null) should either be compatible with DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/vendor/rector/jack/vendor/nette/utils/src/Utils/DateTime.php on line 67