Sergei Predvoditelev
Sergei Predvoditelev
For example: ```php class MyClass { private const TEST = 1; } ``` Here constant type never change.
For example: ```php interface ITest { final public const TEST = 1; } ``` Here constant type never change.
Don't work: ```php /** * @psalm-suppress MissingClassConstType */ interface ITest { public const TEST = 1; } ``` It's work: ```php interface ITest { /** * @psalm-suppress MissingClassConstType */ public...
For example, `Proxy` is internal attribute: ```php /** @psalm-suppress InternalClass */ final class MyClass { /** @psalm-suppress InternalClass */ #[Proxy] private int $age; } ```
Currently, `-w1` show warning "number of workers must be larger than 1"
For example, `serve -w2` runs 3 workers. But I could be wrong and runned one parent process and two workers, that process requests.