Skip to content

Commit

Permalink
Prefixing the Opis/JsonSchema runtime package with Imposter
Browse files Browse the repository at this point in the history
  • Loading branch information
aldavigdis committed Mar 5, 2024
1 parent 73587fa commit 1501f17
Show file tree
Hide file tree
Showing 3 changed files with 185 additions and 17 deletions.
11 changes: 9 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": false
"composer/installers": false,
"typisttech/imposter-plugin": true
}
},
"autoload": {
Expand All @@ -41,6 +42,12 @@
},
"minimum-stability": "dev",
"require": {
"opis/json-schema": "^2.0@dev"
"opis/json-schema": "^2.0@dev",
"typisttech/imposter-plugin": "^0.6.0@dev"
},
"extra": {
"imposter": {
"namespace": "NineteenEightyFour\\NinteenEightyWoo"
}
}
}
189 changes: 175 additions & 14 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Rest/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use WP_Error;
use WP_REST_Request;
use WP_REST_Response;
use Opis\JsonSchema\Validator;
use NineteenEightyFour\NinteenEightyWoo\Opis\JsonSchema\Validator;

/**
* The REST API Settings endpoint class
Expand Down

0 comments on commit 1501f17

Please sign in to comment.