I'm currently on Flarum 1.2.1 and PHP 8.0 and waiting for Flarum 1.3 to be released this week and I will also switch to PHP 8.1.
What should be the correct sequence? Should I first switch to PHP 8.1 and then execute:
update --prefer-dist --no-plugins --no-dev -a --with-all-dependencies
Or should I first upgrade with the above command and then bump the PHP version?
Also, as a side questions, if I switch the PHP version, should I delete the vendor folder and execute composer install --prefer-dist --no-dev -a
? Or that is not needed?