1 | <?php |
||
16 | trait CommandContextTrait |
||
17 | { |
||
18 | use ConsoleBehavior\CommandTestTrait, |
||
19 | PromptContextTrait; |
||
20 | |||
21 | /** |
||
22 | * @Transform :command |
||
23 | * |
||
24 | * @param $command |
||
25 | * @return string |
||
26 | */ |
||
27 | public function castCommand($command) |
||
31 | |||
32 | /** |
||
33 | * @Given command :command exists in namespace :namespace |
||
34 | * |
||
35 | * @param string $command |
||
36 | * @param null|string $namespace |
||
37 | */ |
||
38 | public function commandExistsInNamespace(string $command, string $namespace) |
||
47 | |||
48 | |||
49 | /** |
||
50 | * @Given command exists :command |
||
51 | * |
||
52 | * @param string $commandName |
||
53 | */ |
||
54 | public function commandExists(string $commandName) |
||
65 | |||
66 | |||
67 | /** |
||
68 | * @When /^I run "([^"]*)" command$/ |
||
69 | * |
||
70 | * @param string $name |
||
71 | */ |
||
72 | public function iRunCommand(string $name) |
||
80 | |||
81 | /** |
||
82 | * @Given I provide (the) argument :name with value :value |
||
83 | * @Given I type argument :name with value :value |
||
84 | * |
||
85 | * @param string $name |
||
86 | * @param string $value |
||
87 | */ |
||
88 | public function iProvideArgumentWithValue(string $name, string $value) |
||
92 | |||
93 | /** |
||
94 | * @Given I provide no Arguments |
||
95 | */ |
||
96 | public function iProvideNoArguments() |
||
100 | |||
101 | /** |
||
102 | * @When I execute the command |
||
103 | */ |
||
104 | public function iExecuteTheCommand() |
||
116 | |||
117 | /** |
||
118 | * @Then I get no error |
||
119 | */ |
||
120 | public function iGetNoError() |
||
134 | |||
135 | /** |
||
136 | * @Then I get an error |
||
137 | */ |
||
138 | public function iGetAnError() |
||
145 | |||
146 | /** |
||
147 | * @Then I get an error message |
||
148 | */ |
||
149 | public function iGetAnErrorMessage() |
||
156 | |||
157 | /** |
||
158 | * @Then I get no message |
||
159 | */ |
||
160 | public function iGetNoMessage() |
||
166 | |||
167 | /** |
||
168 | * @Given I use option :optionName |
||
169 | * |
||
170 | * @param string $optionName |
||
171 | */ |
||
172 | public function iUseOption(string $optionName) |
||
176 | } |
||
177 | |||
178 |
Scrutinizer analyzes your
composer.json
/composer.lock
file if available to determine the classes, and functions that are defined by your dependencies.It seems like the listed class was neither found in your dependencies, nor was it found in the analyzed files in your repository. If you are using some other form of dependency management, you might want to disable this analysis.