From c46f7fdbec04e23e068ba3f88497edf963df394b Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Mon, 25 Mar 2019 14:01:03 +0100 Subject: [PATCH] Add basic client access --- asmp-wordpress-integration.php | 81 +------------------ composer.json | 2 +- composer.lock | 18 ++--- src/ASMP.php | 2 +- src/Console/AsmpCommand.php | 36 ++++++++- src/ConsoleIntegration.php | 2 +- src/Exception/FailedToLoadView.php | 2 +- src/Exception/FailedToMakeInstance.php | 2 +- src/Exception/InvalidPath.php | 2 +- src/Exception/InvalidService.php | 2 +- .../WordPressIntegrationException.php | 2 +- src/Infrastructure/Activateable.php | 2 +- src/Infrastructure/Autoloader.php | 2 +- src/Infrastructure/Deactivateable.php | 2 +- src/Infrastructure/Injector.php | 2 +- .../Injector/InjectionChain.php | 2 +- .../Injector/SimpleInjector.php | 2 +- src/Infrastructure/Instantiator.php | 2 +- src/Infrastructure/Registerable.php | 2 +- src/Infrastructure/Renderable.php | 2 +- src/Infrastructure/Service.php | 2 +- src/Infrastructure/View.php | 2 +- src/Infrastructure/View/SimpleView.php | 2 +- src/Infrastructure/View/SimpleViewFactory.php | 2 +- src/Infrastructure/View/TemplatedView.php | 2 +- .../View/TemplatedViewFactory.php | 2 +- src/Infrastructure/ViewFactory.php | 2 +- src/Plugin.php | 2 +- src/PluginFactory.php | 2 +- src/SettingsGeneralService.php | 2 +- tests/php/Fixture/DummyClass.php | 2 +- .../php/Fixture/DummyClassWithDependency.php | 2 +- .../Fixture/DummyClassWithNamedArguments.php | 2 +- tests/php/Fixture/DummyInterface.php | 2 +- tests/php/Integration/TestCase.php | 2 +- tests/php/Unit/TestCase.php | 2 +- tests/php/ViewHelper.php | 2 +- 37 files changed, 78 insertions(+), 125 deletions(-) diff --git a/asmp-wordpress-integration.php b/asmp-wordpress-integration.php index cf1fc32..7e8aefc 100644 --- a/asmp-wordpress-integration.php +++ b/asmp-wordpress-integration.php @@ -4,15 +4,11 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp - * - * ----------------------------------------------------------------------------- - * -- 1. Provide the plugin meta information that WordPress needs -- - * ----------------------------------------------------------------------------- + * @link https://www.asmprotocol.org/ * * @wordpress-plugin * Plugin Name: ASMP WordPress Integration Plugin - * Plugin URI: https://www.alainschlesser.com/asmp + * Plugin URI: https://www.asmprotocol.org/ * Description: WordPress Integration Plugin for ASMP. * Version: 0.1.0 * Requires PHP: 7.2 @@ -24,86 +20,19 @@ namespace ASMP\WordPressIntegration; -/* - * This is the plugin's bootstrap file. It serves three main purposes: - * 1. Provide the plugin meta information that WordPress needs; - * 2. Prepare the environment so that it is ready to execute our OOP code; - * 3. Instantiate and kick off our "composition root" (our 'Plugin' class). - * - * The bootstrap file should not do anything else, so that we have a clean - * separation between a.) code that needs to be run sequentially and produces - * side-effects and b.) declarations that can be taken out of contexts for - * testing and reuse and have no side-effects. - * - * Anything past this bootstrap file should be autoloadable classes, interfaces - * or traits without any side-effects. - */ - -/* - * As this is the only PHP file having side effects, we need to provide a - * safeguard, so we want to make sure this file is only run from within - * WordPress and cannot be directly called through a web request. - */ if ( ! defined( 'ABSPATH' ) ) { die(); } - - -/* - * ----------------------------------------------------------------------------- - * -- 2. Prepare the environment so that it is ready to execute our OOP code -- - * ----------------------------------------------------------------------------- - */ - -/* - * We try to load the Composer if it exists. - * If it doesn't exist, we fall back to a basic bundled autoloader - * implementation. This allows us to just use the plugin as-is without requirin - * the 'composer install' step. - * Note: If you use Composer not only for autoloading, but also including - * dependencies needed in production, the 'composer install' becomes mandatory - * and the fallback autoloader should probably be removed. - */ $composer_autoloader = __DIR__ . '/vendor/autoload.php'; if ( is_readable ( $composer_autoloader ) ) { require $composer_autoloader; } -if ( ! class_exists( __NAMESPACE__ . '\\PluginFactory' ) ) { - // Composer autoloader apparently was not found, so fall back to our bundled - // autoloader. - require_once __DIR__ . '/src/Infrastructure/Autoloader.php'; - - ( new Infrastructure\Autoloader() ) - ->add_namespace( __NAMESPACE__, __DIR__ . '/src' ) - ->register(); -} - - - -/* - * ----------------------------------------------------------------------------- - * -- 3. Instantiate and kick off our "composition root" (our 'Plugin' class) -- - * ----------------------------------------------------------------------------- - */ - -/* - * We use a factory to instantiate the actual plugin. - * The factory keeps the object as a shared instance, so that you can also - * get outside access to that same plugin instance through the factory. - * This is similar to a Singleton, but without all the drawbacks the Singleton - * anti-pattern brings along. - * For more information on why to avoid a Singleton, read: - * https://www.alainschlesser.com/singletons-shared-instances/ - */ $plugin = PluginFactory::create(); -/* - * We register activation and deactivation hooks by using closures, as these - * need static access to work correctly. - */ + \register_activation_hook( __FILE__, function () use ( $plugin ) { $plugin->activate(); } ); @@ -112,8 +41,4 @@ $plugin->deactivate(); } ); -/* - * Finally, we run the plugin's register method to Hook the plugin into the - * WordPress request lifecycle. - */ $plugin->register(); diff --git a/composer.json b/composer.json index 6e91c8d..b841fe8 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "wordpress-plugin", "license": "MIT", "require": { - "application-server-management-protocol/php-client": "*" + "asmprotocol/php-client": "*" }, "require-dev": { "phpunit/phpunit": "^6" diff --git a/composer.lock b/composer.lock index 2e966b5..150a771 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "386ebc1e93bd9b1822b98a2e1a6a8d27", + "content-hash": "4355f35c1619aaf741d703c78b40b041", "packages": [ { - "name": "application-server-management-protocol/php-client", - "version": "v0.1.0", + "name": "asmprotocol/php-client", + "version": "v0.5.0", "source": { "type": "git", - "url": "https://github.com/application-server-management-protocol/php-client.git", - "reference": "f06fb25f255a49a3506305f99123718dc8ac1476" + "url": "https://github.com/asmprotocol/php-client.git", + "reference": "96dd07e80bc8b122b67428ca84fd21be9c38b7b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/application-server-management-protocol/php-client/zipball/f06fb25f255a49a3506305f99123718dc8ac1476", - "reference": "f06fb25f255a49a3506305f99123718dc8ac1476", + "url": "https://api.github.com/repos/asmprotocol/php-client/zipball/96dd07e80bc8b122b67428ca84fd21be9c38b7b9", + "reference": "96dd07e80bc8b122b67428ca84fd21be9c38b7b9", "shasum": "" }, "require": { @@ -43,8 +43,8 @@ "MIT" ], "description": "PHP client library for ASMP", - "homepage": "https://www.alainschlesser.com/asmp", - "time": "2019-03-24T15:54:05+00:00" + "homepage": "https://www.asmprotocol.org/", + "time": "2019-03-25T12:56:49+00:00" }, { "name": "guzzlehttp/guzzle", diff --git a/src/ASMP.php b/src/ASMP.php index 3380f5b..62a71aa 100644 --- a/src/ASMP.php +++ b/src/ASMP.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration; diff --git a/src/Console/AsmpCommand.php b/src/Console/AsmpCommand.php index 4a7b50f..f3d8f71 100644 --- a/src/Console/AsmpCommand.php +++ b/src/Console/AsmpCommand.php @@ -4,16 +4,34 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Console; +use ASMP\Client\Api\ChangeApi; +use ASMP\Client\Api\CheckApi; +use ASMP\Client\Api\RollbackApi; +use ASMP\Client\Configuration; +use ASMP\Client\Model\ChangeRequest; +use ASMP\Client\Model\CheckRequest; +use ASMP\Client\Model\RollbackRequest; use ASMP\WordPressIntegration\ASMP; +use GuzzleHttp\Client; use WP_CLI; final class AsmpCommand { + /** @var Configuration */ + private $config; + + /** + * Instantiate a AsmpCommand object. + */ + public function __construct() { + $this->config = Configuration::getDefaultConfiguration(); + } + /** * Run a check against ASMP. * @@ -23,7 +41,9 @@ final class AsmpCommand { public function check( array $args, array $assoc_args ): void { $this->ensure_asmp_is_available(); - WP_CLI::error( 'Not implemented yet' ); + $apiInstance = new CheckApi( new Client(), $this->config ); + $body = new CheckRequest(); + var_dump( $body ); } /** @@ -35,7 +55,9 @@ public function check( array $args, array $assoc_args ): void { public function change( array $args = [], array $assoc_args = [] ): void { $this->ensure_asmp_is_available(); - WP_CLI::error( 'Not implemented yet' ); + $apiInstance = new ChangeApi( new Client(), $this->config ); + $body = new ChangeRequest(); + var_dump( $body ); } /** @@ -47,7 +69,9 @@ public function change( array $args = [], array $assoc_args = [] ): void { public function rollback( array $args = [], array $assoc_args = [] ): void { $this->ensure_asmp_is_available(); - WP_CLI::error( 'Not implemented yet' ); + $apiInstance = new RollbackApi( new Client(), $this->config ); + $body = new RollbackRequest(); + var_dump( $body ); } /** @@ -62,6 +86,10 @@ public function rollback( array $args = [], array $assoc_args = [] ): void { * @param array $assoc_args Optional. Array of associative arguments. */ public function status( array $args = [], array $assoc_args = [] ): void { + $this->ensure_asmp_is_available(); + + list( $id ) = $args; + WP_CLI::error( 'Not implemented yet' ); } diff --git a/src/ConsoleIntegration.php b/src/ConsoleIntegration.php index 130d4a3..4c6b865 100644 --- a/src/ConsoleIntegration.php +++ b/src/ConsoleIntegration.php @@ -4,7 +4,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration; diff --git a/src/Exception/FailedToLoadView.php b/src/Exception/FailedToLoadView.php index 024bb61..47f4b6f 100644 --- a/src/Exception/FailedToLoadView.php +++ b/src/Exception/FailedToLoadView.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Exception; diff --git a/src/Exception/FailedToMakeInstance.php b/src/Exception/FailedToMakeInstance.php index f4b8756..a510336 100644 --- a/src/Exception/FailedToMakeInstance.php +++ b/src/Exception/FailedToMakeInstance.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Exception; diff --git a/src/Exception/InvalidPath.php b/src/Exception/InvalidPath.php index f2ae5d4..64cbfc5 100644 --- a/src/Exception/InvalidPath.php +++ b/src/Exception/InvalidPath.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Exception; diff --git a/src/Exception/InvalidService.php b/src/Exception/InvalidService.php index 36d1dc6..f39f006 100644 --- a/src/Exception/InvalidService.php +++ b/src/Exception/InvalidService.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Exception; diff --git a/src/Exception/WordPressIntegrationException.php b/src/Exception/WordPressIntegrationException.php index ba16a78..2e358c8 100644 --- a/src/Exception/WordPressIntegrationException.php +++ b/src/Exception/WordPressIntegrationException.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Exception; diff --git a/src/Infrastructure/Activateable.php b/src/Infrastructure/Activateable.php index b6b7dad..8bcb22c 100644 --- a/src/Infrastructure/Activateable.php +++ b/src/Infrastructure/Activateable.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Infrastructure; diff --git a/src/Infrastructure/Autoloader.php b/src/Infrastructure/Autoloader.php index f5f8a20..34216dc 100644 --- a/src/Infrastructure/Autoloader.php +++ b/src/Infrastructure/Autoloader.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Infrastructure; diff --git a/src/Infrastructure/Deactivateable.php b/src/Infrastructure/Deactivateable.php index a8ffe09..807f0c4 100644 --- a/src/Infrastructure/Deactivateable.php +++ b/src/Infrastructure/Deactivateable.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Infrastructure; diff --git a/src/Infrastructure/Injector.php b/src/Infrastructure/Injector.php index 2b50b45..a848b66 100644 --- a/src/Infrastructure/Injector.php +++ b/src/Infrastructure/Injector.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Infrastructure; diff --git a/src/Infrastructure/Injector/InjectionChain.php b/src/Infrastructure/Injector/InjectionChain.php index 59f4bd0..f9ec367 100644 --- a/src/Infrastructure/Injector/InjectionChain.php +++ b/src/Infrastructure/Injector/InjectionChain.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Infrastructure\Injector; diff --git a/src/Infrastructure/Injector/SimpleInjector.php b/src/Infrastructure/Injector/SimpleInjector.php index 1ffda05..38494f6 100644 --- a/src/Infrastructure/Injector/SimpleInjector.php +++ b/src/Infrastructure/Injector/SimpleInjector.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Infrastructure\Injector; diff --git a/src/Infrastructure/Instantiator.php b/src/Infrastructure/Instantiator.php index 759f82a..3aebb22 100644 --- a/src/Infrastructure/Instantiator.php +++ b/src/Infrastructure/Instantiator.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Infrastructure; diff --git a/src/Infrastructure/Registerable.php b/src/Infrastructure/Registerable.php index 98c5fda..e9ec3e4 100644 --- a/src/Infrastructure/Registerable.php +++ b/src/Infrastructure/Registerable.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Infrastructure; diff --git a/src/Infrastructure/Renderable.php b/src/Infrastructure/Renderable.php index 9c694df..49ccf03 100644 --- a/src/Infrastructure/Renderable.php +++ b/src/Infrastructure/Renderable.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Infrastructure; diff --git a/src/Infrastructure/Service.php b/src/Infrastructure/Service.php index 206c678..842119e 100644 --- a/src/Infrastructure/Service.php +++ b/src/Infrastructure/Service.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Infrastructure; diff --git a/src/Infrastructure/View.php b/src/Infrastructure/View.php index e1124d8..ba6ea25 100644 --- a/src/Infrastructure/View.php +++ b/src/Infrastructure/View.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Infrastructure; diff --git a/src/Infrastructure/View/SimpleView.php b/src/Infrastructure/View/SimpleView.php index f09377d..6f0d7f1 100644 --- a/src/Infrastructure/View/SimpleView.php +++ b/src/Infrastructure/View/SimpleView.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Infrastructure\View; diff --git a/src/Infrastructure/View/SimpleViewFactory.php b/src/Infrastructure/View/SimpleViewFactory.php index 18f7c38..4124487 100644 --- a/src/Infrastructure/View/SimpleViewFactory.php +++ b/src/Infrastructure/View/SimpleViewFactory.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Infrastructure\View; diff --git a/src/Infrastructure/View/TemplatedView.php b/src/Infrastructure/View/TemplatedView.php index c3fcc30..64a2079 100644 --- a/src/Infrastructure/View/TemplatedView.php +++ b/src/Infrastructure/View/TemplatedView.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Infrastructure\View; diff --git a/src/Infrastructure/View/TemplatedViewFactory.php b/src/Infrastructure/View/TemplatedViewFactory.php index 3c69a93..bf95610 100644 --- a/src/Infrastructure/View/TemplatedViewFactory.php +++ b/src/Infrastructure/View/TemplatedViewFactory.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Infrastructure\View; diff --git a/src/Infrastructure/ViewFactory.php b/src/Infrastructure/ViewFactory.php index 385bba9..7c9f4fa 100644 --- a/src/Infrastructure/ViewFactory.php +++ b/src/Infrastructure/ViewFactory.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Infrastructure; diff --git a/src/Plugin.php b/src/Plugin.php index e785da0..f0217be 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration; diff --git a/src/PluginFactory.php b/src/PluginFactory.php index c425dd1..d17ebdb 100644 --- a/src/PluginFactory.php +++ b/src/PluginFactory.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration; diff --git a/src/SettingsGeneralService.php b/src/SettingsGeneralService.php index ab04b13..94a9957 100644 --- a/src/SettingsGeneralService.php +++ b/src/SettingsGeneralService.php @@ -4,7 +4,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration; diff --git a/tests/php/Fixture/DummyClass.php b/tests/php/Fixture/DummyClass.php index 59af4c7..4c5d95e 100644 --- a/tests/php/Fixture/DummyClass.php +++ b/tests/php/Fixture/DummyClass.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Tests\Fixture; diff --git a/tests/php/Fixture/DummyClassWithDependency.php b/tests/php/Fixture/DummyClassWithDependency.php index ab22dc3..c06ba43 100644 --- a/tests/php/Fixture/DummyClassWithDependency.php +++ b/tests/php/Fixture/DummyClassWithDependency.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Tests\Fixture; diff --git a/tests/php/Fixture/DummyClassWithNamedArguments.php b/tests/php/Fixture/DummyClassWithNamedArguments.php index 1872207..cea9803 100644 --- a/tests/php/Fixture/DummyClassWithNamedArguments.php +++ b/tests/php/Fixture/DummyClassWithNamedArguments.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Tests\Fixture; diff --git a/tests/php/Fixture/DummyInterface.php b/tests/php/Fixture/DummyInterface.php index 68bfcc5..6a0e5a0 100644 --- a/tests/php/Fixture/DummyInterface.php +++ b/tests/php/Fixture/DummyInterface.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Tests\Fixture; diff --git a/tests/php/Integration/TestCase.php b/tests/php/Integration/TestCase.php index e9c96cf..ef36fd5 100644 --- a/tests/php/Integration/TestCase.php +++ b/tests/php/Integration/TestCase.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Tests\Integration; diff --git a/tests/php/Unit/TestCase.php b/tests/php/Unit/TestCase.php index a139bbf..8b58948 100644 --- a/tests/php/Unit/TestCase.php +++ b/tests/php/Unit/TestCase.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Tests\Unit; diff --git a/tests/php/ViewHelper.php b/tests/php/ViewHelper.php index ce24d55..cbc34a1 100644 --- a/tests/php/ViewHelper.php +++ b/tests/php/ViewHelper.php @@ -5,7 +5,7 @@ * * @package ASMP\WordPressIntegration * @license MIT - * @link https://www.alainschlesser.com/asmp + * @link https://www.asmprotocol.org/ */ namespace ASMP\WordPressIntegration\Tests;