format/casts
Type casts. Also in analyse (1).
lowercase
Cast should be written in lower case.
In the format-laravel and format-psr12 presets. Safe fix.
no-short-bool
Short cast bool using double exclamation mark should not be used.
In the format-laravel preset. Safe fix.
no-unset
Variables must be set null instead of using (unset) casting.
In the format-laravel preset. Safe fix.
short-scalar
Cast (boolean) and (integer) should be written as (bool) and (int), (double) and (real) as (float), (binary) as (string).
In the format-laravel and format-psr12 presets. Safe fix.
spacing
A single space or none should be between cast and variable.
In the format-laravel preset. Safe fix.