Skip to content

Update dependency slim/slim to v4.14.0

Renovate Bot requested to merge renovate/slim-slim-4.x-lockfile into master

This MR contains the following updates:

Package Type Update Change
slim/slim (source) require minor 4.13.0 -> 4.14.0

Release Notes

slimphp/Slim (slim/slim)

v4.14.0

Compare Source

What's Changed

Type hinting with template generics

With the introduction of template generics, if you type-hint Slim\App instance variable using /** @​var \Slim\App $app */, then you will need to change it to either:

  • /** @&#8203;var \Slim\App<null> $app */ if you are not using a DI container, or
  • /** @&#8203;var \Slim\App<\Psr\Container\ContainerInterface> $app */ if you are

You can also type-hint to the concrete instance of the container you are using too. For example, if you are using PHP-DI, then you can use: /** @&#8203;var \Slim\App<DI\Container> $app */.

New Contributors

Full Changelog: https://github.com/slimphp/Slim/compare/4.13.0...4.14.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Renovate Bot

Merge request reports