Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat/blade] Fix tests for the laravel skeleton #260

Merged
merged 4 commits into from
Mar 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/NodeSandbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class NodeSandbox
/**
* Creates a new node sandbox instance.
*
* @param string
* @param string $path
* @return void
*/
public function __construct($path)
Expand Down Expand Up @@ -76,8 +76,8 @@ public function path()
/**
* Run the given commands.
*
* @param array<int, string>
* @return \Illuminate\Process\ProcessResult
* @param array<int, string> $commands
* @return \Illuminate\Contracts\Process\ProcessResult
*/
public function run($commands)
{
Expand Down
6 changes: 3 additions & 3 deletions app/Prettier.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Prettier
/**
* The node sandbox instance.
*
* @param \App\NodeSandbox
* @param \App\NodeSandbox $sandbox
* @return void
*/
public function __construct($sandbox)
Expand All @@ -25,8 +25,8 @@ public function __construct($sandbox)
/**
* Run the prettier command.
*
* @param array<int, string>
* @return \Illuminate\Process\ProcessResult
* @param array<int, string> $params
* @return \Illuminate\Contracts\Process\ProcessResult
*/
public function run($params = [])
{
Expand Down
5 changes: 4 additions & 1 deletion pint.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"exclude": [
"tests/Fixtures"
]
],
"rules": {
"Laravel/blade": false
}
}