@@ -110,7 +110,7 @@ public function downloadScaffold($dev = FALSE) {
110110    $ includes  = $ this  ->getIncludes ();
111111    // Check dev files if necessary. 
112112    if  ($ dev ) {
113-       $ includes  = array_merge ($ includes , $ this  ->getDev ());
113+       $ includes  = array_merge ($ includes , $ this  ->getIncludesDev ());
114114    }
115115    $ files  = array_diff ($ includes , $ this  ->getExcludes ());
116116
@@ -272,8 +272,8 @@ protected function getIncludes() {
272272   * 
273273   * @return array 
274274   */ 
275-   protected  function  getDev () {
276-     return  $ this  ->getNamedOptionList ('dev ' , 'getDevDefault ' );
275+   protected  function  getIncludesDev () {
276+     return  $ this  ->getNamedOptionList ('includes- dev ' , 'getIncludesDevDefault ' );
277277  }
278278
279279  /** 
@@ -314,8 +314,8 @@ protected function getOptions() {
314314      'omit-defaults '  => FALSE ,
315315      'excludes '  => [],
316316      'includes '  => [],
317+       'includes-dev '  => [],
317318      'initial '  => [],
318-       'dev '  => [],
319319      'source '  => 'http://cgit.drupalcode.org/drupal/plain/{path}?h={version} ' ,
320320      // Github: https://raw.githubusercontent.com/drupal/drupal/{version}/{path} 
321321    ];
@@ -356,7 +356,7 @@ protected function getIncludesDefault() {
356356  /** 
357357   * Holds default dev files list. 
358358   */ 
359-   protected  function  getDevDefault () {
359+   protected  function  getIncludesDevDefault () {
360360    $ version  = $ this  ->getDrupalCoreVersion ($ this  ->getDrupalCorePackage ());
361361    list ($ major , $ minor ) = explode ('. ' , $ version , 3 );
362362    $ version  = "$ major. $ minor " ;
0 commit comments