Skip to content

chore: update psalm baseline

3cc70aa
Select commit
Loading
Failed to load commit list.
Merged

build(deps): bump nextcloud/coding-standard from 1.2.1 to 1.2.2 in /vendor-bin/cs-fixer #52462

chore: update psalm baseline
3cc70aa
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / Psalm failed Apr 30, 2025 in 16s

2,474 new alerts including 20 errors

New alerts in code changed by this pull request

  • 20 errors
  • 2,454 notes

Alerts not introduced by this pull request might have been detected because the code changes were too large.

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 47 in apps/comments/lib/Listener/CommentsEntityEventListener.php

See this annotation in the file changed.

Code scanning / Psalm

PossiblyNullArgument

Argument 1 of OCP\Files\IRootFolder::getUserFolder cannot be null, possibly null value provided

Check notice on line 25 in apps/comments/lib/MaxAutoCompleteResultsInitialState.php

See this annotation in the file changed.

Code scanning / Psalm

DeprecatedMethod

The method OCP\IConfig::getAppValue has been marked as deprecated

Check notice on line 82 in apps/dav/lib/BulkUpload/BulkUploadPlugin.php

See this annotation in the file changed.

Code scanning / Psalm

PossiblyNullReference

Cannot call method getETag on possibly null value

Check notice on line 803 in apps/dav/lib/CalDAV/CalDavBackend.php

See this annotation in the file changed.

Code scanning / Psalm

RedundantCastGivenDocblockType

Redundant cast to int given docblock-provided type

Check notice on line 803 in apps/dav/lib/CalDAV/CalDavBackend.php

See this annotation in the file changed.

Code scanning / Psalm

PossiblyNullArgument

Argument 2 of OCA\DAV\Events\CalendarCreatedEvent::__construct cannot be null, possibly null value provided

Check notice on line 154 in apps/dav/lib/CalDAV/CalendarHome.php

See this annotation in the file changed.

Code scanning / Psalm

RiskyTruthyFalsyComparison

Operand of type array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead.

Check notice on line 86 in apps/dav/lib/CalDAV/EventComparisonService.php

See this annotation in the file changed.

Code scanning / Psalm

RedundantConditionGivenDocblockType

Docblock-defined type array<array-key, mixed> for $oldEventComponents is always array<array-key, mixed>

Check notice on line 141 in apps/dav/lib/CalDAV/Schedule/IMipPlugin.php

See this annotation in the file changed.

Code scanning / Psalm

RiskyTruthyFalsyComparison

Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead.

Check notice on line 141 in apps/dav/lib/CalDAV/Schedule/IMipPlugin.php

See this annotation in the file changed.

Code scanning / Psalm

RedundantCast

Redundant cast to string

Check notice on line 155 in apps/dav/lib/CalDAV/Schedule/IMipPlugin.php

See this annotation in the file changed.

Code scanning / Psalm

DocblockTypeContradiction

Operand of type false is always falsy

Check notice on line 155 in apps/dav/lib/CalDAV/Schedule/IMipPlugin.php

See this annotation in the file changed.

Code scanning / Psalm

DocblockTypeContradiction

Docblock-defined type Sabre\VObject\Component\VEvent for $vEvent is never falsy

Check notice on line 985 in apps/dav/lib/CalDAV/Schedule/IMipService.php

See this annotation in the file changed.

Code scanning / Psalm

PossiblyNullArgument

Argument 1 of strcasecmp cannot be null, possibly null value provided

Check notice on line 104 in apps/dav/lib/CalDAV/Status/StatusService.php

See this annotation in the file changed.

Code scanning / Psalm

RedundantConditionGivenDocblockType

Docblock-defined type DateTimeImmutable for $dateTime is always DateTimeImmutable

Check notice on line 253 in apps/dav/lib/CardDAV/AddressBook.php

See this annotation in the file changed.

Code scanning / Psalm

PossiblyNullArgument

Argument 4 of OCA\DAV\CardDAV\CardDavBackend::moveCard cannot be null, possibly null value provided

Check notice on line 376 in apps/dav/lib/CardDAV/CardDavBackend.php

See this annotation in the file changed.

Code scanning / Psalm

PossiblyNullArgument

Argument 2 of OCA\DAV\Events\AddressBookUpdatedEvent::__construct cannot be null, possibly null value provided

Check notice on line 102 in apps/dav/lib/Command/MoveCalendar.php

See this annotation in the file changed.

Code scanning / Psalm

PossiblyNullOperand

Cannot concatenate with a possibly null null|string

Check notice on line 154 in apps/dav/lib/Connector/Sabre/Node.php

See this annotation in the file changed.

Code scanning / Psalm

RedundantCastGivenDocblockType

Redundant cast to int given docblock-provided type

Check notice on line 268 in apps/dav/lib/Connector/Sabre/Node.php

See this annotation in the file changed.

Code scanning / Psalm

RedundantCastGivenDocblockType

Redundant cast to int given docblock-provided type

Check notice on line 206 in apps/dav/lib/Connector/Sabre/TagsPlugin.php

See this annotation in the file changed.

Code scanning / Psalm

RedundantCastGivenDocblockType

Redundant cast to int given docblock-provided type

Check notice on line 208 in apps/dav/lib/Connector/Sabre/TagsPlugin.php

See this annotation in the file changed.

Code scanning / Psalm

UndefinedInterfaceMethod

Method Sabre\DAV\INode::getId does not exist

Check notice on line 228 in apps/dav/lib/Connector/Sabre/TagsPlugin.php

See this annotation in the file changed.

Code scanning / Psalm

PossiblyUndefinedVariable

Possibly undefined variable $fileIds, first seen on line 228

Check notice on line 61 in apps/dav/lib/DAV/Sharing/Backend.php

See this annotation in the file changed.

Code scanning / Psalm

PossiblyNullArgument

Argument 1 of strcasecmp cannot be null, possibly null value provided

Check notice on line 86 in apps/dav/lib/DAV/Sharing/Backend.php

See this annotation in the file changed.

Code scanning / Psalm

PossiblyNullArgument

Argument 1 of strcasecmp cannot be null, possibly null value provided

Check notice on line 358 in apps/dav/lib/Files/FileSearchBackend.php

See this annotation in the file changed.

Code scanning / Psalm

RedundantCastGivenDocblockType

Redundant cast to int given docblock-provided type

Check notice on line 60 in apps/dav/lib/Migration/BuildSocialSearchIndex.php

See this annotation in the file changed.

Code scanning / Psalm

DeprecatedMethod

The method OCP\DB\QueryBuilder\IQueryBuilder::execute has been marked as deprecated