From e748be0387a21b4e090b5872df9061aed57188b0 Mon Sep 17 00:00:00 2001 From: Tiny Mammoth Design Date: Thu, 1 Oct 2015 12:46:34 +1000 Subject: [PATCH] Moved out the exceptions into their own files This allows for PSR style autoloading without having to load the main class first. Tests pass. --- .gitignore | 1 + src/Json/SchemaException.php | 5 +++++ src/Json/ValidationException.php | 5 +++++ src/Json/Validator.php | 3 --- tests/bootstrap.php | 2 ++ 5 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 .gitignore create mode 100644 src/Json/SchemaException.php create mode 100644 src/Json/ValidationException.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..62c8935 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea/ \ No newline at end of file diff --git a/src/Json/SchemaException.php b/src/Json/SchemaException.php new file mode 100644 index 0000000..82abd0e --- /dev/null +++ b/src/Json/SchemaException.php @@ -0,0 +1,5 @@ +