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

Update project dependencies #99

Merged
merged 1 commit into from
May 13, 2021
Merged

Conversation

stronk7
Copy link
Member

@stronk7 stronk7 commented May 12, 2021

Most noticeble one being local_moodlecheck v1.0.7 that
comes with PHP8 specific fixes.

Also updated nikic/php-parser to newer version, able
to run with any >= 7.0 PHP version (8.0 included) and
parse every PHP version (5.x to 8.0).

Changes to the php-parser required some changes in code:

  • Look for assignments inside extra Expression element.
  • Add 3 psalm cases to baseline, about some casts (the
    objects have the _toString() method, but psalm isn't
    aware).

(details @ https://github.com/nikic/PHP-Parser/blob/master/UPGRADE-4.0.md)

Finally, some changes because of phpmd bump were also required.

Most noticeble one being local_moodlecheck v1.0.7 that
comes with PHP8 specific fixes.

Also updated nikic/php-parser to newer version, able
to run with any >= 7.0 PHP version (8.0 included) and
parse every PHP version (5.x to 8.0).

Changes to the php-parser required some changes in code:

- Look for assignments inside extra Expression element.
- Add 3 psalm cases to baseline, about some casts (the
  objects have the _toString() method, but psalm isn't
  aware).

(details @ https://github.com/nikic/PHP-Parser/blob/master/UPGRADE-4.0.md)

Finally, so changes because of phpmd bump were also required.
Copy link
Member

@kabalin kabalin left a comment

Choose a reason for hiding this comment

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

All look good to me, thanks @stronk7 for working on this.

@kabalin kabalin merged commit b6f6f97 into moodlehq:master May 13, 2021
@stronk7 stronk7 deleted the update_dependencies branch May 13, 2021 10:25
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.

2 participants