-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
PHP 8.0 support #15
PHP 8.0 support #15
Conversation
Upgrade phpunit/phpunit to 9.3 Signed-off-by: Andi Rückauer <arueckauer@gmail.com>
Signed-off-by: Andi Rückauer <arueckauer@gmail.com>
Signed-off-by: Andi Rückauer <arueckauer@gmail.com>
Signed-off-by: Andi Rückauer <arueckauer@gmail.com>
Drop support for PHP less then 7.3 Signed-off-by: Andi Rückauer <arueckauer@gmail.com>
…havior Signed-off-by: Andi Rückauer <arueckauer@gmail.com>
Hi @boesing 👋🏻 It seems Travis configuration needs some update for PHP nightly builds. I am unsure how to fix that. Has this issue been solved in another component where PHP 8 support has been added? |
Hm, when I understand this correct, its because of the We should install |
Signed-off-by: Andi Rückauer <arueckauer@gmail.com>
Signed-off-by: Andi Rückauer <arueckauer@gmail.com>
Signed-off-by: Andi Rückauer <arueckauer@gmail.com>
Signed-off-by: Andi Rückauer <arueckauer@gmail.com>
Signed-off-by: Andi Rückauer <arueckauer@gmail.com>
Thanks for the input. APCu now works. Since Memcached is not yet supported for PHP 8.0 (see latest version 3.1.5), I disabled it. For MongoDB I added the 1.9.0RC1 which adds support for PHP 8. Unfortunately the build was not executed, due to a negative credit balance in Travis.
|
Thanks for the changes. We might want to have a look when travis is back up and running. 👍 |
Signed-off-by: Andi Rückauer <arueckauer@gmail.com>
@boesing Builds are generally running again, but the latest push did not trigger Travis. Can you manually start the build process? |
Signed-off-by: Andi Rückauer <arueckauer@gmail.com>
Change PHP version to 8.0 Signed-off-by: Andi Rückauer <arueckauer@gmail.com>
Signed-off-by: Andi Rückauer <arueckauer@gmail.com>
Hi, bovigo/vfsStream#232 has been merged. |
restarted |
{ | ||
self::markTestSkipped('Clarify what to do with assertion of protected property.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be discussed before merging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, just use reflection for now as it might test something which has been fixed before.
I dont really like checking protected/private properties at all but this is done in so many packages and I dont get the reason behind that...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Urgh, this went under my radar: OK to merge without it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please remove the skipped test for guzzle and use reflection for now to make the test pass.
{ | ||
self::markTestSkipped('Clarify what to do with assertion of protected property.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, just use reflection for now as it might test something which has been fixed before.
I dont really like checking protected/private properties at all but this is done in so many packages and I dont get the reason behind that...
- Adds a coding standards workflow - Adds a unit tests workflow - Removes Travis configuation Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Unreleased, so having to alias for now. Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
warning is no longer raised; type error is raised instead. Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
I've taken the liberty of amending this with changes to the CI pipeline. We're moving off of Travis to GHA, and I plan to provide fixes per the feedback provided already... but we're out of Travis minutes for the month, so first step is getting a working CI pipeline. 😄 As you can see, all green at this stage, and we have tests against all expected services. |
"laminas/laminas-zendframework-bridge": "^1.0" | ||
}, | ||
"require-dev": { | ||
"doctrine/migrations": "^1.0 || ^2.0", | ||
"guzzlehttp/guzzle": "^5.3.3 || ^6.3.3", | ||
"laminas/laminas-coding-standard": "~1.0.0", | ||
"laminas/laminas-loader": "^2.0", | ||
"mikey179/vfsstream": "^1.6", | ||
"mikey179/vfsstream": "dev-master#08a798577d677436f4f4ea3d0b3c949f64655548 as 1.6.9", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be changed before merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, no, only require-dev
: I'd say "roll with it"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Until they have a release that includes that commit... it is what it is. :)
@weierophinney the GHA setup used here seems to be a bit wonky, but in the interest of getting anything running at this point, I would say 🚢 |
Description
This PR provides provides changes described in #12.
Fixes #12