File tree Expand file tree Collapse file tree 5 files changed +23
-23
lines changed Expand file tree Collapse file tree 5 files changed +23
-23
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 ' => [],
Original file line number Diff line number Diff line change 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 }
Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff line change 88use Symfony \Component \HttpFoundation \Request ;
99use Symfony \Component \Routing \Route ;
1010
11- class TestDrupalKernel extends DrupalKernel{
11+ class TestDrupalKernel extends DrupalKernel {
1212
1313 /**
1414 * TestDrupalKernel constructor.
You can’t perform that action at this time.
0 commit comments