@@ -109,7 +109,7 @@ public function downloadScaffold($dev = FALSE) {
109
109
$ includes = $ this ->getIncludes ();
110
110
// Check dev files if necessary.
111
111
if ($ dev ) {
112
- $ includes = array_merge ($ includes , $ this ->getDev ());
112
+ $ includes = array_merge ($ includes , $ this ->getIncludesDev ());
113
113
}
114
114
$ files = array_diff ($ includes , $ this ->getExcludes ());
115
115
@@ -271,8 +271,8 @@ protected function getIncludes() {
271
271
*
272
272
* @return array
273
273
*/
274
- protected function getDev () {
275
- return $ this ->getNamedOptionList ('dev ' , 'getDevDefault ' );
274
+ protected function getIncludesDev () {
275
+ return $ this ->getNamedOptionList ('includes- dev ' , 'getIncludesDevDefault ' );
276
276
}
277
277
278
278
/**
@@ -313,8 +313,8 @@ protected function getOptions() {
313
313
'omit-defaults ' => FALSE ,
314
314
'excludes ' => [],
315
315
'includes ' => [],
316
+ 'includes-dev ' => [],
316
317
'initial ' => [],
317
- 'dev ' => [],
318
318
'source ' => 'http://cgit.drupalcode.org/drupal/plain/{path}?h={version} ' ,
319
319
// Github: https://raw.githubusercontent.com/drupal/drupal/{version}/{path}
320
320
];
@@ -355,7 +355,7 @@ protected function getIncludesDefault() {
355
355
/**
356
356
* Holds default dev files list.
357
357
*/
358
- protected function getDevDefault () {
358
+ protected function getIncludesDevDefault () {
359
359
$ version = $ this ->getDrupalCoreVersion ($ this ->getDrupalCorePackage ());
360
360
list ($ major , $ minor ) = explode ('. ' , $ version , 3 );
361
361
$ version = "$ major. $ minor " ;
0 commit comments