mezzio / mezzio-skeleton

Laminas mezzio skeleton. Begin developing PSR-15 middleware applications in seconds!
https://docs.mezzio.dev/mezzio/
BSD 3-Clause "New" or "Revised" License
120 stars 32 forks source link

jsoumelidis/zend-sf-di-config[0.4.0, ..., 0.4.1] require php ^7.1 -> your php version 8.0.99 #130

Closed oleg-moseyko closed 10 months ago

oleg-moseyko commented 1 year ago

Bug Report

jsoumelidis/zend-sf-di-config supported only php ^7.1

Summary

$ composer create-project mezzio/mezzio-skeleton mezzio Creating a "mezzio/mezzio-skeleton" project at "./mezzio" Info from https://repo.packagist.org: #StandWithUkraine Installing mezzio/mezzio-skeleton (3.14.0)

$ cd mezzio/ 192:mezzio olegmoseyko$ composer install Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update <package name>.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

michalbundyra commented 1 year ago

yeah, it's wrong here: https://github.com/mezzio/mezzio-skeleton/blob/2eb90de8cd7b8efb1b31d505385ce92c17153608/src/MezzioInstaller/config.php#L18 should be ^0.5

if you update your composer.json file to use ^0.5 instead of ^0.4 it should work meanwhile, until it's fixed in the skeleton

oleg-moseyko commented 1 year ago

Thanks @michalbundyra ^0.5 works well

michalbundyra commented 1 year ago

Let's keep it open until it is fixed :)