@@ -133,7 +133,7 @@ public function downloadScaffold($dev = FALSE) {
133133 $ includes = $ this ->getIncludes ();
134134 // Check dev files if necessary.
135135 if ($ dev ) {
136- $ includes = array_merge ($ includes , $ this ->getDev ());
136+ $ includes = array_merge ($ includes , $ this ->getIncludesDev ());
137137 }
138138 $ files = array_diff ($ includes , $ this ->getExcludes ());
139139
@@ -296,8 +296,8 @@ protected function getIncludes() {
296296 *
297297 * @return array
298298 */
299- protected function getDev () {
300- return $ this ->getNamedOptionList ('dev ' , 'getDevDefault ' );
299+ protected function getIncludesDev () {
300+ return $ this ->getNamedOptionList ('includes- dev ' , 'getIncludesDevDefault ' );
301301 }
302302
303303 /**
@@ -338,8 +338,8 @@ protected function getOptions() {
338338 'omit-defaults ' => FALSE ,
339339 'excludes ' => [],
340340 'includes ' => [],
341+ 'includes-dev ' => [],
341342 'initial ' => [],
342- 'dev ' => [],
343343 'source ' => 'https://cgit.drupalcode.org/drupal/plain/{path}?h={version} ' ,
344344 // Github: https://raw.githubusercontent.com/drupal/drupal/{version}/{path}
345345 ];
@@ -380,7 +380,7 @@ protected function getIncludesDefault() {
380380 /**
381381 * Holds default dev files list.
382382 */
383- protected function getDevDefault () {
383+ protected function getIncludesDevDefault () {
384384 $ version = $ this ->getDrupalCoreVersion ($ this ->getDrupalCorePackage ());
385385 list ($ major , $ minor ) = explode ('. ' , $ version , 3 );
386386 $ version = "$ major. $ minor " ;
0 commit comments