From b94e79659b8660e9ef2c1bcbd2b4dbe33371de2d Mon Sep 17 00:00:00 2001 From: Julius Kiekbusch Date: Sun, 17 Mar 2024 20:02:13 +0100 Subject: [PATCH 1/4] Fix tests for the laravel skeleton --- pint.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pint.json b/pint.json index 42fe6d22..3a825200 100644 --- a/pint.json +++ b/pint.json @@ -1,5 +1,8 @@ { "exclude": [ "tests/Fixtures" - ] + ], + "rules": { + "Laravel/blade": false + } } From e68acf4ef08f1c856c96b1da7fc0199209f0fd8f Mon Sep 17 00:00:00 2001 From: Julius Kiekbusch Date: Sun, 17 Mar 2024 20:06:19 +0100 Subject: [PATCH 2/4] Fix static analysis --- app/NodeSandbox.php | 4 ++-- app/Prettier.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/NodeSandbox.php b/app/NodeSandbox.php index 14a83ba9..9f8ff745 100644 --- a/app/NodeSandbox.php +++ b/app/NodeSandbox.php @@ -31,7 +31,7 @@ class NodeSandbox /** * Creates a new node sandbox instance. * - * @param string + * @param string $path * @return void */ public function __construct($path) @@ -76,7 +76,7 @@ public function path() /** * Run the given commands. * - * @param array + * @param array $commands * @return \Illuminate\Process\ProcessResult */ public function run($commands) diff --git a/app/Prettier.php b/app/Prettier.php index 0ea33ad4..6db8521b 100644 --- a/app/Prettier.php +++ b/app/Prettier.php @@ -14,7 +14,7 @@ class Prettier /** * The node sandbox instance. * - * @param \App\NodeSandbox + * @param \App\NodeSandbox $sandbox * @return void */ public function __construct($sandbox) @@ -25,7 +25,7 @@ public function __construct($sandbox) /** * Run the prettier command. * - * @param array + * @param array $params * @return \Illuminate\Process\ProcessResult */ public function run($params = []) From eaff017083b26bd07a5fdab49e8324830ce9b465 Mon Sep 17 00:00:00 2001 From: Julius Kiekbusch Date: Sun, 17 Mar 2024 20:08:11 +0100 Subject: [PATCH 3/4] Fix static analysis --- app/Prettier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Prettier.php b/app/Prettier.php index 6db8521b..db4d3848 100644 --- a/app/Prettier.php +++ b/app/Prettier.php @@ -26,7 +26,7 @@ public function __construct($sandbox) * Run the prettier command. * * @param array $params - * @return \Illuminate\Process\ProcessResult + * @return \Illuminate\Contracts\Process\ProcessResult */ public function run($params = []) { From 6c66735d647ae5cbf73f7e908b70bb6da98d02c2 Mon Sep 17 00:00:00 2001 From: Julius Kiekbusch Date: Sun, 17 Mar 2024 20:10:08 +0100 Subject: [PATCH 4/4] Fix failing tests --- app/NodeSandbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/NodeSandbox.php b/app/NodeSandbox.php index 9f8ff745..2af601fe 100644 --- a/app/NodeSandbox.php +++ b/app/NodeSandbox.php @@ -77,7 +77,7 @@ public function path() * Run the given commands. * * @param array $commands - * @return \Illuminate\Process\ProcessResult + * @return \Illuminate\Contracts\Process\ProcessResult */ public function run($commands) {