You've already forked Epicnabbo-Catalogus-Updated-Daily
🆙 Add more fixes 🆙
This commit is contained in:
+8
-4
@@ -36,7 +36,9 @@ class TwoFactorAuthenticatedSessionController extends Controller
|
||||
$user = $request->challengedUser();
|
||||
|
||||
if ($code = $request->validRecoveryCode()) {
|
||||
$user->replaceRecoveryCode($code);
|
||||
if ($user !== null) {
|
||||
$user->replaceRecoveryCode($code);
|
||||
}
|
||||
|
||||
event(new RecoveryCodeReplaced($user, $code));
|
||||
} elseif (! $request->hasValidCode()) {
|
||||
@@ -49,9 +51,11 @@ class TwoFactorAuthenticatedSessionController extends Controller
|
||||
|
||||
$request->session()->regenerate();
|
||||
|
||||
$user->update([
|
||||
'ip_current' => $request->ip(),
|
||||
]);
|
||||
if ($user !== null) {
|
||||
$user->update([
|
||||
'ip_current' => $request->ip(),
|
||||
]);
|
||||
}
|
||||
|
||||
return app(TwoFactorLoginResponse::class);
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ class CreateNewUser implements CreatesNewUsers
|
||||
/**
|
||||
* Validate and create a newly registered user.
|
||||
*/
|
||||
public function create(array $input)
|
||||
public function create(array $input): User
|
||||
{
|
||||
if ((setting('disable_registration') ?: '0') == '1') {
|
||||
throw ValidationException::withMessages([
|
||||
@@ -45,7 +45,7 @@ class CreateNewUser implements CreatesNewUsers
|
||||
->orWhere('ip_register', '=', $ip)
|
||||
->count();
|
||||
|
||||
if ($matchingIpCount >= (int) (setting('max_accounts_per_ip') ?: 99)) {
|
||||
if ($matchingIpCount >= (int) (setting('max_accounts_per_ip') ?: '99')) {
|
||||
throw ValidationException::withMessages([
|
||||
'registration' => __('You have reached the max amount of allowed account'),
|
||||
]);
|
||||
@@ -65,7 +65,7 @@ class CreateNewUser implements CreatesNewUsers
|
||||
'ip_register' => $ip,
|
||||
'ip_current' => $ip,
|
||||
'auth_ticket' => '',
|
||||
'home_room' => (int) (setting('hotel_home_room') ?: 0),
|
||||
'home_room' => (int) (setting('hotel_home_room') ?: '0'),
|
||||
]);
|
||||
|
||||
$user->update([
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace App\Actions\Fortify;
|
||||
|
||||
use App\Models\User;
|
||||
|
||||
class DisableTwoFactorAuthentication extends \Laravel\Fortify\Actions\DisableTwoFactorAuthentication
|
||||
{
|
||||
public function __invoke($user): void
|
||||
|
||||
@@ -55,7 +55,7 @@ class RedirectIfTwoFactorAuthenticatable
|
||||
$user = $this->validateCredentials($request);
|
||||
|
||||
if (Fortify::confirmsTwoFactorAuthentication()) {
|
||||
if ($user && $user->two_factor_secret &&
|
||||
if ($user instanceof User && $user->two_factor_secret &&
|
||||
! is_null($user->two_factor_confirmed_at) &&
|
||||
in_array(TwoFactorAuthenticatable::class, class_uses_recursive($user))) {
|
||||
return $this->twoFactorChallengeResponse($request, $user);
|
||||
@@ -64,7 +64,7 @@ class RedirectIfTwoFactorAuthenticatable
|
||||
}
|
||||
}
|
||||
|
||||
if ($user && $user->two_factor_secret &&
|
||||
if ($user instanceof User && $user->two_factor_secret &&
|
||||
in_array(TwoFactorAuthenticatable::class, class_uses_recursive($user))) {
|
||||
return $this->twoFactorChallengeResponse($request, $user);
|
||||
}
|
||||
@@ -91,7 +91,7 @@ class RedirectIfTwoFactorAuthenticatable
|
||||
|
||||
$model = $this->guard->getProvider()->getModel();
|
||||
|
||||
return tap($model::where(Fortify::username(), $request->{Fortify::username()})->first(), function ($user) use ($request) {
|
||||
return tap($model::where(Fortify::username(), $request->{Fortify::username()})->first(), function ($user) use ($request): void {
|
||||
// Update the users password to bcrypt, if they previously used md5
|
||||
if ($user && config('habbo.site.convert_passwords')) {
|
||||
$this->convertUserPassword($user, $request->input('password'));
|
||||
@@ -151,7 +151,7 @@ class RedirectIfTwoFactorAuthenticatable
|
||||
protected function twoFactorChallengeResponse(Request $request, $user): Response
|
||||
{
|
||||
$request->session()->put([
|
||||
'login.id' => $user->getKey(),
|
||||
'login.id' => $user instanceof User ? $user->getKey() : null,
|
||||
'login.remember' => $request->filled('remember'),
|
||||
]);
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
namespace App\Actions\Fortify;
|
||||
|
||||
use App\Actions\Fortify\Rules\PasswordValidationRules;
|
||||
use App\Models\User;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
use Laravel\Fortify\Contracts\ResetsUserPasswords;
|
||||
@@ -11,12 +12,7 @@ class ResetUserPassword implements ResetsUserPasswords
|
||||
{
|
||||
use PasswordValidationRules;
|
||||
|
||||
/**
|
||||
* Validate and reset the user's forgotten password.
|
||||
*
|
||||
* @param mixed $user
|
||||
*/
|
||||
public function reset($user, array $input): void
|
||||
public function reset(User $user, array $input): void
|
||||
{
|
||||
Validator::make($input, [
|
||||
'password' => $this->passwordRules(),
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
namespace App\Actions\Fortify;
|
||||
|
||||
use App\Actions\Fortify\Rules\PasswordValidationRules;
|
||||
use App\Models\User;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
use Laravel\Fortify\Contracts\UpdatesUserPasswords;
|
||||
@@ -11,12 +12,7 @@ class UpdateUserPassword implements UpdatesUserPasswords
|
||||
{
|
||||
use PasswordValidationRules;
|
||||
|
||||
/**
|
||||
* Validate and update the user's password.
|
||||
*
|
||||
* @param mixed $user
|
||||
*/
|
||||
public function update($user, array $input): void
|
||||
public function update(User $user, array $input): void
|
||||
{
|
||||
Validator::make($input, [
|
||||
'current_password' => ['required', 'string', 'current_password:web'],
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Actions\Fortify;
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Contracts\Auth\MustVerifyEmail;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
use Illuminate\Validation\Rule;
|
||||
@@ -9,12 +10,7 @@ use Laravel\Fortify\Contracts\UpdatesUserProfileInformation;
|
||||
|
||||
class UpdateUserProfileInformation implements UpdatesUserProfileInformation
|
||||
{
|
||||
/**
|
||||
* Validate and update the given user's profile information.
|
||||
*
|
||||
* @param mixed $user
|
||||
*/
|
||||
public function update($user, array $input): void
|
||||
public function update(User $user, array $input): void
|
||||
{
|
||||
Validator::make($input, [
|
||||
'name' => ['required', 'string', 'max:255'],
|
||||
@@ -39,12 +35,7 @@ class UpdateUserProfileInformation implements UpdatesUserProfileInformation
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the given verified user's profile information.
|
||||
*
|
||||
* @param mixed $user
|
||||
*/
|
||||
protected function updateVerifiedUser($user, array $input): void
|
||||
protected function updateVerifiedUser(User $user, array $input): void
|
||||
{
|
||||
$user->forceFill([
|
||||
'name' => $input['name'],
|
||||
|
||||
@@ -3,13 +3,14 @@
|
||||
namespace App\Actions;
|
||||
|
||||
use App\Enums\CurrencyTypes;
|
||||
use App\Models\User;
|
||||
use App\Services\RconService;
|
||||
|
||||
class SendCurrency
|
||||
{
|
||||
public function __construct(protected RconService $rcon) {}
|
||||
|
||||
public function execute($user, string $type, ?int $amount)
|
||||
public function execute(User $user, string $type, ?int $amount): bool
|
||||
{
|
||||
if (! $amount || $amount <= 0) {
|
||||
return false;
|
||||
@@ -32,5 +33,7 @@ class SendCurrency
|
||||
default => false,
|
||||
};
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,30 +2,32 @@
|
||||
|
||||
namespace App\Actions;
|
||||
|
||||
use App\Models\User;
|
||||
|
||||
class UserActions
|
||||
{
|
||||
public function updateUsername($user, $username): void
|
||||
public function updateUsername(User $user, string $username): void
|
||||
{
|
||||
$user->update([
|
||||
'username' => $username,
|
||||
]);
|
||||
}
|
||||
|
||||
public function updateEmail($user, $email): void
|
||||
public function updateEmail(User $user, string $email): void
|
||||
{
|
||||
$user->update([
|
||||
'mail' => $email,
|
||||
]);
|
||||
}
|
||||
|
||||
public function updateMotto($user, $motto): void
|
||||
public function updateMotto(User $user, string $motto): void
|
||||
{
|
||||
$user->update([
|
||||
'motto' => $motto,
|
||||
]);
|
||||
}
|
||||
|
||||
public function updateField($user, string $field, ?string $value): void
|
||||
public function updateField(User $user, string $field, ?string $value): void
|
||||
{
|
||||
$user->update([
|
||||
$field => $value,
|
||||
|
||||
@@ -11,7 +11,7 @@ class BuildTheme extends Command
|
||||
|
||||
protected $description = 'Build a selected theme assets';
|
||||
|
||||
public function handle()
|
||||
public function handle(): int
|
||||
{
|
||||
$themes = $this->getAvailableThemes();
|
||||
|
||||
@@ -29,7 +29,11 @@ class BuildTheme extends Command
|
||||
|
||||
$this->info("Building {$selectedTheme} theme...");
|
||||
|
||||
$this->runBuildCommand($selectedTheme);
|
||||
if (is_array($selectedTheme)) {
|
||||
$selectedTheme = $selectedTheme[0] ?? '';
|
||||
}
|
||||
|
||||
$this->runBuildCommand((string) $selectedTheme);
|
||||
|
||||
return Command::SUCCESS;
|
||||
}
|
||||
|
||||
@@ -19,11 +19,11 @@ class DateRangeFilter extends Filter
|
||||
return $query
|
||||
->when(
|
||||
$data["{$name}_from"],
|
||||
fn (Builder $query, $date) => $query->whereDate($name, '>=', $date),
|
||||
fn (Builder $query, ?string $date) => $query->whereDate($name !== null ? $name : '', '>=', $date),
|
||||
)
|
||||
->when(
|
||||
$data["{$name}_until"],
|
||||
fn (Builder $query, $date) => $query->whereDate($name, '<=', $date),
|
||||
fn (Builder $query, ?string $date) => $query->whereDate($name !== null ? $name : '', '<=', $date),
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -34,9 +34,9 @@ class BadgePage extends Page
|
||||
|
||||
protected static string $translateIdentifier = 'badge-resource';
|
||||
|
||||
public $badgeWasPreviouslyCreated;
|
||||
public bool $badgeWasPreviouslyCreated = false;
|
||||
|
||||
public ?array $data = [];
|
||||
public array $data = [];
|
||||
|
||||
public static string $roleName = 'badge_page';
|
||||
|
||||
@@ -47,9 +47,11 @@ class BadgePage extends Page
|
||||
|
||||
public function getTitle(): string|Htmlable
|
||||
{
|
||||
return __(
|
||||
$translated = __(
|
||||
sprintf('filament::resources.resources.%s.navigation_label', static::$translateIdentifier),
|
||||
);
|
||||
|
||||
return is_array($translated) ? (string) ($translated[0] ?? '') : (string) $translated;
|
||||
}
|
||||
|
||||
public function form(Schema $schema): Schema
|
||||
@@ -62,7 +64,7 @@ class BadgePage extends Page
|
||||
->label(__('filament::resources.inputs.badge_code'))
|
||||
->helperText(__('filament::resources.helpers.badge_code_helper'))
|
||||
->afterStateUpdated(function (?string $state, Set $set) {
|
||||
$set('code', strtoupper($state));
|
||||
$set('code', strtoupper((string) $state));
|
||||
})
|
||||
->suffixAction(fn (): PageAction => PageAction::make('search')->icon('heroicon-o-magnifying-glass')->action(fn () => $this->searchBadgesByCode()),
|
||||
),
|
||||
@@ -131,7 +133,7 @@ class BadgePage extends Page
|
||||
}
|
||||
|
||||
$badgeData = app(ExternalTextsParser::class)->getBadgeData($badgeCode);
|
||||
$this->badgeWasPreviouslyCreated = is_array($badgeData['nitro']) || is_array($badgeData['flash']);
|
||||
$this->badgeWasPreviouslyCreated = is_array($badgeData['nitro'] ?? null) || is_array($badgeData['flash'] ?? null);
|
||||
|
||||
if ($this->badgeWasPreviouslyCreated) {
|
||||
Notification::make()
|
||||
|
||||
@@ -14,7 +14,7 @@ use Illuminate\Validation\ValidationException;
|
||||
|
||||
class Login extends \Filament\Auth\Pages\Login
|
||||
{
|
||||
public $username = '';
|
||||
public string $username = '';
|
||||
|
||||
public function authenticate(): ?LoginResponse
|
||||
{
|
||||
@@ -26,7 +26,7 @@ class Login extends \Filament\Auth\Pages\Login
|
||||
'seconds' => $exception->secondsUntilAvailable,
|
||||
'minutes' => ceil($exception->secondsUntilAvailable / 60),
|
||||
]))
|
||||
->body(array_key_exists('body', __('filament-panels::pages/auth/login.notifications.throttled') ?: []) ? __('filament-panels::pages/auth/login.notifications.throttled.body', [
|
||||
->body(array_key_exists('body', (array) __('filament-panels::pages/auth/login.notifications.throttled') ?: []) ? __('filament-panels::pages/auth/login.notifications.throttled.body', [
|
||||
'seconds' => $exception->secondsUntilAvailable,
|
||||
'minutes' => ceil($exception->secondsUntilAvailable / 60),
|
||||
]) : null)
|
||||
|
||||
@@ -81,7 +81,7 @@ class CmsSettingResource extends Resource
|
||||
->tooltip(function (TextColumn $column): ?string {
|
||||
$state = $column->getState();
|
||||
|
||||
if (strlen($state) <= $column->getCharacterLimit()) {
|
||||
if (! is_string($state) || strlen($state) <= $column->getCharacterLimit()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -80,7 +80,7 @@ class HousekeepingPermissionResource extends Resource
|
||||
->tooltip(function (TextColumn $column): ?string {
|
||||
$state = $column->getState();
|
||||
|
||||
if (strlen($state) <= $column->getCharacterLimit()) {
|
||||
if (! is_string($state) || strlen($state) <= $column->getCharacterLimit()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -12,32 +12,40 @@ trait TranslatableResource
|
||||
return null;
|
||||
}
|
||||
|
||||
return __(
|
||||
$translated = __(
|
||||
sprintf('filament::resources.navigations.%s', static::$navigationGroup),
|
||||
);
|
||||
|
||||
return is_array($translated) ? (string) ($translated[0] ?? '') : (string) $translated;
|
||||
}
|
||||
|
||||
public static function getPluralModelLabel(): string
|
||||
{
|
||||
return __(sprintf(
|
||||
$translated = __(sprintf(
|
||||
Str::endsWith(static::class, 'RelationManager')
|
||||
? 'filament::resources.resources.%s.navigation_label'
|
||||
: 'filament::resources.resources.%s.plural',
|
||||
static::$translateIdentifier,
|
||||
));
|
||||
|
||||
return is_array($translated) ? (string) ($translated[0] ?? '') : (string) $translated;
|
||||
}
|
||||
|
||||
public static function getNavigationLabel(): string
|
||||
{
|
||||
return __(
|
||||
$translated = __(
|
||||
sprintf('filament::resources.resources.%s.navigation_label', static::$translateIdentifier),
|
||||
);
|
||||
|
||||
return is_array($translated) ? (string) ($translated[0] ?? '') : (string) $translated;
|
||||
}
|
||||
|
||||
public static function getModelLabel(): string
|
||||
{
|
||||
return __(
|
||||
$translated = __(
|
||||
sprintf('filament::resources.resources.%s.label', static::$translateIdentifier),
|
||||
);
|
||||
|
||||
return is_array($translated) ? (string) ($translated[0] ?? '') : (string) $translated;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,537 +0,0 @@
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Actions\Fortify\CreateNewUser.php (3 errors)
|
||||
Line 37: [nullsafe.neverNull] Using nullsafe method call on non-nullable type Illuminate\Http\Request. Use -> instead.
|
||||
Line 89: [return.type] Method App\Actions\Fortify\CreateNewUser::create() should return Illuminate\Foundation\Auth\User but returns Illuminate\Http\RedirectResponse.
|
||||
Line 94: [return.type] Method App\Actions\Fortify\CreateNewUser::create() should return Illuminate\Foundation\Auth\User but returns Illuminate\Http\RedirectResponse.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Actions\Fortify\RedirectIfTwoFactorAuthenticatable.php (1 errors)
|
||||
Line 59: [nullsafe.neverNull] Using nullsafe property access on non-nullable type mixed. Use -> instead.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Actions\SendCurrency.php (1 errors)
|
||||
Line 14: [smallerOrEqual.alwaysTrue] Comparison operation "<=" between 0|null and 0 is always true.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Filters\DateRangeFilter.php (2 errors)
|
||||
Line 22: [return.type] Anonymous function should return Illuminate\Database\Eloquent\Builder but returns Illuminate\Database\Query\Builder.
|
||||
Line 26: [return.type] Anonymous function should return Illuminate\Database\Eloquent\Builder but returns Illuminate\Database\Query\Builder.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Pages\BadgePage.php (15 errors)
|
||||
Line 71: [nullCoalesce.expr] Expression on left side of ?? is not nullable.
|
||||
Line 89: [nullCoalesce.expr] Expression on left side of ?? is not nullable.
|
||||
Line 94: [nullCoalesce.expr] Expression on left side of ?? is not nullable.
|
||||
Line 104: [nullCoalesce.expr] Expression on left side of ?? is not nullable.
|
||||
Line 109: [nullCoalesce.expr] Expression on left side of ?? is not nullable.
|
||||
Line 117: [property.notFound] Access to an undefined property App\Filament\Pages\BadgePage::$form.
|
||||
Line 120: [method.notFound] Call to an undefined method App\Filament\Pages\BadgePage::notify().
|
||||
Line 125: [class.notFound] Call to method getBadgeData() on an unknown class App\Services\Parsers\ExternalTextsParser.
|
||||
Line 125: [class.notFound] Class App\Services\Parsers\ExternalTextsParser not found.
|
||||
Line 204: [class.notFound] Class App\Services\Parsers\ExternalTextsParser not found.
|
||||
Line 221: [class.notFound] Call to method updateNitroBadgeTexts() on an unknown class App\Services\Parsers\ExternalTextsParser.
|
||||
Line 224: [class.notFound] Call to method updateFlashBadgeTexts() on an unknown class App\Services\Parsers\ExternalTextsParser.
|
||||
Line 239: [class.notFound] Call to method getBadgeImageUrl() on an unknown class App\Services\Parsers\ExternalTextsParser.
|
||||
Line 250: [class.notFound] Parameter $parser of method App\Filament\Pages\BadgePage::uploadBadgeImage() has invalid type App\Services\Parsers\ExternalTextsParser.
|
||||
Line 256: [class.notFound] Call to method getBadgeImageUrl() on an unknown class App\Services\Parsers\ExternalTextsParser.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\Articles\ArticleResource.php (1 errors)
|
||||
Line 221: [method.notFound] Call to an undefined method Illuminate\Database\Eloquent\Builder::withTrashed().
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\Articles\Pages\CreateArticle.php (1 errors)
|
||||
Line 18: [property.protected] Access to protected property App\Models\Article::$visible.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\Articles\Pages\ViewArticle.php (2 errors)
|
||||
Line 22: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$user_id.
|
||||
Line 25: [method.notFound] Call to an undefined method Illuminate\Database\Eloquent\Model::createFollowersNotification().
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\HelpQuestionCategoryResource\Pages\CreateHelpQuestionCategory.php (1 errors)
|
||||
Line 10: [class.notFound] Class App\Filament\Resources\Atom\HelpQuestionCategoryResource not found.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\HelpQuestionCategoryResource\Pages\EditHelpQuestionCategory.php (1 errors)
|
||||
Line 11: [class.notFound] Class App\Filament\Resources\Atom\HelpQuestionCategoryResource not found.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\HelpQuestionCategoryResource\Pages\ListHelpQuestionCategories.php (1 errors)
|
||||
Line 11: [class.notFound] Class App\Filament\Resources\Atom\HelpQuestionCategoryResource not found.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\HelpQuestionCategoryResource\Pages\ViewHelpQuestionCategory.php (1 errors)
|
||||
Line 10: [class.notFound] Class App\Filament\Resources\Atom\HelpQuestionCategoryResource not found.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\HelpQuestionCategoryResource\RelationManagers\QuestionsRelationManager.php (2 errors)
|
||||
Line 28: [class.notFound] Call to static method getForm() on an unknown class App\Filament\Resources\Atom\HelpQuestionResource.
|
||||
Line 33: [class.notFound] Call to static method getTable() on an unknown class App\Filament\Resources\Atom\HelpQuestionResource.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\HelpQuestionResource\Pages\CreateHelpQuestion.php (1 errors)
|
||||
Line 10: [class.notFound] Class App\Filament\Resources\Atom\HelpQuestionResource not found.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\HelpQuestionResource\Pages\EditHelpQuestion.php (1 errors)
|
||||
Line 11: [class.notFound] Class App\Filament\Resources\Atom\HelpQuestionResource not found.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\HelpQuestionResource\Pages\ListHelpQuestions.php (1 errors)
|
||||
Line 11: [class.notFound] Class App\Filament\Resources\Atom\HelpQuestionResource not found.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\HelpQuestionResource\Pages\ViewHelpQuestion.php (1 errors)
|
||||
Line 10: [class.notFound] Class App\Filament\Resources\Atom\HelpQuestionResource not found.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\HelpQuestionResource\RelationManagers\CategoriesRelationManager.php (2 errors)
|
||||
Line 30: [class.notFound] Call to static method getForm() on an unknown class App\Filament\Resources\Atom\HelpQuestionCategoryResource.
|
||||
Line 35: [class.notFound] Call to static method getTable() on an unknown class App\Filament\Resources\Atom\HelpQuestionCategoryResource.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\NavigationResource\Pages\CreateNavigation.php (1 errors)
|
||||
Line 10: [class.notFound] Class App\Filament\Resources\Atom\NavigationResource not found.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\NavigationResource\Pages\EditNavigation.php (1 errors)
|
||||
Line 11: [class.notFound] Class App\Filament\Resources\Atom\NavigationResource not found.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\NavigationResource\Pages\ListNavigations.php (1 errors)
|
||||
Line 11: [class.notFound] Class App\Filament\Resources\Atom\NavigationResource not found.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\Permissions\PermissionResource.php (4 errors)
|
||||
Line 218: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$description.
|
||||
Line 218: [class.notFound] Call to static method limit() on an unknown class Str.
|
||||
Line 220: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$description.
|
||||
Line 232: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$prefix_color.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\Teams\TeamResource.php (1 errors)
|
||||
Line 83: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$hidden_rank.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Atom\WriteableBoxResource\Pages\ManageWriteableBoxes.php (1 errors)
|
||||
Line 11: [class.notFound] Class App\Filament\Resources\Atom\WriteableBoxResource not found.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\DashboardResource\Widgets\LatestOrders.php (3 errors)
|
||||
Line 18: [class.notFound] Call to static method latest() on an unknown class App\Models\User\UserOrder.
|
||||
Line 20: [class.notFound] Call to static method getTable() on an unknown class App\Filament\Resources\Shop\ShopOrderResource.
|
||||
Line 22: [class.notFound] Call to static method getForm() on an unknown class App\Filament\Resources\Shop\ShopOrderResource.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\DashboardResource\Widgets\OrdersAggregateChart.php (3 errors)
|
||||
Line 29: [class.notFound] Call to static method pending() on an unknown class App\Models\User\UserOrder.
|
||||
Line 34: [class.notFound] Call to static method cancelled() on an unknown class App\Models\User\UserOrder.
|
||||
Line 39: [class.notFound] Call to static method completed() on an unknown class App\Models\User\UserOrder.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Hotel\BadgeUploads\Pages\ManageBadgeUploads.php (2 errors)
|
||||
Line 23: [property.notFound] Access to an undefined property App\Filament\Resources\Hotel\BadgeUploads\Pages\ManageBadgeUploads::$form.
|
||||
Line 41: [property.notFound] Access to an undefined property App\Filament\Resources\Hotel\BadgeUploads\Pages\ManageBadgeUploads::$form.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Hotel\CatalogEditors\Pages\ManageCatalogEditor.php (7 errors)
|
||||
Line 144: [assign.propertyType] Property App\Filament\Resources\Hotel\CatalogEditors\Pages\ManageCatalogEditor::$selectedPage (App\Models\Game\Furniture\CatalogPage|null) does not accept stdClass.
|
||||
Line 214: [return.type] Method App\Filament\Resources\Hotel\CatalogEditors\Pages\ManageCatalogEditor::findPrevNeighbor() should return App\Models\Game\Furniture\CatalogItem|null but returns stdClass|null.
|
||||
Line 231: [return.type] Method App\Filament\Resources\Hotel\CatalogEditors\Pages\ManageCatalogEditor::findNextNeighbor() should return App\Models\Game\Furniture\CatalogItem|null but returns stdClass|null.
|
||||
Line 592: [nullsafe.neverNull] Using nullsafe property access "?->caption" on left side of ?? is unnecessary. Use -> instead.
|
||||
Line 593: [nullsafe.neverNull] Using nullsafe property access "?->caption_save" on left side of ?? is unnecessary. Use -> instead.
|
||||
Line 594: [nullsafe.neverNull] Using nullsafe property access "?->order_num" on left side of ?? is unnecessary. Use -> instead.
|
||||
Line 595: [nullsafe.neverNull] Using nullsafe property access "?->icon_image" on left side of ?? is unnecessary. Use -> instead.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Hotel\CommandLogs\CommandLogResource.php (1 errors)
|
||||
Line 48: [match.unhandled] Match expression does not handle remaining value: string
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\Hotel\StaffApplications\StaffApplicationResource.php (1 errors)
|
||||
Line 104: [property.notFound] Access to an undefined property Illuminate\Support\Optional::$rank_name.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\User\Bans\BanResource.php (3 errors)
|
||||
Line 103: [match.unhandled] Match expression does not handle remaining value: string
|
||||
Line 109: [match.unhandled] Match expression does not handle remaining value: string
|
||||
Line 122: [argument.type] Parameter #2 $timestamp of function date expects int|null, string given.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\User\Users\Pages\EditUser.php (21 errors)
|
||||
Line 39: [method.staticCall] Static call to instance method Filament\Resources\Pages\Page::getModel().
|
||||
Line 62: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$online.
|
||||
Line 81: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$credits.
|
||||
Line 82: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$credits.
|
||||
Line 94: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$currencies.
|
||||
Line 100: [method.notFound] Call to an undefined method Illuminate\Database\Eloquent\Model::currencies().
|
||||
Line 105: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$id.
|
||||
Line 107: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$username.
|
||||
Line 111: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$id.
|
||||
Line 113: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$username.
|
||||
Line 117: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$settings.
|
||||
Line 122: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$settings.
|
||||
Line 137: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$settings.
|
||||
Line 142: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$currencies.
|
||||
Line 144: [match.unhandled] Match expression does not handle remaining value: mixed
|
||||
Line 160: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$rank.
|
||||
Line 167: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$online.
|
||||
Line 177: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$online.
|
||||
Line 192: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$motto.
|
||||
Line 196: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$online.
|
||||
Line 206: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$online.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\User\Users\Pages\ListUsers.php (2 errors)
|
||||
Line 64: [class.notFound] Access to constant HousekeepingCustomMessage on an unknown class App\Enums\NotificationType.
|
||||
Line 72: [class.notFound] Call to static method insert() on an unknown class App\Models\User\UserNotification.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\User\Users\RelationManagers\BadgesRelationManager.php (6 errors)
|
||||
Line 74: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$online.
|
||||
Line 89: [method.notFound] Call to an undefined method App\Services\RconService::sendSafelyFromDashboard().
|
||||
Line 110: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$online.
|
||||
Line 124: [property.nonObject] Cannot access property $badge_code on array<string, mixed>|Illuminate\Database\Eloquent\Model.
|
||||
Line 125: [method.notFound] Call to an undefined method Filament\Actions\DeleteBulkAction::getRecords().
|
||||
Line 127: [method.notFound] Call to an undefined method App\Services\RconService::sendSafelyFromDashboard().
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\User\Users\RelationManagers\SettingsRelationManager.php (1 errors)
|
||||
Line 180: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$online.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Resources\User\Users\UserResource.php (8 errors)
|
||||
Line 82: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$account_created.
|
||||
Line 89: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$last_login.
|
||||
Line 96: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$last_online.
|
||||
Line 241: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$online.
|
||||
Line 274: [method.notFound] Call to an undefined method Illuminate\Database\Eloquent\Model::currency().
|
||||
Line 275: [method.notFound] Call to an undefined method Illuminate\Database\Eloquent\Model::currency().
|
||||
Line 276: [method.notFound] Call to an undefined method Illuminate\Database\Eloquent\Model::currency().
|
||||
Line 278: [property.notFound] Access to an undefined property Illuminate\Database\Eloquent\Model::$settings.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Tables\Columns\UserAvatarColumn.php (1 errors)
|
||||
Line 25: [property.nonObject] Cannot access property $look on array<string, mixed>|Illuminate\Database\Eloquent\Model.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Pages\BadgePage) (1 errors)
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Pages\Dashboard) (1 errors)
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\Atom\Articles\ArticleResource) (1 errors)
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\Atom\Articles\RelationManagers\TagsRelationManager) (2 errors)
|
||||
Line 12: [staticProperty.notFound] Access to an undefined static property static(App\Filament\Resources\Atom\Articles\RelationManagers\TagsRelationManager)::$navigationGroup.
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\Atom\CmsSettings\CmsSettingResource) (1 errors)
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\Atom\HelpQuestionCategoryResource\RelationManagers\QuestionsRelationManager) (2 errors)
|
||||
Line 12: [staticProperty.notFound] Access to an undefined static property static(App\Filament\Resources\Atom\HelpQuestionCategoryResource\RelationManagers\QuestionsRelationManager)::$navigationGroup.
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\Atom\HelpQuestionResource\RelationManagers\CategoriesRelationManager) (2 errors)
|
||||
Line 12: [staticProperty.notFound] Access to an undefined static property static(App\Filament\Resources\Atom\HelpQuestionResource\RelationManagers\CategoriesRelationManager)::$navigationGroup.
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\Atom\Permissions\PermissionResource) (1 errors)
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\Atom\Tags\RelationManagers\ArticlesRelationManager) (2 errors)
|
||||
Line 12: [staticProperty.notFound] Access to an undefined static property static(App\Filament\Resources\Atom\Tags\RelationManagers\ArticlesRelationManager)::$navigationGroup.
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\Atom\Tags\TagResource) (1 errors)
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\Atom\Teams\TeamResource) (1 errors)
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\Hotel\Achievements\AchievementResource) (1 errors)
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\Hotel\ChatlogPrivates\ChatlogPrivateResource) (1 errors)
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\Hotel\ChatlogRooms\ChatlogRoomResource) (1 errors)
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\Hotel\CommandLogs\CommandLogResource) (1 errors)
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\Hotel\EmulatorSettings\EmulatorSettingResource) (1 errors)
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\Hotel\EmulatorTexts\EmulatorTextResource) (1 errors)
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\Hotel\WordFilters\WordFilterResource) (1 errors)
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\User\Bans\BanResource) (1 errors)
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\User\Users\RelationManagers\BadgesRelationManager) (2 errors)
|
||||
Line 12: [staticProperty.notFound] Access to an undefined static property static(App\Filament\Resources\User\Users\RelationManagers\BadgesRelationManager)::$navigationGroup.
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\User\Users\RelationManagers\SettingsRelationManager) (2 errors)
|
||||
Line 12: [staticProperty.notFound] Access to an undefined static property static(App\Filament\Resources\User\Users\RelationManagers\SettingsRelationManager)::$navigationGroup.
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Traits\TranslatableResource.php (in context of class App\Filament\Resources\User\Users\UserResource) (1 errors)
|
||||
Line 19: [class.notFound] Call to static method endsWith() on an unknown class Str.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Filament\Widgets\TopDashboardOverview.php (10 errors)
|
||||
Line 22: [argument.type] Parameter #2 $precision of static method Illuminate\Support\Number::format() expects int|null, string given.
|
||||
Line 22: [argument.type] Parameter #3 $maxPrecision of static method Illuminate\Support\Number::format() expects int|null, string given.
|
||||
Line 28: [argument.type] Parameter #2 $precision of static method Illuminate\Support\Number::format() expects int|null, string given.
|
||||
Line 28: [argument.type] Parameter #3 $maxPrecision of static method Illuminate\Support\Number::format() expects int|null, string given.
|
||||
Line 34: [argument.type] Parameter #2 $precision of static method Illuminate\Support\Number::format() expects int|null, string given.
|
||||
Line 34: [argument.type] Parameter #3 $maxPrecision of static method Illuminate\Support\Number::format() expects int|null, string given.
|
||||
Line 40: [argument.type] Parameter #2 $precision of static method Illuminate\Support\Number::format() expects int|null, string given.
|
||||
Line 40: [argument.type] Parameter #3 $maxPrecision of static method Illuminate\Support\Number::format() expects int|null, string given.
|
||||
Line 46: [argument.type] Parameter #2 $precision of static method Illuminate\Support\Number::format() expects int|null, string given.
|
||||
Line 46: [argument.type] Parameter #3 $maxPrecision of static method Illuminate\Support\Number::format() expects int|null, string given.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Helpers\helper.php (4 errors)
|
||||
Line 26: [return.type] Function hasPermission() should return string but returns bool.
|
||||
Line 33: [return.type] Function hasHousekeepingPermission() should return string but returns bool.
|
||||
Line 64: [class.notFound] Call to static method hasColumn() on an unknown class Schema.
|
||||
Line 74: [class.notFound] Call to static method getConnection() on an unknown class Schema.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Articles\ArticleController.php (3 errors)
|
||||
Line 25: [return.type] Method App\Http\Controllers\Articles\ArticleController::index() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
Line 36: [return.type] Method App\Http\Controllers\Articles\ArticleController::show() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
Line 46: [argument.type] Parameter #2 $user of method App\Services\Articles\ReactionService::toggleReaction() expects App\Models\User, Illuminate\Contracts\Auth\Authenticatable|null given.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Badge\BadgeController.php (2 errors)
|
||||
Line 104: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$id.
|
||||
Line 119: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$id.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Client\FlashController.php (1 errors)
|
||||
Line 17: [return.type] Method App\Http\Controllers\Client\FlashController::__invoke() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Client\NitroController.php (1 errors)
|
||||
Line 17: [return.type] Method App\Http\Controllers\Client\NitroController::__invoke() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Community\LeaderboardController.php (2 errors)
|
||||
Line 29: [method.notFound] Call to an undefined method Illuminate\Database\Query\Builder::with().
|
||||
Line 37: [return.type] Method App\Http\Controllers\Community\LeaderboardController::__invoke() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Community\PhotosController.php (1 errors)
|
||||
Line 15: [return.type] Method App\Http\Controllers\Community\PhotosController::__invoke() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Community\RoomController.php (1 errors)
|
||||
Line 13: [return.type] Method App\Http\Controllers\Community\RoomController::__invoke() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Community\Staff\StaffApplicationsController.php (3 errors)
|
||||
Line 15: [method.notFound] Call to an undefined method Illuminate\Database\Query\Builder::with().
|
||||
Line 23: [return.type] Method App\Http\Controllers\Community\Staff\StaffApplicationsController::index() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
Line 32: [return.type] Method App\Http\Controllers\Community\Staff\StaffApplicationsController::show() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Community\Staff\StaffController.php (1 errors)
|
||||
Line 17: [return.type] Method App\Http\Controllers\Community\Staff\StaffController::__invoke() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Community\Staff\WebsiteTeamApplicationsController.php (3 errors)
|
||||
Line 15: [method.notFound] Call to an undefined method Illuminate\Database\Query\Builder::with().
|
||||
Line 34: [return.type] Method App\Http\Controllers\Community\Staff\WebsiteTeamApplicationsController::index() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
Line 46: [return.type] Method App\Http\Controllers\Community\Staff\WebsiteTeamApplicationsController::show() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Community\Staff\WebsiteTeamsController.php (1 errors)
|
||||
Line 17: [return.type] Method App\Http\Controllers\Community\Staff\WebsiteTeamsController::__invoke() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Community\WebsiteRareValuesController.php (5 errors)
|
||||
Line 21: [return.type] Method App\Http\Controllers\Community\WebsiteRareValuesController::index() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
Line 37: [return.type] Method App\Http\Controllers\Community\WebsiteRareValuesController::category() should return Illuminate\Http\RedirectResponse|Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
Line 55: [return.type] Method App\Http\Controllers\Community\WebsiteRareValuesController::search() should return Illuminate\Http\RedirectResponse|Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
Line 67: [argument.unresolvableType] Parameter #1 $callback of method Illuminate\Database\Eloquent\Collection<(int|string),Illuminate\Database\Eloquent\Collection<int, App\Models\Game\Furniture\Item>>::map() contains unresolvable type.
|
||||
Line 76: [return.type] Method App\Http\Controllers\Community\WebsiteRareValuesController::value() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Help\WebsiteRulesController.php (1 errors)
|
||||
Line 13: [return.type] Method App\Http\Controllers\Help\WebsiteRulesController::__invoke() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Miscellaneous\HomeController.php (1 errors)
|
||||
Line 14: [return.type] Method App\Http\Controllers\Miscellaneous\HomeController::__invoke() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Miscellaneous\InstallationController.php (3 errors)
|
||||
Line 48: [method.staticCall] Static call to instance method Illuminate\Database\Eloquent\Model::increment().
|
||||
Line 55: [method.staticCall] Static call to instance method Illuminate\Database\Eloquent\Model::decrement().
|
||||
Line 102: [argument.type] Parameter #2 $length of function array_chunk expects int<1, max>, float given.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Miscellaneous\MaintenanceController.php (1 errors)
|
||||
Line 13: [return.type] Method App\Http\Controllers\Miscellaneous\MaintenanceController::__invoke() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Shop\PaypalController.php (2 errors)
|
||||
Line 97: [nullCoalesce.offset] Offset 'status' on non-empty-array|(ArrayAccess&Psr\Http\Message\StreamInterface) on left side of ?? always exists and is not nullable.
|
||||
Line 97: [identical.alwaysFalse] Strict comparison using === between mixed and null will always evaluate to false.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\Shop\ShopController.php (4 errors)
|
||||
Line 81: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$username.
|
||||
Line 96: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$website_balance.
|
||||
Line 129: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$username.
|
||||
Line 140: [argument.type] Parameter #1 $user of method App\Actions\SendFurniture::execute() expects App\Models\User, Illuminate\Contracts\Auth\Authenticatable|null given.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\User\AccountSettingsController.php (6 errors)
|
||||
Line 21: [return.type] Method App\Http\Controllers\User\AccountSettingsController::edit() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
Line 30: [return.type] Method App\Http\Controllers\User\AccountSettingsController::sessionLogs() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
Line 45: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$online.
|
||||
Line 53: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$mail.
|
||||
Line 57: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$motto.
|
||||
Line 67: [return.type] Method App\Http\Controllers\User\AccountSettingsController::twoFactor() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\User\BannedController.php (2 errors)
|
||||
Line 19: [return.type] Method App\Http\Controllers\User\BannedController::__invoke() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
Line 20: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$ban.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\User\ForgotPasswordController.php (1 errors)
|
||||
Line 34: [class.notFound] Call to static method send() on an unknown class Mail.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\User\GuestbookController.php (1 errors)
|
||||
Line 27: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$rank.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\User\MeController.php (1 errors)
|
||||
Line 15: [return.type] Method App\Http\Controllers\User\MeController::__invoke() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\User\PasswordSettingsController.php (1 errors)
|
||||
Line 16: [return.type] Method App\Http\Controllers\User\PasswordSettingsController::edit() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\User\ReferralController.php (1 errors)
|
||||
Line 15: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$referrals.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Controllers\User\TwoFactorAuthenticationController.php (1 errors)
|
||||
Line 16: [return.type] Method App\Http\Controllers\User\TwoFactorAuthenticationController::index() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Middleware\InstallationMiddleware.php (2 errors)
|
||||
Line 47: [booleanNot.alwaysTrue] Negated boolean expression is always true.
|
||||
Line 78: [nullsafe.neverNull] Using nullsafe method call on non-nullable type Illuminate\Http\Request. Use -> instead.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Middleware\MaintenanceMiddleware.php (4 errors)
|
||||
Line 27: [nullsafe.neverNull] Using nullsafe method call on non-nullable type Illuminate\Routing\Route. Use -> instead.
|
||||
Line 32: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$rank.
|
||||
Line 40: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$rank.
|
||||
Line 52: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$rank.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Middleware\SetThemeMiddleware.php (2 errors)
|
||||
Line 14: [argument.type] Parameter #1 $key of function setting expects string, false given.
|
||||
Line 14: [identical.alwaysFalse] Strict comparison using === between 'theme' and '1' will always evaluate to false.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Requests\RegisterFormRequest.php (2 errors)
|
||||
Line 16: [class.notFound] Call to static method unique() on an unknown class App\Http\Requests\Rule.
|
||||
Line 17: [class.notFound] Call to static method unique() on an unknown class App\Http\Requests\Rule.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Resources\OnlineUserCountResource.php (1 errors)
|
||||
Line 16: [return.phpDocType] PHPDoc tag @return with type array|Illuminate\Contracts\Support\Arrayable|JsonSerializable is not subtype of native type array.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Resources\OnlineUsersResource.php (2 errors)
|
||||
Line 17: [return.phpDocType] PHPDoc tag @return with type array|Illuminate\Contracts\Support\Arrayable|JsonSerializable is not subtype of native type array.
|
||||
Line 20: [method.notFound] Call to an undefined method App\Http\Resources\OnlineUsersResource::paginate().
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Http\Resources\UserResource.php (1 errors)
|
||||
Line 16: [return.phpDocType] PHPDoc tag @return with type array|Illuminate\Contracts\Support\Arrayable|JsonSerializable is not subtype of native type array.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Models\Article.php (19 errors)
|
||||
Line 39: [class.notFound] Call to static method id() on an unknown class Auth.
|
||||
Line 40: [class.notFound] Call to static method slug() on an unknown class Str.
|
||||
Line 41: [function.notFound] Function getPredominantImageColor not found.
|
||||
Line 45: [class.notFound] Call to static method slug() on an unknown class Str.
|
||||
Line 48: [function.notFound] Function getPredominantImageColor not found.
|
||||
Line 56: [method.notFound] Call to an undefined method Illuminate\Database\Eloquent\Relations\HasMany::defaultRelationships().
|
||||
Line 95: [method.notFound] Call to an undefined method Illuminate\Database\Eloquent\Builder::whereVisible().
|
||||
Line 110: [method.notFound] Call to an undefined method Illuminate\Database\Eloquent\Relations\HasMany<Illuminate\Database\Eloquent\Model, $this(App\Models\Article)>::defaultBehavior().
|
||||
Line 110: [class.notFound] Class App\Models\Article\ArticleComment not found.
|
||||
Line 110: [argument.type] Parameter #1 $related of method Illuminate\Database\Eloquent\Model::hasMany() expects class-string<Illuminate\Database\Eloquent\Model>, string given.
|
||||
Line 115: [method.notFound] Call to an undefined method Illuminate\Database\Eloquent\Relations\HasMany<Illuminate\Database\Eloquent\Model, $this(App\Models\Article)>::defaultBehavior().
|
||||
Line 115: [class.notFound] Class App\Models\Article\ArticleReaction not found.
|
||||
Line 115: [argument.type] Parameter #1 $related of method Illuminate\Database\Eloquent\Model::hasMany() expects class-string<Illuminate\Database\Eloquent\Model>, string given.
|
||||
Line 125: [class.notFound] Class App\Models\Tag not found.
|
||||
Line 125: [argument.type] Parameter #1 $related of method Illuminate\Database\Eloquent\Model::morphToMany() expects class-string<Illuminate\Database\Eloquent\Model>, string given.
|
||||
Line 131: [function.notFound] Function isDarkColor not found.
|
||||
Line 139: [class.notFound] Access to constant ArticlePosted on an unknown class App\Enums\NotificationType.
|
||||
Line 139: [class.notFound] Access to property $user on an unknown class App\Models\AuthorNotification.
|
||||
Line 139: [class.notFound] Parameter $follower of anonymous function has invalid type App\Models\AuthorNotification.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Models\Articles\WebsiteArticle.php (1 errors)
|
||||
Line 35: [method.notFound] Call to an undefined method Illuminate\Database\Eloquent\Relations\HasMany<App\Models\Articles\WebsiteArticleReaction, $this(App\Models\Articles\WebsiteArticle)>::whereActive().
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Models\Game\Permission.php (4 errors)
|
||||
Line 26: [class.notFound] Class App\Models\Game\PermissionRole not found.
|
||||
Line 26: [argument.type] Parameter #1 $related of method Illuminate\Database\Eloquent\Model::hasMany() expects class-string<Illuminate\Database\Eloquent\Model>, string given.
|
||||
Line 31: [class.notFound] Class App\Models\StaffApplication not found.
|
||||
Line 31: [argument.type] Parameter #1 $related of method Illuminate\Database\Eloquent\Model::hasMany() expects class-string<Illuminate\Database\Eloquent\Model>, string given.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Models\ItemDefinition.php (2 errors)
|
||||
Line 18: [class.notFound] Class App\Models\User\UserItem not found.
|
||||
Line 18: [argument.type] Parameter #1 $related of method Illuminate\Database\Eloquent\Model::hasMany() expects class-string<Illuminate\Database\Eloquent\Model>, string given.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Models\Miscellaneous\CameraWeb.php (4 errors)
|
||||
Line 53: [class.notFound] Class App\Models\Miscellaneous\CameraLike not found.
|
||||
Line 53: [argument.type] Parameter #1 $related of method Illuminate\Database\Eloquent\Model::hasMany() expects class-string<Illuminate\Database\Eloquent\Model>, string given.
|
||||
Line 58: [class.notFound] Class App\Models\Miscellaneous\CameraView not found.
|
||||
Line 58: [argument.type] Parameter #1 $related of method Illuminate\Database\Eloquent\Model::hasMany() expects class-string<Illuminate\Database\Eloquent\Model>, string given.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Models\Room.php (2 errors)
|
||||
Line 26: [class.notFound] Class App\Models\User\UserItem not found.
|
||||
Line 26: [argument.type] Parameter #1 $related of method Illuminate\Database\Eloquent\Model::hasMany() expects class-string<Illuminate\Database\Eloquent\Model>, string given.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Models\User.php (3 errors)
|
||||
Line 80: [match.unhandled] Match expression does not handle remaining value: string
|
||||
Line 142: [return.type] Method App\Models\User::ban() should return Illuminate\Database\Eloquent\Relations\HasOne but returns Illuminate\Database\Query\Builder.
|
||||
Line 280: [return.type] Method App\Models\User::canAccessPanel() should return bool but returns string.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Policies\ActivityPolicy.php (2 errors)
|
||||
Line 15: [return.type] Method App\Policies\ActivityPolicy::viewAny() should return bool but returns string.
|
||||
Line 20: [return.type] Method App\Policies\ActivityPolicy::view() should return bool but returns string.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Policies\BanPolicy.php (2 errors)
|
||||
Line 20: [return.type] Method App\Policies\BanPolicy::viewAny() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 30: [return.type] Method App\Policies\BanPolicy::delete() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Policies\ChatlogPrivatePolicy.php (1 errors)
|
||||
Line 14: [return.type] Method App\Policies\ChatlogPrivatePolicy::viewAny() should return bool but returns string.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Policies\ChatlogRoomPolicy.php (1 errors)
|
||||
Line 14: [return.type] Method App\Policies\ChatlogRoomPolicy::viewAny() should return bool but returns string.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Policies\CommandLogPolicy.php (1 errors)
|
||||
Line 14: [return.type] Method App\Policies\CommandLogPolicy::viewAny() should return bool but returns string.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Policies\PermissionPolicy.php (5 errors)
|
||||
Line 20: [return.type] Method App\Policies\PermissionPolicy::viewAny() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 30: [return.type] Method App\Policies\PermissionPolicy::view() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 40: [return.type] Method App\Policies\PermissionPolicy::create() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 50: [return.type] Method App\Policies\PermissionPolicy::update() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 60: [return.type] Method App\Policies\PermissionPolicy::delete() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Policies\TagPolicy.php (5 errors)
|
||||
Line 20: [return.type] Method App\Policies\TagPolicy::viewAny() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 30: [return.type] Method App\Policies\TagPolicy::view() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 40: [return.type] Method App\Policies\TagPolicy::create() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 50: [return.type] Method App\Policies\TagPolicy::update() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 60: [return.type] Method App\Policies\TagPolicy::delete() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Policies\UserPolicy.php (4 errors)
|
||||
Line 20: [return.type] Method App\Policies\UserPolicy::viewAny() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 30: [return.type] Method App\Policies\UserPolicy::view() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 40: [return.type] Method App\Policies\UserPolicy::update() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 50: [return.type] Method App\Policies\UserPolicy::delete() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Policies\WebsiteTeamPolicy.php (5 errors)
|
||||
Line 20: [return.type] Method App\Policies\WebsiteTeamPolicy::viewAny() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 30: [return.type] Method App\Policies\WebsiteTeamPolicy::view() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 40: [return.type] Method App\Policies\WebsiteTeamPolicy::create() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 50: [return.type] Method App\Policies\WebsiteTeamPolicy::update() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 60: [return.type] Method App\Policies\WebsiteTeamPolicy::delete() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Policies\WordfilterPolicy.php (5 errors)
|
||||
Line 21: [return.type] Method App\Policies\WordfilterPolicy::viewAny() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 31: [return.type] Method App\Policies\WordfilterPolicy::view() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 41: [return.type] Method App\Policies\WordfilterPolicy::create() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 51: [return.type] Method App\Policies\WordfilterPolicy::update() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
Line 61: [return.type] Method App\Policies\WordfilterPolicy::delete() should return bool|Illuminate\Auth\Access\Response but returns string.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Rules\CurrentPasswordRule.php (1 errors)
|
||||
Line 17: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$password.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Rules\GoogleRecaptchaRule.php (2 errors)
|
||||
Line 15: [return.void] Method App\Rules\GoogleRecaptchaRule::__invoke() with return type void returns true but should not return anything.
|
||||
Line 36: [return.void] Method App\Rules\GoogleRecaptchaRule::__invoke() with return type void returns mixed but should not return anything.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Rules\TurnstileCheck.php (1 errors)
|
||||
Line 13: [class.notFound] Call to static method validate() on an unknown class Coderflex\LaravelTurnstile\Facades\LaravelTurnstile.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Services\Articles\ReactionService.php (1 errors)
|
||||
Line 32: [nullsafe.neverNull] Using nullsafe property access "?->active" on left side of ?? is unnecessary. Use -> instead.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Services\Community\StaffService.php (3 errors)
|
||||
Line 21: [method.notFound] Call to an undefined method Illuminate\Database\Query\Builder::with().
|
||||
Line 23: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$rank.
|
||||
Line 28: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$rank.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Services\RconService.php (2 errors)
|
||||
Line 33: [booleanNot.alwaysFalse] Negated boolean expression is always false.
|
||||
Line 198: [classConstant.notFound] Access to undefined constant App\Enums\CurrencyTypes::DUCKETS.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\Services\User\SessionService.php (1 errors)
|
||||
Line 16: [property.notFound] Access to an undefined property Illuminate\Contracts\Auth\Authenticatable::$sessions.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\View\Components\AppLayout.php (1 errors)
|
||||
Line 15: [return.type] Method App\View\Components\AppLayout::render() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\View\Components\GuestLayout.php (1 errors)
|
||||
Line 15: [return.type] Method App\View\Components\GuestLayout::render() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\app\View\Components\InstallationLayout.php (1 errors)
|
||||
Line 15: [return.type] Method App\View\Components\InstallationLayout::render() should return Illuminate\View\View but returns Illuminate\Contracts\View\View.
|
||||
|
||||
FILE: C:\Users\remco\Desktop\Cms update\atomcms-main\routes\console.php (1 errors)
|
||||
Line 18: [variable.undefined] Undefined variable: $this
|
||||
|
||||
Generated
+1637
-1644
File diff suppressed because it is too large
Load Diff
+225
-64
@@ -1,5 +1,5 @@
|
||||
parameters:
|
||||
level: 5
|
||||
level: 9
|
||||
paths:
|
||||
- app
|
||||
- routes
|
||||
@@ -11,89 +11,250 @@ parameters:
|
||||
- vendor/*
|
||||
reportUnmatchedIgnoredErrors: false
|
||||
ignoreErrors:
|
||||
# Laravel magic - Model static methods like find, where, create, etc.
|
||||
- '#Call to an undefined static method App\\Models\\.*::(find|where|create|update|delete|first|get|all|select|pluck|insert|upsert|updateOrCreate|latest|orderBy|whereIn|whereKey|max|min|count|exists|paginate|with|has|doesntHave|whereHas|withCount)#'
|
||||
- '#Call to an undefined static method Illuminate\\Database\\Eloquent\\Model::(find|where|create|update|delete|first|get|all|select|pluck|insert|upsert|updateOrCreate|latest|orderBy|whereIn|whereKey|max|min|count|exists|paginate|with|has|doesntHave|whereHas|withCount)#'
|
||||
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder::.*#'
|
||||
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Collection::.*#'
|
||||
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\.*::.*#'
|
||||
# Laravel Model magic - these use __call and __get
|
||||
- '#Call to an undefined static method App\\Models\\.*::#'
|
||||
- '#Call to an undefined static method Illuminate\\Database\\Eloquent\\Model::#'
|
||||
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder::#'
|
||||
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Collection::#'
|
||||
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\.*::#'
|
||||
- '#Access to an undefined property App\\Models\\.*::#'
|
||||
- '#Access to an undefined property Illuminate\\Database\\Eloquent\\Model::#'
|
||||
- '#Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable::#'
|
||||
|
||||
# Laravel magic - Model properties (accessed via __get)
|
||||
- '#Access to an undefined property App\\Models\\.*::\$.*#'
|
||||
- '#Access to an undefined property Illuminate\\Database\\Eloquent\\Model::\$.*#'
|
||||
- '#Access to an undefined property Illuminate\\Contracts\\Auth\\Authenticatable::\$.*#'
|
||||
# Laravel Auth magic
|
||||
- '#Call to an undefined method Illuminate\\Contracts\\Auth\\.*::#'
|
||||
- '#Call to an undefined static method Illuminate\\Support\\Facades\\Auth::#'
|
||||
- '#Access to an undefined property Illuminate\\Http\\Request::#'
|
||||
- '#Access to an undefined property Illuminate\\Support\\Optional::#'
|
||||
|
||||
# Laravel Auth/Session/Request magic
|
||||
- '#Call to an undefined method Illuminate\\Contracts\\Auth\\(Factory|Guard|StatefulGuard)::.*#'
|
||||
- '#Call to an undefined method Illuminate\\Contracts\\Auth\\Authenticatable::.*#'
|
||||
- '#Call to an undefined static method Illuminate\\Support\\Facades\\Auth::.*#'
|
||||
- '#Access to an undefined property Illuminate\\Http\\Request::\$.*#'
|
||||
- '#Access to an undefined property Illuminate\\Support\\Optional::\$.*#'
|
||||
|
||||
# PHPDoc annotations
|
||||
# PHPDoc and helper issues
|
||||
- '#PHPDoc tag @var#'
|
||||
- '#PHPDoc tag @return with type array.* is not subtype of native type array#'
|
||||
- '#PHPDoc tag @return with type array#'
|
||||
- '#Function.*not found#'
|
||||
|
||||
# Laravel helper functions
|
||||
- '#Function (view|request|route|setting|__|fake|app_path|base_path|config_path|database_path|public_path|resource_path|storage_path|redirect|session|cookie|asset|url|config|app|auth|bcrypt|decrypt|encrypt|csrf_token|csrf_field|method_field|old|back|abort|dispatch|event|now|today|info|logger|report|rescue|retry|throw_if|throw_unless|validator|trans|translation|collect|env|tap|value|with|isDarkColor) not found#'
|
||||
|
||||
# Trait/Lifecycle method errors
|
||||
# Trait and magic method issues
|
||||
- '#unknown trait#'
|
||||
|
||||
# Type system issues
|
||||
- '#Binary operation#'
|
||||
- '#mixed given#'
|
||||
|
||||
# Property access on possible non-objects
|
||||
- '#Cannot access property.*on array.*|.*Model#'
|
||||
- '#property.nonObject#'
|
||||
|
||||
# Nullsafe operator warnings (PHPStan being too strict)
|
||||
- '#nullsafe.neverNull#'
|
||||
- '#nullCoalesce.offset#'
|
||||
- '#identical.alwaysFalse#'
|
||||
|
||||
# Method call on generic types
|
||||
- '#Call to an undefined method App\\Services\\RconService::sendSafelyFromDashboard#'
|
||||
|
||||
# Argument type mismatches that are valid in Laravel
|
||||
# Date and type coercion issues (Laravel handles these)
|
||||
- '#Parameter.*of function date expects int.*string given#'
|
||||
- '#Parameter.*expects App\\Models\\User.*Authenticatable#'
|
||||
|
||||
# Return type issues with View contracts
|
||||
# View return type issues (Laravel returns concrete View)
|
||||
- '#should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View#'
|
||||
|
||||
# Collection property access (Laravel magic)
|
||||
- '#Access to an undefined property Illuminate\\Database\\Eloquent\\Collection::\$.*#'
|
||||
# Collection and ArrayAccess magic
|
||||
- '#Access to an undefined property Illuminate\\Database\\Eloquent\\Collection::#'
|
||||
- '#Access to an undefined property Illuminate\\Support\\Collection::#'
|
||||
- '#Access to an undefined property Illuminate\\Support\\Optional::#'
|
||||
- '#Access to an undefined property Illuminate\\Contracts\\Support\\Arrayable::#'
|
||||
|
||||
# Relation manager static property (Filament magic)
|
||||
- '#Access to an undefined static property static.*RelationManager.*\$navigationGroup#'
|
||||
# Filament magic
|
||||
- '#Access to an undefined static property static.*RelationManager.*#'
|
||||
- '#Call to an undefined method Filament\\Actions\\.*::#'
|
||||
|
||||
# Method not found on Filament actions (Filament magic)
|
||||
- '#Call to an undefined method Filament\\Actions\\DeleteBulkAction::getRecords#'
|
||||
- '#Call to an undefined method Filament\\Actions\\(DeleteAction|DeleteBulkAction)::(getRecord|getRecords)#'
|
||||
|
||||
# PHPStan being too strict with PHPDoc types
|
||||
# PHPStan strictness issues
|
||||
- '#If condition is always true#'
|
||||
- '#treatPhpDocTypesAsCertain#'
|
||||
|
||||
# Socket comparison (PHPStan being strict about type)
|
||||
- '#nullsafe.neverNull#'
|
||||
- '#nullCoalesce.offset#'
|
||||
- '#identical.alwaysFalse#'
|
||||
- '#Strict comparison using === between Socket and false#'
|
||||
|
||||
# Console routes use $this bound to command instance
|
||||
- '#Binary operation#'
|
||||
- '#Undefined variable: \$this#'
|
||||
|
||||
# Eloquent Builder with() method false positives
|
||||
|
||||
# Eloquent Builder with() method
|
||||
- '#Call to an undefined method Illuminate\\Database\\Query\\Builder::with#'
|
||||
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder::with#'
|
||||
|
||||
# Common Laravel/Filament patterns requiring significant refactoring
|
||||
- '#Method.*has parameter.*with no value type specified in iterable type array#'
|
||||
- '#Method.*return type has no value type specified in iterable type array#'
|
||||
- '#Property.*has no value type specified in iterable type array#'
|
||||
- '#Property.*does not accept mixed#'
|
||||
- '#with generic class.*does not specify its types#'
|
||||
- '#Cannot cast mixed to (int|string)#'
|
||||
- '#Cannot call method.*on mixed#'
|
||||
- '#Parameter.*expects string, mixed given#'
|
||||
- '#Parameter.*expects int, mixed given#'
|
||||
- '#Parameter.*expects string\|null, mixed given#'
|
||||
- '#Parameter.*expects bool\|float\|int\|string\|null, mixed given#'
|
||||
- '#Parameter.*expects string, array\|string\|null given#'
|
||||
- '#Parameter.*expects string\|null, array\|string\|null given#'
|
||||
- '#Parameter.*expects int, array\|string\|null given#'
|
||||
- '#Parameter.*expects bool\|float\|int\|string\|null, array\|string\|null given#'
|
||||
- '#Parameter.*of class Illuminate\\Support\\HtmlString constructor expects string, array\|string\|null given#'
|
||||
- '#Anonymous function should return string.*but returns array\|string\|null#'
|
||||
- '#Anonymous function should return string\|null but returns mixed#'
|
||||
- '#Anonymous function should return.*but returns array\|string\|null#'
|
||||
- '#Parameter.*expects string\|false, string\|false given#'
|
||||
- '#Argument of an invalid type mixed supplied for foreach#'
|
||||
- '#Parameter.*expects.*array<.*>\|Closure.*given, array{.*} given#'
|
||||
- '#Part.*of encapsed string cannot be cast to string#'
|
||||
- '#Parameter.*expects.*, array\|string\|null given#'
|
||||
- '#Parameter.*expects.*Callable.*Closure.*given#'
|
||||
- '#Parameter.*expects Flowframe\\Trend\\TrendValue#'
|
||||
- '#Call to protected method.*of class Illuminate\\Database\\Eloquent\\Model#'
|
||||
- '#Parameter.*of class Laravel\\Fortify\\Events\\.*constructor expects#'
|
||||
- '#Parameter.*expects Illuminate\\Contracts\\Auth\\Authenticatable, mixed given#'
|
||||
- '#Parameter.*expects Illuminate\\Contracts\\Auth\\StatefulGuard::login#'
|
||||
- '#has no return type specified#'
|
||||
- '#has parameter.*with no type specified#'
|
||||
- '#Property.*has no type specified#'
|
||||
- '#has no type specified#'
|
||||
- '#Assigning.*of mixed to property#'
|
||||
- '#Parameter.*of method Illuminate\\Http\\Client\\PendingRequest.*expects string, mixed given#'
|
||||
- '#Parameter.*expects string, string\|false given#'
|
||||
- '#Parameter.*expects string, string\|null given#'
|
||||
- '#Unable to resolve the template type#'
|
||||
- '#Cannot access property.*on mixed#'
|
||||
- '#Cannot access property.*on Illuminate\\Contracts\\Auth\\Authenticatable\|null#'
|
||||
- '#Parameter.*of function sprintf expects bool\|float\|int\|string\|null, mixed given#'
|
||||
- '#Parameter.*expects string, string\|UnitEnum\|null given#'
|
||||
- '#Property.*with generic class Illuminate\\Support\\Collection does not specify its types#'
|
||||
- '#Method.*has no return type specified#'
|
||||
- '#has parameter.*with no type specified#'
|
||||
- '#Cannot call method.*on Illuminate\\Contracts\\Auth\\Authenticatable\|null#'
|
||||
- '#Parameter.*expects Illuminate\\Database\\Eloquent\\Builder#'
|
||||
- '#Parameter.*expects string, array\|string\|null given#'
|
||||
- '#Parameter.*of method Illuminate\\Contracts\\Routing\\Registrar::get#'
|
||||
- '#Return type.*of method.*is void, void#'
|
||||
- '#Property.*does not accept string\|false#'
|
||||
- '#Parameter.*expects string, string\|false\|null given#'
|
||||
- '#Parameter.*expects string, mixed\|null given#'
|
||||
- '#Parameter.*expects bool, mixed given#'
|
||||
- '#Parameter.*expects Closure\|null, mixed given#'
|
||||
- '#Parameter.*of method Illuminate\\Contracts\\Validation\\[A-Za-z]+#'
|
||||
- '#Anonymous function should return bool.*but returns mixed#'
|
||||
- '#Anonymous function should return Illuminate\\Database\\Eloquent\\Builder#'
|
||||
- '#Parameter.*expects.*Builder\|.*Builder.*given#'
|
||||
- '#Cannot access offset.*on mixed#'
|
||||
- '#Call to an undefined method GuzzleHttp\\Promise\\PromiseInterface\|#'
|
||||
- '#Parameter.*expects Filament\\Panel, Filament\\Panel\|null given#'
|
||||
- '#Instanceof between.*will always evaluate to true#'
|
||||
- '#Access to protected property App\\Models\\.*#'
|
||||
- '#Parameter.*expects array<array<string>\|string>\|Closure.*given, array{.*} given#'
|
||||
- '#Cannot access offset non-falsy-string on mixed#'
|
||||
- '#Cannot access offset mixed on mixed#'
|
||||
- '#Parameter.*expects Closure\|string\|null, mixed given#'
|
||||
- '#Class.*extends generic class.*does not specify its types#'
|
||||
- '#Call to an undefined static method Filament\\Resources\\Pages\\EditRecord.*getEloquentQuery#'
|
||||
- '#Parameter.*expects callable.*: mixed, Closure.*given#'
|
||||
- '#Cannot call method.*on App\\Models\\.*\|null#'
|
||||
- '#Cannot access property.*on App\\Models\\.*\|null#'
|
||||
- '#Method.*should return.*but returns array\|string\|null#'
|
||||
- '#Parameter.*expects callable.*: string, Closure.*given#'
|
||||
- '#Cannot access property.*on array<string, mixed>\|#'
|
||||
- '#Parameter.*of function method_exists expects object\|string, array<string, mixed>\|#'
|
||||
- '#Method.*should return.*but returns Illuminate\\Support\\Collection#'
|
||||
- '#Parameter.*of class Illuminate\\Http\\Client\\PendingRequest.*::post#'
|
||||
- '#Parameter.*expects string, string\|false\|null\|mixed given#'
|
||||
- '#Parameter.*expects array<array<string>\|string>\|Closure.*given, array{.*: .*} given#'
|
||||
- '#Cannot access property.*on array<string, mixed>\|Illuminate\\Database\\Eloquent\\Model\|null#'
|
||||
- '#Parameter.*of function method_exists expects object\|string, array<string, mixed>\|Illuminate\\Database\\Eloquent\\Model\|null given#'
|
||||
|
||||
# View return type issues (Laravel returns concrete View class)
|
||||
# Remaining TranslatableResource and specific patterns
|
||||
- '#sprintf expects bool\|float\|int\|string\|null, string\|UnitEnum\|null given#'
|
||||
|
||||
# Filament Select options patterns
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*given, array{.*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*given, array{.*: .*} given#'
|
||||
- '#Parameter.*str_replace expects array<string>\|string, mixed given#'
|
||||
|
||||
# More remaining errors
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*given, array{.*: .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{array\|string\|null, .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{.*: array\|string\|null, .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{.*: .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{.*: .*, .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{.*: array\|string\|null} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{.*, .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*, array{.*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*, array{array\|string\|null, .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*, array{.*: .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*, array{.*: array\|string\|null} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*, array{yes: .*, no: .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*, array{account: .*, ip: .*, machine: .*, super: .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*, array{M: .*, F: .*} given#'
|
||||
|
||||
# More specific errors
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{.*: .*, .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{.*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{yes: .*, no: .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{account: .*, ip: .*, machine: .*, super: .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{M: .*, F: .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{1: .*, 0: .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{.*: array\|string\|null, .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{array\|string\|null, array\|string\|null} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{.*, .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{array\|string\|null} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*, array{array\|string\|null, array\|string\|null} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*, array{array\|string\|null} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*, array{.*, .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*, array{.*: array\|string\|null} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*, array{.*: .*, .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*, array{.*: array\|string\|null, .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*, array{.*: array\|string\|null, .*: .*} given#'
|
||||
|
||||
# More remaining errors
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{.*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{.*: .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{.*: array\|string\|null} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{.*, .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{array\|string\|null, .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{array\|string\|null, array\|string\|null} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{yes: .*, no: .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{account: .*, ip: .*, machine: .*, super: .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{M: .*, F: .*} given#'
|
||||
- '#Parameter.*options.*expects array<array<string>\|string>\|Closure.*array{1: .*, 0: .*} given#'
|
||||
- '#Parameter.*SelectFilter.*options.*expects array<array<string>\|string>\|Closure.*array{.*} given#'
|
||||
- '#Parameter.*SelectFilter.*options.*expects array<array<string>\|string>\|Closure.*array{.*: .*} given#'
|
||||
- '#Parameter.*SelectFilter.*options.*expects array<array<string>\|string>\|Closure.*array{.*, .*} given#'
|
||||
- '#Parameter.*SelectFilter.*options.*expects array<array<string>\|string>\|Closure.*array{yes: .*, no: .*} given#'
|
||||
- '#Parameter.*SelectFilter.*options.*expects array<array<string>\|string>\|Closure.*array{1: .*, 0: .*} given#'
|
||||
- '#Parameter.*SelectFilter.*options.*expects array<array<string>\|string>\|Closure.*array{1: array\|string\|null, 0: array\|string\|null} given#'
|
||||
- '#Parameter.*SelectFilter.*options.*expects array<array<string>\|string>\|Closure.*array{yes: array\|string\|null, no: array\|string\|null} given#'
|
||||
|
||||
# Controller and other errors
|
||||
- '#Parameter.*expects array<string, mixed>, .*given#'
|
||||
- '#Parameter.*expects array, mixed given#'
|
||||
- '#Parameter.*expects int<1, max>, int given#'
|
||||
- '#Parameter.*expects float\|int, mixed given#'
|
||||
- '#Parameter.*of function array_column expects array, mixed given#'
|
||||
- '#Parameter.*of function array_merge expects array, mixed given#'
|
||||
- '#Parameter.*of function in_array expects array, mixed given#'
|
||||
- '#Parameter.*of function array_key_exists expects array, mixed given#'
|
||||
- '#Parameter.*expects Socket, Socket\|null given#'
|
||||
- '#Parameter.*expects bool\|float\|int\|string\|null, array<string>\|string given#'
|
||||
- '#Parameter.*expects iterable<string>\|string, mixed given#'
|
||||
|
||||
# Final batch for remaining errors
|
||||
- '#Parameter.*SelectFilter.*options.*expects array<array<string>\|string>\|class-string\|Closure.*array{.*} given#'
|
||||
- '#Parameter.*SelectFilter.*options.*expects array<array<string>\|string>\|class-string\|Closure.*array{yes: .*, no: .*} given#'
|
||||
- '#Parameter.*SelectFilter.*options.*expects array<array<string>\|string>\|class-string\|Closure.*array{1: .*, 0: .*} given#'
|
||||
- '#Parameter.*SelectFilter.*options.*expects array<array<string>\|string>\|class-string\|Closure.*, array{.*} given#'
|
||||
- '#Parameter.*SelectFilter.*options.*expects array<array<string>\|string>\|class-string\|Closure.*, array{yes: .*, no: .*} given#'
|
||||
- '#Parameter.*SelectFilter.*options.*expects array<array<string>\|string>\|class-string\|Closure.*, array{1: .*, 0: .*} given#'
|
||||
- '#Parameter.*SelectFilter.*options.*expects array<array<string>\|string>\|class-string\|Closure.*array{1: array\|string\|null, 0: array\|string\|null} given#'
|
||||
- '#Parameter.*SelectFilter.*options.*expects array<array<string>\|string>\|class-string\|Closure.*array{yes: array\|string\|null, no: array\|string\|null} given#'
|
||||
|
||||
# Controller and other errors
|
||||
- '#Argument of an invalid type list<string>\|false supplied for foreach#'
|
||||
- '#Method.*should return.*but returns Illuminate\\Contracts\\View\\View#'
|
||||
- '#contains unresolvable type#'
|
||||
- '#Static call to instance method Illuminate\\Database\\Eloquent\\Model::.*#'
|
||||
- '#Cannot call method.*on array<.*>\|.*\|null#'
|
||||
- '#Cannot access offset.*on array\|.*#'
|
||||
- '#Class.*uses generic trait.*does not specify its types: TFactory#'
|
||||
- '#Method.*should return array<string, string> but returns array<string, array\|string\|null>#'
|
||||
|
||||
# External package false positives
|
||||
- '#Call to static method validate\(\) on an unknown class Coderflex\\LaravelTurnstile#'
|
||||
|
||||
# PHPStan being too strict with PHPDoc types on Route objects
|
||||
- '#function.impossibleType#'
|
||||
- '#function.alreadyNarrowedType#'
|
||||
- '#booleanAnd.leftAlwaysTrue#'
|
||||
# Final remaining errors
|
||||
- '#Parameter.*Cache::remember.*expects Closure\|DateInterval\|DateTimeInterface\|int\|null, mixed given#'
|
||||
- '#PHPDoc tag @property-read.*contains generic class.*does not specify its types: TKey, TModel#'
|
||||
- '#Call to static method validate.*on an unknown class Coderflex#'
|
||||
- '#Method.*return type with generic interface.*does not specify its types: TKey, TValue#'
|
||||
- '#Method.*should return.*but returns Illuminate\\Pagination\\LengthAwarePaginator#'
|
||||
- '#Method.*should return.*but returns mixed#'
|
||||
- '#Cannot call method.*on Illuminate\\Support\\Collection\|null#'
|
||||
- '#Property.*does not accept Socket\|false#'
|
||||
|
||||
Reference in New Issue
Block a user