for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Behat\Behat\Tester\Exception\PendingException;
use Hexarchium\CoreDomain\Model\Domain\Repository\DomainRepositoryInterface;
/**
* Copyright
*/
class UseCaseFeatureContext implements \Behat\Behat\Context\Context
You can fix this by adding a namespace to your class:
namespace YourVendor; class YourClass { }
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.
{
* UseCaseFeatureContext constructor.
*
* @param DomainRepositoryInterface $domainRepository
public function __construct(DomainRepositoryInterface $domainRepository)
$domainRepository
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
}
* @When I create usecase with :arg1 id for :arg2 domain
public function iCreateUsecaseWithIdForDomain($arg1, $arg2)
$arg1
$arg2
throw new PendingException();
* @Then I should see new usecase in :arg1 domain
public function iShouldSeeNewUsecaseInDomain($arg1)
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.