Could psalm check objects which implement Serializable whether they met the contract?
Like all objects used while serialization are also serializable etc (a lot of builtin classes are not serializable, like Exception, SplFileInfo etc)
(I dont know all rules which are important)
Could psalm check objects which implement Serializable whether they met the contract?
Like all objects used while serialization are also serializable etc (a lot of builtin classes are not serializable, like Exception, SplFileInfo etc) (I dont know all rules which are important)
Triggered by amphp/parallel#113
Clones https://github.com/phpstan/phpstan/issues/3181
Example https://psalm.dev/r/f1bccdf5fd Which errors at runtime https://3v4l.org/k9pk8