Closed oleg-moseyko closed 10 months 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
Thanks @michalbundyra ^0.5 works well
Let's keep it open until it is fixed :)
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)
Installing mezzio/mezzio-skeleton (3.14.0): Extracting archive Created project in /Users/olegmoseyko/Projects/mezzio
What type of installation would you like? [1] Minimal (no default middleware, templates, or assets; configuration only) [2] Flat (flat source code structure; default selection) [3] Modular (modular source code structure; recommended) Make your selection (2): 2
Copying src/App/ConfigProvider.php
Which container do you want to use for dependency injection? [1] Pimple (supported by laminas) [2] laminas-servicemanager (supported by laminas) [3] Symfony DI Container [4] PHP-DI [5] chubbyphp-container Make your selection or type a composer package name and version (laminas-servicemanager (supported by laminas)): 3
Copying config/container.php
Which router do you want to use? [1] FastRoute (supported by laminas) [2] laminas-router (supported by laminas) Make your selection or type a composer package name and version (FastRoute (supported by laminas)): 2
Copying config/routes.php
Which template engine do you want to use? [1] Plates (supported by laminas) [2] Twig (supported by laminas) [3] laminas-view installs laminas-servicemanager (supported by laminas) [n] None of the above Make your selection or type a composer package name and version (n): 3
Copying templates/app/home-page.phtml
Which error handler do you want to use during development? [1] Whoops (supported by laminas) [n] None of the above Make your selection or type a composer package name and version (Whoops (supported by laminas)): 1
$ 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
orcomposer update <package name>
.Required package "mezzio/mezzio-laminasviewrenderer" is not present in the lock file. This usually happens when composer files are incorrectly merged or the composer.json file is manually edited. Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r 192:mezzio olegmoseyko$ composer update Loading composer repositories with package information Info from https://repo.packagist.org: #StandWithUkraine Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.