cosmetic
parent
ff78d530cf
commit
f2b1c3f093
|
@ -282,7 +282,7 @@ class phpstan extends Action
|
||||||
|
|
||||||
private function writeConf(): bool
|
private function writeConf(): bool
|
||||||
{
|
{
|
||||||
$full = $this->getSetting('ignored_default') ? '' : 'full.';
|
$full = $this->getSetting('ignored_default') ? '' : 'full.';
|
||||||
$content = str_replace(
|
$content = str_replace(
|
||||||
[
|
[
|
||||||
'%LEVEL%',
|
'%LEVEL%',
|
||||||
|
@ -294,7 +294,7 @@ class phpstan extends Action
|
||||||
$this->run_level,
|
$this->run_level,
|
||||||
(string) path::real($this->module['sroot'], false),
|
(string) path::real($this->module['sroot'], false),
|
||||||
(string) path::real(DC_ROOT, false),
|
(string) path::real(DC_ROOT, false),
|
||||||
(string) path::real( __DIR__ . '/phpstan', false),
|
(string) path::real(__DIR__ . '/phpstan', false),
|
||||||
],
|
],
|
||||||
(string) file_get_contents(__DIR__ . '/phpstan/phpstan.rules.' . $full . 'conf')
|
(string) file_get_contents(__DIR__ . '/phpstan/phpstan.rules.' . $full . 'conf')
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue