From 7fbc23985198dfb8cc10ee53d10a42c141637139 Mon Sep 17 00:00:00 2001 From: Walter Dal Mut Date: Mon, 17 Mar 2014 20:21:29 +0100 Subject: [PATCH 1/2] Added keywords --- composer.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/composer.json b/composer.json index 2cf736e..a32155b 100644 --- a/composer.json +++ b/composer.json @@ -2,6 +2,12 @@ "name": "wdalmut/wordpress-extension", "type": "library", "description": "WordPress extension for Behat", + "keywords": [ + "behat", + "wordpress", + "story", + "bdd" + ], "license": "MIT", "require": { "behat/behat": "2.5.*@stable", From e3350af0912f8b7fa466fcfb55e09a0e7a689e4d Mon Sep 17 00:00:00 2001 From: Walter Dal Mut Date: Mon, 17 Mar 2014 22:15:18 +0100 Subject: [PATCH 2/2] Removed useless comment --- .../EventListener/HookListener.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/Corley/WordPressExtension/EventListener/HookListener.php b/src/Corley/WordPressExtension/EventListener/HookListener.php index 9e47680..69f50fb 100644 --- a/src/Corley/WordPressExtension/EventListener/HookListener.php +++ b/src/Corley/WordPressExtension/EventListener/HookListener.php @@ -11,11 +11,6 @@ use Behat\Behat\Event\SuiteEvent; use Symfony\Component\EventDispatcher\EventSubscriberInterface; -/** - * Hook listener - * - * @author Anthon Pang - */ class HookListener implements EventSubscriberInterface { private $path; @@ -27,9 +22,6 @@ public function __construct($path, $minkParams) $this->minkParams = $minkParams; } - /** - * {@inheritdoc} - */ public static function getSubscribedEvents() { $events = array( @@ -39,11 +31,6 @@ public static function getSubscribedEvents() return array_combine($events, $events); } - /** - * Listens to "suite.before" event. - * - * @param \Behat\Behat\Event\SuiteEvent $event - */ public function beforeSuite(SuiteEvent $event) { $url = parse_url($this->minkParams["base_url"]);