Skip to content

Conversation

@icewind1991
Copy link
Member

Lets try making scrutinizer a bit happier

Contains one or two things which might have actually caused issues previously

@mention-bot
Copy link

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

Choose a reason for hiding this comment

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

you mean @global ?

@nickvergessen
Copy link
Member

Looks good, but the change in the ShareController looks a bit intrusive

private $baseUri;

/** @var Connector\Sabre\Server */
private $server;
Copy link
Member

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

@nickvergessen nickvergessen added 2. developing Work in progress bug labels Jul 6, 2016
@MorrisJobke MorrisJobke added this to the Nextcloud Next milestone Jul 6, 2016
@icewind1991
Copy link
Member Author

@nickvergessen all fixed

@MorrisJobke
Copy link
Member

@nickvergessen all fixed

But still CI is not happy:

............................................................. 6161 / 8125 ( 75%)
PHP Fatal error:  Cannot access protected property OCA\DAV\Server::$server in /drone/src/github.com/nextcloud/server/apps/dav/tests/unit/ServerTest.php on line 42

@nickvergessen
Copy link
Member

Okay maybe you need to use invokePrivate in the test, when you don't want to make it public.

@MorrisJobke
Copy link
Member

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 ;)

@icewind1991
Copy link
Member Author

Changed the test, the assert that used the property was unneeded

@icewind1991 icewind1991 added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jul 7, 2016
@MorrisJobke
Copy link
Member

👍

1 similar comment
@rullzer
Copy link
Member

rullzer commented Jul 8, 2016

👍

@rullzer rullzer merged commit 48f9e4e into master Jul 8, 2016
@rullzer rullzer deleted the scrutinizer-fixed branch July 8, 2016 11:50
R0Wi pushed a commit to R0Wi/server that referenced this pull request Nov 22, 2025
…xtcloud#317)

This PR adds missing check for TopMenu entry registered only for admins.

Signed-off-by: Andrey Borysenko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants