From 24bb5fefbdf93ce0969b7f56cc46c459ebb82a95 Mon Sep 17 00:00:00 2001 From: EoleDev Date: Thu, 14 Apr 2016 16:24:44 +0200 Subject: Mise a jour et nettoyage depot --- .../JsonSchema/Constraints/SchemaConstraint.php | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 server/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/SchemaConstraint.php (limited to 'server/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/SchemaConstraint.php') diff --git a/server/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/SchemaConstraint.php b/server/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/SchemaConstraint.php deleted file mode 100644 index b856a11..0000000 --- a/server/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/SchemaConstraint.php +++ /dev/null @@ -1,37 +0,0 @@ - - * @author Bruno Prieto Reis - */ -class SchemaConstraint extends Constraint -{ - /** - * {@inheritDoc} - */ - public function check($element, $schema = null, $path = null, $i = null) - { - if ($schema !== null) { - // passed schema - $this->checkUndefined($element, $schema, '', ''); - } elseif (property_exists($element, $this->inlineSchemaProperty)) { - // inline schema - $this->checkUndefined($element, $element->{$this->inlineSchemaProperty}, '', ''); - } else { - throw new InvalidArgumentException('no schema found to verify against'); - } - } -} \ No newline at end of file -- cgit v1.2.3