You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/phpstan-baseline.neon

2714 lines
89 KiB
Plaintext

parameters:
ignoreErrors:
-
message: '#^Strict comparison using \=\=\= between non\-empty\-string and '''' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: app/Auth/AppRegisterGrant.php
-
message: '#^Strict comparison using \=\=\= between int and ''4'' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: app/Console/Commands/Admin/Unstable/MediaMoveStorageCloudToLocal.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 1
path: app/Console/Commands/Concerns/ManagesMediaStorageEnv.php
-
message: '#^Access to an undefined property App\\Models\\Avatar\:\:\$thumb_path\.$#'
identifier: property.notFound
count: 5
path: app/Console/Commands/Deprecated/AvatarDefaultMigration.php
-
message: '#^Property App\\Models\\Media\:\:\$size \(int\<0, max\>\|null\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Console/Commands/FixBugs/FetchMissingMediaMimeType.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Console/Commands/FixBugs/FixDuplicateProfiles.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$scope\.$#'
identifier: property.notFound
count: 1
path: app/Console/Commands/FixBugs/FixHashtags.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Console/Commands/FixBugs/FixMissingUserProfile.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 2
path: app/Console/Commands/FixBugs/FixMissingUserProfile.php
-
message: '#^Comparison operation "\>" between int\<1, max\> and 0 is always true\.$#'
identifier: greater.alwaysTrue
count: 1
path: app/Console/Commands/FixBugs/FixUsernames.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 1
path: app/Console/Commands/Install/Installer.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereHashtagId\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Console/Commands/Internal/HashtagCachedCountUpdate.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Console/Commands/Internal/ImportRemoveDeletedAccounts.php
-
message: '#^Call to an undefined static method Illuminate\\Database\\Eloquent\\Model\:\:withTrashed\(\)\.$#'
identifier: staticMethod.notFound
count: 1
path: app/Console/Commands/Media/MediaFilterCleanup.php
-
message: '#^Dead catch \- Throwable is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: app/Console/Commands/Status/StatusProfile.php
-
message: '#^Ternary operator condition is always true\.$#'
identifier: ternary.alwaysTrue
count: 1
path: app/Console/Commands/Status/StatusProfile.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 1
path: app/Console/Commands/Status/StatusStatuses.php
-
message: '#^Dead catch \- Throwable is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: app/Console/Commands/Status/StatusUser.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Console/Commands/Status/StatusUser.php
-
message: '#^Strict comparison using \!\=\= between list\{0\: non\-falsy\-string, 1\?\: non\-falsy\-string, 2\?\: non\-falsy\-string, 3\?\: non\-falsy\-string, 4\?\: ''2FA disabled''\|''2FA enabled \(login…''\} and array\{\} will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: app/Console/Commands/Status/StatusUser.php
-
message: '#^Instanceof between Throwable and Throwable will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: app/Console/Commands/User/UserAccountDelete.php
-
message: '#^Offset ''algoName'' on array\{algo\: string\|null, algoName\: string, options\: array\<string, mixed\>\} on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Console/Commands/User/UserCheckPassword.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$status\.$#'
identifier: property.notFound
count: 1
path: app/Console/Commands/User/UserDelete.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Console/Commands/User/UserDelete.php
-
message: '#^Property App\\Models\\User\:\:\$remember_token \(string\) does not accept null\.$#'
identifier: assign.propertyType
count: 1
path: app/Console/Commands/User/UserSetPassword.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$status\.$#'
identifier: property.notFound
count: 1
path: app/Console/Commands/User/UserUnsuspend.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$followers_count\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AccountController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$following\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AccountController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$following_count\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AccountController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 4
path: app/Http/Controllers/AccountController.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: app/Http/Controllers/Admin/AdminAutospamController.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Http/Controllers/Admin/AdminAutospamController.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Http/Controllers/Admin/AdminDirectoryController.php
-
message: '#^Ternary operator condition is always true\.$#'
identifier: ternary.alwaysTrue
count: 1
path: app/Http/Controllers/Admin/AdminDirectoryController.php
-
message: '#^Trait App\\Http\\Controllers\\Admin\\AdminGroupsController is used zero times and is not analysed\.$#'
identifier: trait.unused
count: 1
path: app/Http/Controllers/Admin/AdminGroupsController.php
-
message: '#^Loose comparison using \=\= between ''open'' and ''open'' will always evaluate to true\.$#'
identifier: equal.alwaysTrue
count: 1
path: app/Http/Controllers/Admin/AdminReportController.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 2
path: app/Http/Controllers/Admin/AdminReportController.php
-
message: '#^Negated boolean expression is always true\.$#'
identifier: booleanNot.alwaysTrue
count: 1
path: app/Http/Controllers/Admin/AdminReportController.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 3
path: app/Http/Controllers/Admin/AdminReportController.php
-
message: '#^Call to function abort_unless\(\) with bool and 400 will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Http/Controllers/Admin/AdminSettingsController.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 2
path: app/Http/Controllers/Admin/AdminSettingsController.php
-
message: '#^Trait App\\Http\\Controllers\\Admin\\AdminSupportController is used zero times and is not analysed\.$#'
identifier: trait.unused
count: 1
path: app/Http/Controllers/Admin/AdminSupportController.php
-
message: '#^Access to an undefined property App\\Models\\AccountInterstitial\:\:\$count\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AdminController.php
-
message: '#^Access to an undefined property App\\Models\\AccountInterstitial\:\:\$month_year\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AdminController.php
-
message: '#^Access to an undefined property App\\Models\\AccountInterstitial\|Illuminate\\Database\\Eloquent\\Collection\<\(int\|string\), App\\Models\\AccountInterstitial\>\:\:\$status\.$#'
identifier: property.notFound
count: 3
path: app/Http/Controllers/AdminController.php
-
message: '#^Access to an undefined property App\\Models\\Contact\|Illuminate\\Database\\Eloquent\\Collection\<\(int\|string\), App\\Models\\Contact\>\:\:\$user\.$#'
identifier: property.notFound
count: 3
path: app/Http/Controllers/AdminController.php
-
message: '#^Access to an undefined property App\\Models\\Newsroom\:\:\$published\.$#'
identifier: property.notFound
count: 4
path: app/Http/Controllers/AdminController.php
-
message: '#^Access to an undefined property App\\Models\\Newsroom\|Illuminate\\Database\\Eloquent\\Collection\<\(int\|string\), App\\Models\\Newsroom\>\:\:\$published\.$#'
identifier: property.notFound
count: 4
path: app/Http/Controllers/AdminController.php
-
message: '#^Access to an undefined property App\\Models\\User\|Illuminate\\Database\\Eloquent\\Collection\<\(int\|string\), App\\Models\\User\>\:\:\$bio\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AdminController.php
-
message: '#^Access to an undefined property App\\Models\\User\|Illuminate\\Database\\Eloquent\\Collection\<\(int\|string\), App\\Models\\User\>\:\:\$website\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AdminController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$bio\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/AdminController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$delete_after\.$#'
identifier: property.notFound
count: 3
path: app/Http/Controllers/AdminController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AdminController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$profile_id\.$#'
identifier: property.notFound
count: 14
path: app/Http/Controllers/AdminController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$status\.$#'
identifier: property.notFound
count: 3
path: app/Http/Controllers/AdminController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$username\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AdminController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$website\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/AdminController.php
-
message: '#^Call to an undefined method Illuminate\\Contracts\\Pagination\\CursorPaginator\:\:map\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/AdminController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereUserId\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/AdminController.php
-
message: '#^Property App\\Models\\Newsroom\:\:\$body \(string\|null\) does not accept bool\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/AdminController.php
-
message: '#^Property App\\Models\\Newsroom\:\:\$category \(string\) does not accept bool\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/AdminController.php
-
message: '#^Property App\\Models\\Newsroom\:\:\$summary \(string\|null\) does not accept bool\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/AdminController.php
-
message: '#^Property App\\Models\\Newsroom\:\:\$title \(string\|null\) does not accept bool\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/AdminController.php
-
message: '#^Access to an undefined property App\\Models\\CuratedRegister\|Illuminate\\Database\\Eloquent\\Collection\<\(int\|string\), App\\Models\\CuratedRegister\>\:\:\$message\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AdminCuratedRegisterController.php
-
message: '#^Offset ''aid'' on array\{id\: int, action\: string, title\: string, message\: null, link\: null, timestamp\: Carbon\\Carbon\|null\} in isset\(\) does not exist\.$#'
identifier: isset.offset
count: 1
path: app/Http/Controllers/AdminCuratedRegisterController.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Http/Controllers/AdminCuratedRegisterController.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: app/Http/Controllers/AdminInviteController.php
-
message: '#^Access to an undefined property App\\Models\\AccountInterstitial\|Illuminate\\Database\\Eloquent\\Collection\<\(int\|string\), App\\Models\\AccountInterstitial\>\:\:\$status\.$#'
identifier: property.notFound
count: 3
path: app/Http/Controllers/Api/AdminApiController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$cw\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/AdminApiController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 4
path: app/Http/Controllers/Api/AdminApiController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$is_admin\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/AdminApiController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$no_autolink\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/AdminApiController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$profile\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/AdminApiController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$profile_id\.$#'
identifier: property.notFound
count: 10
path: app/Http/Controllers/Api/AdminApiController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$unlisted\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/AdminApiController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereFollowingId\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/AdminApiController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereProfileId\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/AdminApiController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereUserId\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/AdminApiController.php
-
message: '#^Using nullsafe property access "\?\-\>is_admin" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Http/Controllers/Api/AdminApiController.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$settings\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$bio\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$cw\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$followers_count\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$following_count\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 24
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$is_private\.$#'
identifier: property.notFound
count: 4
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$is_suggestable\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$unlisted\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$user_id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$username\.$#'
identifier: property.notFound
count: 3
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$website\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Access to an undefined property Laravel\\Passport\\Contracts\\ScopeAuthorizable\:\:\$client\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Call to an undefined method Illuminate\\Contracts\\Pagination\\CursorPaginator\:\:filter\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereFollowingId\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereProfileId\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 16
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Loose comparison using \!\= between int\<0, max\>\|false and \-1 will always evaluate to true\.$#'
identifier: notEqual.alwaysTrue
count: 10
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 2
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Negated boolean expression is always true\.$#'
identifier: booleanNot.alwaysTrue
count: 1
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Offset ''accounts'' on array\{id\: mixed, unread\: false, accounts\: array\{mixed\}, last_status\: mixed\} in isset\(\) always exists and is not nullable\.$#'
identifier: isset.offset
count: 1
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 1
path: app/Http/Controllers/Api/ApiV1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$avatar\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ApiV1Dot1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$cw\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ApiV1Dot1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ApiV1Dot1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$is_private\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ApiV1Dot1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$unlisted\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/ApiV1Dot1Controller.php
-
message: '#^Access to an undefined property Laravel\\Passport\\Contracts\\ScopeAuthorizable\:\:\$id\.$#'
identifier: property.notFound
count: 3
path: app/Http/Controllers/Api/ApiV1Dot1Controller.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereEmail\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/ApiV1Dot1Controller.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Http/Controllers/Api/ApiV1Dot1Controller.php
-
message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Http/Controllers/Api/ApiV1Dot1Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Api/ApiV2Controller.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 1
path: app/Http/Controllers/Api/ApiV2Controller.php
-
message: '#^Loose comparison using \!\= between int\<0, max\>\|false and \-1 will always evaluate to true\.$#'
identifier: notEqual.alwaysTrue
count: 1
path: app/Http/Controllers/Api/ApiV2Controller.php
-
message: '#^Method App\\Http\\Controllers\\Api\\ApiV2Controller\:\:getDescendantsCursorPaginated\(\) is unused\.$#'
identifier: method.unused
count: 1
path: app/Http/Controllers/Api/ApiV2Controller.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$avatar\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Api/BaseApiController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/Api/BaseApiController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereProfileId\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Api/BaseApiController.php
-
message: '#^Using nullsafe property access on non\-nullable type App\\Models\\User\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Http/Controllers/Api/BaseApiController.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Http/Controllers/Api/V1/TagsController.php
-
message: '#^Negated boolean expression is always true\.$#'
identifier: booleanNot.alwaysTrue
count: 2
path: app/Http/Controllers/Api/V1/TagsController.php
-
message: '#^Access to protected property Laravel\\Passport\\PersonalAccessTokenResult\:\:\$token\.$#'
identifier: property.protected
count: 1
path: app/Http/Controllers/AppRegisterController.php
-
message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\StatefulGuard\:\:getLastAttempted\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Auth/LoginController.php
-
message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\StatefulGuard\:\:getProvider\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/Auth/LoginController.php
-
message: '#^Access to an undefined property App\\Models\\Avatar\:\:\$recentlyCreated\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/AvatarController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$avatar\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/AvatarController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/AvatarController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/CircleController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/CollectionController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 4
path: app/Http/Controllers/CommentController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$is_private\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/CommentController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$username\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/CommentController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:url\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/CommentController.php
-
message: '#^Access to an undefined property App\\Models\\Profile\:\:\$is_followed\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ComposeController.php
-
message: '#^Access to an undefined property App\\Models\\Status\:\:\$pc\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/ComposeController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$cw\.$#'
identifier: property.notFound
count: 3
path: app/Http/Controllers/ComposeController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 9
path: app/Http/Controllers/ComposeController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$is_private\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ComposeController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$unlisted\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/ComposeController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$user_id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/ComposeController.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: app/Http/Controllers/ComposeController.php
-
message: '#^Property App\\Models\\Media\:\:\$version \(int\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/ComposeController.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Http/Controllers/ComposeController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 6
path: app/Http/Controllers/CustomFilterController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$keyword\.$#'
identifier: property.notFound
count: 4
path: app/Http/Controllers/CustomFilterController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$status_id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/CustomFilterController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$whole_word\.$#'
identifier: property.notFound
count: 4
path: app/Http/Controllers/CustomFilterController.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: app/Http/Controllers/CustomFilterController.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$settings\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/DirectMessageController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$caption\.$#'
identifier: property.notFound
count: 4
path: app/Http/Controllers/DirectMessageController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$domain\.$#'
identifier: property.notFound
count: 4
path: app/Http/Controllers/DirectMessageController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 14
path: app/Http/Controllers/DirectMessageController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$media\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/DirectMessageController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/DirectMessageController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$username\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/DirectMessageController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:avatarUrl\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/DirectMessageController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:url\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/DirectMessageController.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 1
path: app/Http/Controllers/DirectMessageController.php
-
message: '#^Property App\\Models\\DirectMessage\:\:\$meta \(string\|null\) does not accept array\<string, bool\|string\|null\>\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/DirectMessageController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereScope\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/DiscoverController.php
-
message: '#^Negated boolean expression is always true\.$#'
identifier: booleanNot.alwaysTrue
count: 1
path: app/Http/Controllers/DiscoverController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$domain\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/FederationController.php
-
message: '#^Access to an undefined property App\\Models\\GroupPost\|Illuminate\\Database\\Eloquent\\Collection\<\(int\|string\), App\\Models\\GroupPost\>\:\:\$status_id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/GroupController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\<App\\Models\\GroupPost\>\:\:whereStatusId\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/GroupController.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Http/Controllers/GroupController.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Http/Controllers/GroupController.php
-
message: '#^Using nullsafe property access "\?\-\>profile_id" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Http/Controllers/GroupController.php
-
message: '#^Access to an undefined property App\\Models\\GroupPost\|Illuminate\\Database\\Eloquent\\Collection\<\(int\|string\), App\\Models\\GroupPost\>\:\:\$status_id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/GroupFederationController.php
-
message: '#^Access to an undefined property App\\Models\\GroupReport\:\:\$total\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Groups/GroupsAdminController.php
-
message: '#^Access to an undefined property App\\Models\\GroupMember\:\:\$group\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Groups/GroupsApiController.php
-
message: '#^Using nullsafe property access "\?\-\>profile_id" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Http/Controllers/Groups/GroupsFeedController.php
-
message: '#^Access to an undefined property App\\Models\\GroupPost\|Illuminate\\Database\\Eloquent\\Collection\<\(int\|string\), App\\Models\\GroupPost\>\:\:\$in_reply_to_id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Groups/GroupsPostController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Groups/GroupsPostController.php
-
message: '#^Access to an undefined property App\\Models\\Profile\:\:\$profile_id\.$#'
identifier: property.notFound
count: 4
path: app/Http/Controllers/Groups/GroupsSearchController.php
-
message: '#^Access to an undefined property App\\Models\\GroupHashtag\|Illuminate\\Database\\Eloquent\\Collection\<\(int\|string\), App\\Models\\GroupHashtag\>\:\:\$slug\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/Groups/GroupsTopicController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 3
path: app/Http/Controllers/HashtagFollowController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/HashtagFollowController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 11
path: app/Http/Controllers/ImportController.php
-
message: '#^Negated boolean expression is always true\.$#'
identifier: booleanNot.alwaysTrue
count: 1
path: app/Http/Controllers/ImportPostController.php
-
message: '#^Property App\\Models\\ImportPost\:\:\$creation_day \(int\<0, max\>\|null\) does not accept ''01''\|''02''\|''03''\|''04''\|''05''\|''06''\|''07''\|''08''\|''09''\|''10''\|''11''\|''12''\|''13''\|''14''\|''15''\|''16''\|''17''\|''18''\|''19''\|''20''\|''21''\|''22''\|''23''\|''24''\|''25''\|''26''\|''27''\|''28''\|''29''\|''30''\|''31''\.$#'
identifier: assign.propertyType
count: 2
path: app/Http/Controllers/ImportPostController.php
-
message: '#^Property App\\Models\\ImportPost\:\:\$creation_month \(int\<0, max\>\|null\) does not accept ''01''\|''02''\|''03''\|''04''\|''05''\|''06''\|''07''\|''08''\|''09''\|''10''\|''11''\|''12''\.$#'
identifier: assign.propertyType
count: 2
path: app/Http/Controllers/ImportPostController.php
-
message: '#^Property App\\Models\\ImportPost\:\:\$creation_year \(int\<0, max\>\|null\) does not accept numeric\-string\.$#'
identifier: assign.propertyType
count: 2
path: app/Http/Controllers/ImportPostController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 3
path: app/Http/Controllers/InternalApiController.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Http/Controllers/LikeController.php
-
message: '#^Strict comparison using \=\=\= between false and false will always evaluate to true\.$#'
identifier: identical.alwaysTrue
count: 1
path: app/Http/Controllers/LiveStreamController.php
-
message: '#^Ternary operator condition is always true\.$#'
identifier: ternary.alwaysTrue
count: 1
path: app/Http/Controllers/LiveStreamController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/MicroController.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 2
path: app/Http/Controllers/NewsroomController.php
-
message: '#^Access to protected property Laravel\\Passport\\PersonalAccessTokenResult\:\:\$token\.$#'
identifier: property.protected
count: 2
path: app/Http/Controllers/PersonalAccessTokenController.php
-
message: '#^Call to function method_exists\(\) with Laravel\\Passport\\Client and ''hasGrantType'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Http/Controllers/PersonalAccessTokenController.php
-
message: '#^Ternary operator condition is always true\.$#'
identifier: ternary.alwaysTrue
count: 1
path: app/Http/Controllers/PixelfedDirectoryController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereProfileId\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/PortfolioController.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 4
path: app/Http/Controllers/PortfolioController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$aliases\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/ProfileAliasController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 3
path: app/Http/Controllers/ProfileController.php
-
message: '#^Call to function abort_if\(\) with false and 404 will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: app/Http/Controllers/ProfileController.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 2
path: app/Http/Controllers/ProfileController.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Http/Controllers/ProfileController.php
-
message: '#^Offset ''items'' on array\{items\: Illuminate\\Support\\Collection\<int, mixed\>, permalink\: non\-falsy\-string, headers\: array\{Content\-Type\: ''application/atom\+xml'', Last\-Modified\?\: string\}\} in isset\(\) always exists and is not nullable\.$#'
identifier: isset.offset
count: 1
path: app/Http/Controllers/ProfileController.php
-
message: '#^Offset ''permalink'' on array\{items\: Illuminate\\Support\\Collection\<int, mixed\>, permalink\: non\-falsy\-string, headers\: array\{Content\-Type\: ''application/atom\+xml'', Last\-Modified\?\: string\}\} in isset\(\) always exists and is not nullable\.$#'
identifier: isset.offset
count: 1
path: app/Http/Controllers/ProfileController.php
-
message: '#^Result of \|\| is always false\.$#'
identifier: booleanOr.alwaysFalse
count: 2
path: app/Http/Controllers/ProfileController.php
-
message: '#^Strict comparison using \!\=\= between App\\Models\\User and null will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 2
path: app/Http/Controllers/ProfileController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$followers_count\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/ProfileMigrationController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$username\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/ProfileMigrationController.php
-
message: '#^Access to an undefined property Illuminate\\Support\\ValidatedInput\:\:\$acct\.$#'
identifier: property.notFound
count: 3
path: app/Http/Controllers/ProfileMigrationController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/PublicApiController.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 1
path: app/Http/Controllers/PublicApiController.php
-
message: '#^Negated boolean expression is always true\.$#'
identifier: booleanNot.alwaysTrue
count: 2
path: app/Http/Controllers/PublicApiController.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 4
path: app/Http/Controllers/PublicApiController.php
-
message: '#^Ternary operator condition is always true\.$#'
identifier: ternary.alwaysTrue
count: 3
path: app/Http/Controllers/PublicApiController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$avatar\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/RemoteAuthController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$bio\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/RemoteAuthController.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Http/Controllers/RemoteAuthController.php
-
message: '#^Access to an undefined property App\\Models\\UserOidcMapping\:\:\$user\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/RemoteOidcController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/ReportController.php
-
message: '#^Access to an undefined property App\\Models\\Status\:\:\$count\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/SeasonalController.php
-
message: '#^Access to an undefined property App\\Models\\StatusHashtag\:\:\$count\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/SeasonalController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/SeasonalController.php
-
message: '#^Cannot call method getName\(\) on string\.$#'
identifier: method.nonObject
count: 2
path: app/Http/Controllers/SeasonalController.php
-
message: '#^Cannot call method url\(\) on string\.$#'
identifier: method.nonObject
count: 2
path: app/Http/Controllers/SeasonalController.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$settings\.$#'
identifier: property.notFound
count: 5
path: app/Http/Controllers/SettingsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$bio\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/SettingsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$delete_after\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/SettingsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$header_bg\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/SettingsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 26
path: app/Http/Controllers/SettingsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$indexable\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/SettingsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$is_private\.$#'
identifier: property.notFound
count: 4
path: app/Http/Controllers/SettingsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$is_suggestable\.$#'
identifier: property.notFound
count: 4
path: app/Http/Controllers/SettingsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/SettingsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$profile_layout\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/SettingsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$status\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/SettingsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$statuses\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/SettingsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$user_id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/SettingsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$username\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/SettingsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$website\.$#'
identifier: property.notFound
count: 2
path: app/Http/Controllers/SettingsController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:blockedProfileUrls\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/SettingsController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:followers\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Controllers/SettingsController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:following\(\)\.$#'
identifier: method.notFound
count: 3
path: app/Http/Controllers/SettingsController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:hashtagFollowing\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/SettingsController.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:mutedProfileUrls\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Controllers/SettingsController.php
-
message: '#^Call to function is_string\(\) with array\|null will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: app/Http/Controllers/SettingsController.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 2
path: app/Http/Controllers/SettingsController.php
-
message: '#^Ternary operator condition is always false\.$#'
identifier: ternary.alwaysFalse
count: 1
path: app/Http/Controllers/SettingsController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 6
path: app/Http/Controllers/StatusController.php
-
message: '#^Access to an undefined property App\\Models\\Status\|Illuminate\\Database\\Eloquent\\Collection\<\(int\|string\), App\\Models\\Status\>\:\:\$edits\.$#'
identifier: property.notFound
count: 1
path: app/Http/Controllers/StatusEditController.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 1
path: app/Http/Controllers/Stories/StoryApiV1Controller.php
-
message: '#^Property App\\Models\\Story\:\:\$story \(array\|null\) does not accept string\|false\.$#'
identifier: assign.propertyType
count: 1
path: app/Http/Controllers/StoryComposeController.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 5
path: app/Http/Controllers/StoryController.php
-
message: '#^Call to function abort_if\(\) with false and 404 will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: app/Http/Controllers/StoryController.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Http/Controllers/StoryController.php
-
message: '#^Call to an undefined method Symfony\\Component\\HttpFoundation\\Response\:\:withHeaders\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Middleware/DeprecatedEndpoint.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:permalink\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Requests/ProfileMigrationStoreRequest.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$cw\.$#'
identifier: property.notFound
count: 1
path: app/Http/Requests/Status/StoreStatusEditRequest.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$status\.$#'
identifier: property.notFound
count: 1
path: app/Http/Requests/Status/StoreStatusEditRequest.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$unlisted\.$#'
identifier: property.notFound
count: 1
path: app/Http/Requests/Status/StoreStatusEditRequest.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 1
path: app/Http/Resources/AdminRemoteReport.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StatusStateless\:\:\$caption\.$#'
identifier: property.notFound
count: 3
path: app/Http/Resources/StatusStateless.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StatusStateless\:\:\$comments_disabled\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StatusStateless.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StatusStateless\:\:\$created_at\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StatusStateless.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StatusStateless\:\:\$id\.$#'
identifier: property.notFound
count: 7
path: app/Http/Resources/StatusStateless.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StatusStateless\:\:\$in_reply_to_id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StatusStateless.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StatusStateless\:\:\$in_reply_to_profile_id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StatusStateless.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StatusStateless\:\:\$is_nsfw\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StatusStateless.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StatusStateless\:\:\$local\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StatusStateless.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StatusStateless\:\:\$place\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StatusStateless.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StatusStateless\:\:\$profile_id\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StatusStateless.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StatusStateless\:\:\$reply_count\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StatusStateless.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StatusStateless\:\:\$type\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StatusStateless.php
-
message: '#^Access to an undefined property App\\Http\\Resources\\StatusStateless\:\:\$visibility\.$#'
identifier: property.notFound
count: 1
path: app/Http/Resources/StatusStateless.php
-
message: '#^Call to an undefined method App\\Http\\Resources\\StatusStateless\:\:setType\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Http/Resources/StatusStateless.php
-
message: '#^Call to an undefined method App\\Http\\Resources\\StatusStateless\:\:url\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Http/Resources/StatusStateless.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 1
path: app/Jobs/CommentPipeline/CommentPipeline.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereUserId\(\)\.$#'
identifier: method.notFound
count: 3
path: app/Jobs/DeletePipeline/DeleteAccountPipeline.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 2
path: app/Jobs/DeletePipeline/DeleteAccountPipeline.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereFollowingId\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Jobs/FollowPipeline/FollowServiceWarmCache.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereProfileId\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Jobs/FollowPipeline/FollowServiceWarmCache.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Jobs/GroupsPipeline/ImageS3DeletePipeline.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 1
path: app/Jobs/GroupsPipeline/ImageS3UploadPipeline.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 1
path: app/Jobs/HomeFeedPipeline/FeedInsertPipeline.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 1
path: app/Jobs/HomeFeedPipeline/FeedInsertRemotePipeline.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 1
path: app/Jobs/HomeFeedPipeline/HashtagInsertFanoutPipeline.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 2
path: app/Jobs/ImageOptimizePipeline/ImageUpdate.php
-
message: '#^Access to an undefined property App\\Models\\ImportJob\|Illuminate\\Database\\Eloquent\\Collection\<\(int\|string\), App\\Models\\ImportJob\>\:\:\$files\.$#'
identifier: property.notFound
count: 1
path: app/Jobs/ImportPipeline/ImportInstagram.php
-
message: '#^Property App\\Models\\Status\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept Carbon\\Carbon\.$#'
identifier: assign.propertyType
count: 1
path: app/Jobs/ImportPipeline/ImportInstagram.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Jobs/ImportPipeline/ImportMediaToCloudPipeline.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Jobs/InboxPipeline/DeleteWorker.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 2
path: app/Jobs/MediaPipeline/MediaDeletePipeline.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Jobs/ProfilePipeline/HandleUpdateActivity.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Jobs/ProfilePipeline/ProfilePurgeFollowersByDomain.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Jobs/ProfilePipeline/ProfilePurgeNotificationsByDomain.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Jobs/SharePipeline/SharePipeline.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Jobs/StatusPipeline/StatusDelete.php
-
message: '#^Offset ''length'' on array\{length\: int, mime\: string\} on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Jobs/StatusPipeline/StatusRemoteUpdatePipeline.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 1
path: app/Jobs/StatusPipeline/StatusReplyPipeline.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Jobs/StatusPipeline/StatusReplyPipeline.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Jobs/StatusPipeline/StatusTagsPipeline.php
-
message: '#^Strict comparison using \!\=\= between ''ok'' and ''ok'' will always evaluate to false\.$#'
identifier: notIdentical.alwaysFalse
count: 1
path: app/Jobs/VideoPipeline/VideoHlsPipeline.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Jobs/VideoPipeline/VideoOptimize.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Jobs/VideoPipeline/VideoThumbnailToCloudPipeline.php
-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 2
path: app/Models/CustomEmoji.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:isExpired\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/CustomFilter.php
-
message: '#^Ternary operator condition is always true\.$#'
identifier: ternary.alwaysTrue
count: 1
path: app/Models/CustomFilter.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: app/Models/DirectMessage.php
-
message: '#^Property App\\Models\\FailedJob\:\:\$timestamps \(bool\) does not accept default value of type string\.$#'
identifier: property.defaultValue
count: 1
path: app/Models/FailedJob.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:permalink\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/FeatureAuthorization.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Models/ParentalControls.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Models/ParentalControls.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$settings\.$#'
identifier: property.notFound
count: 2
path: app/Models/Profile.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Models/Profile.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: app/Models/Status.php
-
message: '#^Call to an undefined method App\\Models\\Mention\:\:permalink\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Models/Status.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: app/Models/Story.php
-
message: '#^PHPDoc type array of property App\\Models\\User\:\:\$guarded is not covariant with PHPDoc type array\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$guarded\.$#'
identifier: property.phpDocType
count: 1
path: app/Models/User.php
-
message: '#^PHPDoc type array of property App\\Models\\User\:\:\$hidden is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$hidden\.$#'
identifier: property.phpDocType
count: 1
path: app/Models/User.php
-
message: '#^Property App\\Models\\UserDevice\:\:\$timestamps \(bool\) does not accept default value of type array\<int, string\>\.$#'
identifier: property.defaultValue
count: 1
path: app/Models/UserDevice.php
-
message: '#^Call to App\\Services\\StatusHashtagService\:\:del\(\) on a separate line has no effect\.$#'
identifier: staticMethod.resultUnused
count: 2
path: app/Observers/StatusHashtagObserver.php
-
message: '#^Call to App\\Services\\StatusHashtagService\:\:set\(\) on a separate line has no effect\.$#'
identifier: staticMethod.resultUnused
count: 3
path: app/Observers/StatusHashtagObserver.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Observers/UserObserver.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 2
path: app/Observers/UserObserver.php
-
message: '#^Strict comparison using \=\=\= between bool and 1 will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: app/Providers/AppServiceProvider.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$settings\.$#'
identifier: property.notFound
count: 1
path: app/Services/AccountService.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$indexable\.$#'
identifier: property.notFound
count: 1
path: app/Services/AccountService.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$is_suggestable\.$#'
identifier: property.notFound
count: 1
path: app/Services/AccountService.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereUsername\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Services/AccountService.php
-
message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 4
path: app/Services/ActivityPubDeliveryService.php
-
message: '#^Instanceof between Illuminate\\Http\\Client\\Response and Illuminate\\Http\\Client\\Response will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: app/Services/ActivityPubDeliveryService.php
-
message: '#^Dead catch \- Illuminate\\Http\\Client\\ConnectionException is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: app/Services/ActivityPubFetchService.php
-
message: '#^Dead catch \- Illuminate\\Http\\Client\\RequestException is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: app/Services/ActivityPubFetchService.php
-
message: '#^Strict comparison using \=\=\= between non\-falsy\-string and '''' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: app/Services/AutospamService.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Services/AvatarService.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereType\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Services/DiscoverService.php
-
message: '#^Loose comparison using \=\= between int\<0, max\>\|false and \-1 will always evaluate to false\.$#'
identifier: equal.alwaysFalse
count: 1
path: app/Services/DomainService.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$settings\.$#'
identifier: property.notFound
count: 1
path: app/Services/FeaturedCollectionService.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$domain\.$#'
identifier: property.notFound
count: 1
path: app/Services/FeaturedCollectionService.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:permalink\(\)\.$#'
identifier: method.notFound
count: 6
path: app/Services/FeaturedCollectionService.php
-
message: '#^Negated boolean expression is always true\.$#'
identifier: booleanNot.alwaysTrue
count: 1
path: app/Services/Federation/ActiveSharedInboxService.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\<App\\Models\\GroupPost\>\:\:whereStatusId\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Services/GroupService.php
-
message: '#^Property App\\Models\\GroupInteraction\:\:\$group_id \(int\<0, max\>\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Services/GroupService.php
-
message: '#^Property App\\Models\\GroupInteraction\:\:\$profile_id \(int\<0, max\>\) does not accept string\.$#'
identifier: assign.propertyType
count: 1
path: app/Services/GroupService.php
-
message: '#^Property App\\Models\\Group\:\:\$profile_id \(int\) does not accept null\.$#'
identifier: assign.propertyType
count: 1
path: app/Services/Groups/GroupActivityPubService.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Services/Groups/GroupMediaService.php
-
message: '#^Using nullsafe property access "\?\-\>profile_id" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: app/Services/Groups/GroupPostService.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: app/Services/HashtagFollowService.php
-
message: '#^If condition is always true\.$#'
identifier: if.alwaysTrue
count: 1
path: app/Services/HashtagFollowService.php
-
message: '#^Right side of && is always true\.$#'
identifier: booleanAnd.rightAlwaysTrue
count: 1
path: app/Services/HomeTimelineService.php
-
message: '#^Offset ''url'' on array\{id\: string, username\: mixed, url\: non\-falsy\-string, others\: bool\} in isset\(\) always exists and is not nullable\.$#'
identifier: isset.offset
count: 1
path: app/Services/LikeService.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Services/MediaService.php
-
message: '#^Access to an undefined property App\\Models\\MediaTag\:\:\$status\.$#'
identifier: property.notFound
count: 1
path: app/Services/MediaTagService.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Services/NodeinfoService.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: app/Services/PollService.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:whereProfileId\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Services/ProfileStatusService.php
-
message: '#^Dead catch \- Illuminate\\Http\\Client\\ConnectionException is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: app/Services/SecureMediaFetchService.php
-
message: '#^Dead catch \- Illuminate\\Http\\Client\\RequestException is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: app/Services/SecureMediaFetchService.php
-
message: '#^Call to App\\Services\\StatusHashtagService\:\:set\(\) on a separate line has no effect\.$#'
identifier: staticMethod.resultUnused
count: 1
path: app/Services/StatusHashtagService.php
-
message: '#^Call to function is_array\(\) with \(bool\|Redis\) will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: app/Services/StoryIndexService.php
-
message: '#^Offset ''_latest_ts'' on array\{id\: non\-falsy\-string, username\: mixed, username_acct\: mixed, profile_id\: string, avatar\: mixed, is_author\: bool, stories\: array\<int, array\{id\: string, type\: mixed, url\: string, overlays\: mixed, duration\: int, viewed\: bool, created_at\: mixed, view_count\?\: int\}\>, url\: string, \.\.\.\} on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 4
path: app/Services/StoryIndexService.php
-
message: '#^Offset \(int\|string\) on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Services/StoryIndexService.php
-
message: '#^Strict comparison using \=\=\= between \*NEVER\* and int\<1, max\> will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: app/Services/StoryIndexService.php
-
message: '#^Access to an undefined property App\\Models\\StatusHashtag\:\:\$total\.$#'
identifier: property.notFound
count: 1
path: app/Services/TrendingHashtagService.php
-
message: '#^Instanceof between Carbon\\Carbon and Carbon\\Carbon will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: app/Services/UserStorageService.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\HasMany\:\:whereScope\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/ActivityPub/ProfileOutbox.php
-
message: '#^Access to an undefined property App\\Models\\Profile\:\:\$aliases\.$#'
identifier: property.notFound
count: 2
path: app/Transformer/ActivityPub/ProfileTransformer.php
-
message: '#^Cannot access property \$country on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/StatusTransformer.php
-
message: '#^Cannot access property \$lat on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/StatusTransformer.php
-
message: '#^Cannot access property \$long on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/StatusTransformer.php
-
message: '#^Cannot access property \$name on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/StatusTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/CreateNote.php
-
message: '#^Call to an undefined method App\\Models\\Mention\:\:emailUrl\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/CreateNote.php
-
message: '#^Call to an undefined method App\\Models\\Mention\:\:permalink\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/CreateNote.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:url\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/CreateNote.php
-
message: '#^Cannot access property \$country on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/Verb/CreateNote.php
-
message: '#^Cannot access property \$lat on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/Verb/CreateNote.php
-
message: '#^Cannot access property \$long on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/Verb/CreateNote.php
-
message: '#^Cannot access property \$name on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/Verb/CreateNote.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:permalink\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Transformer/ActivityPub/Verb/Like.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:url\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/Like.php
-
message: '#^Access to an undefined property App\\Models\\ProfileMigration\:\:\$profile\.$#'
identifier: property.notFound
count: 3
path: app/Transformer/ActivityPub/Verb/Move.php
-
message: '#^Access to an undefined property App\\Models\\ProfileMigration\:\:\$target\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/Move.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/Note.php
-
message: '#^Call to an undefined method App\\Models\\Mention\:\:emailUrl\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/Note.php
-
message: '#^Call to an undefined method App\\Models\\Mention\:\:permalink\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/Note.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:url\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/Note.php
-
message: '#^Cannot access property \$country on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/Verb/Note.php
-
message: '#^Cannot access property \$lat on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/Verb/Note.php
-
message: '#^Cannot access property \$long on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/Verb/Note.php
-
message: '#^Cannot access property \$name on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/Verb/Note.php
-
message: '#^Access to an undefined property App\\Models\\Status\:\:\$poll\.$#'
identifier: property.notFound
count: 3
path: app/Transformer/ActivityPub/Verb/Question.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/Question.php
-
message: '#^Call to an undefined method App\\Models\\Mention\:\:emailUrl\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/Question.php
-
message: '#^Call to an undefined method App\\Models\\Mention\:\:permalink\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/Question.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:url\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/Question.php
-
message: '#^Cannot access property \$country on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/Verb/Question.php
-
message: '#^Cannot access property \$lat on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/Verb/Question.php
-
message: '#^Cannot access property \$long on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/Verb/Question.php
-
message: '#^Cannot access property \$name on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/Verb/Question.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:permalink\(\)\.$#'
identifier: method.notFound
count: 4
path: app/Transformer/ActivityPub/Verb/UndoLike.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:url\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/UndoLike.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/UpdateNote.php
-
message: '#^Call to an undefined method App\\Models\\Mention\:\:emailUrl\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/UpdateNote.php
-
message: '#^Call to an undefined method App\\Models\\Mention\:\:permalink\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/UpdateNote.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:url\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/ActivityPub/Verb/UpdateNote.php
-
message: '#^Cannot access property \$country on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/Verb/UpdateNote.php
-
message: '#^Cannot access property \$lat on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/Verb/UpdateNote.php
-
message: '#^Cannot access property \$long on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/Verb/UpdateNote.php
-
message: '#^Cannot access property \$name on string\.$#'
identifier: property.nonObject
count: 1
path: app/Transformer/ActivityPub/Verb/UpdateNote.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Transformer/Api/AccountTransformer.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\HasMany\:\:whereIsNsfw\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/Api/AccountWithStatusesTransformer.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: app/Transformer/Api/GroupPostTransformer.php
-
message: '#^Access to an undefined property App\\Models\\Notification\:\:\$actor\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/Api/Mastodon/v1/NotificationTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$object_uid\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/Api/NotificationTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$profile_id\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/Api/NotificationTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$status_id\.$#'
identifier: property.notFound
count: 2
path: app/Transformer/Api/NotificationTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$tagged_username\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/Api/NotificationTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 2
path: app/Transformer/Api/RelationshipTransformer.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:blockedIds\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/Api/RelationshipTransformer.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:followedBy\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/Api/RelationshipTransformer.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:follows\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/Api/RelationshipTransformer.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:mutedIds\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/Api/RelationshipTransformer.php
-
message: '#^Ternary operator condition is always true\.$#'
identifier: ternary.alwaysTrue
count: 5
path: app/Transformer/Api/RelationshipTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/Api/StatusHashtagTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$is_nsfw\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/Api/StatusHashtagTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$likes_count\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/Api/StatusHashtagTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$name\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/Api/StatusHashtagTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$reblogs_count\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/Api/StatusHashtagTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$scope\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/Api/StatusHashtagTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$type\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/Api/StatusHashtagTransformer.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$username\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/Api/StatusHashtagTransformer.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:firstMedia\(\)\.$#'
identifier: method.notFound
count: 2
path: app/Transformer/Api/StatusHashtagTransformer.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:thumb\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Transformer/Api/StatusHashtagTransformer.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:url\(\)\.$#'
identifier: method.notFound
count: 3
path: app/Transformer/Api/StatusHashtagTransformer.php
-
message: '#^Access to an undefined property App\\Models\\StoryItem\:\:\$story\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/Api/StoryItemTransformer.php
-
message: '#^Access to an undefined property App\\Models\\StoryItem\:\:\$type\.$#'
identifier: property.notFound
count: 1
path: app/Transformer/Api/StoryItemTransformer.php
-
message: '#^Call to function is_array\(\) with array will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Util/ActivityPub/Helpers.php
-
message: '#^Constant App\\Util\\ActivityPub\\Helpers\:\:FETCH_CACHE_TTL is unused\.$#'
identifier: classConstant.unused
count: 1
path: app/Util/ActivityPub/Helpers.php
-
message: '#^Constant App\\Util\\ActivityPub\\Helpers\:\:MAX_URL_LENGTH is unused\.$#'
identifier: classConstant.unused
count: 1
path: app/Util/ActivityPub/Helpers.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Util/ActivityPub/Helpers.php
-
message: '#^Property App\\Models\\Status\:\:\$created_at \(Illuminate\\Support\\Carbon\|null\) does not accept Carbon\\Carbon\.$#'
identifier: assign.propertyType
count: 1
path: app/Util/ActivityPub/Helpers.php
-
message: '#^Strict comparison using \=\=\= between non\-falsy\-string and '''' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: app/Util/ActivityPub/Helpers.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: app/Util/ActivityPub/Helpers.php
-
message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 2
path: app/Util/ActivityPub/HttpSignature.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Util/ActivityPub/HttpSignature.php
-
message: '#^Access to an undefined property App\\Models\\User\:\:\$settings\.$#'
identifier: property.notFound
count: 1
path: app/Util/ActivityPub/Inbox.php
-
message: '#^Property App\\Models\\DirectMessage\:\:\$meta \(string\|null\) does not accept array\<string, bool\|string\|null\>\.$#'
identifier: assign.propertyType
count: 1
path: app/Util/ActivityPub/Inbox.php
-
message: '#^Call to function is_array\(\) with array will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 2
path: app/Util/ActivityPub/Inbox/HandlesCreates.php
-
message: '#^Negated boolean expression is always false\.$#'
identifier: booleanNot.alwaysFalse
count: 1
path: app/Util/ActivityPub/Inbox/HandlesCreates.php
-
message: '#^Call to function is_array\(\) with array will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: app/Util/ActivityPub/Inbox/HandlesUndos.php
-
message: '#^Ternary operator condition is always true\.$#'
identifier: ternary.alwaysTrue
count: 1
path: app/Util/Blurhash/Blurhash.php
-
message: '#^Strict comparison using \!\=\= between array\{list\<string\>, list\<non\-falsy\-string\>\} and array\{\} will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: app/Util/Lexer/Hashtag.php
-
message: '#^Offset 4 on non\-empty\-array\<string\> in empty\(\) always exists and is not falsy\.$#'
identifier: empty.offset
count: 1
path: app/Util/Lexer/Validator.php
-
message: '#^Offset ''code'' on array\{code\: string, name\: string, nativeName\: string\} on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 1
path: app/Util/Localization/Localization.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\HasMany\:\:whereScope\(\)\.$#'
identifier: method.notFound
count: 1
path: app/Util/Sentiment/Bouncer.php