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

Add support composer 2 and php 8.0 #33

Closed
wants to merge 2 commits into from
Closed

Conversation

4irik
Copy link
Contributor

@4irik 4irik commented Apr 16, 2021

Description

Add support composer 2 and php 8.0

Fixes #30

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I wrote unit tests for my code (if tests is required for my changes)
  • I have made changes in CHANGELOG.md file

@blackbass1988
Copy link

поставь все галочки)

Copy link

@IgorKorytin IgorKorytin left a comment

Choose a reason for hiding this comment

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

  1. Remove --no-suggest key from composer scripts where key -n used (makefile, github actions)
  2. Add -e 'XDEBUG_MODE=coverage' to make test-cover script, and add this env to github actions
  3. Do you check make test-cover scpipt on PHP 8 and latest config? Think it will not work or u'll get a deprecated warning

@@ -4,7 +4,7 @@ ENV \
COMPOSER_ALLOW_SUPERUSER="1" \

Choose a reason for hiding this comment

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

This env is unused in composer 2

@@ -13,7 +13,6 @@ RUN set -x \
&& pecl install xdebug-2.9.6 1>/dev/null \
&& apk del .build-deps \
&& mkdir /src ${COMPOSER_HOME} \
&& composer global require 'hirak/prestissimo' --no-interaction --no-suggest --prefer-dist \

Choose a reason for hiding this comment

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

Remove it from github actions workflow too please

@@ -15,16 +15,16 @@
}
],
"require": {
"php": "^7.2",
"php": "^7.2 || ^8.0",
Copy link

@IgorKorytin IgorKorytin May 13, 2021

Choose a reason for hiding this comment

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

change php version in Dockerfile and add php 8 to github actions

@@ -13,7 +13,6 @@ RUN set -x \
&& pecl install xdebug-2.9.6 1>/dev/null \

Choose a reason for hiding this comment

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

maybe update it to v 3?

@eldario
Copy link
Contributor

eldario commented Jun 9, 2021

@4irik
Please, make some changes by threads

@eldario
Copy link
Contributor

eldario commented Jan 10, 2022

No activity

@eldario eldario closed this Jan 10, 2022
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.

Update composer to v2 and add support for PHP 8
4 participants