Remove phpstan configuration for loading WordPress
[MAILPOET-2837]
This commit is contained in:
committed by
Veljko V
parent
745c817ec1
commit
8b58167ed9
@ -509,9 +509,6 @@ class RoboFile extends \Robo\Tasks {
|
|||||||
// temp dir
|
// temp dir
|
||||||
->taskExec('mkdir -p ' . __DIR__ . '/temp')
|
->taskExec('mkdir -p ' . __DIR__ . '/temp')
|
||||||
->taskExec('rm -rf ' . __DIR__ . '/temp/phpstan')
|
->taskExec('rm -rf ' . __DIR__ . '/temp/phpstan')
|
||||||
// Generate config with correct path to WP source
|
|
||||||
->taskExec("cp -rf $dir/tasks/phpstan/phpstan-wp-source.neon $dir/tasks/phpstan/_phpstan-wp-source.neon")
|
|
||||||
->taskExec("sed -i 's+WP_ROOT+" . getenv('WP_ROOT') . "+g' $dir/tasks/phpstan/_phpstan-wp-source.neon")
|
|
||||||
// lib
|
// lib
|
||||||
->taskExec($task)
|
->taskExec($task)
|
||||||
->arg("$dir/lib")
|
->arg("$dir/lib")
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
parameters:
|
|
||||||
scanDirectories:
|
|
||||||
- WP_ROOT/wp-includes
|
|
||||||
- WP_ROOT/wp-admin/includes/
|
|
Reference in New Issue
Block a user