@@ -133,7 +133,7 @@ public function downloadScaffold($dev = FALSE) {
133
133
$ includes = $ this ->getIncludes ();
134
134
// Check dev files if necessary.
135
135
if ($ dev ) {
136
- $ includes = array_merge ($ includes , $ this ->getDev ());
136
+ $ includes = array_merge ($ includes , $ this ->getIncludesDev ());
137
137
}
138
138
$ files = array_diff ($ includes , $ this ->getExcludes ());
139
139
@@ -296,8 +296,8 @@ protected function getIncludes() {
296
296
*
297
297
* @return array
298
298
*/
299
- protected function getDev () {
300
- return $ this ->getNamedOptionList ('dev ' , 'getDevDefault ' );
299
+ protected function getIncludesDev () {
300
+ return $ this ->getNamedOptionList ('includes- dev ' , 'getIncludesDevDefault ' );
301
301
}
302
302
303
303
/**
@@ -338,8 +338,8 @@ protected function getOptions() {
338
338
'omit-defaults ' => FALSE ,
339
339
'excludes ' => [],
340
340
'includes ' => [],
341
+ 'includes-dev ' => [],
341
342
'initial ' => [],
342
- 'dev ' => [],
343
343
'source ' => 'https://cgit.drupalcode.org/drupal/plain/{path}?h={version} ' ,
344
344
// Github: https://raw.githubusercontent.com/drupal/drupal/{version}/{path}
345
345
];
@@ -380,7 +380,7 @@ protected function getIncludesDefault() {
380
380
/**
381
381
* Holds default dev files list.
382
382
*/
383
- protected function getDevDefault () {
383
+ protected function getIncludesDevDefault () {
384
384
$ version = $ this ->getDrupalCoreVersion ($ this ->getDrupalCorePackage ());
385
385
list ($ major , $ minor ) = explode ('. ' , $ version , 3 );
386
386
$ version = "$ major. $ minor " ;
0 commit comments