littleredbutton / bigbluebutton-api-php

Unofficial (but better) PHP API for @BigBlueButton
GNU Lesser General Public License v3.0
25 stars 12 forks source link

Upgrade php-cs-fixer #129

Closed SamuelWei closed 2 years ago

SamuelWei commented 2 years ago

We should migrate to friendsofphp/php-cs-fixer v3, as v2 doesn't support php8.1.

This requires #119 to be resolved first, as v3 requires "php": "^7.4 || ^8.0" Php-cs-fixer v3.4.0 supports php7.2 to php8.1

SamuelWei commented 2 years ago

See https://github.com/littleredbutton/bigbluebutton-api-php/runs/5881238424?check_suite_focus=true#step:5:12

Run tools/php-cs-fixer fix --dry-run PHP needs to be a minimum version of PHP 5.6.0 and maximum version of PHP 8.0.*. Current PHP version: 8.1.4. To ignore this requirement please set PHP_CS_FIXER_IGNORE_ENV. If you use PHP version higher than supported, you may experience code modified in a wrong way. Please report such cases at https://github.com/FriendsOfPHP/PHP-CS-Fixer . Error: Process completed with exit code 1.