Skip to content

Commit

Permalink
Merge pull request #23 from openeuropa/EWPP-4242
Browse files Browse the repository at this point in the history
EWPP-4242: Support D10.2 and drop D9.
  • Loading branch information
nagyad authored Apr 3, 2024
2 parents f5cd407 + 6fe022e commit 9b94e4a
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 20 deletions.
12 changes: 7 additions & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
- DOCUMENT_ROOT=/test/oe_dashboard_agent
- COMPOSERVER=--2
mysql:
image: registry.fpfis.eu/fpfis/sql:percona-5.7
image: git.fpfis.tech.ec.europa.eu/fpfis/dependency_proxy/containers/percona:5.7
command: --innodb-log-file-size=1G --max_allowed_packet=1G --innodb-buffer-pool-size=512M --wait_timeout=3000 --net_write_timeout=3000 --log_error_verbosity=3
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
Expand Down Expand Up @@ -61,9 +61,11 @@ pipeline:

matrix:
include:
- CORE_VERSION: 9.4.0
PHP_VERSION: 8.0
- CORE_VERSION: 9.4.0
- CORE_VERSION: 10.1.0
PHP_VERSION: 8.1
- CORE_VERSION: 10.0
- CORE_VERSION: 10.1.0
PHP_VERSION: 8.2
- CORE_VERSION: 10.2.0
PHP_VERSION: 8.1
- CORE_VERSION: 10.2.0
PHP_VERSION: 8.2
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=8.0",
"drupal/core": "^9.4 || ^10"
"php": ">=8.1",
"drupal/core": "^10"
},
"require-dev": {
"composer/installers": "~1.11",
"drupal/core-composer-scaffold": "^9.4 || ^10",
"drupal/core-composer-scaffold": "^10",
"drupal/datetime_testing": "^1.0-beta2",
"drupal/drupal-extension": "^5.0",
"drush/drush": "^11.1",
"drush/drush": "^12.4",
"openeuropa/code-review": "^2.0.0-alpha6",
"openeuropa/task-runner-drupal-project-symlink": "^1.0-beta6",
"phpspec/prophecy-phpunit": "^2",
Expand Down
2 changes: 1 addition & 1 deletion oe_dashboard_agent.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: "Agent used from the NextEuropa Dashboard. Provides an overview of
package: OpenEuropa

type: module
core_version_requirement: ^9.4 || ^10
core_version_requirement: ^10

dependencies:
- drupal:datetime
2 changes: 1 addition & 1 deletion oe_dashboard_agent.install
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* The OpenEuropa Dashboard Agent install file.
*/

declare(strict_types = 1);
declare(strict_types=1);

use Drupal\Core\Site\Settings;

Expand Down
2 changes: 1 addition & 1 deletion oe_dashboard_agent.module
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
* OpenEuropa Dashboard Agent module.
*/

declare(strict_types = 1);
declare(strict_types=1);
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ini name="memory_limit" value="-1"/>
<env name="SIMPLETEST_IGNORE_DIRECTORIES" value="${drupal.root}"/>
<env name="SIMPLETEST_BASE_URL" value="${drupal.base_url}"/>
<env name="SIMPLETEST_DB" value="mysql://${drupal.database.user}:${drupal.database.password}@${drupal.database.host}:${drupal.database.port}/${drupal.database.name}"/>
<env name="MINK_DRIVER_ARGS_WEBDRIVER" value='["${selenium.browser}", {"browserName":"chrome","chromeOptions":{"w3c": false, "args":["--no-sandbox", "--start-maximized", "--disable-gpu", "--window-size=1280,800", "--disable-dev-shm-usage", "--disable-setuid-sandbox", "--disable-web-security", "--DNS-prefetch-disable", "--disable-translate", "--ignore-certificate-errors", "--test-type", "--disable-extensions", "--incognito", "--disable-infobars"]}}, "${selenium.host}:${selenium.port}/wd/hub"]'/>
</php>
<testsuites>
<testsuite name="OpenEuropa Dashboard Agent">
Expand Down
2 changes: 1 addition & 1 deletion src/Access/DashboardAgentAccessCheck.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\oe_dashboard_agent\Access;

Expand Down
2 changes: 1 addition & 1 deletion src/Controller/ExtensionsController.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\oe_dashboard_agent\Controller;

Expand Down
2 changes: 1 addition & 1 deletion src/Controller/UliController.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\oe_dashboard_agent\Controller;

Expand Down
2 changes: 1 addition & 1 deletion src/Event/ExtensionsInfoAlterEvent.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\oe_dashboard_agent\Event;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: OpenEuropa Dashboard Agent Test
type: module
description: 'Support testing the dashboard agent.'
package: Testing
core_version_requirement: ^9.4 || ^10
core_version_requirement: ^10

dependencies:
- oe_dashboard_agent:oe_dashboard_agent
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\oe_dashboard_agent_test\EventSubscriber;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/Functional/DashboardAgentTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\oe_dashboard_agent\src\Functional;

Expand Down

0 comments on commit 9b94e4a

Please sign in to comment.