When running the unit test the output shows deprecations.
Deprecation output
PHP Deprecated: Optional parameter $path declared before required parameter $i is implicitly treated as a required parameter in /home/runner/work/json-schema/json-schema/src/JsonSchema/Constraints/Constraint.php on line 43
PHP Deprecated: Optional parameter $path declared before required parameter $patternProperties is implicitly treated as a required parameter in /home/runner/work/json-schema/json-schema/src/JsonSchema/Constraints/ObjectConstraint.php on line 55
When running the unit test the output shows deprecations.
Deprecation output
References