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

Bump vimeo/psalm from 4.2.1 to 4.3.0 #24521

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Dec 3, 2020

Bumps vimeo/psalm from 4.2.1 to 4.3.0.

Release notes

Sourced from vimeo/psalm's releases.

4.3.0

Features

  • UnusedConstructor is now a separate issue from UnusedMethod. This allows people to use the private constructor pattern to prevent instantiation of classes that just have static methods (#4656)
  • RedundantCast is now a separate issue from RedundantCondition. It is now emitted for more redundant casts thanks to @orklah adding better detection (#4695)
  • @odoucet added support for the CodeClimate output format (#4387)
  • @weirdan added a test to ensure all new Psalm annotations are documented (#4723)
  • RedundantPropertyInitializationCheck is now emitted for isset checks on class properties that Psalm thinks should be defined. This allows users who prefer to initialize properties outside constructors to silence just that issue (#4732)

Bugfixes

Psalter

  • @orklah added support for adding static return types when running in PHP 8 (#4641)
  • @orklah added support for adding int|string phpdoc standin for array-key (#4645)
  • @orklah added support for adding string phpdoc standin for Foo::class (#4651)
  • use union types in PHP 8 wherever possible (#4643)

Taint analysis

PHP 8 compatibility

  • Promoted properties are always treated as initialised (#4615)
  • Flag invalid attribute arguments (#4611)
  • Ensure classes used as attributes themselves have the Attribute attribute (#4475)
  • Ensure the Attribute attribute is only valid on classes (#4609)
  • @orklah fixed param names on core functions to enable named-argument calling in PHP 8 (#4745)
  • @orklah fixed return type additions when returning from finally (#4746)

Miscellaneous

  • Allow the Phar to run in PHP 7.2 (#4640)
  • Prevent crash with recursively-defined @psalm-type in root namespace (#4653)
  • @staabm made many file-based functions impure (#4674, #4676, #4679, #4678)
  • @erikjwaxx narrowed the return type for $a <=> $b (#4680)
  • @orklah prevented the use of illegal array keys (#4660)
  • @BenMorel added a better return type for `PDOStatement::fetchObject' (#4682)
  • treat isset like !== null when the variable is defined (#4699)
  • @orklah fixed an incorrect cast to int when the integer is very large (#4702)
  • @LeSuisse fixed a bug in the taink sink map (#4703)
  • @orklah fixed reconciliation of is_object($some_iterable) (#4712)
  • use correct keys when a list with a known length is compared to an array (#3017)
  • template types are no longer substituted when they’re defined on the same class (#4733)
  • provide better support for nested template type definitions (#4731)
  • @orklah ensured that non-emptiness is treated as a docblock-level assertion (#4736)
  • @orklah added much better typing for bitshift operators (#4740)
Commits
  • 6f91655 Ref #4753 - allow int literals to inform key type
  • db8a3ab Fix #4751 - allow MethodSignatureMismatch to be overridable when info comes f...
  • e2bb02e Don’t suggest a potential value that’s undefined
  • b64eb6d Break out array_key_exists tests
  • a2b20f0 Fix #4752 - add property base assertions too
  • 496ce46 Break out method
  • f0876b8 Avoid false-positives while analysing memoised coalesce
  • 394eceb Memoize coalesce expression in more scenarios
  • 928fdda Don’t do new isset conversion on try-set vars
  • 1feca32 Fix loading imported functions
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @MorrisJobke.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@rullzer
Copy link
Member

rullzer commented Dec 3, 2020

Joy more warnings....

@dependabot-preview
Copy link
Contributor Author

A newer version of vimeo/psalm exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@ChristophWurst
Copy link
Member

Update the baseline and then it should be good :)

@rullzer rullzer force-pushed the dependabot/composer/vimeo/psalm-4.3.0 branch from ead3f95 to 401b6b4 Compare December 28, 2020 10:17
@ChristophWurst ChristophWurst force-pushed the dependabot/composer/vimeo/psalm-4.3.0 branch from 401b6b4 to 0876588 Compare December 28, 2020 17:18
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

Should pass now

@@ -207,7 +211,6 @@ public function schedule(Message $iTipMessage) {


$meetingUrl = $vevent->URL;
$meetingLocation = $vevent->LOCATION;
Copy link
Member

Choose a reason for hiding this comment

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

was unused

@@ -130,6 +130,7 @@ public function httpGet(RequestInterface $request, ResponseInterface $response):
$absoluteURL = $this->urlGenerator->getBaseUrl();
$parsedUrl = parse_url($absoluteURL);
if (isset($parsedUrl['port'])) {
/** @psalm-suppress RedundantCast */
Copy link
Member

Choose a reason for hiding this comment

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

this one felt too scary to remove. I don't trust the port to always be an int

@@ -5516,6 +5482,15 @@
<code>$column</code>
</NullableReturnStatement>
</file>
<file src="lib/public/AppFramework/Db/QBMapper.php">
Copy link
Member

@ChristophWurst ChristophWurst Dec 28, 2020

Choose a reason for hiding this comment

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

this one doesn't make sense, it's a possible Psalm regression. Reported at vimeo/psalm#4901

Copy link
Member

Choose a reason for hiding this comment

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

Fixed in Psalm 4.3.2

<InvalidReturnType occurrences="1">
<code>array</code>
</InvalidReturnType>
<InvalidPropertyAssignmentValue occurrences="1">
Copy link
Member

Choose a reason for hiding this comment

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

this one I don't get. also likely a Psalm regression but I'm still unable to isolate it

@dependabot-preview
Copy link
Contributor Author

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

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

sqash and lets do it

@MorrisJobke MorrisJobke force-pushed the dependabot/composer/vimeo/psalm-4.3.0 branch from 0876588 to f39b05d Compare January 7, 2021 20:20
@MorrisJobke
Copy link
Member

sqash and lets do it

Done.

@MorrisJobke MorrisJobke added the 4. to release Ready to be released and/or waiting for tests to finish label Jan 7, 2021
@MorrisJobke MorrisJobke added this to the Nextcloud 21 milestone Jan 7, 2021
@rullzer rullzer mentioned this pull request Jan 8, 2021
5 tasks
@rullzer
Copy link
Member

rullzer commented Jan 8, 2021

CI says no

@rullzer rullzer modified the milestones: Nextcloud 21, Nextcloud 22 Jan 8, 2021
MorrisJobke added a commit that referenced this pull request Jan 11, 2021
In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see #24521)

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
MorrisJobke added a commit that referenced this pull request Jan 11, 2021
In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see #24521)

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@MorrisJobke
Copy link
Member

Let's move it forward in pieces: #25073

MorrisJobke added a commit that referenced this pull request Jan 11, 2021
In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see #24521)

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.2.1 to 4.3.0.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](vimeo/psalm@4.2.1...4.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@MorrisJobke MorrisJobke force-pushed the dependabot/composer/vimeo/psalm-4.3.0 branch from f39b05d to ad3de0f Compare January 11, 2021 13:21
@faily-bot
Copy link

faily-bot bot commented Jan 11, 2021

🤖 beep boop beep 🤖

Here are the logs for the failed build:

Status of 1260: failure

nodb

Show full log
There were 19 warnings:

1) Test\AppFramework\Controller\AuthPublicShareControllerTest::testAuthenticateAuthenticated
Trying to configure method "isAuthenticated" which cannot be configured because it does not exist, has not been specified, is final, or is static

2) Test\Support\Subscription\RegistryTest::testDelegateIsHardUserLimitReachedWithoutSupportAppAndUserCount with data set #0 (35, 15, 2, false)
Cannot stub or mock class or interface "Test\Support\Subscription\UserInterface" which does not exist

3) Test\Support\Subscription\RegistryTest::testDelegateIsHardUserLimitReachedWithoutSupportAppAndUserCount with data set #1 (35, 45, 15, false)
Cannot stub or mock class or interface "Test\Support\Subscription\UserInterface" which does not exist

4) Test\Support\Subscription\RegistryTest::testDelegateIsHardUserLimitReachedWithoutSupportAppAndUserCount with data set #2 (35, 45, 5, true)
Cannot stub or mock class or interface "Test\Support\Subscription\UserInterface" which does not exist

5) Test\Support\Subscription\RegistryTest::testDelegateIsHardUserLimitReachedWithoutSupportAppAndUserCount with data set #3 (35, 45, 55, false)
Cannot stub or mock class or interface "Test\Support\Subscription\UserInterface" which does not exist

6) OCA\DAV\Tests\unit\CalDAV\CalendarTest::testConfidentialClassification with data set #0 (3, false)
No method rule is set

7) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testAccept
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

8) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testAcceptSequence
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

9) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testAcceptRecurrenceId
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

10) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testAcceptTokenNotFound
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

11) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testAcceptExpiredToken
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

12) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testDecline
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

13) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testProcessMoreOptionsResult
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

14) OCA\DAV\Tests\unit\DAV\Migration\RefreshWebcalJobRegistrarTest::testRun
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

15) Warning
The data provider specified for ExpirationTest::testGetMaxAgeAsTimestamp is invalid.
PHPUnit\Util\Exception: Method timestampTestData does not exist

16) OCA\TwoFactorBackupCodes\Tests\Unit\Listener\ActivityPublisherTest::testHandleCodesGeneratedEvent
Method publish may not return value of type Mock_IEvent_0baecef8, its return declaration is ": void"

17) OCA\UpdateNotification\Tests\Notification\BackgroundJobTest::testCreateNotifications with data set #1 ('app2', '1.0.1', '1.0.0', '1.0.0', true, array('user1'), array(array('user1')))
Method notify may not return value of type Mock_INotification_0d892fdf, its return declaration is ": void"

18) OCA\UpdateNotification\Tests\Notification\BackgroundJobTest::testCreateNotifications with data set #2 ('app3', '1.0.1', false, false, true, array('user2', 'user3'), array(array('user2'), array('user3')))
Method notify may not return value of type Mock_INotification_0d892fdf, its return declaration is ": void"

19) OCA\user_ldap\tests\Jobs\UpdateGroupsTest::testHandleKnownGroups
Trying to configure method "fetchAll" which cannot be configured because it does not exist, has not been specified, is final, or is static

--

There were 3 failures:

1) OCA\DAV\Tests\unit\Connector\Sabre\PrincipalTest::testGetPrincipalsByPrefixWithUsers
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
     )
     1 => Array &2 (
         'uri' => 'principals/users/bar'
-        '{DAV:}displayname' => 'bar'
+        '{DAV:}displayname' => ''
         '{urn:ietf:params:xml:ns:caldav}calendar-user-type' => 'INDIVIDUAL'
         '{http://sabredav.org/ns}email-address' => 'bar@nextcloud.com'
     )
 )

/drone/src/apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php:142

2) OCA\DAV\Tests\unit\Connector\Sabre\PrincipalTest::testGetPrincipalsByPathWithoutMail
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
 Array &0 (
     'uri' => 'principals/users/foo'
-    '{DAV:}displayname' => 'foo'
+    '{DAV:}displayname' => ''
     '{urn:ietf:params:xml:ns:caldav}calendar-user-type' => 'INDIVIDUAL'
 )

/drone/src/apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php:174

3) OCA\DAV\Tests\unit\Connector\Sabre\PrincipalTest::testGetPrincipalsByPathWithMail
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
 Array &0 (
     'uri' => 'principals/users/foo'
-    '{DAV:}displayname' => 'foo'
+    '{DAV:}displayname' => ''
     '{urn:ietf:params:xml:ns:caldav}calendar-user-type' => 'INDIVIDUAL'
     '{http://sabredav.org/ns}email-address' => 'foo@nextcloud.com'
 )

/drone/src/apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php:200

sqlite

Show full log
There were 8 errors:

1) OCA\User_LDAP\Tests\Group_LDAPTest::testCountWithSearchString
TypeError: Argument 3 passed to Mock_Access_606b53e4::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1057

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1057
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:184

2) OCA\User_LDAP\Tests\Group_LDAPTest::testGroupMembers with data set #0 ('cn=Birds,dc=species,dc=earth', array('uid=3723,dc=species,dc=earth', 'uid=8372,dc=species,dc=earth', 'uid=8427,dc=species,dc=earth', 'uid=2333,dc=species,dc=earth', 'uid=4754,dc=species,dc=earth'), array(array('uid=3723,dc=species,dc=earth', 'uid=8372,dc=species,dc=earth', 'uid=8427,dc=species,dc=earth', 'uid=2333,dc=species,dc=earth', 'uid=4754,dc=species,dc=earth')))
TypeError: Argument 2 passed to Mock_Access_606b53e4::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 291

/drone/src/apps/user_ldap/lib/Group_LDAP.php:291
/drone/src/tests/lib/TestCase.php:219
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1308

3) OCA\User_LDAP\Tests\Group_LDAPTest::testGroupMembers with data set #1 ('cn=Birds,dc=species,dc=earth', array('3723', '8372', '8427', '2333', '4754'), array(array('3723', '8372', '8427', '2333', '4754')))
TypeError: Argument 2 passed to Mock_Access_606b53e4::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 291

/drone/src/apps/user_ldap/lib/Group_LDAP.php:291
/drone/src/tests/lib/TestCase.php:219
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1308

4) OCA\User_LDAP\Tests\Group_LDAPTest::testGetDisplayName with data set #0 ('Graphic Novelists', array('Graphic Novelists'))
TypeError: Argument 1 passed to Mock_Access_606b53e4::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1325

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1325
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1349

5) OCA\User_LDAP\Tests\Group_LDAPTest::testGetDisplayName with data set #1 ('', false)
TypeError: Argument 1 passed to Mock_Access_606b53e4::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1325

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1325
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1349

6) OCA\User_LDAP\Tests\User\UserTest::testGetHomePathConfiguredNotAvailableAllowed
TypeError: Argument 1 passed to Mock_Access_606b53e4::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User/User.php on line 291

/drone/src/apps/user_ldap/lib/User/User.php:291
/drone/src/apps/user_ldap/tests/User/UserTest.php:1026

7) OCA\User_LDAP\Tests\User_LDAPTest::testGetDisplayName
TypeError: Argument 2 passed to Mock_Access_606b53e4::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User_LDAP.php on line 456

/drone/src/apps/user_ldap/lib/User_LDAP.php:456
/drone/src/apps/user_ldap/tests/User_LDAPTest.php:899

8) OCA\User_LDAP\Tests\User_LDAPTest::testGetDisplayNamePublicAPI
TypeError: Argument 2 passed to Mock_Access_606b53e4::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User_LDAP.php on line 456

/drone/src/apps/user_ldap/lib/User_LDAP.php:456
/drone/src/lib/private/User/User.php:139
/drone/src/apps/user_ldap/tests/User_LDAPTest.php:982

--

There was 1 warning:

1) Test\Security\CredentialsManagerTest::testRetrieve
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

--

There was 1 failure:

1) OCA\User_LDAP\Tests\User\UserTest::testGetHomePathConfiguredNotAvailableNotAllowed
Failed asserting that exception of type "TypeError" matches expected exception "Exception". Message was: "Argument 1 passed to Mock_Access_606b53e4::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User/User.php on line 291" at
/drone/src/apps/user_ldap/lib/User/User.php:291
/drone/src/apps/user_ldap/tests/User/UserTest.php:1047
.

mariadb10.1-php7.3

Show full log
There were 8 errors:

1) OCA\User_LDAP\Tests\User\UserTest::testGetHomePathConfiguredNotAvailableAllowed
TypeError: Argument 1 passed to Mock_Access_28983e27::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User/User.php on line 291

/drone/src/apps/user_ldap/lib/User/User.php:291
/drone/src/apps/user_ldap/tests/User/UserTest.php:1026

2) OCA\User_LDAP\Tests\User_LDAPTest::testGetDisplayName
TypeError: Argument 2 passed to Mock_Access_28983e27::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User_LDAP.php on line 456

/drone/src/apps/user_ldap/lib/User_LDAP.php:456
/drone/src/apps/user_ldap/tests/User_LDAPTest.php:899

3) OCA\User_LDAP\Tests\User_LDAPTest::testGetDisplayNamePublicAPI
TypeError: Argument 2 passed to Mock_Access_28983e27::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User_LDAP.php on line 456

/drone/src/apps/user_ldap/lib/User_LDAP.php:456
/drone/src/lib/private/User/User.php:139
/drone/src/apps/user_ldap/tests/User_LDAPTest.php:982

4) OCA\User_LDAP\Tests\Group_LDAPTest::testCountWithSearchString
TypeError: Argument 3 passed to Mock_Access_28983e27::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1057

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1057
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:184

5) OCA\User_LDAP\Tests\Group_LDAPTest::testGroupMembers with data set #0 ('cn=Birds,dc=species,dc=earth', array('uid=3723,dc=species,dc=earth', 'uid=8372,dc=species,dc=earth', 'uid=8427,dc=species,dc=earth', 'uid=2333,dc=species,dc=earth', 'uid=4754,dc=species,dc=earth'), array(array('uid=3723,dc=species,dc=earth', 'uid=8372,dc=species,dc=earth', 'uid=8427,dc=species,dc=earth', 'uid=2333,dc=species,dc=earth', 'uid=4754,dc=species,dc=earth')))
TypeError: Argument 2 passed to Mock_Access_28983e27::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 291

/drone/src/apps/user_ldap/lib/Group_LDAP.php:291
/drone/src/tests/lib/TestCase.php:219
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1308

6) OCA\User_LDAP\Tests\Group_LDAPTest::testGroupMembers with data set #1 ('cn=Birds,dc=species,dc=earth', array('3723', '8372', '8427', '2333', '4754'), array(array('3723', '8372', '8427', '2333', '4754')))
TypeError: Argument 2 passed to Mock_Access_28983e27::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 291

/drone/src/apps/user_ldap/lib/Group_LDAP.php:291
/drone/src/tests/lib/TestCase.php:219
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1308

7) OCA\User_LDAP\Tests\Group_LDAPTest::testGetDisplayName with data set #0 ('Graphic Novelists', array('Graphic Novelists'))
TypeError: Argument 1 passed to Mock_Access_28983e27::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1325

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1325
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1349

8) OCA\User_LDAP\Tests\Group_LDAPTest::testGetDisplayName with data set #1 ('', false)
TypeError: Argument 1 passed to Mock_Access_28983e27::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1325

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1325
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1349

--

There was 1 warning:

1) Test\Security\CredentialsManagerTest::testRetrieve
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

--

There was 1 failure:

1) OCA\User_LDAP\Tests\User\UserTest::testGetHomePathConfiguredNotAvailableNotAllowed
Failed asserting that exception of type "TypeError" matches expected exception "Exception". Message was: "Argument 1 passed to Mock_Access_28983e27::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User/User.php on line 291" at
/drone/src/apps/user_ldap/lib/User/User.php:291
/drone/src/apps/user_ldap/tests/User/UserTest.php:1047
.

mariadb10.4-php7.4

Show full log
There were 8 errors:

1) OCA\User_LDAP\Tests\Group_LDAPTest::testCountWithSearchString
TypeError: Argument 3 passed to Mock_Access_e5823255::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1057

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1057
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:184

2) OCA\User_LDAP\Tests\Group_LDAPTest::testGroupMembers with data set #0 ('cn=Birds,dc=species,dc=earth', array('uid=3723,dc=species,dc=earth', 'uid=8372,dc=species,dc=earth', 'uid=8427,dc=species,dc=earth', 'uid=2333,dc=species,dc=earth', 'uid=4754,dc=species,dc=earth'), array(array('uid=3723,dc=species,dc=earth', 'uid=8372,dc=species,dc=earth', 'uid=8427,dc=species,dc=earth', 'uid=2333,dc=species,dc=earth', 'uid=4754,dc=species,dc=earth')))
TypeError: Argument 2 passed to Mock_Access_e5823255::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 291

/drone/src/apps/user_ldap/lib/Group_LDAP.php:291
/drone/src/tests/lib/TestCase.php:219
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1308

3) OCA\User_LDAP\Tests\Group_LDAPTest::testGroupMembers with data set #1 ('cn=Birds,dc=species,dc=earth', array('3723', '8372', '8427', '2333', '4754'), array(array('3723', '8372', '8427', '2333', '4754')))
TypeError: Argument 2 passed to Mock_Access_e5823255::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 291

/drone/src/apps/user_ldap/lib/Group_LDAP.php:291
/drone/src/tests/lib/TestCase.php:219
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1308

4) OCA\User_LDAP\Tests\Group_LDAPTest::testGetDisplayName with data set #0 ('Graphic Novelists', array('Graphic Novelists'))
TypeError: Argument 1 passed to Mock_Access_e5823255::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1325

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1325
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1349

5) OCA\User_LDAP\Tests\Group_LDAPTest::testGetDisplayName with data set #1 ('', false)
TypeError: Argument 1 passed to Mock_Access_e5823255::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1325

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1325
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1349

6) OCA\User_LDAP\Tests\User\UserTest::testGetHomePathConfiguredNotAvailableAllowed
TypeError: Argument 1 passed to Mock_Access_e5823255::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User/User.php on line 291

/drone/src/apps/user_ldap/lib/User/User.php:291
/drone/src/apps/user_ldap/tests/User/UserTest.php:1026

7) OCA\User_LDAP\Tests\User_LDAPTest::testGetDisplayName
TypeError: Argument 2 passed to Mock_Access_e5823255::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User_LDAP.php on line 456

/drone/src/apps/user_ldap/lib/User_LDAP.php:456
/drone/src/apps/user_ldap/tests/User_LDAPTest.php:899

8) OCA\User_LDAP\Tests\User_LDAPTest::testGetDisplayNamePublicAPI
TypeError: Argument 2 passed to Mock_Access_e5823255::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User_LDAP.php on line 456

/drone/src/apps/user_ldap/lib/User_LDAP.php:456
/drone/src/lib/private/User/User.php:139
/drone/src/apps/user_ldap/tests/User_LDAPTest.php:982

--

There was 1 warning:

1) Test\Security\CredentialsManagerTest::testRetrieve
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

--

There was 1 failure:

1) OCA\User_LDAP\Tests\User\UserTest::testGetHomePathConfiguredNotAvailableNotAllowed
Failed asserting that exception of type "TypeError" matches expected exception "Exception". Message was: "Argument 1 passed to Mock_Access_e5823255::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User/User.php on line 291" at
/drone/src/apps/user_ldap/lib/User/User.php:291
/drone/src/apps/user_ldap/tests/User/UserTest.php:1047
.

mysql8.0-php7.4

Show full log
There were 8 errors:

1) OCA\User_LDAP\Tests\Group_LDAPTest::testCountWithSearchString
TypeError: Argument 3 passed to Mock_Access_49f03a12::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1057

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1057
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:184

2) OCA\User_LDAP\Tests\Group_LDAPTest::testGroupMembers with data set #0 ('cn=Birds,dc=species,dc=earth', array('uid=3723,dc=species,dc=earth', 'uid=8372,dc=species,dc=earth', 'uid=8427,dc=species,dc=earth', 'uid=2333,dc=species,dc=earth', 'uid=4754,dc=species,dc=earth'), array(array('uid=3723,dc=species,dc=earth', 'uid=8372,dc=species,dc=earth', 'uid=8427,dc=species,dc=earth', 'uid=2333,dc=species,dc=earth', 'uid=4754,dc=species,dc=earth')))
TypeError: Argument 2 passed to Mock_Access_49f03a12::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 291

/drone/src/apps/user_ldap/lib/Group_LDAP.php:291
/drone/src/tests/lib/TestCase.php:219
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1308

3) OCA\User_LDAP\Tests\Group_LDAPTest::testGroupMembers with data set #1 ('cn=Birds,dc=species,dc=earth', array('3723', '8372', '8427', '2333', '4754'), array(array('3723', '8372', '8427', '2333', '4754')))
TypeError: Argument 2 passed to Mock_Access_49f03a12::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 291

/drone/src/apps/user_ldap/lib/Group_LDAP.php:291
/drone/src/tests/lib/TestCase.php:219
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1308

4) OCA\User_LDAP\Tests\Group_LDAPTest::testGetDisplayName with data set #0 ('Graphic Novelists', array('Graphic Novelists'))
TypeError: Argument 1 passed to Mock_Access_49f03a12::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1325

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1325
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1349

5) OCA\User_LDAP\Tests\Group_LDAPTest::testGetDisplayName with data set #1 ('', false)
TypeError: Argument 1 passed to Mock_Access_49f03a12::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1325

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1325
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1349

6) OCA\User_LDAP\Tests\User\UserTest::testGetHomePathConfiguredNotAvailableAllowed
TypeError: Argument 1 passed to Mock_Access_49f03a12::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User/User.php on line 291

/drone/src/apps/user_ldap/lib/User/User.php:291
/drone/src/apps/user_ldap/tests/User/UserTest.php:1026

7) OCA\User_LDAP\Tests\User_LDAPTest::testGetDisplayName
TypeError: Argument 2 passed to Mock_Access_49f03a12::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User_LDAP.php on line 456

/drone/src/apps/user_ldap/lib/User_LDAP.php:456
/drone/src/apps/user_ldap/tests/User_LDAPTest.php:899

8) OCA\User_LDAP\Tests\User_LDAPTest::testGetDisplayNamePublicAPI
TypeError: Argument 2 passed to Mock_Access_49f03a12::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User_LDAP.php on line 456

/drone/src/apps/user_ldap/lib/User_LDAP.php:456
/drone/src/lib/private/User/User.php:139
/drone/src/apps/user_ldap/tests/User_LDAPTest.php:982

--

There was 1 warning:

1) Test\Security\CredentialsManagerTest::testRetrieve
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

--

There was 1 failure:

1) OCA\User_LDAP\Tests\User\UserTest::testGetHomePathConfiguredNotAvailableNotAllowed
Failed asserting that exception of type "TypeError" matches expected exception "Exception". Message was: "Argument 1 passed to Mock_Access_49f03a12::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User/User.php on line 291" at
/drone/src/apps/user_ldap/lib/User/User.php:291
/drone/src/apps/user_ldap/tests/User/UserTest.php:1047
.

postgres9.6-php7.3

Show full log
There were 8 errors:

1) OCA\User_LDAP\Tests\Group_LDAPTest::testCountWithSearchString
TypeError: Argument 3 passed to Mock_Access_ce63f0a7::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1057

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1057
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:184

2) OCA\User_LDAP\Tests\Group_LDAPTest::testGroupMembers with data set #0 ('cn=Birds,dc=species,dc=earth', array('uid=3723,dc=species,dc=earth', 'uid=8372,dc=species,dc=earth', 'uid=8427,dc=species,dc=earth', 'uid=2333,dc=species,dc=earth', 'uid=4754,dc=species,dc=earth'), array(array('uid=3723,dc=species,dc=earth', 'uid=8372,dc=species,dc=earth', 'uid=8427,dc=species,dc=earth', 'uid=2333,dc=species,dc=earth', 'uid=4754,dc=species,dc=earth')))
TypeError: Argument 2 passed to Mock_Access_ce63f0a7::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 291

/drone/src/apps/user_ldap/lib/Group_LDAP.php:291
/drone/src/tests/lib/TestCase.php:219
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1308

3) OCA\User_LDAP\Tests\Group_LDAPTest::testGroupMembers with data set #1 ('cn=Birds,dc=species,dc=earth', array('3723', '8372', '8427', '2333', '4754'), array(array('3723', '8372', '8427', '2333', '4754')))
TypeError: Argument 2 passed to Mock_Access_ce63f0a7::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 291

/drone/src/apps/user_ldap/lib/Group_LDAP.php:291
/drone/src/tests/lib/TestCase.php:219
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1308

4) OCA\User_LDAP\Tests\Group_LDAPTest::testGetDisplayName with data set #0 ('Graphic Novelists', array('Graphic Novelists'))
TypeError: Argument 1 passed to Mock_Access_ce63f0a7::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1325

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1325
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1349

5) OCA\User_LDAP\Tests\Group_LDAPTest::testGetDisplayName with data set #1 ('', false)
TypeError: Argument 1 passed to Mock_Access_ce63f0a7::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1325

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1325
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1349

6) OCA\User_LDAP\Tests\User\UserTest::testGetHomePathConfiguredNotAvailableAllowed
TypeError: Argument 1 passed to Mock_Access_ce63f0a7::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User/User.php on line 291

/drone/src/apps/user_ldap/lib/User/User.php:291
/drone/src/apps/user_ldap/tests/User/UserTest.php:1026

7) OCA\User_LDAP\Tests\User_LDAPTest::testGetDisplayName
TypeError: Argument 2 passed to Mock_Access_ce63f0a7::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User_LDAP.php on line 456

/drone/src/apps/user_ldap/lib/User_LDAP.php:456
/drone/src/apps/user_ldap/tests/User_LDAPTest.php:899

8) OCA\User_LDAP\Tests\User_LDAPTest::testGetDisplayNamePublicAPI
TypeError: Argument 2 passed to Mock_Access_ce63f0a7::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User_LDAP.php on line 456

/drone/src/apps/user_ldap/lib/User_LDAP.php:456
/drone/src/lib/private/User/User.php:139
/drone/src/apps/user_ldap/tests/User_LDAPTest.php:982

--

There was 1 warning:

1) Test\Security\CredentialsManagerTest::testRetrieve
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

--

There was 1 failure:

1) OCA\User_LDAP\Tests\User\UserTest::testGetHomePathConfiguredNotAvailableNotAllowed
Failed asserting that exception of type "TypeError" matches expected exception "Exception". Message was: "Argument 1 passed to Mock_Access_ce63f0a7::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User/User.php on line 291" at
/drone/src/apps/user_ldap/lib/User/User.php:291
/drone/src/apps/user_ldap/tests/User/UserTest.php:1047
.

postgres11-php7.4

Show full log
There were 8 errors:

1) OCA\User_LDAP\Tests\User\UserTest::testGetHomePathConfiguredNotAvailableAllowed
TypeError: Argument 1 passed to Mock_Access_2a650cff::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User/User.php on line 291

/drone/src/apps/user_ldap/lib/User/User.php:291
/drone/src/apps/user_ldap/tests/User/UserTest.php:1026

2) OCA\User_LDAP\Tests\Group_LDAPTest::testCountWithSearchString
TypeError: Argument 3 passed to Mock_Access_2a650cff::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1057

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1057
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:184

3) OCA\User_LDAP\Tests\Group_LDAPTest::testGroupMembers with data set #0 ('cn=Birds,dc=species,dc=earth', array('uid=3723,dc=species,dc=earth', 'uid=8372,dc=species,dc=earth', 'uid=8427,dc=species,dc=earth', 'uid=2333,dc=species,dc=earth', 'uid=4754,dc=species,dc=earth'), array(array('uid=3723,dc=species,dc=earth', 'uid=8372,dc=species,dc=earth', 'uid=8427,dc=species,dc=earth', 'uid=2333,dc=species,dc=earth', 'uid=4754,dc=species,dc=earth')))
TypeError: Argument 2 passed to Mock_Access_2a650cff::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 291

/drone/src/apps/user_ldap/lib/Group_LDAP.php:291
/drone/src/tests/lib/TestCase.php:219
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1308

4) OCA\User_LDAP\Tests\Group_LDAPTest::testGroupMembers with data set #1 ('cn=Birds,dc=species,dc=earth', array('3723', '8372', '8427', '2333', '4754'), array(array('3723', '8372', '8427', '2333', '4754')))
TypeError: Argument 2 passed to Mock_Access_2a650cff::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 291

/drone/src/apps/user_ldap/lib/Group_LDAP.php:291
/drone/src/tests/lib/TestCase.php:219
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1308

5) OCA\User_LDAP\Tests\Group_LDAPTest::testGetDisplayName with data set #0 ('Graphic Novelists', array('Graphic Novelists'))
TypeError: Argument 1 passed to Mock_Access_2a650cff::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1325

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1325
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1349

6) OCA\User_LDAP\Tests\Group_LDAPTest::testGetDisplayName with data set #1 ('', false)
TypeError: Argument 1 passed to Mock_Access_2a650cff::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1325

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1325
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1349

7) OCA\User_LDAP\Tests\User_LDAPTest::testGetDisplayName
TypeError: Argument 2 passed to Mock_Access_2a650cff::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User_LDAP.php on line 456

/drone/src/apps/user_ldap/lib/User_LDAP.php:456
/drone/src/apps/user_ldap/tests/User_LDAPTest.php:899

8) OCA\User_LDAP\Tests\User_LDAPTest::testGetDisplayNamePublicAPI
TypeError: Argument 2 passed to Mock_Access_2a650cff::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User_LDAP.php on line 456

/drone/src/apps/user_ldap/lib/User_LDAP.php:456
/drone/src/lib/private/User/User.php:139
/drone/src/apps/user_ldap/tests/User_LDAPTest.php:982

--

There was 1 warning:

1) Test\Security\CredentialsManagerTest::testRetrieve
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

--

There was 1 failure:

1) OCA\User_LDAP\Tests\User\UserTest::testGetHomePathConfiguredNotAvailableNotAllowed
Failed asserting that exception of type "TypeError" matches expected exception "Exception". Message was: "Argument 1 passed to Mock_Access_2a650cff::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User/User.php on line 291" at
/drone/src/apps/user_ldap/lib/User/User.php:291
/drone/src/apps/user_ldap/tests/User/UserTest.php:1047
.

postgres12-php7.4

Show full log
There were 8 errors:

1) OCA\User_LDAP\Tests\User\UserTest::testGetHomePathConfiguredNotAvailableAllowed
TypeError: Argument 1 passed to Mock_Access_5bfe0c3d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User/User.php on line 291

/drone/src/apps/user_ldap/lib/User/User.php:291
/drone/src/apps/user_ldap/tests/User/UserTest.php:1026

2) OCA\User_LDAP\Tests\Group_LDAPTest::testCountWithSearchString
TypeError: Argument 3 passed to Mock_Access_5bfe0c3d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1057

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1057
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:184

3) OCA\User_LDAP\Tests\Group_LDAPTest::testGroupMembers with data set #0 ('cn=Birds,dc=species,dc=earth', array('uid=3723,dc=species,dc=earth', 'uid=8372,dc=species,dc=earth', 'uid=8427,dc=species,dc=earth', 'uid=2333,dc=species,dc=earth', 'uid=4754,dc=species,dc=earth'), array(array('uid=3723,dc=species,dc=earth', 'uid=8372,dc=species,dc=earth', 'uid=8427,dc=species,dc=earth', 'uid=2333,dc=species,dc=earth', 'uid=4754,dc=species,dc=earth')))
TypeError: Argument 2 passed to Mock_Access_5bfe0c3d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 291

/drone/src/apps/user_ldap/lib/Group_LDAP.php:291
/drone/src/tests/lib/TestCase.php:219
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1308

4) OCA\User_LDAP\Tests\Group_LDAPTest::testGroupMembers with data set #1 ('cn=Birds,dc=species,dc=earth', array('3723', '8372', '8427', '2333', '4754'), array(array('3723', '8372', '8427', '2333', '4754')))
TypeError: Argument 2 passed to Mock_Access_5bfe0c3d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 291

/drone/src/apps/user_ldap/lib/Group_LDAP.php:291
/drone/src/tests/lib/TestCase.php:219
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1308

5) OCA\User_LDAP\Tests\Group_LDAPTest::testGetDisplayName with data set #0 ('Graphic Novelists', array('Graphic Novelists'))
TypeError: Argument 1 passed to Mock_Access_5bfe0c3d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1325

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1325
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1349

6) OCA\User_LDAP\Tests\Group_LDAPTest::testGetDisplayName with data set #1 ('', false)
TypeError: Argument 1 passed to Mock_Access_5bfe0c3d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1325

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1325
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1349

7) OCA\User_LDAP\Tests\User_LDAPTest::testGetDisplayName
TypeError: Argument 2 passed to Mock_Access_5bfe0c3d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User_LDAP.php on line 456

/drone/src/apps/user_ldap/lib/User_LDAP.php:456
/drone/src/apps/user_ldap/tests/User_LDAPTest.php:899

8) OCA\User_LDAP\Tests\User_LDAPTest::testGetDisplayNamePublicAPI
TypeError: Argument 2 passed to Mock_Access_5bfe0c3d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User_LDAP.php on line 456

/drone/src/apps/user_ldap/lib/User_LDAP.php:456
/drone/src/lib/private/User/User.php:139
/drone/src/apps/user_ldap/tests/User_LDAPTest.php:982

--

There was 1 warning:

1) Test\Security\CredentialsManagerTest::testRetrieve
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

--

There was 1 failure:

1) OCA\User_LDAP\Tests\User\UserTest::testGetHomePathConfiguredNotAvailableNotAllowed
Failed asserting that exception of type "TypeError" matches expected exception "Exception". Message was: "Argument 1 passed to Mock_Access_5bfe0c3d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User/User.php on line 291" at
/drone/src/apps/user_ldap/lib/User/User.php:291
/drone/src/apps/user_ldap/tests/User/UserTest.php:1047
.

postgres13-php7.4

Show full log
There were 8 errors:

1) OCA\User_LDAP\Tests\User_LDAPTest::testGetDisplayName
TypeError: Argument 2 passed to Mock_Access_f8191e5d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User_LDAP.php on line 456

/drone/src/apps/user_ldap/lib/User_LDAP.php:456
/drone/src/apps/user_ldap/tests/User_LDAPTest.php:899

2) OCA\User_LDAP\Tests\User_LDAPTest::testGetDisplayNamePublicAPI
TypeError: Argument 2 passed to Mock_Access_f8191e5d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User_LDAP.php on line 456

/drone/src/apps/user_ldap/lib/User_LDAP.php:456
/drone/src/lib/private/User/User.php:139
/drone/src/apps/user_ldap/tests/User_LDAPTest.php:982

3) OCA\User_LDAP\Tests\Group_LDAPTest::testCountWithSearchString
TypeError: Argument 3 passed to Mock_Access_f8191e5d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1057

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1057
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:184

4) OCA\User_LDAP\Tests\Group_LDAPTest::testGroupMembers with data set #0 ('cn=Birds,dc=species,dc=earth', array('uid=3723,dc=species,dc=earth', 'uid=8372,dc=species,dc=earth', 'uid=8427,dc=species,dc=earth', 'uid=2333,dc=species,dc=earth', 'uid=4754,dc=species,dc=earth'), array(array('uid=3723,dc=species,dc=earth', 'uid=8372,dc=species,dc=earth', 'uid=8427,dc=species,dc=earth', 'uid=2333,dc=species,dc=earth', 'uid=4754,dc=species,dc=earth')))
TypeError: Argument 2 passed to Mock_Access_f8191e5d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 291

/drone/src/apps/user_ldap/lib/Group_LDAP.php:291
/drone/src/tests/lib/TestCase.php:219
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1308

5) OCA\User_LDAP\Tests\Group_LDAPTest::testGroupMembers with data set #1 ('cn=Birds,dc=species,dc=earth', array('3723', '8372', '8427', '2333', '4754'), array(array('3723', '8372', '8427', '2333', '4754')))
TypeError: Argument 2 passed to Mock_Access_f8191e5d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 291

/drone/src/apps/user_ldap/lib/Group_LDAP.php:291
/drone/src/tests/lib/TestCase.php:219
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1308

6) OCA\User_LDAP\Tests\Group_LDAPTest::testGetDisplayName with data set #0 ('Graphic Novelists', array('Graphic Novelists'))
TypeError: Argument 1 passed to Mock_Access_f8191e5d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1325

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1325
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1349

7) OCA\User_LDAP\Tests\Group_LDAPTest::testGetDisplayName with data set #1 ('', false)
TypeError: Argument 1 passed to Mock_Access_f8191e5d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/Group_LDAP.php on line 1325

/drone/src/apps/user_ldap/lib/Group_LDAP.php:1325
/drone/src/apps/user_ldap/tests/Group_LDAPTest.php:1349

8) OCA\User_LDAP\Tests\User\UserTest::testGetHomePathConfiguredNotAvailableAllowed
TypeError: Argument 1 passed to Mock_Access_f8191e5d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User/User.php on line 291

/drone/src/apps/user_ldap/lib/User/User.php:291
/drone/src/apps/user_ldap/tests/User/UserTest.php:1026

--

There was 1 warning:

1) Test\Security\CredentialsManagerTest::testRetrieve
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

--

There was 1 failure:

1) OCA\User_LDAP\Tests\User\UserTest::testGetHomePathConfiguredNotAvailableNotAllowed
Failed asserting that exception of type "TypeError" matches expected exception "Exception". Message was: "Argument 1 passed to Mock_Access_f8191e5d::readAttribute() must be of the type string, null given, called in /drone/src/apps/user_ldap/lib/User/User.php on line 291" at
/drone/src/apps/user_ldap/lib/User/User.php:291
/drone/src/apps/user_ldap/tests/User/UserTest.php:1047
.

@rullzer
Copy link
Member

rullzer commented Feb 11, 2021

@dependabot-bot recreate

@dependabot-preview
Copy link
Contributor Author

Superseded by #25574.

@dependabot-preview dependabot-preview bot deleted the dependabot/composer/vimeo/psalm-4.3.0 branch February 11, 2021 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish feature: dependencies php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants