Skip to content

Commit 4f9c6bf

Browse files
author
Liopold D. Novelli
committed
chore: MCD-601: Drupal 11 upgrade.
1 parent e88fc20 commit 4f9c6bf

File tree

4 files changed

+9
-15
lines changed

4 files changed

+9
-15
lines changed

README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,7 @@ Major version numbers match Drupal core compatibility, e.g.
2323
9.3.x -> Drupal 9.3.x
2424
9.4.x -> Drupal 9.4.x
2525
10.x -> Drupal 10.x
26-
27-
## Releases
28-
29-
After changes in a branch we need to create a new appropriate release.
30-
31-
8.x -> 8.8.0, 8.8.1, ...
32-
9.x -> 8.9.0, 8.9.1, ...
33-
9.1.x -> 9.1.0, 9.1.1, ...
34-
9.2.x -> 9.2.0, 9.2.1, ...
35-
9.3.x -> 9.3.0, 9.3.1, ...
36-
9.4.x -> 9.4.0, 9.4.1, ...
37-
10.x -> 10.0.0, 10.0.1, ...
26+
11.x -> Drupal 11.x
3827

3928
## Scope
4029

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
},
1717
"minimum-stability": "dev",
1818
"require-dev": {
19-
"phpunit/phpunit": "^9.5.0",
19+
"phpunit/phpunit": "^10.0",
2020
"drupal/pathauto": "^1.11",
2121
"drupal/coder": "^8.3",
2222
"phpspec/prophecy-phpunit": "^2.0",
23-
"drupal/core": "^10"
23+
"drupal/core": "^11"
2424
},
2525
"repositories": {
2626
"0": {
@@ -35,7 +35,8 @@
3535
},
3636
"config": {
3737
"allow-plugins": {
38-
"dealerdirect/phpcodesniffer-composer-installer": true
38+
"dealerdirect/phpcodesniffer-composer-installer": true,
39+
"drupal/core-composer-scaffold": true
3940
}
4041
}
4142
}

tests/src/Core/Extension/ModuleHandlerTraitTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use drunomics\ServiceUtils\Core\Extension\ModuleHandlerTrait;
77
use Drupal\Core\DependencyInjection\Container;
88
use Drupal\Core\Extension\ModuleHandlerInterface;
9+
use Prophecy\PhpUnit\ProphecyTrait;
910

1011
/**
1112
* @coversDefaultClass \drunomics\ServiceUtils\Core\Extension\ModuleHandlerTrait
@@ -14,6 +15,7 @@
1415
class ModuleHandlerTraitTest extends TestCase {
1516

1617
use ModuleHandlerTrait;
18+
use ProphecyTrait;
1719

1820
/**
1921
* The id of the trait's service.

tests/src/Core/Language/LanguageManagerTraitTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use Drupal\Core\Language\LanguageManagerInterface;
77
use drunomics\ServiceUtils\Core\Language\LanguageManagerTrait;
88
use PHPUnit\Framework\TestCase;
9+
use Prophecy\PhpUnit\ProphecyTrait;
910

1011
/**
1112
* @coversDefaultClass \drunomics\ServiceUtils\Core\Language\LanguageMananagerTrait
@@ -14,6 +15,7 @@
1415
class LanguageManagerTraitTest extends TestCase {
1516

1617
use LanguageManagerTrait;
18+
use ProphecyTrait;
1719

1820
/**
1921
* The id of the trait's service.

0 commit comments

Comments
 (0)