for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Bex\Behat\ChooseTestsExtension\ServiceContainer;
class Config
{
private $suiteSelectorEnabled = false;
private $featureSelectorEnabled = false;
private $scenarioSelectorEnabled = false;
/**
* @param array $config
*/
public function __construct($config)
$config
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
// ...
}
public function enableAll()
$this->enableSuiteSelector();
$this->enableFeatureSelector();
$this->enableScenarioSelector();
public function enableSuiteSelector()
$this->suiteSelectorEnabled = true;
public function enableFeatureSelector()
$this->featureSelectorEnabled = true;
public function enableScenarioSelector()
$this->scenarioSelectorEnabled = true;
public function isSuiteSelectorEnabled()
return $this->suiteSelectorEnabled;
public function isFeatureSelectorEnabled()
return $this->featureSelectorEnabled;
public function isScenarioSelectorEnabled()
return $this->scenarioSelectorEnabled;
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.