mirror of
https://github.com/Respect/Validation.git
synced 2026-03-14 22:35:45 +01:00
This commit introduces a new feature test: SerializableTest, that tests several validators for their ability to be serialized and unserialized. It also makes it so that the same list of validators can be used by both simple benchmarks and "smoke tests" of all kinds, including this serialize/unserialize one. Additionally, the FilterVar validator was modified. Previously, due to the use of Callback, it was not serializable, but now it is.
6 lines
No EOL
194 B
Text
6 lines
No EOL
194 B
Text
{
|
|
"$schema": "./vendor/phpbench/phpbench/phpbench.schema.json",
|
|
"runner.bootstrap": "tests/bootstrap.php",
|
|
"runner.path": "tests/benchmark",
|
|
"runner.file_pattern": "*Bench.php"
|
|
} |