From 740677db9cfb523994d13ad7d36e3db292f68a3b Mon Sep 17 00:00:00 2001 From: dimitri-bouteille Date: Wed, 28 Feb 2024 19:08:37 +0100 Subject: [PATCH] CS pre-release --- CONTRIBUTING.md | 2 +- README.md | 2 +- composer.json | 2 +- tests/Wrappers/PermissionWrapperTest.php | 18 ------------------ 4 files changed, 3 insertions(+), 21 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c708d01..d0bf7a2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,7 +7,7 @@ 3. Make the desired changes to the code. * If you are adding new functionality or fixing a bug, we recommend you add unit tests that cover it. 4. Push the changes to your fork. -5. Create a pull request to the `dbout/wp-orm` repository. +5. Create a pull request to the `dbout/wp-module-rest-api` repository. 6. In your pull request, please describe in detail: * What problem you’re solving * Your approach to fixing the problem diff --git a/README.md b/README.md index 73f7a69..d6cd52b 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ If you want to know more about how the WordPress API works, you can [read the Wo The server requirements are basically the same as for [WordPress](https://wordpress.org/about/requirements/) with the addition of a few ones : - PHP >= 8.1 -- [Composer](https://getcomposer.org/) (optional) +- [Composer](https://getcomposer.org/) ### Installation with composer diff --git a/composer.json b/composer.json index ab7be29..15ce195 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "role": "Developer" } ], - "keywords": ["wordpress", "wp", "wordpress-starter", "api", "rest", "rest-api", "wordpress-rest-api"], + "keywords": ["wordpress", "wp", "wordpress-starter", "api", "rest", "rest-api", "wordpress-rest-api", "wordpress-development"], "homepage": "https://github.com/dimitriBouteille/wp-module-rest-api", "support": { "issues": "https://github.com/dimitriBouteille/wp-module-rest-api/issues", diff --git a/tests/Wrappers/PermissionWrapperTest.php b/tests/Wrappers/PermissionWrapperTest.php index bfbb5e1..656567c 100644 --- a/tests/Wrappers/PermissionWrapperTest.php +++ b/tests/Wrappers/PermissionWrapperTest.php @@ -33,24 +33,6 @@ public function testWithoutPermission(): void $this->assertTrue($wrapper->execute($request)); } - /** - * @return void - * @covers ::execute - */ - public function testWithPermissionInterface(): void - { - - } - - /** - * @return void - * @covers ::execute - */ - public function testThrowPermissionException(): void - { - - } - /** * @param RouteAction $action * @return PermissionWrapper