Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
wdalmut committed Mar 17, 2014
2 parents eef0d88 + e3350af commit 0fd7463
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
6 changes: 6 additions & 0 deletions composer.json
Expand Up @@ -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",
Expand Down
13 changes: 0 additions & 13 deletions src/Corley/WordPressExtension/EventListener/HookListener.php
Expand Up @@ -11,11 +11,6 @@
use Behat\Behat\Event\SuiteEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

/**
* Hook listener
*
* @author Anthon Pang <apang@softwaredevelopment.ca>
*/
class HookListener implements EventSubscriberInterface
{
private $path;
Expand All @@ -27,9 +22,6 @@ public function __construct($path, $minkParams)
$this->minkParams = $minkParams;
}

/**
* {@inheritdoc}
*/
public static function getSubscribedEvents()
{
$events = array(
Expand All @@ -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"]);
Expand Down

0 comments on commit 0fd7463

Please sign in to comment.