Skip to content

Commit 10da240

Browse files
guncha25minorOffense
authored andcommitted
D10 version
1 parent 0601fe7 commit 10da240

File tree

5 files changed

+23
-23
lines changed

5 files changed

+23
-23
lines changed

src/Codeception/Module/DrupalBootstrap.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
* #### Example (DrupalBootstrap)
1818
* modules:
1919
* - DrupalBootstrap:
20-
* root: './web'
21-
* site_path: 'sites/default'
22-
* http_host: 'mysite.local'
20+
* root: './web'
21+
* site_path: 'sites/default'
22+
* http_host: 'mysite.local'
2323
*
2424
* @package Codeception\Module
2525
*/
@@ -32,7 +32,7 @@ class DrupalBootstrap extends Module {
3232
*
3333
* @var array
3434
*/
35-
protected $config = [
35+
protected array $config = [
3636
'site_path' => 'sites/default',
3737
];
3838

src/Codeception/Module/DrupalDrush.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
* #### Example (DrupalDrush)
1313
* modules:
1414
* - DrupalDrush:
15-
* working_directory: './web'
16-
* timeout: 120
17-
* drush: './vendor/bin/drush'
18-
* alias: '@mysite.com'
19-
* options:
20-
* uri: http://mydomain.com
21-
* root: /app/web
15+
* working_directory: './web'
16+
* timeout: 120
17+
* drush: './vendor/bin/drush'
18+
* alias: '@mysite.com'
19+
* options:
20+
* uri: http://mydomain.com
21+
* root: /app/web
2222
*
2323
* @package Codeception\Module
2424
*/
@@ -29,7 +29,7 @@ class DrupalDrush extends Module {
2929
*
3030
* @var array
3131
*/
32-
protected $config = [
32+
protected array $config = [
3333
'drush' => 'drush',
3434
'alias' => '',
3535
'options' => [],

src/Codeception/Module/DrupalEntity.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
* #### Example (DrupalEntity)
1515
* modules:
1616
* - DrupalEntity:
17-
* cleanup_test: true
18-
* cleanup_failed: false
19-
* cleanup_suite: true
20-
* route_entities:
21-
* - node
22-
* - taxonomy_term.
17+
* cleanup_test: true
18+
* cleanup_failed: false
19+
* cleanup_suite: true
20+
* route_entities:
21+
* - node
22+
* - taxonomy_term.
2323
*
2424
* @package Codeception\Module
2525
*/
@@ -30,7 +30,7 @@ class DrupalEntity extends Module {
3030
*
3131
* @var array
3232
*/
33-
protected $config = [
33+
protected array $config = [
3434
'cleanup_test' => TRUE,
3535
'cleanup_failed' => TRUE,
3636
'cleanup_suite' => TRUE,
@@ -60,7 +60,7 @@ public function _afterSuite() { // @codingStandardsIgnoreLine
6060
/**
6161
* {@inheritdoc}
6262
*/
63-
public function _after(TestCase $test) { // @codingStandardsIgnoreLine
63+
public function _after(TestInterface $test) { // @codingStandardsIgnoreLine
6464
if ($this->config['cleanup_test']) {
6565
$this->doEntityCleanup();
6666
}
@@ -69,7 +69,7 @@ public function _after(TestCase $test) { // @codingStandardsIgnoreLine
6969
/**
7070
* {@inheritdoc}
7171
*/
72-
public function _failed(TestCase $test, $fail) { // @codingStandardsIgnoreLine
72+
public function _failed(TestInterface $test, Exception $fail) { // @codingStandardsIgnoreLine
7373
if ($this->config['cleanup_failed']) {
7474
$this->doEntityCleanup();
7575
}

src/Codeception/Module/DrupalWatchdog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class DrupalWatchdog extends Module {
3535
*
3636
* @var array
3737
*/
38-
protected $config = [
38+
protected array $config = [
3939
'channels' => [],
4040
'level' => 'ERROR',
4141
'enabled' => TRUE,

src/Codeception/TestDrupalKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Symfony\Component\HttpFoundation\Request;
99
use Symfony\Component\Routing\Route;
1010

11-
class TestDrupalKernel extends DrupalKernel{
11+
class TestDrupalKernel extends DrupalKernel {
1212

1313
/**
1414
* TestDrupalKernel constructor.

0 commit comments

Comments
 (0)