Applied pull request patch https://github.com/magento/magento2/pull/12516.patch (created by @lfluvisotto) based on commit(s):
1. 702d7fe27916ed66dbb72af5bd59d07c58d546bf
2. 66556661476c7727af7e7a2b75c2e37519aafc49
- replaced release version with package version in @since and @depreacated tags
- removed @since tag from private properties/methods and non @api classes
- added release number to all existing @deprecated tag in php classes, methods and properties (app/code/Magento, lib/internal/Magento, setup/src/Magento/Setup)
- added tag @since to all existing php classes, methods and properties (app/code/Magento, lib/internal/Magento, setup/src/Magento/Setup)
This change allows userland code to pass instances of \DateTimeImmutable as
well as \DateTime by using \DateTimeInterface in type hints instead of the
more strict \DateTime.