Skip to content

Conversation

ddeboer
Copy link
Contributor

@ddeboer ddeboer commented Nov 27, 2020

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Related tickets
Documentation
License MIT

What's in this PR?

Allow this package to be installed on PHP 8.

Checklist

  • Updated CHANGELOG.md to describe BC breaks / deprecations | new feature | bugfix
  • Documentation pull request created (if not simply a bugfix)
Copy link
Contributor

@dbu dbu left a comment

Choose a reason for hiding this comment

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

if the ci agrees, this looks good to merge 👍

@veewee veewee mentioned this pull request Nov 27, 2020
2 tasks
- 7.2
- 7.3
- 7.4
- 8.0snapshot
Copy link

@veewee veewee Nov 27, 2020

Choose a reason for hiding this comment

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

Php-cs-fixer does not suppor PHP8 yet, but you can run composer with --ignore-platform-req=php

And add this env var to run php-cs-fixer:

PHP_CS_FIXER_IGNORE_ENV: 1 
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed the dep for now, as suggested by @Nyholm.

@Nyholm
Copy link
Member

Nyholm commented Nov 27, 2020

Let's remove php-cs-fixer from composer.json and use a github action or phar instead.

@ddeboer
Copy link
Contributor Author

ddeboer commented Nov 30, 2020

What about StyleCI: does that already validate against PHPCS?

Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

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

Thank you

Copy link
Contributor

@dbu dbu left a comment

Choose a reason for hiding this comment

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

looks good 👍

@dbu dbu merged commit 83a383b into php-http:master Nov 30, 2020
@ddeboer ddeboer deleted the php8 branch November 30, 2020 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants