Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"rector": "rector && composer cs:fix"
},
"require-dev": {
"nextcloud/ocp": "dev-master",
"bamarni/composer-bin-plugin": "^1.8"
}
}
362 changes: 2 additions & 360 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/Activity/ProviderParser.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

declare(strict_types=1);
Expand Down Expand Up @@ -71,7 +71,7 @@
foreach ($ak as $k) {
$subAk = array_keys($data[$k]);
foreach ($subAk as $sK) {
if (str_starts_with($sK, '_')) {
if (str_starts_with((string)$sK, '_')) {

Check failure on line 74 in lib/Activity/ProviderParser.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis

InvalidCast

lib/Activity/ProviderParser.php:74:33: InvalidCast: key-of<array<array-key, mixed>> cannot be cast to string (see https://psalm.dev/103)
unset($data[$k][$sK]);
}
}
Expand Down
Loading
Loading