Completed
Pull Request — master (#16)
by Sergii
48:54
created
src/Context/TqContextInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -12,6 +12,7 @@
 block discarded – undo
12 12
      * Set context parameters from behat.yml.
13 13
      *
14 14
      * @param array $parameters
15
+     * @return void
15 16
      */
16 17
     public function setTqParameters(array $parameters);
17 18
 
Please login to merge, or discard this patch.
src/Context/Form/FormContext.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,18 +5,18 @@
 block discarded – undo
5 5
 namespace Drupal\TqExtension\Context\Form;
6 6
 
7 7
 // Exceptions.
8
-use Symfony\Component\Filesystem\Exception\FileNotFoundException;
9 8
 use Behat\Mink\Exception\ElementNotFoundException;
9
+use Symfony\Component\Filesystem\Exception\FileNotFoundException;
10 10
 use WebDriver\Exception\NoSuchElement;
11 11
 // Helpers.
12 12
 use Behat\Gherkin\Node\TableNode;
13
-use WebDriver\Service\CurlService;
14 13
 use Behat\Mink\Element\NodeElement;
14
+use WebDriver\Service\CurlService;
15 15
 // Utils.
16
+use Drupal\TqExtension\Cores\DrupalKernelPlaceholder;
16 17
 use Drupal\TqExtension\Utils\DatePicker\DatePicker;
17
-use Drupal\TqExtension\Utils\FormValueAssertion;
18 18
 use Drupal\TqExtension\Utils\EntityDrupalWrapper;
19
-use Drupal\TqExtension\Cores\DrupalKernelPlaceholder;
19
+use Drupal\TqExtension\Utils\FormValueAssertion;
20 20
 
21 21
 class FormContext extends RawFormContext
22 22
 {
Please login to merge, or discard this patch.
src/Context/User/RawUserContext.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      * @param string $value
39 39
      *   Expected value in column.
40 40
      *
41
-     * @return int
41
+     * @return string
42 42
      */
43 43
     public function getIdByArguments($column, $value)
44 44
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,10 +7,10 @@
 block discarded – undo
7 7
 // Contexts.
8 8
 use Drupal\TqExtension\Context\RawTqContext;
9 9
 // Utils.
10
+use Drupal\TqExtension\Cores\DrupalKernelPlaceholder;
10 11
 use Drupal\TqExtension\Utils\BaseEntity;
11
-use Drupal\TqExtension\Utils\EntityDrupalWrapper;
12 12
 use Drupal\TqExtension\Utils\Database\FetchField;
13
-use Drupal\TqExtension\Cores\DrupalKernelPlaceholder;
13
+use Drupal\TqExtension\Utils\EntityDrupalWrapper;
14 14
 
15 15
 class RawUserContext extends RawTqContext
16 16
 {
Please login to merge, or discard this patch.