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

Install PHPCSFixer in Oro 6.0 #1110

Open
RocKordier opened this issue Mar 31, 2024 · 0 comments
Open

Install PHPCSFixer in Oro 6.0 #1110

RocKordier opened this issue Mar 31, 2024 · 0 comments

Comments

@RocKordier
Copy link
Contributor

Summary
With the Release of Oro 6.0 it should be possible to install PHPCSFixer in a Version which supports PHP 8.3
ATM this is not possible in case of the fixed Version of composer/semver:~3.13.1 in OroPlatform

Steps to reproduce

  • CheckOut Repo
  • composer install
  • run PHPCSFixer with php 8.3

Actual Result

~/Development/Oro/csFixer (6.0) » php vendor/bin/php-cs-fixer
PHP needs to be a minimum version of PHP 7.4.0 and maximum version of PHP 8.1.*.
Current PHP version: 8.3.4.

Expected Result
PHPCSFixer runs without this warning. It should be installable in min version 3.40.0. Ideally its installable in the most recent version (3.52.1)

Details about your environment

  • OroPlatform version: 6.0.0
  • PHP version: 8.3.4

Additional information
Current Version:

~/Development/Oro/csFixer (6.0) » composer show friendsofphp/php-cs-fixer                                                                                       
name     : friendsofphp/php-cs-fixer
descrip. : A tool to automatically fix PHP code style
keywords :
versions : * v3.13.2

Why-Not 3.40:

~/Development/Oro/csFixer (6.0) » composer why-not friendsofphp/php-cs-fixer 3.40                                                                               
oro/platform              6.0.x-dev requires (for development) friendsofphp/php-cs-fixer (~3.13.1)
friendsofphp/php-cs-fixer v3.40.0   requires                   composer/semver (^3.4)
oro/platform              6.0.x-dev requires                   composer/semver (~3.3.2)
Not finding what you were looking for? Try calling `composer require --dev "friendsofphp/php-cs-fixer:3.40" --dry-run` to get another view on the problem.

Thx Eric

RocKordier added a commit to RocKordier/platform that referenced this issue Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant