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

refactor PHP 8.1 #8

Merged
merged 2 commits into from
Feb 2, 2024
Merged

refactor PHP 8.1 #8

merged 2 commits into from
Feb 2, 2024

Conversation

yekovalenkoa
Copy link
Contributor

No description provided.

@yekovalenkoa yekovalenkoa force-pushed the refactor-php-81 branch 2 times, most recently from 88acf80 to ff5dd20 Compare February 1, 2024 07:58
@yekovalenkoa yekovalenkoa marked this pull request as ready for review February 1, 2024 08:43
@lukasz-falda lukasz-falda self-requested a review February 1, 2024 11:16
Copy link
Member

@lukasz-falda lukasz-falda left a 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",
Copy link
Member

@lukasz-falda lukasz-falda Feb 1, 2024

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?

Copy link
Contributor Author

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/*
Copy link
Member

@lukasz-falda lukasz-falda Feb 1, 2024

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
Copy link
Member

@lukasz-falda lukasz-falda Feb 1, 2024

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done :)

@yekovalenkoa yekovalenkoa merged commit 86ff34b into develop Feb 2, 2024
5 checks passed
@yekovalenkoa yekovalenkoa deleted the refactor-php-81 branch February 2, 2024 09:38
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.

3 participants