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