-
Notifications
You must be signed in to change notification settings - Fork 19
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
implement phpstan #39
Conversation
individual-it
commented
Feb 4, 2022
•
edited
Loading
edited
- run PHPstan in CI
- fix issues phpstan complained about
- run tests with NC 23 and NC dev version (master branch)
f7b492b
to
64ec4c3
Compare
@eneiluj phpstan found 3 errors I would like to discuss with you
This was changed after v.23 see nextcloud/server#30015
delete those functions, or what are they for? |
64ec4c3
to
0bc9626
Compare
@@ -99,6 +99,8 @@ public function getOpenProjectAvatar(string $userId = '', string $userName = '') | |||
$this->openprojectUrl, $this->accessToken, $this->tokenType, $this->refreshToken, | |||
$this->clientID, $this->clientSecret, $userId, $userName | |||
); | |||
// TODO this will never happen, because `getOpenProjectAvatar` does not return ever an error result | |||
// @phpstan-ignore-next-line |
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.
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
0bc9626
to
2e38e21
Compare
Signed-off-by: Artur Neumann <artur@jankaritech.com>
0ee36aa
to
d71b786
Compare
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
d71b786
to
c84ad88
Compare
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
PHP Code CoverageCoverage after merging phpstan into master will be
Coverage Report
|
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 👍