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

Bugfix/13411 yii update #13444

Merged
merged 3 commits into from
Jul 18, 2023
Merged

Bugfix/13411 yii update #13444

merged 3 commits into from
Jul 18, 2023

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Jul 18, 2023

Description

Updates Yii to the latest version - 2.0.48.1

I’ve done it in 2 steps:

  1. updated to 2.0.47.0 (same version as Craft 4.4.15 uses) and adjusted two tests:
    • reverted test update as the change that warranted it in the first place was reverted in 2.0.46.0 (tests/unit/helpers/AppHelperTest.php)
    • made the same update as was done for Craft 4 when it was updated to 2.0.47.0 tests/unit/helpers/FileHelper/FileHelperTest.php
  2. updated to 2.0.48.1 - I had to adjust the signature of src/helpers/FileHelper.php::getExtensionByMimeType() method for this one.

If you prefer to err on the side of caution, I’m happy to revert point 2 and go as far as 2.0.47.0.

Locally, I’ve run our test suite against PHP 7.2, 7.4, 8.0, 8.1 and 8.2.

Related issues

#13411

@i-just i-just requested a review from a team as a code owner July 18, 2023 13:21
@brandonkelly brandonkelly merged commit 297a78c into 3.9 Jul 18, 2023
17 checks passed
@brandonkelly brandonkelly deleted the bugfix/13411-yii-update branch July 18, 2023 15:41
brandonkelly added a commit that referenced this pull request Jul 18, 2023
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.

None yet

2 participants