We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16b274c commit d28acacCopy full SHA for d28acac
src/JsonSchema/Validator.php
@@ -27,10 +27,10 @@ class Validator extends BaseConstraint
27
{
28
public const SCHEMA_MEDIA_TYPE = 'application/schema+json';
29
30
- public const ERROR_NONE = 0x00000000;
31
- public const ERROR_ALL = 0xFFFFFFFF;
32
- public const ERROR_DOCUMENT_VALIDATION = 0x00000001;
33
- public const ERROR_SCHEMA_VALIDATION = 0x00000002;
+ public const ERROR_NONE = 0;
+ public const ERROR_ALL = -1;
+ public const ERROR_DOCUMENT_VALIDATION = 1;
+ public const ERROR_SCHEMA_VALIDATION = 2;
34
35
/**
36
* Validates the given data against the schema and returns an object containing the results
0 commit comments