protected function initialize(InputInterface $input, OutputInterface $output) { parent::initialize($input, $output); // Resolve the coding standard. $resolver = new StandardResolver(); $this->standard = $input->getOption('standard'); if ($resolver->hasStandard($this->standard)) { $this->standard = $resolver->resolve($this->standard); } $this->finder = Finder::create()->notPath('yui/build')->notPath('amd/build')->name('*.php')->name('*.js')->notName('*-min.js'); }
protected function configure() { parent::configure(); $this->setName('phplint')->setDescription('Run PHP Lint on a plugin'); }
protected function initialize(InputInterface $input, OutputInterface $output) { parent::initialize($input, $output); $this->initializeMoodle($input); }
protected function initialize(InputInterface $input, OutputInterface $output) { parent::initialize($input, $output); $this->initializeExecute($output, $this->getHelper('process')); }