Merge "Declare dynamic properties"
[lhc/web/wiklou.git] / maintenance / mwdocgen.php
index 4a50cc5..4401ea8 100644 (file)
@@ -42,6 +42,26 @@ require_once __DIR__ . '/Maintenance.php';
  * @ingroup Maintenance
  */
 class MWDocGen extends Maintenance {
+       /** @var string */
+       private $doxygen;
+       /** @var string */
+       private $mwVersion;
+       /** @var string */
+       private $output;
+       /** @var string */
+       private $input;
+       /** @var string */
+       private $inputFilter;
+       /** @var string */
+       private $template;
+       /** @var string[] */
+       private $excludes;
+       /** @var string[] */
+       private $excludePatterns;
+       /** @var bool */
+       private $doDot;
+       /** @var bool */
+       private $doMan;
 
        /**
         * Prepare Maintenance class
@@ -100,10 +120,17 @@ class MWDocGen extends Maintenance {
                        'resources/lib',
                        'images',
                        'static',
+                       'tests',
+                       'includes/libs/Message/README.md',
+                       'includes/libs/objectcache/README.md',
+                       'includes/libs/ParamValidator/README.md',
+                       'maintenance/benchmarks/README.md',
+                       'resources/src/mediawiki.ui/styleguide.md',
                ];
                $this->excludePatterns = [];
                if ( $this->hasOption( 'no-extensions' ) ) {
                        $this->excludePatterns[] = 'extensions';
+                       $this->excludePatterns[] = 'skins';
                }
 
                $this->doDot = shell_exec( 'which dot' );