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 to current box version (phar packaging) #236

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

stronk7
Copy link
Member

@stronk7 stronk7 commented Sep 7, 2023

Current version (2.x) is really old and emitting some warnings with php >= 8.1. So, just move to current 4.x version.

Simply change to its new incarnation (fork of the original) and tidy up a few parameters.

Note that the phar still has a good number of limitations:

  • Not all checks work (phpcs, behat...).
  • Cannot post-install moodle-local_ci (vnu.jar)
  • ...

But all those are pre-existing and this new version does not change that.

Note that box requires PHP 8.1 to build the phar, but the phar works perfectly with PHP 7.4 (our min requirement).

Fixes #235

Current version (2.x) is really old and emitting some
warnings with php >= 8.1. So, just move to current 4.x version.

Simply change to its new incarnation (fork of the original) and
tidy up a few parameters.

Note that the phar still has a good number of limitations:
- Not all checks work (phpcs, behat...).
- Cannot post-install moodle-local_ci (vnu.jar)
- ...

But all those are pre-existing and this new version does
not change that.

Note that box requires PHP 8.1 to build the phar, but the
phar works perfectly with PHP 7.4 (our min requirement).

Fixes moodlehq#235
@codecov
Copy link

codecov bot commented Sep 7, 2023

Codecov Report

Merging #236 (6012a6d) into master (225a511) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #236   +/-   ##
=========================================
  Coverage     84.55%   84.55%           
  Complexity      688      688           
=========================================
  Files            74       74           
  Lines          2130     2130           
=========================================
  Hits           1801     1801           
  Misses          329      329           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

📢 Have feedback on the report? Share it here.

@stronk7
Copy link
Member Author

stronk7 commented Sep 8, 2023

Self merging... towards a release soon...

@stronk7 stronk7 merged commit 58d935e into moodlehq:master Sep 8, 2023
13 checks passed
@stronk7 stronk7 deleted the bump_to_box4 branch September 8, 2023 06:41
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.

Running plugin-ci on PHP 8.1.22 shows warnings
1 participant