From f9b74f8d88007a00c0fa4fa6b4d418f95f601143 Mon Sep 17 00:00:00 2001 From: Andrew Riddlestone Date: Sun, 10 Nov 2019 15:32:23 +0000 Subject: [PATCH] feat(module): changed namespace and package name BREAKING CHANGE: module namespace and composer package name have changed --- README.md | 10 +++++----- composer.json | 15 +++++++-------- config/module.config.php | 2 +- src/Console/GulpCommand.php | 4 ++-- src/Console/GulpCommandFactory.php | 4 ++-- src/Exception/MultiplePackageAliasesException.php | 2 +- ...PackageAndPackagePropertyImportedException.php | 2 +- src/GulpFileContentGenerator.php | 6 +++--- src/GulpFileContentGeneratorFactory.php | 2 +- src/Module.php | 2 +- src/PipelineInterface.php | 2 +- src/PipelineProviderInterface.php | 2 +- test/Console/GulpCommandFactoryTest.php | 8 ++++---- test/Console/GulpCommandTest.php | 6 +++--- test/GulpFileContentGeneratorFactoryTest.php | 10 +++++----- test/GulpFileContentGeneratorTest.php | 10 +++++----- test/ModuleTest.php | 8 ++++---- 17 files changed, 47 insertions(+), 48 deletions(-) diff --git a/README.md b/README.md index 26ce53f..fd9772a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Clockwork Console +# Riddlestone ZF-Console A [Zend Framework 2](https://github.com/zendframework) module for [Gulp](https://gulpjs.com/) configuration @@ -8,12 +8,12 @@ Installation of this module uses composer. For composer documentation, please re [getcomposer.org](http://getcomposer.org/). ```sh -composer require clockwork/gulp +composer require riddlestone/zf-gulp ``` ## Usage -To include your Gulp pipeline in the generated configuration file, create a `Clockwork\Gulp\ProviderInterface` +To include your Gulp pipeline in the generated configuration file, create a `Riddlestone\ZF\Gulp\ProviderInterface` implementation, and add it to your module's config file: ```php @@ -32,7 +32,7 @@ return [ ]; ``` -Have the provider return an array of `Clockwork\Gulp\PipelineInterface` objects. +Have the provider return an array of `Riddlestone\ZF\Gulp\PipelineInterface` objects. You can then generate `gulpfile.js` using the console command : ```sh @@ -41,4 +41,4 @@ vendor/bin/console gulp ## Get Involved -File issues at https://github.com/ariddlestone/clockwork-gulp/issues +File issues at https://github.com/riddlestone/zf-gulp/issues diff --git a/composer.json b/composer.json index 26892f4..b945f52 100644 --- a/composer.json +++ b/composer.json @@ -1,15 +1,14 @@ { - "name": "clockwork/gulp", + "name": "riddlestone/zf-gulp", "description": "A Zend Framework 2 module for Gulp configuration", "keywords": [ - "clockwork", "gulp", - "zf2" + "zf" ], "type": "library", "require": { "php": "^7.3", - "clockwork/console": "^1.0", + "riddlestone/zf-console": "^1.0", "container-interop/container-interop": "^1.2", "symfony/console": "^4.3", "zendframework/zend-component-installer": "^1.0 || ^0.7", @@ -17,7 +16,7 @@ }, "autoload": { "psr-4": { - "Clockwork\\Gulp\\": "src/" + "Riddlestone\\ZF\\Gulp\\": "src/" } }, "require-dev": { @@ -25,16 +24,16 @@ }, "autoload-dev": { "psr-4": { - "Clockwork\\Gulp\\Test\\": "test/" + "Riddlestone\\ZF\\Gulp\\Test\\": "test/" } }, "extra": { "zf": { - "component": "Clockwork\\Gulp" + "component": "Riddlestone\\ZF\\Gulp" } }, "scripts": { - "test": "vendor/bin/phpunit" + "test": "phpunit" }, "license": "BSD-3-Clause", "authors": [ diff --git a/config/module.config.php b/config/module.config.php index cf79dc0..9dbbfdc 100644 --- a/config/module.config.php +++ b/config/module.config.php @@ -1,6 +1,6 @@ [ diff --git a/src/Console/GulpCommand.php b/src/Console/GulpCommand.php index 6500618..c846650 100644 --- a/src/Console/GulpCommand.php +++ b/src/Console/GulpCommand.php @@ -1,8 +1,8 @@