-
Notifications
You must be signed in to change notification settings - Fork 1
/
upgrade-info.html
204 lines (163 loc) · 6.5 KB
/
upgrade-info.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE html>
<html>
<head>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:600italic,400,700,600' rel='stylesheet' type='text/css' />
<style type="text/css">
<!--
body {
width: 80%;
color: #343434;
margin: 1em auto;
font-family: 'Open Sans', Verdana, sans-serif;
}
details {
font-size: 18px;
line-height: 25px;
margin-bottom: 2em;
display: block;
}
details summary {
padding: 1em;
margin-bottom: 1em;
display: block;
}
details.error summary {
background-color: #ffd5d5;
}
details.warning summary {
background-color: #fff3bb;
}
a {
color: #095cb1;
font-weight: bold;
text-decoration: none;
}
h5 {
font-size: 1em;
}
aside {
font-style: italic;
line-height: 20px;
font-size: 15px;
}
.group {
border: 1px solid #ececec;
padding: 1em;
display: block;
}
.group > summary {
padding: 0;
color: #c8c8c8;
margin-bottom: 0;;
font-weight: bold;
letter-spacing: .1em;
text-transform: uppercase;
display: block;
}
.group[open] > summary {
margin-bottom: 1em;
}
.group > details:last-child {
margin-bottom: 0;
}
-->
</style>
</head>
<body>
<details open="true" class="group">
<summary></summary>
<details class="error">
<summary>The signature of hook_form_alter() has changed in Drupal 8.</summary>
<h5>Documentation</h5>
<ul>
<li><a target="_blank" href="https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Form%21form.api.php/function/hook_form_alter/8"><code>hook_form_alter()</code> documentation</a></li>
</ul>
<h5>Files Affected</h5>
<ul>
<li>/var/www/html/drupal/modules/webform_rules/webform_rules.module, line 47</li>
</ul>
<aside>Flagged by hook_form_alter</aside> </details>
<details class="warning">
<summary>Many common functions, shared variables, and constants have been renamed.</summary>
<h5>Documentation</h5>
<ul>
<li><a target="_blank" href="https://www.drupal.org/node/2324935">The global theme variables have been replaced by an ActiveTheme object</a></li>
</ul>
</details>
<details class="error">
<summary>Automated web tests must be in a PSR-4 namespace, and unit tests must be converted to PHPUnit.</summary>
<h5>Documentation</h5>
<ul>
<li><a target="_blank" href="https://www.drupal.org/node/1543796">Namespacing of automated tests has changed</a></li>
<li><a target="_blank" href="https://www.drupal.org/node/2301125"><code>getInfo()</code> in test classes replaced by doc comments</a></li>
<li><a target="_blank" href="https://www.drupal.org/node/1710766">Test classes should define a <code>$modules</code> property declaring dependencies</a></li>
<li><a target="_blank" href="https://www.drupal.org/node/1911318">SimpleTest tests now use empty "testing" profile by default</a></li>
<li><a target="_blank" href="https://www.drupal.org/node/1829160">New <code>KernelTestBase</code> class for API-level integration tests</a></li>
<li><a target="_blank" href="https://www.drupal.org/node/2012184">PHPUnit added to Drupal core</a></li>
</ul>
</details>
<details class="error">
<summary><code>drupal_render()</code> has been removed.</summary>
<h5>Files Affected</h5>
<ul>
<li>/var/www/html/drupal/modules/webform_rules/webform_rules.module, line 335</li>
</ul>
<aside>Flagged by _function_call:drupal_render</aside> </details>
<details class="error">
<summary><code>node_save()</code> has been removed.</summary>
<h5>Documentation</h5>
<ul>
<li><a target="_blank" href="https://www.drupal.org/node/2266845">Entities are now classed objects implementing <code>EntityInterface</code></a></li>
</ul>
<h5>Files Affected</h5>
<ul>
<li>/var/www/html/drupal/modules/webform_rules/webform_rules.rules.inc, line 249</li>
</ul>
<aside>Flagged by _function_call:node_save</aside> </details>
<details class="error">
<summary>Module info files' <code>core</code> key must have a value of <code>8.x</code>.</summary>
<h5>Documentation</h5>
<ul>
<li><a target="_blank" href="https://www.drupal.org/node/1935708"><code>.info</code> files are now <code>.info.yml</code> files</a></li>
</ul>
<h5>Files Affected</h5>
<ul>
<li>/var/www/html/drupal/modules/webform_rules/webform_rules.info</li>
</ul>
<aside>Flagged by info</aside> </details>
<details class="error">
<summary>Info files must contain a <code>type</code> key.</summary>
<h5>Documentation</h5>
<ul>
<li><a target="_blank" href="https://www.drupal.org/node/1935708#type"><code>.info</code> files are now <code>.info.yml</code> files</a></li>
</ul>
<h5>Files Affected</h5>
<ul>
<li>/var/www/html/drupal/modules/webform_rules/webform_rules.info</li>
</ul>
<aside>Flagged by info</aside> </details>
<details class="error">
<summary>Many common dependencies have moved into core.</summary>
<h5>Documentation</h5>
<ul>
<li><a target="_blank" href="https://www.drupal.org/node/1935708"><code>.info</code> files are now <code>.info.yml</code> files</a></li>
</ul>
<h5>Files Affected</h5>
<ul>
<li>/var/www/html/drupal/modules/webform_rules/webform_rules.info</li>
</ul>
<aside>Flagged by info</aside> </details>
<details class="error">
<summary>Modules no longer declare classes in their info file.</summary>
<h5>Documentation</h5>
<ul>
<li><a target="_blank" href="https://www.drupal.org/node/1935708#files"><code>.info</code> files are now <code>.info.yml</code> files</a></li>
</ul>
<h5>Files Affected</h5>
<ul>
<li>/var/www/html/drupal/modules/webform_rules/webform_rules.info</li>
</ul>
<aside>Flagged by info</aside> </details>
</details>
</body>
</html>