-
Notifications
You must be signed in to change notification settings - Fork 39
Switch to Yoast PHP Polyfill #235
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
Switch to Yoast PHP Polyfill #235
Conversation
"mf2/tests": "dev-master#e9e2b905821ba0a5b59dab1a8eaf40634ce9cd49", | ||
"squizlabs/php_codesniffer": "^3.6.2", | ||
"dealerdirect/phpcodesniffer-composer-installer": "^0.7", | ||
"phpcompatibility/php-compatibility": "^9.3" |
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.
The indentation bothered me.
@@ -18,11 +18,11 @@ | |||
} | |||
}, | |||
"require-dev": { | |||
"phpunit/phpunit": "^5.7", |
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.
This gets removed to add yoast/phpunit-polyfills
dependency.
@@ -179,7 +178,7 @@ public function testMoreDetailedPerson() { | |||
"type": ["h-card"], | |||
"properties": { | |||
"photo": [ | |||
{ | |||
{ |
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.
this one-liner may be a mistake... Lets see what CI says.
95596ed
to
13b5eb1
Compare
See: #213 for history
Uses Yoast PHPUnit Polyfill, which I've personally used for 5.4 -> 8.1 compatibility previously.
Just need to see if the workflow passes.
This should unlock PHP8 / 8.1 compatibility.
It's another layer of indirection + a little bit of magic to not be coupled to the unstable API of PHPUnit.