oroinc / platform

Main OroPlatform package with core functionality.
Other
627 stars 351 forks source link

Install PHPCSFixer in Oro 6.0 #1110

Open RocKordier opened 5 months ago

RocKordier commented 5 months ago

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

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

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