Fix/923 reduce the number of api #17
Annotations
7 errors and 1 warning
Lint with PHP Stan:
classes/User/User.php#L118
Property Imagify\User\User::$error (bool|WP_Error) is never assigned WP_Error so it can be removed from the property type.
|
Lint with PHP Stan:
classes/User/User.php#L124
Property Imagify\User\User::$cache_key is never read, only written.
|
Lint with PHP Stan:
classes/User/User.php#L131
Property Imagify\User\User::$cache_duration is never read, only written.
|
Lint with PHP Stan:
classes/User/User.php#L146
Property Imagify\User\User::$id (string) in isset() is not nullable.
|
Lint with PHP Stan:
classes/User/User.php#L150
Unreachable statement - code above always terminates.
|
Lint with PHP Stan:
classes/User/User.php#L171
Method Imagify\User\User::set_user_properties() is unused.
|
Lint with PHP Stan
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading