-
Notifications
You must be signed in to change notification settings - Fork 0
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
refactor PHP 8.1 #8
Conversation
88acf80
to
ff5dd20
Compare
ff5dd20
to
602ba87
Compare
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 will be a new major version, right?
composer.json
Outdated
}, | ||
"require-dev": { | ||
"roave/security-advisories": "dev-master", | ||
"phpunit/phpunit": "^9.6.16", |
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.
maybe you can bump to 10?
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.
Done :)
excludePaths: | ||
- src/Tests/* | ||
- tests/* |
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.
don't exclude tests paths if you don't have to
#whatever
@@ -94,7 +94,7 @@ private function getCommand(): FindPoints | |||
return new FindPoints($this->client, new Serializer()); | |||
} | |||
|
|||
private function getSuccessfulBody(): string | |||
private function getSuccessfulBody(): string|false |
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.
If we expect string as return leave string only.
You can throw exception on method if you wish
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.
Done :)
2221633
to
5adf2f0
Compare
No description provided.