@@ -154,7 +154,7 @@ public function downloadScaffold($dev = FALSE) {
154154 $ includes = $ this ->getIncludes ();
155155 // Check dev files if necessary.
156156 if ($ dev ) {
157- $ includes = array_merge ($ includes , $ this ->getDev ());
157+ $ includes = array_merge ($ includes , $ this ->getIncludesDev ());
158158 }
159159 $ files = array_diff ($ includes , $ this ->getExcludes ());
160160
@@ -317,8 +317,8 @@ protected function getIncludes() {
317317 *
318318 * @return array
319319 */
320- protected function getDev () {
321- return $ this ->getNamedOptionList ('dev ' , 'getDevDefault ' );
320+ protected function getIncludesDev () {
321+ return $ this ->getNamedOptionList ('includes- dev ' , 'getIncludesDevDefault ' );
322322 }
323323
324324 /**
@@ -359,8 +359,8 @@ protected function getOptions() {
359359 'omit-defaults ' => FALSE ,
360360 'excludes ' => [],
361361 'includes ' => [],
362+ 'includes-dev ' => [],
362363 'initial ' => [],
363- 'dev ' => [],
364364 'source ' => 'https://cgit.drupalcode.org/drupal/plain/{path}?h={version} ' ,
365365 // Github: https://raw.githubusercontent.com/drupal/drupal/{version}/{path}
366366 ];
@@ -401,7 +401,7 @@ protected function getIncludesDefault() {
401401 /**
402402 * Holds default dev files list.
403403 */
404- protected function getDevDefault () {
404+ protected function getIncludesDevDefault () {
405405 $ version = $ this ->getDrupalCoreVersion ($ this ->getDrupalCorePackage ());
406406 list ($ major , $ minor ) = explode ('. ' , $ version , 3 );
407407 $ version = "$ major. $ minor " ;
0 commit comments