Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is PHP 8.2 required now? #19

Open
caston1981 opened this issue May 19, 2024 · 0 comments
Open

is PHP 8.2 required now? #19

caston1981 opened this issue May 19, 2024 · 0 comments

Comments

@caston1981
Copy link

caston1981 commented May 19, 2024

Hello,

I am trying to get up and running with the CI4 upgrade helper and I am already facing requirements issues.

I am running Ubuntu 22.04 which includes PHP 8.1 and so does the application I intend to migrate to CI4.

When I ran: composer create-project kenjis/ci4-app-template ci4-news

I get the following:

`Creating a "kenjis/ci4-app-template" project at "./ci4-news"
Installing kenjis/ci4-app-template (v44.5.0)
  - Downloading kenjis/ci4-app-template (v44.5.0)
  - Installing kenjis/ci4-app-template (v44.5.0): Extracting archive
Created project in /home/chris/projects/ci4-news
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - symfony/event-dispatcher is locked to version v7.0.3 and an update of this package was not requested.
    - symfony/event-dispatcher v7.0.3 requires php >=8.2 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 2
    - symfony/finder is locked to version v7.0.0 and an update of this package was not requested.
    - symfony/finder v7.0.0 requires php >=8.2 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 3
    - symfony/options-resolver is locked to version v7.0.0 and an update of this package was not requested.
    - symfony/options-resolver v7.0.0 requires php >=8.2 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 4
    - symfony/stopwatch is locked to version v7.0.3 and an update of this package was not requested.
    - symfony/stopwatch v7.0.3 requires php >=8.2 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 5
    - symfony/string is locked to version v7.0.3 and an update of this package was not requested.
    - symfony/string v7.0.3 requires php >=8.2 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 6
    - symfony/event-dispatcher v7.0.3 requires php >=8.2 -> your php version (8.1.2) does not satisfy that requirement.
    - friendsofphp/php-cs-fixer v3.49.0 requires symfony/event-dispatcher ^5.4 || ^6.0 || ^7.0 -> satisfiable by symfony/event-dispatcher[v7.0.3].
    - friendsofphp/php-cs-fixer is locked to version v3.49.0 and an update of this package was not requested.
`

Is there a way around this requirement?
Answering my own question but for now I have successfully installed with the previous version:

composer create-project kenjis/ci4-app-template=v43.2.0 ci4-news

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant