serializable-closure
serializable-closure copied to clipboard
Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.
This pull request fix the case when SerializableClosure is used as one of the class properties. At the moment, it is SerializableClosure replaced by a Closure. This behavior was the...
PestPHP doesn't support PHP 8.4 yet, and can therefor not be installed without the platform-req=php+
The develop branch requires PHP 8.1, therefor the phpunit.xml can be simplified.
### Serializable Closure Version 2.0.3 ### PHP Version 8.4.4 ### Description The following fatal error is emitted when serializing closures created from class methods with attributes that can target only...
### Serializable Closure Version 2.0.3 ### PHP Version 8.3.16 ### Description It is not possible to serialize a closure that uses $this and the instance contains a Carbon variable. `object...
### Laravel Version 11.11.1 ### PHP Version 8.3.8 ### Database Driver & Version _No response_ ### Description Closure in job Bus::chain is not called if it is after Bus::batch -...
Hello, I noticed that when serializing any `instanceof` with the result being an expression fails. For example, code that fails is: ```php $this instanceof (Foo::class) ``` Practical example: ```php if...