diff --git a/app/Http/Controllers/User/GuestbookController.php b/app/Http/Controllers/User/GuestbookController.php index dc8d991..ed04df4 100755 --- a/app/Http/Controllers/User/GuestbookController.php +++ b/app/Http/Controllers/User/GuestbookController.php @@ -48,6 +48,8 @@ class GuestbookController extends Controller if ($user->profileGuestbook()->where('user_id', $request->user()->id)->count() >= $maxAllowedPostCount) { return $this->redirectWithError(__('You have already posted :count messages on this profile.', ['count' => $maxAllowedPostCount])); } + + return null; } private function redirectWithError(string $message): RedirectResponse diff --git a/app/Models/EmailTemplate.php b/app/Models/EmailTemplate.php index 1704690..d4b9fb3 100755 --- a/app/Models/EmailTemplate.php +++ b/app/Models/EmailTemplate.php @@ -6,8 +6,10 @@ use Illuminate\Database\Eloquent\Model; class EmailTemplate extends Model { + #[\Override] protected $table = 'email_templates'; + #[\Override] protected $fillable = [ 'name', 'subject', @@ -16,6 +18,7 @@ class EmailTemplate extends Model 'is_active', ]; + #[\Override] protected $casts = [ 'is_active' => 'boolean', ]; diff --git a/app/Models/SocialAccount.php b/app/Models/SocialAccount.php index 1333a11..53cb828 100755 --- a/app/Models/SocialAccount.php +++ b/app/Models/SocialAccount.php @@ -7,8 +7,10 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo; class SocialAccount extends Model { + #[\Override] protected $table = 'social_accounts'; + #[\Override] protected $fillable = [ 'user_id', 'provider', diff --git a/app/Models/StaffActivity.php b/app/Models/StaffActivity.php index c36cc70..c249361 100755 --- a/app/Models/StaffActivity.php +++ b/app/Models/StaffActivity.php @@ -7,8 +7,10 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo; class StaffActivity extends Model { + #[\Override] protected $table = 'staff_activities'; + #[\Override] protected $fillable = [ 'user_id', 'action', @@ -19,6 +21,7 @@ class StaffActivity extends Model 'metadata', ]; + #[\Override] protected $casts = [ 'metadata' => 'array', 'created_at' => 'datetime', diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon new file mode 100755 index 0000000..a094c0d --- /dev/null +++ b/phpstan-baseline.neon @@ -0,0 +1,2569 @@ +parameters: + ignoreErrors: + - + message: '#^Method App\\Console\\Commands\\CheckMigrationsCommand\:\:extractDownMethod\(\) is unused\.$#' + identifier: method.unused + count: 1 + path: app/Console/Commands/CheckMigrationsCommand.php + + - + message: '#^Strict comparison using \!\=\= between non\-empty\-list\ and array\{\} will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue + count: 1 + path: app/Console/Commands/CheckMigrationsCommand.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:user\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Filament/Pages/BadgePage.php + + - + message: '#^Array has 2 duplicate keys with value ''card_background'' \(''card_background'', ''card_background''\)\.$#' + identifier: array.duplicateKey + count: 1 + path: app/Filament/Pages/General/ThemeSettings.php + + - + message: '#^Array has 2 duplicate keys with value ''card_border_color'' \(''card_border_color'', ''card_border_color''\)\.$#' + identifier: array.duplicateKey + count: 1 + path: app/Filament/Pages/General/ThemeSettings.php + + - + message: '#^Array has 2 duplicate keys with value ''toolbar_border_color'' \(''toolbar_border_color'', ''toolbar_border_color''\)\.$#' + identifier: array.duplicateKey + count: 1 + path: app/Filament/Pages/General/ThemeSettings.php + + - + message: '#^Array has 2 duplicate keys with value ''toolbar_hover_color'' \(''toolbar_hover_color'', ''toolbar_hover_color''\)\.$#' + identifier: array.duplicateKey + count: 1 + path: app/Filament/Pages/General/ThemeSettings.php + + - + message: '#^Array has 2 duplicate keys with value ''toolbar_primary_color'' \(''toolbar_primary_color'', ''toolbar_primary_color''\)\.$#' + identifier: array.duplicateKey + count: 1 + path: app/Filament/Pages/General/ThemeSettings.php + + - + message: '#^Array has 2 duplicate keys with value ''toolbar_text_color'' \(''toolbar_text_color'', ''toolbar_text_color''\)\.$#' + identifier: array.duplicateKey + count: 1 + path: app/Filament/Pages/General/ThemeSettings.php + + - + message: '#^Using nullsafe property access "\?\-\>value" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Filament/Pages/General/ThemeSettings.php + + - + message: '#^Call to an undefined method App\\Filament\\Pages\\Monitoring\\AlertSettings\:\:downloadEmulatorJar\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Filament/Pages/Monitoring/AlertSettings.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\AlertLog\:\:count\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Pages/Monitoring/AlertSettings.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\AlertLog\:\:critical\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Pages/Monitoring/AlertSettings.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\AlertLog\:\:truncate\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Pages/Monitoring/AlertSettings.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\AlertLog\:\:unread\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Pages/Monitoring/AlertSettings.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\AlertLog\:\:where\(\)\.$#' + identifier: staticMethod.notFound + count: 3 + path: app/Filament/Pages/Monitoring/AlertSettings.php + + - + message: '#^Comparison operation "\>" between 29 and 0 is always true\.$#' + identifier: greater.alwaysTrue + count: 1 + path: app/Filament/Pages/Monitoring/AlertSettings.php + + - + message: '#^Expression on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.expr + count: 1 + path: app/Filament/Pages/Monitoring/AlertSettings.php + + - + message: '#^Method App\\Filament\\Pages\\Monitoring\\AlertSettings\:\:clearSettingsCache\(\) is unused\.$#' + identifier: method.unused + count: 1 + path: app/Filament/Pages/Monitoring/AlertSettings.php + + - + message: '#^Property App\\Filament\\Pages\\Monitoring\\Commandocentrum\:\:\$diagnostics \(array\\) does not accept array\\>\.$#' + identifier: assign.propertyType + count: 1 + path: app/Filament/Pages/Monitoring/Commandocentrum.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioContest\:\:create\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Pages/Radio/ContestManagement.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioContest\:\:find\(\)\.$#' + identifier: staticMethod.notFound + count: 2 + path: app/Filament/Pages/Radio/ContestManagement.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioContest\:\:orderBy\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Pages/Radio/ContestManagement.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioContest\:\:where\(\)\.$#' + identifier: staticMethod.notFound + count: 2 + path: app/Filament/Pages/Radio/ContestManagement.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioGiveaway\:\:create\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Pages/Radio/GiveawayManagement.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioGiveaway\:\:find\(\)\.$#' + identifier: staticMethod.notFound + count: 3 + path: app/Filament/Pages/Radio/GiveawayManagement.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioGiveaway\:\:orderBy\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Pages/Radio/GiveawayManagement.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioGiveaway\:\:where\(\)\.$#' + identifier: staticMethod.notFound + count: 2 + path: app/Filament/Pages/Radio/GiveawayManagement.php + + - + message: '#^Using nullsafe property access "\?\-\>value" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Filament/Pages/Radio/PointsSettings.php + + - + message: '#^Method App\\Filament\\Pages\\Radio\\RadioSettings\:\:autoConfigureFromUrl\(\) is unused\.$#' + identifier: method.unused + count: 1 + path: app/Filament/Pages/Radio/RadioSettings.php + + - + message: '#^Method App\\Filament\\Pages\\Radio\\RadioSettings\:\:findFreePort\(\) is unused\.$#' + identifier: method.unused + count: 1 + path: app/Filament/Pages/Radio/RadioSettings.php + + - + message: '#^Property App\\Filament\\Pages\\Radio\\RadioSettings\:\:\$data on left side of \?\? is not nullable nor uninitialized\.$#' + identifier: nullCoalesce.initializedProperty + count: 1 + path: app/Filament/Pages/Radio/RadioSettings.php + + - + message: '#^Using nullsafe property access "\?\-\>value" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Filament/Pages/Radio/RadioSettings.php + + - + message: '#^Variable \$streamUrl on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.variable + count: 1 + path: app/Filament/Pages/Radio/RadioSettings.php + + - + message: '#^Using nullsafe property access "\?\-\>value" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Filament/Pages/Radio/StreamMonitoring.php + + - + message: '#^Using nullsafe property access "\?\-\>value" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Filament/Pages/Radio/WordFilterSettings.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\WebsiteBlockedCountry\:\:create\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Pages/VPN/VPNManagement.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\WebsiteBlockedCountry\:\:orderBy\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Pages/VPN/VPNManagement.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\WebsiteBlockedCountry\:\:where\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Pages/VPN/VPNManagement.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\WebsiteIpBlacklist\:\:orderBy\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Pages/VPN/VPNManagement.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\WebsiteIpWhitelist\:\:create\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Pages/VPN/VPNManagement.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\WebsiteIpWhitelist\:\:orderBy\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Pages/VPN/VPNManagement.php + + - + message: '#^Class App\\Services\\IpLookupService does not have a constructor and must be instantiated without any parameters\.$#' + identifier: new.noConstructor + count: 3 + path: app/Filament/Pages/VPN/VPNManagement.php + + - + message: '#^Using nullsafe property access "\?\-\>value" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Filament/Pages/VPN/VPNManagement.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\\:\:withTrashed\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Filament/Resources/Atom/Articles/ArticleResource.php + + - + message: '#^Instanceof between App\\Models\\Articles\\WebsiteArticle and App\\Models\\Articles\\WebsiteArticle will always evaluate to true\.$#' + identifier: instanceof.alwaysTrue + count: 1 + path: app/Filament/Resources/Atom/Articles/ArticleResource.php + + - + message: '#^Access to property \$visible on an unknown class App\\Models\\Article\.$#' + identifier: class.notFound + count: 1 + path: app/Filament/Resources/Atom/Articles/Pages/CreateArticle.php + + - + message: '#^Call to method createFollowersNotification\(\) on an unknown class App\\Models\\Article\.$#' + identifier: class.notFound + count: 1 + path: app/Filament/Resources/Atom/Articles/Pages/CreateArticle.php + + - + message: '#^PHPDoc tag @var for variable \$articleCreated contains unknown class App\\Models\\Article\.$#' + identifier: class.notFound + count: 1 + path: app/Filament/Resources/Atom/Articles/Pages/CreateArticle.php + + - + message: '#^PHPDoc tag @var with type App\\Models\\Article\|null is not subtype of native type Illuminate\\Database\\Eloquent\\Model\|null\.$#' + identifier: varTag.nativeType + count: 1 + path: app/Filament/Resources/Atom/Articles/Pages/CreateArticle.php + + - + message: '#^Access to property \$user_id on an unknown class App\\Models\\Article\.$#' + identifier: class.notFound + count: 1 + path: app/Filament/Resources/Atom/Articles/Pages/ViewArticle.php + + - + message: '#^Call to method createFollowersNotification\(\) on an unknown class App\\Models\\Article\.$#' + identifier: class.notFound + count: 1 + path: app/Filament/Resources/Atom/Articles/Pages/ViewArticle.php + + - + message: '#^Parameter \$record of anonymous function has invalid type App\\Models\\Article\.$#' + identifier: class.notFound + count: 2 + path: app/Filament/Resources/Atom/Articles/Pages/ViewArticle.php + + - + message: '#^Access to an undefined property App\\Models\\Game\\Permission\:\:\$description\.$#' + identifier: property.notFound + count: 2 + path: app/Filament/Resources/Atom/Permissions/PermissionResource.php + + - + message: '#^Access to an undefined property App\\Models\\Game\\Permission\:\:\$prefix_color\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/Atom/Permissions/PermissionResource.php + + - + message: '#^Access to an undefined property App\\Models\\Community\\Staff\\WebsiteTeam\:\:\$hidden_rank\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/Atom/Teams/TeamResource.php + + - + message: '#^Access to an undefined property App\\Models\\WebsiteDrawBadge\:\:\$badge_path\.$#' + identifier: property.notFound + count: 2 + path: app/Filament/Resources/Atom/WebsiteDrawBadges/WebsiteDrawBadgeResource.php + + - + message: '#^Access to an undefined property App\\Models\\WebsiteDrawBadge\:\:\$published\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/Atom/WebsiteDrawBadges/WebsiteDrawBadgeResource.php + + - + message: '#^Access to an undefined property App\\Models\\WebsiteDrawBadge\:\:\$user_id\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/Atom/WebsiteDrawBadges/WebsiteDrawBadgeResource.php + + - + message: '#^Access to an undefined property App\\Models\\WebsiteBadge\:\:\$badge_description\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/Hotel/BadgeTextEditors/Pages/ListBadgeTextEditors.php + + - + message: '#^Access to an undefined property App\\Models\\WebsiteBadge\:\:\$badge_key\.$#' + identifier: property.notFound + count: 2 + path: app/Filament/Resources/Hotel/BadgeTextEditors/Pages/ListBadgeTextEditors.php + + - + message: '#^Access to an undefined property App\\Models\\WebsiteBadge\:\:\$badge_name\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/Hotel/BadgeTextEditors/Pages/ListBadgeTextEditors.php + + - + message: '#^Access to an undefined property App\\Models\\Game\\Furniture\\CatalogItem\:\:\$club_only\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Access to an undefined property App\\Models\\Game\\Furniture\\CatalogItem\:\:\$cost_points\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Access to an undefined property App\\Models\\Game\\Furniture\\CatalogItem\:\:\$points_type\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Access to an undefined property App\\Models\\Game\\Furniture\\CatalogPage\:\:\$id\.$#' + identifier: property.notFound + count: 8 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Access to an undefined property App\\Models\\Game\\Furniture\\CatalogPage\|Illuminate\\Database\\Eloquent\\Builder\\:\:\$caption\.$#' + identifier: property.notFound + count: 3 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Access to an undefined property App\\Models\\Game\\Furniture\\CatalogPage\|Illuminate\\Database\\Eloquent\\Builder\\:\:\$caption_save\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Access to an undefined property App\\Models\\Game\\Furniture\\CatalogPage\|Illuminate\\Database\\Eloquent\\Builder\\:\:\$icon_image\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Access to an undefined property App\\Models\\Game\\Furniture\\CatalogPage\|Illuminate\\Database\\Eloquent\\Builder\\:\:\$id\.$#' + identifier: property.notFound + count: 3 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Access to an undefined property App\\Models\\Game\\Furniture\\CatalogPage\|Illuminate\\Database\\Eloquent\\Builder\\:\:\$order_num\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue + count: 1 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Method App\\Filament\\Resources\\Hotel\\CatalogEditors\\Pages\\ManageCatalogEditor\:\:findNextNeighbor\(\) should return App\\Models\\Game\\Furniture\\CatalogItem\|null but returns stdClass\|null\.$#' + identifier: return.type + count: 1 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Method App\\Filament\\Resources\\Hotel\\CatalogEditors\\Pages\\ManageCatalogEditor\:\:findPrevNeighbor\(\) should return App\\Models\\Game\\Furniture\\CatalogItem\|null but returns stdClass\|null\.$#' + identifier: return.type + count: 1 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Negated boolean expression is always false\.$#' + identifier: booleanNot.alwaysFalse + count: 2 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Property App\\Filament\\Resources\\Hotel\\CatalogEditors\\Pages\\ManageCatalogEditor\:\:\$selectedPage \(App\\Models\\Game\\Furniture\\CatalogPage\|null\) does not accept stdClass\.$#' + identifier: assign.propertyType + count: 1 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue + count: 1 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Using nullsafe property access "\?\-\>caption" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Using nullsafe property access "\?\-\>caption_save" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Using nullsafe property access "\?\-\>icon_image" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Using nullsafe property access "\?\-\>order_num" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Filament/Resources/Hotel/CatalogEditors/Pages/ManageCatalogEditor.php + + - + message: '#^Access to an undefined property App\\Models\\Community\\Staff\\WebsiteStaffApplications\:\:\$status\.$#' + identifier: property.notFound + count: 6 + path: app/Filament/Resources/Hotel/StaffApplications/StaffApplicationResource.php + + - + message: '#^Access to an undefined property App\\Models\\Community\\Staff\\WebsiteStaffApplications\:\:\$team\.$#' + identifier: property.notFound + count: 4 + path: app/Filament/Resources/Hotel/StaffApplications/StaffApplicationResource.php + + - + message: '#^Access to an undefined property App\\Models\\Community\\Staff\\WebsiteStaffApplications\:\:\$team_id\.$#' + identifier: property.notFound + count: 4 + path: app/Filament/Resources/Hotel/StaffApplications/StaffApplicationResource.php + + - + message: '#^Access to an undefined property App\\Models\\Community\\Staff\\WebsiteStaffApplications\:\:\$user\.$#' + identifier: property.notFound + count: 4 + path: app/Filament/Resources/Hotel/StaffApplications/StaffApplicationResource.php + + - + message: '#^Access to an undefined property Illuminate\\Support\\Optional\:\:\$rank_name\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/Hotel/StaffApplications/StaffApplicationResource.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:id\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Filament/Resources/Hotel/StaffApplications/StaffApplicationResource.php + + - + message: '#^Access to an undefined property App\\Models\\Miscellaneous\\AlertLog\:\:\$is_read\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/Miscellaneous/AlertLogResource/AlertLogResource.php + + - + message: '#^Access to an undefined property App\\Models\\Miscellaneous\\AlertLog\:\:\$message\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/Miscellaneous/AlertLogResource/AlertLogResource.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\AlertLog\:\:truncate\(\)\.$#' + identifier: staticMethod.notFound + count: 2 + path: app/Filament/Resources/Miscellaneous/AlertLogResource/AlertLogResource.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\AlertLog\:\:where\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Resources/Miscellaneous/AlertLogResource/AlertLogResource.php + + - + message: '#^Access to an undefined property App\\Models\\RadioApplication\:\:\$status\.$#' + identifier: property.notFound + count: 3 + path: app/Filament/Resources/RadioApplications/RadioApplicationResource.php + + - + message: '#^Access to an undefined property App\\Models\\RadioApplication\:\:\$user\.$#' + identifier: property.notFound + count: 2 + path: app/Filament/Resources/RadioApplications/RadioApplicationResource.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:id\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Filament/Resources/RadioApplications/RadioApplicationResource.php + + - + message: '#^Access to an undefined property App\\Models\\RadioShout\:\:\$reported\.$#' + identifier: property.notFound + count: 2 + path: app/Filament/Resources/RadioShouts/RadioShoutResource.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:id\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Filament/Resources/RadioShouts/RadioShoutResource.php + + - + message: '#^Access to an undefined property App\\Models\\Shop\\WebsitePaypalTransaction\:\:\$currency\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/Shop/PayPalTransactionResource.php + + - + message: '#^Parameter \#2 \$timestamp of function date expects int\|null, string given\.$#' + identifier: argument.type + count: 1 + path: app/Filament/Resources/User/Bans/BanResource.php + + - + message: '#^Access to an undefined property App\\Models\\Game\\Player\\UserCurrency\:\:\$amount\.$#' + identifier: property.notFound + count: 6 + path: app/Filament/Resources/User/Users/Pages/EditUser.php + + - + message: '#^Access to an undefined property App\\Models\\Game\\Player\\UserCurrency\:\:\$type\.$#' + identifier: property.notFound + count: 6 + path: app/Filament/Resources/User/Users/Pages/EditUser.php + + - + message: '#^Access to an undefined property App\\Models\\Game\\Player\\UserSetting\:\:\$can_change_name\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/User/Users/Pages/EditUser.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:user\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Filament/Resources/User/Users/Pages/EditUser.php + + - + message: '#^Call to an undefined static method Filament\\Resources\\Pages\\EditRecord\\:\:getEloquentQuery\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Resources/User/Users/Pages/EditUser.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:id\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Filament/Resources/User/Users/Pages/ListUsers.php + + - + message: '#^Call to an undefined static method App\\Models\\User\:\:pluck\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Filament/Resources/User/Users/Pages/ListUsers.php + + - + message: '#^Access to an undefined property App\\Models\\Game\\Player\\UserBadge\:\:\$badge_code\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/User/Users/RelationManagers/BadgesRelationManager.php + + - + message: '#^Call to an undefined method Filament\\Actions\\DeleteBulkAction\:\:getRecords\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Filament/Resources/User/Users/RelationManagers/BadgesRelationManager.php + + - + message: '#^Cannot access property \$badge_code on array\\|Illuminate\\Database\\Eloquent\\Model\.$#' + identifier: property.nonObject + count: 1 + path: app/Filament/Resources/User/Users/RelationManagers/BadgesRelationManager.php + + - + message: '#^Parameter \#2 \$params of method App\\Services\\RconService\:\:sendSafelyFromDashboard\(\) expects array\, array\ given\.$#' + identifier: argument.type + count: 2 + path: app/Filament/Resources/User/Users/RelationManagers/BadgesRelationManager.php + + - + message: '#^Access to an undefined property App\\Models\\Game\\Player\\UserSetting\:\:\$can_change_name\.$#' + identifier: property.notFound + count: 1 + path: app/Filament/Resources/User/Users/UserResource.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:user\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Filament/Resources/User/Users/UserResource.php + + - + message: '#^Cannot access property \$look on array\\|Illuminate\\Database\\Eloquent\\Model\.$#' + identifier: property.nonObject + count: 1 + path: app/Filament/Tables/Columns/UserAvatarColumn.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioRank\:\:updateOrCreate\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Http/Controllers/Admin/RadioSetupController.php + + - + message: '#^Method App\\Http\\Controllers\\Admin\\RadioSetupController\:\:index\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Admin/RadioSetupController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\|Illuminate\\Database\\Eloquent\\Model\:\:createToken\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/AuthController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:with\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Api/AuthController.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$rank\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/FurniEditorController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$account_created\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/HotelApiController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/HotelApiController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$look\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/HotelApiController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$motto\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/HotelApiController.php + + - + message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$username\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Api/HotelApiController.php + + - + message: '#^Call to an undefined static method App\\Models\\Game\\Furniture\\CatalogPage\:\:where\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Http/Controllers/Api/HotelApiController.php + + - + message: '#^Call to an undefined static method App\\Models\\Help\\WebsiteHelpCenterTicket\:\:create\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Http/Controllers/Api/HotelApiController.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\CameraWeb\:\:create\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Http/Controllers/Api/HotelApiController.php + + - + message: '#^Call to an undefined static method App\\Models\\Shop\\WebsiteShopArticle\:\:findOrFail\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Http/Controllers/Api/HotelApiController.php + + - + message: '#^Call to an undefined static method App\\Models\\Shop\\WebsiteShopArticle\:\:latest\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Http/Controllers/Api/HotelApiController.php + + - + message: '#^Call to an undefined static method App\\Models\\User\:\:orderByDesc\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Http/Controllers/Api/HotelApiController.php + + - + message: '#^Parameter \#2 \$default of method Illuminate\\Http\\Request\:\:query\(\) expects array\|string\|null, int given\.$#' + identifier: argument.type + count: 1 + path: app/Http/Controllers/Api/HotelApiController.php + + - + message: '#^Call to an undefined static method App\\Models\\Articles\\WebsiteArticle\:\:whereKeyNot\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Http/Controllers/Articles/ArticleController.php + + - + message: '#^Parameter \#2 \$user of method App\\Services\\Articles\\ReactionService\:\:toggleReaction\(\) expects App\\Models\\User, Illuminate\\Contracts\\Auth\\Authenticatable\|null given\.$#' + identifier: argument.type + count: 1 + path: app/Http/Controllers/Articles/ArticleController.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Guard\:\:logout\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Auth/LogoutController.php + + - + message: '#^Access to an undefined property App\\Models\\SocialAccount\:\:\$user\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Auth/SocialAuthController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\|Illuminate\\Database\\Eloquent\\Model\:\:hasSocialAccount\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/Auth/SocialAuthController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\|Illuminate\\Database\\Eloquent\\Model\:\:socialAccounts\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Auth/SocialAuthController.php + + - + message: '#^Method App\\Http\\Controllers\\Auth\\SocialAuthController\:\:redirect\(\) should return Illuminate\\Http\\RedirectResponse but returns Symfony\\Component\\HttpFoundation\\RedirectResponse\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Auth/SocialAuthController.php + + - + message: '#^Parameter \#1 \$user of static method Illuminate\\Support\\Facades\\Auth\:\:login\(\) expects Illuminate\\Contracts\\Auth\\Authenticatable, Illuminate\\Database\\Eloquent\\Builder\|Illuminate\\Database\\Eloquent\\Model given\.$#' + identifier: argument.type + count: 1 + path: app/Http/Controllers/Auth/SocialAuthController.php + + - + message: '#^Method App\\Http\\Controllers\\Badge\\BadgeController\:\:show\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Badge/BadgeController.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:user\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Client/FlashController.php + + - + message: '#^Method App\\Http\\Controllers\\Client\\FlashController\:\:renderClient\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Client/FlashController.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:user\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Client/NitroController.php + + - + message: '#^Method App\\Http\\Controllers\\Client\\NitroController\:\:renderClient\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Client/NitroController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:with\(\)\.$#' + identifier: method.notFound + count: 3 + path: app/Http/Controllers/Community/LeaderboardController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\LeaderboardController\:\:__invoke\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Community/LeaderboardController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\PhotosController\:\:__invoke\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Community/PhotosController.php + + - + message: '#^Access to an undefined property App\\Models\\RadioHistory\|Illuminate\\Database\\Eloquent\\Builder\\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Community/RadioController.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:id\(\)\.$#' + identifier: method.notFound + count: 5 + path: app/Http/Controllers/Community/RadioController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\\:\:active\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Community/RadioController.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioRank\:\:find\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Http/Controllers/Community/RadioController.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioRank\:\:where\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Http/Controllers/Community/RadioController.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioShout\:\:create\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Http/Controllers/Community/RadioController.php + + - + message: '#^Cannot call method endSession\(\) on stdClass\.$#' + identifier: method.nonObject + count: 1 + path: app/Http/Controllers/Community/RadioController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\RadioController\:\:apply\(\) should return Illuminate\\Http\\RedirectResponse\|Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Community/RadioController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\RadioController\:\:index\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 2 + path: app/Http/Controllers/Community/RadioController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\RadioController\:\:rooster\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Community/RadioController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\RadioController\:\:shouts\(\) should return Illuminate\\Http\\RedirectResponse\|Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Community/RadioController.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Http/Controllers/Community/RadioController.php + + - + message: '#^Using nullsafe property access "\?\-\>username" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Http/Controllers/Community/RadioController.php + + - + message: '#^Using nullsafe property access "\?\-\>value" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Http/Controllers/Community/RadioController.php + + - + message: '#^Call to an undefined static method App\\Models\\User\:\:whereIn\(\)\.$#' + identifier: staticMethod.notFound + count: 2 + path: app/Http/Controllers/Community/RadioLeaderboardController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\RadioLeaderboardController\:\:__invoke\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Community/RadioLeaderboardController.php + + - + message: '#^Parameter \#1 \$since of method App\\Http\\Controllers\\Community\\RadioLeaderboardController\:\:getPointsLeaderboard\(\) expects Carbon\\Carbon, Carbon\\CarbonInterface given\.$#' + identifier: argument.type + count: 2 + path: app/Http/Controllers/Community/RadioLeaderboardController.php + + - + message: '#^Using nullsafe property access "\?\-\>avatar" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Http/Controllers/Community/RadioLeaderboardController.php + + - + message: '#^Using nullsafe property access "\?\-\>username" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Http/Controllers/Community/RadioLeaderboardController.php + + - + message: '#^Access to an undefined property App\\Models\\Community\\Staff\\WebsiteOpenPosition\:\:\$permission\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Community/Staff/StaffApplicationsController.php + + - + message: '#^Access to an undefined property App\\Models\\Community\\Staff\\WebsiteOpenPosition\:\:\$permission_id\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Community/Staff/StaffApplicationsController.php + + - + message: '#^Access to an undefined property App\\Models\\Community\\Staff\\WebsiteOpenPosition\:\:\$position_kind\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Community/Staff/StaffApplicationsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:with\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Community/Staff/StaffApplicationsController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\Staff\\StaffApplicationsController\:\:index\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Community/Staff/StaffApplicationsController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\Staff\\StaffApplicationsController\:\:show\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Community/Staff/StaffApplicationsController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\Staff\\StaffController\:\:__invoke\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Community/Staff/StaffController.php + + - + message: '#^Access to an undefined property App\\Models\\Community\\Staff\\WebsiteOpenPosition\:\:\$position_kind\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Community/Staff/WebsiteTeamApplicationsController.php + + - + message: '#^Access to an undefined property App\\Models\\Community\\Staff\\WebsiteOpenPosition\:\:\$team_id\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Community/Staff/WebsiteTeamApplicationsController.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:check\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Community/Staff/WebsiteTeamApplicationsController.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:id\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Community/Staff/WebsiteTeamApplicationsController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:with\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Community/Staff/WebsiteTeamApplicationsController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\Staff\\WebsiteTeamApplicationsController\:\:index\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Community/Staff/WebsiteTeamApplicationsController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\Staff\\WebsiteTeamApplicationsController\:\:show\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Community/Staff/WebsiteTeamApplicationsController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\Staff\\WebsiteTeamsController\:\:__invoke\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Community/Staff/WebsiteTeamsController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\WebsiteRareValuesController\:\:category\(\) should return Illuminate\\Http\\RedirectResponse\|Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Community/WebsiteRareValuesController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\WebsiteRareValuesController\:\:index\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Community/WebsiteRareValuesController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\WebsiteRareValuesController\:\:search\(\) should return Illuminate\\Http\\RedirectResponse\|Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Community/WebsiteRareValuesController.php + + - + message: '#^Method App\\Http\\Controllers\\Community\\WebsiteRareValuesController\:\:value\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Community/WebsiteRareValuesController.php + + - + message: '#^Method App\\Http\\Controllers\\Help\\HelpCenterController\:\:__invoke\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Help/HelpCenterController.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Authenticatable\:\:tickets\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Help/TicketController.php + + - + message: '#^Method App\\Http\\Controllers\\Help\\TicketController\:\:create\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Help/TicketController.php + + - + message: '#^Method App\\Http\\Controllers\\Help\\TicketController\:\:edit\(\) should return Illuminate\\Http\\RedirectResponse\|Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Help/TicketController.php + + - + message: '#^Method App\\Http\\Controllers\\Help\\TicketController\:\:index\(\) should return Illuminate\\Http\\RedirectResponse\|Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Help/TicketController.php + + - + message: '#^Method App\\Http\\Controllers\\Help\\TicketController\:\:show\(\) should return Illuminate\\Http\\RedirectResponse\|Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Help/TicketController.php + + - + message: '#^Method App\\Http\\Controllers\\Help\\WebsiteRulesController\:\:__invoke\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Help/WebsiteRulesController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:with\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Miscellaneous/HomeController.php + + - + message: '#^Method App\\Http\\Controllers\\Miscellaneous\\HomeController\:\:__invoke\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Miscellaneous/HomeController.php + + - + message: '#^Access to an undefined property App\\Models\\Miscellaneous\\WebsiteInstallation\|Illuminate\\Database\\Eloquent\\Builder\\:\:\$step\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Miscellaneous/InstallationController.php + + - + message: '#^Binary operation "/" between App\\Models\\Miscellaneous\\WebsiteSetting\|Illuminate\\Database\\Eloquent\\Builder\ and 4 results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: app/Http/Controllers/Miscellaneous/InstallationController.php + + - + message: '#^Call to protected method decrement\(\) of class Illuminate\\Database\\Eloquent\\Model\.$#' + identifier: method.protected + count: 1 + path: app/Http/Controllers/Miscellaneous/InstallationController.php + + - + message: '#^Call to protected method increment\(\) of class Illuminate\\Database\\Eloquent\\Model\.$#' + identifier: method.protected + count: 1 + path: app/Http/Controllers/Miscellaneous/InstallationController.php + + - + message: '#^Method App\\Http\\Controllers\\Miscellaneous\\InstallationController\:\:index\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Miscellaneous/InstallationController.php + + - + message: '#^Method App\\Http\\Controllers\\Miscellaneous\\InstallationController\:\:showStep\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Miscellaneous/InstallationController.php + + - + message: '#^Method App\\Http\\Controllers\\Miscellaneous\\LogoGeneratorController\:\:index\(\) should return Illuminate\\Http\\RedirectResponse\|Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Miscellaneous/LogoGeneratorController.php + + - + message: '#^Method App\\Http\\Controllers\\Miscellaneous\\MaintenanceController\:\:__invoke\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Miscellaneous/MaintenanceController.php + + - + message: '#^Access to an undefined property App\\Models\\RadioContest\:\:\$is_active\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/RadioContestController.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioContest\:\:where\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Http/Controllers/RadioContestController.php + + - + message: '#^Method App\\Http\\Controllers\\RadioContestController\:\:index\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/RadioContestController.php + + - + message: '#^Method App\\Http\\Controllers\\RadioContestController\:\:show\(\) should return Illuminate\\Http\\RedirectResponse\|Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/RadioContestController.php + + - + message: '#^Access to an undefined property App\\Models\\RadioGiveaway\:\:\$is_active\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/RadioGiveawayController.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioGiveaway\:\:where\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Http/Controllers/RadioGiveawayController.php + + - + message: '#^Method App\\Http\\Controllers\\RadioGiveawayController\:\:index\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/RadioGiveawayController.php + + - + message: '#^Method App\\Http\\Controllers\\RadioGiveawayController\:\:show\(\) should return Illuminate\\Http\\RedirectResponse\|Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/RadioGiveawayController.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:check\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/RadioListenerPointController.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:user\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/RadioListenerPointController.php + + - + message: '#^Access to an undefined property App\\Models\\RadioSongRequest\:\:\$is_played\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/RadioSongRequestController.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:user\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Controllers/RadioSongRequestController.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioSongRequest\:\:create\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Http/Controllers/RadioSongRequestController.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioSongRequest\:\:where\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Http/Controllers/RadioSongRequestController.php + + - + message: '#^Call to method ip\(\) on an unknown class App\\Http\\Controllers\\RadioSongRequestFormRequest\.$#' + identifier: class.notFound + count: 1 + path: app/Http/Controllers/RadioSongRequestController.php + + - + message: '#^Call to method validated\(\) on an unknown class App\\Http\\Controllers\\RadioSongRequestFormRequest\.$#' + identifier: class.notFound + count: 1 + path: app/Http/Controllers/RadioSongRequestController.php + + - + message: '#^Method App\\Http\\Controllers\\RadioSongRequestController\:\:index\(\) should return Illuminate\\Http\\RedirectResponse\|Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/RadioSongRequestController.php + + - + message: '#^Parameter \$request of method App\\Http\\Controllers\\RadioSongRequestController\:\:store\(\) has invalid type App\\Http\\Controllers\\RadioSongRequestFormRequest\.$#' + identifier: class.notFound + count: 1 + path: app/Http/Controllers/RadioSongRequestController.php + + - + message: '#^Offset ''status'' on non\-empty\-array\|\(ArrayAccess&Psr\\Http\\Message\\StreamInterface\) on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 1 + path: app/Http/Controllers/Shop/PayPalController.php + + - + message: '#^Strict comparison using \=\=\= between mixed and null will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Http/Controllers/Shop/PayPalController.php + + - + message: '#^Access to an undefined property App\\Models\\Shop\\WebsiteShopArticle\:\:\$is_giftable\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Shop/ShopController.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:with\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Shop/ShopController.php + + - + message: '#^Method App\\Http\\Controllers\\Shop\\ShopController\:\:__invoke\(\) has invalid return type App\\Http\\Controllers\\Shop\\View\.$#' + identifier: class.notFound + count: 1 + path: app/Http/Controllers/Shop/ShopController.php + + - + message: '#^Method App\\Http\\Controllers\\Shop\\ShopController\:\:__invoke\(\) should return App\\Http\\Controllers\\Shop\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/Shop/ShopController.php + + - + message: '#^Parameter \#3 \$recipient of method App\\Services\\PurchaseService\:\:processPurchase\(\) expects App\\Models\\User\|null, Illuminate\\Database\\Eloquent\\Builder\|Illuminate\\Database\\Eloquent\\Model\|null given\.$#' + identifier: argument.type + count: 1 + path: app/Http/Controllers/Shop/ShopController.php + + - + message: '#^Access to an undefined property App\\Models\\Shop\\WebsiteShopVoucher\|Illuminate\\Database\\Eloquent\\Builder\\:\:\$amount\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Shop/ShopVoucherController.php + + - + message: '#^Access to an undefined property App\\Models\\Shop\\WebsiteShopVoucher\|Illuminate\\Database\\Eloquent\\Builder\\:\:\$expires_at\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Shop/ShopVoucherController.php + + - + message: '#^Access to an undefined property App\\Models\\Shop\\WebsiteShopVoucher\|Illuminate\\Database\\Eloquent\\Builder\\:\:\$id\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Controllers/Shop/ShopVoucherController.php + + - + message: '#^Access to an undefined property App\\Models\\Shop\\WebsiteShopVoucher\|Illuminate\\Database\\Eloquent\\Builder\\:\:\$max_uses\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Shop/ShopVoucherController.php + + - + message: '#^Access to an undefined property App\\Models\\Shop\\WebsiteShopVoucher\|Illuminate\\Database\\Eloquent\\Builder\\:\:\$use_count\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/Shop/ShopVoucherController.php + + - + message: '#^Call to protected method increment\(\) of class Illuminate\\Database\\Eloquent\\Model\.$#' + identifier: method.protected + count: 1 + path: app/Http/Controllers/Shop/ShopVoucherController.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$mail\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/User/AccountSettingsController.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$motto\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/User/AccountSettingsController.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Authenticatable\:\:load\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/User/AccountSettingsController.php + + - + message: '#^Method App\\Http\\Controllers\\User\\AccountSettingsController\:\:edit\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/User/AccountSettingsController.php + + - + message: '#^Method App\\Http\\Controllers\\User\\AccountSettingsController\:\:sessionLogs\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/User/AccountSettingsController.php + + - + message: '#^Parameter \#1 \$user of method App\\Actions\\UserActions\:\:updateField\(\) expects App\\Models\\User, Illuminate\\Contracts\\Auth\\Authenticatable given\.$#' + identifier: argument.type + count: 2 + path: app/Http/Controllers/User/AccountSettingsController.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$ban\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/User/BannedController.php + + - + message: '#^Method App\\Http\\Controllers\\User\\BannedController\:\:__invoke\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/User/BannedController.php + + - + message: '#^Access to an undefined property App\\Models\\PasswordResetToken\|Illuminate\\Database\\Eloquent\\Builder\\:\:\$created_at\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/User/ForgotPasswordController.php + + - + message: '#^Access to an undefined property App\\Models\\PasswordResetToken\|Illuminate\\Database\\Eloquent\\Builder\\:\:\$user\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/User/ForgotPasswordController.php + + - + message: '#^Access to an undefined property Illuminate\\Http\\Request\:\:\$mail\.$#' + identifier: property.notFound + count: 3 + path: app/Http/Controllers/User/ForgotPasswordController.php + + - + message: '#^Access to an undefined property Illuminate\\Http\\Request\:\:\$password\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/User/ForgotPasswordController.php + + - + message: '#^Method App\\Http\\Controllers\\User\\ForgotPasswordController\:\:__invoke\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/User/ForgotPasswordController.php + + - + message: '#^Method App\\Http\\Controllers\\User\\ForgotPasswordController\:\:showResetPassword\(\) should return Illuminate\\Http\\RedirectResponse\|Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/User/ForgotPasswordController.php + + - + message: '#^Access to an undefined property App\\Models\\User\\WebsiteUserGuestbook\:\:\$profile_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/User/GuestbookController.php + + - + message: '#^Access to an undefined property App\\Models\\User\\WebsiteUserGuestbook\:\:\$user_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/User/GuestbookController.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$rank\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/User/GuestbookController.php + + - + message: '#^Method App\\Http\\Controllers\\User\\GuestbookController\:\:validateGuestbookPost\(\) never returns null so it can be removed from the return type\.$#' + identifier: return.unusedType + count: 1 + path: app/Http/Controllers/User/GuestbookController.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:user\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/User/MeController.php + + - + message: '#^Method App\\Http\\Controllers\\User\\MeController\:\:__invoke\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/User/MeController.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Authenticatable\:\:update\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/User/PasswordSettingsController.php + + - + message: '#^Method App\\Http\\Controllers\\User\\PasswordSettingsController\:\:edit\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/User/PasswordSettingsController.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$preferences\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/User/PreferencesController.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Authenticatable\:\:save\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/User/PreferencesController.php + + - + message: '#^Method App\\Http\\Controllers\\User\\PreferencesController\:\:edit\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/User/PreferencesController.php + + - + message: '#^Access to an undefined property App\\Models\\User\:\:\$guilds\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/User/ProfileController.php + + - + message: '#^Parameter \#1 \$count of method Illuminate\\Support\\Stringable\:\:plural\(\) expects array\|Countable\|int, float given\.$#' + identifier: argument.type + count: 4 + path: app/Http/Controllers/User/ProfileController.php + + - + message: '#^Parameter \#1 \$timestamp of method App\\Http\\Controllers\\User\\ProfileController\:\:getAccountAge\(\) expects int, string given\.$#' + identifier: argument.type + count: 1 + path: app/Http/Controllers/User/ProfileController.php + + - + message: '#^Parameter \#1 \$timestamp of method App\\Http\\Controllers\\User\\ProfileController\:\:getLastLogin\(\) expects int, string\|null given\.$#' + identifier: argument.type + count: 1 + path: app/Http/Controllers/User/ProfileController.php + + - + message: '#^Using nullsafe property access "\?\-\>value" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Http/Controllers/User/ProfileController.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$referrals\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Controllers/User/ReferralController.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Authenticatable\:\:claimedReferralLog\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/User/ReferralController.php + + - + message: '#^Method App\\Http\\Controllers\\User\\TwoFactorAuthenticationController\:\:index\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/User/TwoFactorAuthenticationController.php + + - + message: '#^Method App\\Http\\Controllers\\User\\UserReferralController\:\:__invoke\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#' + identifier: return.type + count: 1 + path: app/Http/Controllers/User/UserReferralController.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$id\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Middleware/AdminSecurityMiddleware.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$rank\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Middleware/AdminSecurityMiddleware.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$username\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Middleware/AdminSecurityMiddleware.php + + - + message: '#^Using nullsafe property access "\?\-\>value" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 3 + path: app/Http/Middleware/InjectPwaMeta.php + + - + message: '#^Access to an undefined property App\\Models\\Miscellaneous\\WebsiteInstallation\:\:\$completed\.$#' + identifier: property.notFound + count: 2 + path: app/Http/Middleware/InstallationMiddleware.php + + - + message: '#^Access to an undefined property App\\Models\\Miscellaneous\\WebsiteInstallation\:\:\$step\.$#' + identifier: property.notFound + count: 5 + path: app/Http/Middleware/InstallationMiddleware.php + + - + message: '#^Access to an undefined property App\\Models\\Miscellaneous\\WebsiteInstallation\:\:\$user_ip\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Middleware/InstallationMiddleware.php + + - + message: '#^Function findMigration not found\.$#' + identifier: function.notFound + count: 2 + path: app/Http/Middleware/InstallationMiddleware.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:check\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Middleware/LogStaffActivity.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:user\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Http/Middleware/LogStaffActivity.php + + - + message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Routing\\Route\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Http/Middleware/LogStaffActivity.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$rank\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Middleware/MaintenanceMiddleware.php + + - + message: '#^Using nullsafe method call on non\-nullable type Illuminate\\Routing\\Route\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Http/Middleware/MaintenanceMiddleware.php + + - + message: '#^Call to static method info\(\) on an unknown class Log\.$#' + identifier: class.notFound + count: 1 + path: app/Http/Middleware/SystemCheck.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\WebsiteBlockedCountry\:\:where\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Http/Middleware/VPNCheckerMiddleware.php + + - + message: '#^Class App\\Services\\IpLookupService does not have a constructor and must be instantiated without any parameters\.$#' + identifier: new.noConstructor + count: 1 + path: app/Http/Middleware/VPNCheckerMiddleware.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\ArticleResource\:\:\$created_at\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/ArticleResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\ArticleResource\:\:\$excerpt\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/ArticleResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\ArticleResource\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/ArticleResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\ArticleResource\:\:\$image\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/ArticleResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\ArticleResource\:\:\$slug\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/ArticleResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\ArticleResource\:\:\$title\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/ArticleResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\ArticleResource\:\:\$user\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/ArticleResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\HelpTicketReplyResource\:\:\$created_at\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/HelpTicketReplyResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\HelpTicketReplyResource\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/HelpTicketReplyResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\HelpTicketReplyResource\:\:\$message\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/HelpTicketReplyResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\HelpTicketReplyResource\:\:\$ticket_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/HelpTicketReplyResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\HelpTicketReplyResource\:\:\$user\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/HelpTicketReplyResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\HelpTicketReplyResource\:\:\$user_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/HelpTicketReplyResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\HelpTicketResource\:\:\$category\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/HelpTicketResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\HelpTicketResource\:\:\$created_at\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/HelpTicketResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\HelpTicketResource\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/HelpTicketResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\HelpTicketResource\:\:\$replies\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/HelpTicketResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\HelpTicketResource\:\:\$status\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/HelpTicketResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\HelpTicketResource\:\:\$subject\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/HelpTicketResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\HelpTicketResource\:\:\$updated_at\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/HelpTicketResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\HelpTicketResource\:\:\$user\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/HelpTicketResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\HelpTicketResource\:\:\$user_id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/HelpTicketResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\LeaderboardUserResource\:\:\$credits\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/LeaderboardUserResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\LeaderboardUserResource\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/LeaderboardUserResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\LeaderboardUserResource\:\:\$look\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/LeaderboardUserResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\LeaderboardUserResource\:\:\$motto\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/LeaderboardUserResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\LeaderboardUserResource\:\:\$pixels\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/LeaderboardUserResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\LeaderboardUserResource\:\:\$username\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/LeaderboardUserResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\PhotoResource\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/PhotoResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\PhotoResource\:\:\$image\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/PhotoResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\PhotoResource\:\:\$user\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/PhotoResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\ShopPackageResource\:\:\$description\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/ShopPackageResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\ShopPackageResource\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/ShopPackageResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\ShopPackageResource\:\:\$name\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/ShopPackageResource.php + + - + message: '#^Call to an undefined method App\\Http\\Resources\\Api\\ShopPackageResource\:\:price\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Resources/Api/ShopPackageResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\UserApiResource\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/UserApiResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\UserApiResource\:\:\$look\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/UserApiResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\UserApiResource\:\:\$mail\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/UserApiResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\UserApiResource\:\:\$username\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/UserApiResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\UserBriefResource\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/UserBriefResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\UserBriefResource\:\:\$look\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/UserBriefResource.php + + - + message: '#^Access to an undefined property App\\Http\\Resources\\Api\\UserBriefResource\:\:\$username\.$#' + identifier: property.notFound + count: 1 + path: app/Http/Resources/Api/UserBriefResource.php + + - + message: '#^PHPDoc tag @return with type array\|Illuminate\\Contracts\\Support\\Arrayable\|JsonSerializable is not subtype of native type array\.$#' + identifier: return.phpDocType + count: 1 + path: app/Http/Resources/OnlineUserCountResource.php + + - + message: '#^PHPDoc tag @return with type array\|Illuminate\\Contracts\\Support\\Arrayable\|JsonSerializable is not subtype of native type array\.$#' + identifier: return.phpDocType + count: 1 + path: app/Http/Resources/OnlineUsersResource.php + + - + message: '#^PHPDoc tag @return with type array\|Illuminate\\Contracts\\Support\\Arrayable\|JsonSerializable is not subtype of native type array\.$#' + identifier: return.phpDocType + count: 1 + path: app/Http/Resources/UserResource.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$id\.$#' + identifier: property.notFound + count: 1 + path: app/Listeners/LogStaffLogin.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$rank\.$#' + identifier: property.notFound + count: 1 + path: app/Listeners/LogStaffLogin.php + + - + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue + count: 1 + path: app/Listeners/LogStaffLogin.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\WebsiteMaintenanceTask\:\:findOrFail\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Livewire/MaintenanceTaskStatus.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\HasMany\\:\:whereActive\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/Articles/WebsiteArticle.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:id\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/Articles/WebsiteArticleReaction.php + + - + message: '#^Trait App\\Models\\Compositions\\HasNotificationUrl is used zero times and is not analysed\.$#' + identifier: trait.unused + count: 1 + path: app/Models/Compositions/HasNotificationUrl.php + + - + message: '#^Trait App\\Models\\Concerns\\HasCommonScopes is used zero times and is not analysed\.$#' + identifier: trait.unused + count: 1 + path: app/Models/Concerns/HasCommonScopes.php + + - + message: '#^Access to an undefined property App\\Models\\EmailTemplate\:\:\$body\.$#' + identifier: property.notFound + count: 1 + path: app/Models/EmailTemplate.php + + - + message: '#^Access to an undefined property App\\Models\\EmailTemplate\:\:\$subject\.$#' + identifier: property.notFound + count: 1 + path: app/Models/EmailTemplate.php + + - + message: '#^Call to an undefined static method App\\Models\\EmailTemplate\:\:where\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Models/EmailTemplate.php + + - + message: '#^Method App\\Models\\Help\\WebsiteHelpCenterTicket\:\:replies\(\) should return Illuminate\\Database\\Eloquent\\Relations\\HasMany but returns Illuminate\\Database\\Eloquent\\Builder\\.$#' + identifier: return.type + count: 1 + path: app/Models/Help/WebsiteHelpCenterTicket.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\WebsiteSetting\:\:firstOrNew\(\)\.$#' + identifier: staticMethod.notFound + count: 2 + path: app/Models/Miscellaneous/WebsiteSetting.php + + - + message: '#^Access to an undefined property App\\Models\\RadioBanner\:\:\$image_path\.$#' + identifier: property.notFound + count: 1 + path: app/Models/RadioBanner.php + + - + message: '#^Access to an undefined property App\\Models\\RadioContest\:\:\$ends_at\.$#' + identifier: property.notFound + count: 1 + path: app/Models/RadioContest.php + + - + message: '#^Access to an undefined property App\\Models\\RadioContest\:\:\$is_active\.$#' + identifier: property.notFound + count: 1 + path: app/Models/RadioContest.php + + - + message: '#^Access to an undefined property App\\Models\\RadioContest\:\:\$is_ended\.$#' + identifier: property.notFound + count: 1 + path: app/Models/RadioContest.php + + - + message: '#^Access to an undefined property App\\Models\\RadioContest\:\:\$starts_at\.$#' + identifier: property.notFound + count: 1 + path: app/Models/RadioContest.php + + - + message: '#^Access to an undefined property App\\Models\\RadioGiveaway\:\:\$ends_at\.$#' + identifier: property.notFound + count: 2 + path: app/Models/RadioGiveaway.php + + - + message: '#^Access to an undefined property App\\Models\\RadioGiveaway\:\:\$is_active\.$#' + identifier: property.notFound + count: 1 + path: app/Models/RadioGiveaway.php + + - + message: '#^Access to an undefined property App\\Models\\RadioGiveaway\:\:\$is_ended\.$#' + identifier: property.notFound + count: 2 + path: app/Models/RadioGiveaway.php + + - + message: '#^Access to an undefined property App\\Models\\RadioGiveaway\:\:\$starts_at\.$#' + identifier: property.notFound + count: 1 + path: app/Models/RadioGiveaway.php + + - + message: '#^Access to an undefined property App\\Models\\RadioGiveawayParticipant\:\:\$giveaway_id\.$#' + identifier: property.notFound + count: 1 + path: app/Models/RadioGiveawayParticipant.php + + - + message: '#^Call to an undefined method App\\Models\\RadioGiveawayParticipant\:\:where\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/RadioGiveawayParticipant.php + + - + message: '#^Access to an undefined property App\\Models\\RadioHistory\:\:\$ended_at\.$#' + identifier: property.notFound + count: 1 + path: app/Models/RadioHistory.php + + - + message: '#^Access to an undefined property App\\Models\\RadioHistory\:\:\$started_at\.$#' + identifier: property.notFound + count: 1 + path: app/Models/RadioHistory.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioListenerPoint\:\:create\(\)\.$#' + identifier: staticMethod.notFound + count: 2 + path: app/Models/RadioListenerPoint.php + + - + message: '#^Access to an undefined property App\\Models\\RadioSchedule\:\:\$day\.$#' + identifier: property.notFound + count: 2 + path: app/Models/RadioSchedule.php + + - + message: '#^Access to an undefined property App\\Models\\RadioSchedule\:\:\$end_time\.$#' + identifier: property.notFound + count: 1 + path: app/Models/RadioSchedule.php + + - + message: '#^Access to an undefined property App\\Models\\RadioSchedule\:\:\$start_time\.$#' + identifier: property.notFound + count: 1 + path: app/Models/RadioSchedule.php + + - + message: '#^Access to an undefined property App\\Models\\RadioSongRequest\:\:\$id\.$#' + identifier: property.notFound + count: 2 + path: app/Models/RadioSongRequest.php + + - + message: '#^Access to an undefined property App\\Models\\RadioSongRequest\:\:\$is_approved\.$#' + identifier: property.notFound + count: 1 + path: app/Models/RadioSongRequest.php + + - + message: '#^Access to an undefined property App\\Models\\RadioSongRequest\:\:\$is_played\.$#' + identifier: property.notFound + count: 3 + path: app/Models/RadioSongRequest.php + + - + message: '#^Access to an undefined property App\\Models\\RadioSongRequest\:\:\$played_at\.$#' + identifier: property.notFound + count: 2 + path: app/Models/RadioSongRequest.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioSongRequest\:\:where\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Models/RadioSongRequest.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioSongVote\:\:create\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Models/RadioSongRequest.php + + - + message: '#^Call to an undefined static method App\\Models\\SocialAccount\:\:where\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Models/SocialAccount.php + + - + message: '#^Call to an undefined static method App\\Models\\StaffActivity\:\:create\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Models/StaffActivity.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:withoutGlobalScopes\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Models/User.php + + - + message: '#^Method App\\Models\\User\:\:getOnlineFriends\(\) should return Illuminate\\Database\\Eloquent\\Collection but returns Illuminate\\Support\\Collection\\.$#' + identifier: return.type + count: 1 + path: app/Models/User.php + + - + message: '#^The @extends tag of class App\\Models\\User describes Illuminate\\Database\\Eloquent\\Factories\\Factory but the class extends Illuminate\\Foundation\\Auth\\User\.$#' + identifier: generics.wrongParent + count: 1 + path: app/Models/User.php + + - + message: '#^Using nullsafe property access "\?\-\>referrals_total" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Models/User.php + + - + message: '#^Access to an undefined property App\\Models\\UserChallengeProgress\:\:\$challenge\.$#' + identifier: property.notFound + count: 1 + path: app/Models/UserChallengeProgress.php + + - + message: '#^Access to an undefined property App\\Models\\UserChallengeProgress\:\:\$completed\.$#' + identifier: property.notFound + count: 2 + path: app/Models/UserChallengeProgress.php + + - + message: '#^Access to an undefined property App\\Models\\UserChallengeProgress\:\:\$progress\.$#' + identifier: property.notFound + count: 1 + path: app/Models/UserChallengeProgress.php + + - + message: '#^Call to an undefined static method App\\Models\\Game\\Player\\UserCurrency\:\:upsert\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Observers/UserObserver.php + + - + message: '#^Access to an undefined property App\\Models\\WebsiteDrawBadge\:\:\$badge_desc\.$#' + identifier: property.notFound + count: 1 + path: app/Observers/WebsiteDrawBadgeObserver.php + + - + message: '#^Access to an undefined property App\\Models\\WebsiteDrawBadge\:\:\$badge_name\.$#' + identifier: property.notFound + count: 1 + path: app/Observers/WebsiteDrawBadgeObserver.php + + - + message: '#^Access to an undefined property App\\Models\\WebsiteDrawBadge\:\:\$badge_path\.$#' + identifier: property.notFound + count: 1 + path: app/Observers/WebsiteDrawBadgeObserver.php + + - + message: '#^Access to an undefined property App\\Models\\WebsiteDrawBadge\:\:\$published\.$#' + identifier: property.notFound + count: 1 + path: app/Observers/WebsiteDrawBadgeObserver.php + + - + message: '#^Access to an undefined property App\\Models\\WebsiteDrawBadge\:\:\$user_id\.$#' + identifier: property.notFound + count: 3 + path: app/Observers/WebsiteDrawBadgeObserver.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:with\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Providers/FortifyServiceProvider.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$password\.$#' + identifier: property.notFound + count: 1 + path: app/Rules/CurrentPasswordRule.php + + - + message: '#^Access to an undefined property App\\Models\\Miscellaneous\\WebsiteInstallation\|Illuminate\\Database\\Eloquent\\Builder\\:\:\$installation_key\.$#' + identifier: property.notFound + count: 1 + path: app/Rules/ValidateInstallationKeyRule.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\AlertLog\:\:create\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Services/AlertService.php + + - + message: '#^Access to an undefined property App\\Models\\Articles\\WebsiteArticle\:\:\$can_comment\.$#' + identifier: property.notFound + count: 1 + path: app/Services/Articles/CommentService.php + + - + message: '#^Access to an undefined property App\\Models\\Articles\\WebsiteArticleReaction\:\:\$active\.$#' + identifier: property.notFound + count: 1 + path: app/Services/Articles/ReactionService.php + + - + message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue + count: 1 + path: app/Services/AutoDetectService.php + + - + message: '#^Strict comparison using \!\=\= between non\-falsy\-string and ''0'' will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue + count: 1 + path: app/Services/AutoDetectService.php + + - + message: '#^Call to an undefined method App\\Services\\CatalogService\:\:estimatePrice\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Services/CatalogService.php + + - + message: '#^Call to method getMessage\(\) on an unknown class App\\Services\\Exception\.$#' + identifier: class.notFound + count: 2 + path: app/Services/CatalogService.php + + - + message: '#^Caught class App\\Services\\Exception not found\.$#' + identifier: class.notFound + count: 4 + path: app/Services/CatalogService.php + + - + message: '#^Offset ''Diverse''\|''Huisdieren''\|''Meubels''\|''Muur & Vloer''\|''Muziek''\|''Spellen''\|''Teleporters''\|''Wired'' on array\{Meubels\: 2, Spellen\: 3, Huisdieren\: 4, Muziek\: 5, Teleporters\: 6, Wired\: 7, Diverse\: 8, ''Muur & Vloer''\: 9\} on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 1 + path: app/Services/CatalogService.php + + - + message: '#^Strict comparison using \=\=\= between non\-empty\-list\ and array\{\} will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Services/CatalogService.php + + - + message: '#^Using nullsafe property access "\?\-\>id" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Services/CatalogService.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\\:\:active\(\)\.$#' + identifier: method.notFound + count: 3 + path: app/Services/Community/RadioScheduleService.php + + - + message: '#^Using nullsafe property access "\?\-\>value" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Services/Community/RadioStreamService.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:with\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Services/Community/RareValues/RareValueCategoriesService.php + + - + message: '#^Call to an undefined method Illuminate\\Support\\Collection\<\*NEVER\*, \*NEVER\*\>\:\:paginate\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Services/Community/RareValues/RareValueCategoriesService.php + + - + message: '#^Call to an undefined static method App\\Models\\Community\\RareValue\\WebsiteRareValueCategory\:\:find\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Services/Community/RareValues/RareValueCategoriesService.php + + - + message: '#^Call to an undefined static method App\\Models\\Community\\RareValue\\WebsiteRareValueCategory\:\:pluck\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Services/Community/RareValues/RareValueCategoriesService.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Services/Community/RareValues/RareValueCategoriesService.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$rank\.$#' + identifier: property.notFound + count: 2 + path: app/Services/Community/StaffService.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:with\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Services/Community/StaffService.php + + - + message: '#^Call to an undefined method Illuminate\\Database\\Query\\Builder\:\:with\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Services/Community/TeamService.php + + - + message: '#^Comparison operation "\<" between int\<80100, 80599\> and 80100 is always false\.$#' + identifier: smaller.alwaysFalse + count: 1 + path: app/Services/Diagnostics/SystemDiagnostic.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:check\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Services/HousekeepingPermissionsService.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:user\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Services/HousekeepingPermissionsService.php + + - + message: '#^Expression on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.expr + count: 2 + path: app/Services/NitroUpdateService.php + + - + message: '#^Property App\\Services\\NitroUpdateService\:\:\$historyService \(App\\Services\\UpdateHistoryService\|null\) is never assigned null so it can be removed from the property type\.$#' + identifier: property.unusedType + count: 1 + path: app/Services/NitroUpdateService.php + + - + message: '#^Property App\\Services\\NitroUpdateService\:\:\$settings \(App\\Services\\SettingsService\|null\) is never assigned null so it can be removed from the property type\.$#' + identifier: property.unusedType + count: 1 + path: app/Services/NitroUpdateService.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:check\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Services/PermissionsService.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:user\(\)\.$#' + identifier: method.notFound + count: 2 + path: app/Services/PermissionsService.php + + - + message: '#^Call to an undefined static method App\\Models\\Miscellaneous\\WebsitePermission\:\:where\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Services/PermissionsService.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioListenerPoint\:\:sum\(\)\.$#' + identifier: staticMethod.notFound + count: 1 + path: app/Services/PointsService.php + + - + message: '#^Call to an undefined static method App\\Models\\RadioListenerPoint\:\:where\(\)\.$#' + identifier: staticMethod.notFound + count: 4 + path: app/Services/PointsService.php + + - + message: '#^Call to an undefined static method App\\Models\\User\:\:whereIn\(\)\.$#' + identifier: staticMethod.notFound + count: 2 + path: app/Services/PointsService.php + + - + message: '#^Using nullsafe property access "\?\-\>avatar" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Services/PointsService.php + + - + message: '#^Using nullsafe property access "\?\-\>username" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 2 + path: app/Services/PointsService.php + + - + message: '#^Access to an undefined property App\\Models\\Shop\\WebsiteShopArticle\:\:\$badges\.$#' + identifier: property.notFound + count: 1 + path: app/Services/PurchaseService.php + + - + message: '#^Access to an undefined property App\\Models\\Shop\\WebsiteShopArticle\:\:\$credits\.$#' + identifier: property.notFound + count: 1 + path: app/Services/PurchaseService.php + + - + message: '#^Access to an undefined property App\\Models\\Shop\\WebsiteShopArticle\:\:\$diamonds\.$#' + identifier: property.notFound + count: 1 + path: app/Services/PurchaseService.php + + - + message: '#^Access to an undefined property App\\Models\\Shop\\WebsiteShopArticle\:\:\$duckets\.$#' + identifier: property.notFound + count: 1 + path: app/Services/PurchaseService.php + + - + message: '#^Call to protected method decrement\(\) of class Illuminate\\Database\\Eloquent\\Model\.$#' + identifier: method.protected + count: 1 + path: app/Services/PurchaseService.php + + - + message: '#^Strict comparison using \=\=\= between Socket and false will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Services/RconService.php + + - + message: '#^Strict comparison using \!\=\= between string and null will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue + count: 3 + path: app/Services/StreamMonitoringService.php + + - + message: '#^Strict comparison using \=\=\= between string and null will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: app/Services/StreamMonitoringService.php + + - + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable + count: 1 + path: app/Services/StreamMonitoringService.php + + - + message: '#^Strict comparison using \!\=\= between numeric\-string and '''' will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue + count: 1 + path: app/Services/TraxService.php + + - + message: '#^Call to an undefined method Illuminate\\Contracts\\Auth\\Factory\:\:user\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Services/UpdateHistoryService.php + + - + message: '#^Using nullsafe property access "\?\-\>name" on left side of \?\? is unnecessary\. Use \-\> instead\.$#' + identifier: nullsafe.neverNull + count: 1 + path: app/Services/UpdateHistoryService.php + + - + message: '#^Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable\:\:\$sessions\.$#' + identifier: property.notFound + count: 1 + path: app/Services/User/SessionService.php diff --git a/phpstan.neon b/phpstan.neon index 3820f02..4ad4da2 100755 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,10 +1,8 @@ includes: - # - vendor/phpstan/phpstan/conf/bleedingEdge.neon + - phpstan-baseline.neon parameters: - level: 3 + level: 5 paths: - app - excludePaths: - - app/Helpers/helper.php reportUnmatchedIgnoredErrors: false