415 Commits

Author SHA1 Message Date
David Porter
ddabcf8025 Merge pull request #286 from boekkooi-fresh/array-as-object
Support json_decode assoc
2016-08-01 19:40:51 -05:00
David Porter
c269bdaa37 Merge pull request #278 from abacaphiliac/exception-interface
Exception interface
2016-07-25 18:45:42 -05:00
David Porter
6b56652c51 Merge pull request #287 from sinbonders/master
Updating to use more correct hostname regex. This fixes #129
2016-07-25 18:44:29 -05:00
David Porter
e9667c3c4f Merge pull request #292 from remicollet/issue-291
Fix #291 failed tests with lestest PHP
2016-07-25 18:42:06 -05:00
Remi Collet
14c9472c2b Fix #291 failed tests with lestest PHP
Since 5.6.24, 7.0.9, 7.1.0beta1, negative timestamps are valid.
2016-07-21 18:37:10 +02:00
Ben Saunders
321f6af994 Updating to use more correct hostname regex. This fixes #129 2016-07-07 16:19:47 -07:00
Warnar Boekkooi
dd5717a760 Tweaked tests for assoc array tests 2016-07-04 11:47:19 +02:00
Warnar Boekkooi
9d8a082093 Implemented TypeCheck to allow for a common interface on how to check arrays and/or objects 2016-07-04 11:47:19 +02:00
Warnar Boekkooi
d750e17d8f Added Tests for array assoc json decode 2016-07-04 11:47:19 +02:00
Warnar Boekkooi
ceaece4fa5 Minor code style changes 2016-07-04 11:47:19 +02:00
Tim Younger
1a5f3396ef add tests to validate existing exception hierarchy, in preparation for adjustment. add \RuntimeException wrapper. update all extensions of \RuntimeException to extend the wrapper. spl-exception wrappers now implement a common exception interface for this package. this allows consumers to handle all custom exception types thrown by catching the common interface rather than by catching each specific extension or their spl parents. 2016-06-28 13:10:14 -07:00
David Porter
8490e828c1 Merge pull request #234 from ehimen/fix-zero-secfrac
Fix: allow explicit 0 secfracs in datetime format
2016-06-28 15:00:59 -05:00
David Porter
d414acd3a4 Merge pull request #282 from bustbr/master
fix instancing wrong type, breaks inheritance
2016-06-26 11:17:37 -05:00
David Porter
c627c376ab Merge pull request #283 from steffkes/move-min-max-properties-test
move MinMaxPropertiesTest to proper location
2016-06-22 14:34:51 -05:00
steffkes
7f9d9038ec move MinMaxPropertiesTest to proper location 2016-06-22 21:12:09 +02:00
Tim B
e2d31ed665 fix instancing wrong type, breaks inheritance
when inheriting from TypeConstraint to change the behaviour of `validateType` (e.g. to add support for custom types), this would switch from the extended class to the base class if type is an array of types
2016-06-22 18:02:57 +02:00
Andy Cook
ffc856dbbe Fix: allow explicit 0 secfracs in datetime format 2016-06-09 13:18:46 +01:00
David Porter
6b2a33e6a7 Merge pull request #273 from dmitry-varennikov-eventbase/uri-retriever-error-handler-2
Throw `ResourceNotFoundException` outside of re-defined error-handler
2.0.5
2016-06-02 05:59:52 -05:00
David Porter
e2bea02548 Merge pull request #275 from dishuostec/patch-1
Fix constraint of error
2016-06-02 05:59:07 -05:00
dishuostec
3ba138c6a1 Wrong constraint of error 2016-06-02 13:55:17 +08:00
David Porter
5af8a3174d Merge pull request #272 from bighappyface/no-composer-version
chore(composer): remove version in favor of VCS tags
2016-05-31 09:08:01 -05:00
Dmitry Varennikov
534f66da19 Throw ResourceNotFoundException outside of re-defined error-handler 2016-05-25 11:33:05 -07:00
bighappyface
615257d642 chore(composer): remove version in favor of VCS tags 2016-05-25 12:26:54 -05:00
bighappyface
5c133a3e33 chore(release): 2.0.4 2.0.4 2016-05-24 12:38:18 -05:00
David Porter
449bb4dbae Merge pull request #271 from justinrainbow/revert-262-uri-retriever-error-handler
Revert "Do not override error handler"
2016-05-23 16:59:50 -05:00
David Porter
5292a93418 Revert "Do not override error handler" 2016-05-23 16:50:55 -05:00
David Porter
6dad7bf4a7 Merge pull request #265 from mirfilip/feature/upgrade-json-schema-test-sute-to-1.2.0
Bump json-schema/JSON-Schema-Test-Suite to 1.2.0 + some tests improvements
2016-05-11 16:39:50 -05:00
bighappyface
c21534c635 chore(release): 2.0.3 2.0.3 2016-05-10 15:38:51 -05:00
David Porter
6f4c8c9ced Merge pull request #262 from dmitry-varennikov-eventbase/uri-retriever-error-handler
Do not override error handler
2016-05-10 15:37:51 -05:00
Dmitry Varennikov
780dd6f45f Deleted unused stream context and check if a local file exists 2016-05-10 13:27:43 -07:00
Mirosław Filip
346b3218dd Bump json-schema/JSON-Schema-Test-Suite to 1.2.0. Add data set
description for failing tests. Flatten directory structure

