-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Scrutinizer fixes #317
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
Scrutinizer fixes #317
Conversation
|
@icewind1991, thanks for your PR! By analyzing the annotation information on this pull request, we identified @jmaciasportela, @rullzer, @schiessle, @DeepDiver1975 and @Xenopathic to be potential reviewers |
| * | ||
| */ | ||
|
|
||
| /* global Handlebars */ |
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.
you mean @global ?
|
Looks good, but the change in the ShareController looks a bit intrusive |
| private $baseUri; | ||
|
|
||
| /** @var Connector\Sabre\Server */ | ||
| private $server; |
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.
Needs to be protected
PHP Fatal error: Cannot access private property OCA\DAV\Server::$server in /drone/src/github.com/nextcloud/server/apps/dav/tests/unit/ServerTest.php
98be1b2 to
1c5d8ed
Compare
|
@nickvergessen all fixed |
But still CI is not happy: |
|
Okay maybe you need to use invokePrivate in the test, when you don't want to make it public. |
Or for now simply drop that single change to have only the easier changes in here and for the specific one, that also touches tests you could open a separate PR ;) |
|
Changed the test, the assert that used the property was unneeded |
37fbf38 to
d0e6fdb
Compare
|
👍 |
1 similar comment
|
👍 |
…xtcloud#317) This PR adds missing check for TopMenu entry registered only for admins. Signed-off-by: Andrey Borysenko <[email protected]>
Lets try making scrutinizer a bit happier
Contains one or two things which might have actually caused issues previously