We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11641fa commit f5a17abCopy full SHA for f5a17ab
RoboFileBase.php
@@ -33,6 +33,13 @@ abstract class RoboFileBase extends \Robo\Tasks {
33
*/
34
protected $phpcbfCmd = 'bin/phpcbf';
35
36
+ /**
37
+ * The phpstan command.
38
+ *
39
+ * @var string
40
+ */
41
+ protected $phpstanCmd = 'php ./bin/phpstan analyze';
42
+
43
protected $php_enable_module_command = 'phpenmod -v ALL';
44
protected $php_disable_module_command = 'phpdismod -v ALL';
45
@@ -619,6 +626,7 @@ public function devExportDb($name = 'dump') {
619
626
620
627
public function lintPhp($path = '') {
621
628
$this->_exec("$this->phpcsCmd $path");
629
+ $this->_exec($this->phpstanCmd);
622
630
}
623
631
624
632
/**
0 commit comments