@@ -109,7 +109,7 @@ public function downloadScaffold($dev = FALSE) {
109109 $ includes = $ this ->getIncludes ();
110110 // Check dev files if necessary.
111111 if ($ dev ) {
112- $ includes = array_merge ($ includes , $ this ->getDev ());
112+ $ includes = array_merge ($ includes , $ this ->getIncludesDev ());
113113 }
114114 $ files = array_diff ($ includes , $ this ->getExcludes ());
115115
@@ -271,8 +271,8 @@ protected function getIncludes() {
271271 *
272272 * @return array
273273 */
274- protected function getDev () {
275- return $ this ->getNamedOptionList ('dev ' , 'getDevDefault ' );
274+ protected function getIncludesDev () {
275+ return $ this ->getNamedOptionList ('includes- dev ' , 'getIncludesDevDefault ' );
276276 }
277277
278278 /**
@@ -313,8 +313,8 @@ protected function getOptions() {
313313 'omit-defaults ' => FALSE ,
314314 'excludes ' => [],
315315 'includes ' => [],
316+ 'includes-dev ' => [],
316317 'initial ' => [],
317- 'dev ' => [],
318318 'source ' => 'http://cgit.drupalcode.org/drupal/plain/{path}?h={version} ' ,
319319 // Github: https://raw.githubusercontent.com/drupal/drupal/{version}/{path}
320320 ];
@@ -355,7 +355,7 @@ protected function getIncludesDefault() {
355355 /**
356356 * Holds default dev files list.
357357 */
358- protected function getDevDefault () {
358+ protected function getIncludesDevDefault () {
359359 $ version = $ this ->getDrupalCoreVersion ($ this ->getDrupalCorePackage ());
360360 list ($ major , $ minor ) = explode ('. ' , $ version , 3 );
361361 $ version = "$ major. $ minor " ;
0 commit comments