Skip to content

Deprecated: Return type of Jack202505\Nette\Utils\DateTime::createFromFormat #15

@shakaran

Description

@shakaran

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.

https://github.com/nette/utils/blob/master/src/Utils/DateTime.php#L96

 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions