swaggest / php-json-schema

High definition PHP structures with JSON-schema based validation
MIT License
438 stars 50 forks source link

Explicitly disable validation for default and const values, fixes #119 #120

Closed vearutop closed 3 years ago

vearutop commented 3 years ago

Fixes #119.

codecov[bot] commented 3 years ago

Codecov Report

Merging #120 (c47edf0) into master (f92567a) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #120   +/-   ##
=========================================
  Coverage     92.27%   92.27%           
- Complexity      754      756    +2     
=========================================
  Files            27       27           
  Lines          1643     1645    +2     
=========================================
+ Hits           1516     1518    +2     
  Misses          127      127           
Impacted Files Coverage Δ
src/JsonSchema.php 100.00% <100.00%> (ø)
src/Wrapper.php 59.01% <100.00%> (+1.38%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f92567a...c47edf0. Read the comment docs.