Develop #8
Annotations
10 errors and 1 warning
|
Run PHPStan:
src/UserProfile.php#L219
Method KaririCode\DevKit\UserProfile::jsonSerialize() return type has no value type specified in iterable type array.
|
|
Run PHPStan:
src/UserProfile.php#L195
Method KaririCode\DevKit\UserProfile::withMeta() has parameter $meta with no value type specified in iterable type array.
|
|
Run PHPStan:
src/UserProfile.php#L124
Parameter $meta of class KaririCode\DevKit\UserProfile constructor expects array|null, mixed given.
|
|
Run PHPStan:
src/UserProfile.php#L123
Parameter $twoFactorSecret of class KaririCode\DevKit\UserProfile constructor expects string|null, mixed given.
|
|
Run PHPStan:
src/UserProfile.php#L119
Parameter $name of class KaririCode\DevKit\UserProfile constructor expects string, mixed given.
|
|
Run PHPStan:
src/UserProfile.php#L118
Parameter $id of class KaririCode\DevKit\UserProfile constructor expects string, mixed given.
|
|
Run PHPStan:
src/UserProfile.php#L115
Method KaririCode\DevKit\UserProfile::fromArray() has parameter $data with no value type specified in iterable type array.
|
|
Run PHPStan:
src/UserProfile.php#L58
Method KaririCode\DevKit\UserProfile::__construct() has parameter $meta with no value type specified in iterable type array.
|
|
Run PHPStan:
src/UserId.php#L30
Construct empty() is not allowed. Use more strict comparison.
|
|
Run PHPStan:
src/Email.php#L30
Only booleans are allowed in a negated boolean, string|false given.
|
|
Generate PHPStan baseline (if needed)
PHPStan baseline generated. Consider fixing issues instead of ignoring them.
|
Loading