Commit 8418bb7
Drupal 9 compatibility for 3.x (#1102)
* Update core_version_requirement for Drupal 8.8+ and 9+
'core: 8.x' not needed for 8.8+
'core_version_requirement' not needed for test modules
https://www.drupal.org/node/3070687
Co-authored-by: Damien McKenna <damien@mc-kenna.com>
* Test D9.0 on Travis CI
* Replace deprecated drupal_set_message() with messenger->addMessage()
Co-authored-by: Damien McKenna <damien@mc-kenna.com>
* Replace deprecated file_directory_temp() with getTempDirectory()
Co-authored-by: Damien McKenna <damien@mc-kenna.com>
* Replace deprecated PHPUnit_Framework_MockObject_MockObject with PHPUnit\Framework\MockObject\MockObject
Co-authored-by: Damien McKenna <damien@mc-kenna.com>
* Replace deprecated RouteEnhancerInterface with EnhancerInterface
Co-authored-by: Damien McKenna <damien@mc-kenna.com>
* Remove deprecated PHPUnit_Framework_Error_Warning
* Replace 'core: 8.x' with 'core_version_requirement: ^8.8 || ^9'
* Replace deprecated entity.manager with entity_type.manager
* Must enable the path_alias module in tests
* Replace deprecated url() with createFileUrl(FALSE)
* Assert menu is an object, rather than assert it is true
* chore: adjust things mentioned in #1067
* chore: adjust info.yml files for test modules
* chore: trigger travis build
* chore: keep composer at version 1
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Damien McKenna <damien@mc-kenna.com>1 parent 94cbcd4 commit 8418bb7
21 files changed
Lines changed: 69 additions & 55 deletions
File tree
- modules/graphql_core
- tests
- modules
- graphql_block_test
- graphql_breadcrumbs_test
- graphql_context_test
- graphql_requests_test
- src/Kernel
- Entity
- Images
- Menu
- src
- Form
- Routing
- tests
- modules
- graphql_enum_test
- graphql_override_test
- graphql_plugin_test
- graphql_test
- src
- Kernel
- Framework
- Traits
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
31 | 43 | | |
32 | 44 | | |
33 | 45 | | |
| |||
62 | 74 | | |
63 | 75 | | |
64 | 76 | | |
65 | | - | |
66 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
67 | 80 | | |
68 | 81 | | |
69 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
Lines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | | - | |
| 8 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | | - | |
| 7 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments