Skip to content

Bumping PHP from 8.1 to 8.3 in the CI#337

Merged
escopecz merged 3 commits intomautic:mainfrom
escopecz:mautic7-needs-php-8.2-plus
Mar 27, 2025
Merged

Bumping PHP from 8.1 to 8.3 in the CI#337
escopecz merged 3 commits intomautic:mainfrom
escopecz:mautic7-needs-php-8.2-plus

Conversation

@escopecz
Copy link
Member

@escopecz escopecz commented Mar 27, 2025

Since we've updated the main branch in the https://github.com/mautic/mautic repo from 6.x to 7.x we also have to upgrade the PHP version that is running the CI tests. Symfony 7 supports PHP 8.2+. I'm changing it to PHP 8.3 already so we don't have to change it again in the near future.

The PHP bump required the PHP CS FIXER library update as it didn't support PHP 8.2+. Then I run the vendor/bin/php-cs-fixer fix command to update the code style for this new version which generated most of the changes in this PR.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the CI configuration to use PHP 8.3, ensuring compatibility with Symfony 7 and future-proofing the environment. The changes include updating the PHP version parameter in the setup actions, modifying the package installation commands, and adjusting the PHP configuration file paths accordingly.

Files not reviewed (19)
  • composer.json: Language not supported
  • lib/Api/Api.php: Language not supported
  • lib/Api/Assets.php: Language not supported
  • lib/Api/CampaignEvents.php: Language not supported
  • lib/Api/Campaigns.php: Language not supported
  • lib/Api/Categories.php: Language not supported
  • lib/Api/Companies.php: Language not supported
  • lib/Api/CompanyFields.php: Language not supported
  • lib/Api/ContactFields.php: Language not supported
  • lib/Api/Contacts.php: Language not supported
  • lib/Api/Data.php: Language not supported
  • lib/Api/Devices.php: Language not supported
  • lib/Api/DynamicContents.php: Language not supported
  • lib/Api/Emails.php: Language not supported
  • lib/Api/Files.php: Language not supported
  • lib/Api/Focus.php: Language not supported
  • lib/Api/Forms.php: Language not supported
  • lib/Api/Messages.php: Language not supported
  • lib/Api/Notes.php: Language not supported

Copy link
Contributor

@matbcvo matbcvo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code changes look good to me 👍

@escopecz escopecz merged commit e968a0d into mautic:main Mar 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants