Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Upgrade to use PHP 8* and Laravel 5.4* #216

Open
3 tasks done
SomeDevWeb opened this issue Feb 14, 2024 · 0 comments
Open
3 tasks done

Upgrade to use PHP 8* and Laravel 5.4* #216

SomeDevWeb opened this issue Feb 14, 2024 · 0 comments

Comments

@SomeDevWeb
Copy link

SomeDevWeb commented Feb 14, 2024

Prerequisites

Just to say, I'm still very new to Laravel, but I started to scratch the surface and I have enough experience in PHP.
I really like the idea of this project, but I have PHP 8.2 and newer Laravel, so I tried to change that in compose.json which fixed the first error, but now I got the new obvious ones.

  • Are you running the latest version ? Yes
  • Are you reporting to the correct repository ? Yes
  • Did you perform a search ? Yes

Description

This is the composer.json line: "laravel/framework": "5.4.*",

Now I get these errors:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires codeclimate/php-test-reporter dev-master -> satisfiable by codeclimate/php-test-reporter[dev-master].
    - codeclimate/php-test-reporter dev-master requires php ^5.3 || ^7.0 -> your php version (8.2.0) does not satisfy that requirement.
  Problem 2
    - pelago/emogrifier v3.0.0 requires php ^5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 -> your php version (8.2.0) does not satisfy that requirement.
    - pelago/emogrifier v3.1.0 requires php ^5.6 || ~7.0 || ~7.1 || ~7.2 || ~7.3 || ~7.4 -> your php version (8.2.0) does not satisfy that requirement.
    - pelago/emogrifier v4.0.0 requires php ~7.0 || ~7.1 || ~7.2 || ~7.3 || ~7.4 -> your php version (8.2.0) does not satisfy that requirement.
    - pelago/emogrifier[v5.0.0, ..., v5.0.1] require php ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 -> your php version (8.2.0) does not satisfy that requirement.
    - pelago/emogrifier v6.0.0 requires php ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 -> your php version (8.2.0) does not satisfy that requirement.
    - pelago/emogrifier[v7.0.0, ..., v7.1.0] require symfony/css-selector ^4.4.23 || ^5.4.0 || ^6.0.0 -> found symfony/css-selector[v4.4.24, ..., v4.4.44, v5.4.0, ..., v5.4.35, v6.0.0, ..., v6.4.3] but it conflicts with your root composer.json require (~3.0).
    - pelago/emogrifier v7.2.0 requires symfony/css-selector ^4.4.23 || ^5.4.0 || ^6.0.0 || ^7.0.0 -> found symfony/css-selector[v4.4.24, ..., v4.4.44, v5.4.0, ..., v5.4.35, v6.0.0, ..., v6.4.3, v7.0.0, v7.0.3] but it conflicts with your root composer.json require (~3.0).
    - snowfire/beautymail dev-master requires pelago/emogrifier ^3.0|^4.0|^5.0|^6.0|^7.0 -> satisfiable by pelago/emogrifier[v3.0.0, v3.1.0, v4.0.0, v5.0.0, v5.0.1, v6.0.0, v7.0.0, v7.1.0, v7.2.0].
    - Root composer.json requires snowfire/beautymail dev-master -> satisfiable by snowfire/beautymail[dev-master].

Let's take the one by one:
codeclimate/php-test-reporter: https://packagist.org/packages/codeclimate/php-test-reporter
Looking at their page it says: codeclimate-test-reporter - [DEPRECATED], so this should be changed ANYWAY ASAP!!! :)
They also have a new test reporter: https://docs.codeclimate.com/v1.0/docs/configuring-test-coverage

This is where my knowledge stops, but I think that someone from this great team might have some more knowledge and together we can adapt this project to the newest packages.

Anyway, please write some thoughts anyone.
Thanks!

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

No branches or pull requests

1 participant