Use "test.json / suite description / test case description" notation in data provider to allow a readable test output

Skip Draft3Test / Draft4Test tests which are not passing

Add some comment to skipped tests
2016-05-09 23:42:42 +02:00
David Porter
a2be633611 Merge pull request #264 from mirfilip/feature/upgrade-json-schema-test-suite-to-1.1.2
Bump json-schema/JSON-Schema-Test-Suite to 1.1.2
2016-05-09 16:29:03 -05:00
Mirosław Filip
a4d0b4c010 Bump json-schema/JSON-Schema-Test-Suite to 1.1.2 2016-05-09 23:19:40 +02:00
David Porter
b922e286ad Merge pull request #256 from Big-Shark/patch-1
Removed php7 of allow_failures
2016-05-09 11:23:55 -05:00
bighappyface
00f325773a chore(release): 2.0.2 2.0.2 2016-05-09 11:22:40 -05:00
David Porter
dd73ab2724 Merge pull request #261 from schrobak/bugfix/conditional-min-max-properties-validation
Fixes min/max properties validation for non objects
2016-05-09 11:21:18 -05:00
Sławomir Chrobak
84decc9a66 Skips min/max properties validation for non objects 2016-04-29 17:04:39 +02:00
bighappyface
9ef71fdf8a chore(release): 2.0.1 2.0.1 2016-04-28 09:34:47 -05:00
David Porter
870eaadd27 Merge pull request #259 from bighappyface/application-json
feat(UriRetriever): application/json support
2016-04-28 09:32:01 -05:00
bighappyface
0e7add4652 feat(UriRetriever): application/json support 2016-04-28 08:29:49 -05:00
Maxim
fb4aaa2426 Removed php7 of allow_failures 2016-04-27 11:38:10 +07:00
David Porter
05ce776136 Merge pull request #252 from bburnichon/patch-1
Bump recommended version to ~2.0
2016-04-15 10:29:41 -05:00
Benoît Burnichon
d7e0f640ab Bump recommended version to ~2.0 2016-04-15 10:02:09 +02:00
bighappyface
f1f874d2c0 chore(composer): udpate dev-master 2.0.0 2016-04-14 11:26:27 -05:00
David Porter
50901a4881 Merge pull request #245 from jojo1981/feature/ref-resolver
#240 Fix RefResolver and make it compatible with draft-04
2016-04-14 11:24:45 -05:00
Joost Nijhuis
e265e9f66d Fix RefResolver and make it compatible with draft-04 #240 2016-04-13 18:05:27 +02:00
David Porter
61a95a151a Merge pull request #246 from bighappyface/mit
chore(LICENSE): switch to MIT
2016-03-30 16:06:40 -05:00
bighappyface
1fae264037 chore(LICENSE): switch to MIT 2016-03-25 09:12:24 -05:00
David Porter
94d8d29fc8 Merge pull request #238 from bburnichon/feature/rfc339-helper
add rfc3339 helper class
2016-03-19 21:14:26 -05:00
Benoît Burnichon
6474265bda Simplify FormatConstraint using helper class 2016-03-03 13:30:26 +01:00