mandclu: A Major Step Forward for Smart Date

A Major Step Forward for Smart Date Image removed.mandclu Tue, 05/02/2023 - 06:10 The planning for a 4.0 release of Smart Date began towards the end of 2021, but there were still lots of opportunities to fix bugs and add features without going to a major release. In the end, the need for a major release was triggered by Drupal 10, though in actuality by its updated PHP dependency, to use a minimum version of 8.1.Smart Date had made some methods available to be used statically, that is, for the method to be used without instantiating a full object. This was a useful way to make capabilities available broadly, and drew inspiration from Drupal core static methods like Entity::create() or Url::fromRoute(). Newer versions of PHP, and in particular 8.1, are much more stringent about mixing static and non-static code. Calling non-static methods within a static one can generateMore
PubDate

Tags