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

style: apply cs-fixer #422

Merged
merged 1 commit into from
Jun 13, 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
2 changes: 0 additions & 2 deletions app/src/Domain/Category/Models/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

namespace Domain\Category\Models;

use Database\Factories\CategoryFactory;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

final class Category extends Model
Expand Down
2 changes: 0 additions & 2 deletions app/src/Domain/Product/Models/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

namespace Domain\Product\Models;

use Database\Factories\ProductFactory;
use Domain\Category\Models\Category;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

Expand Down
2 changes: 0 additions & 2 deletions app/src/Domain/User/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

namespace Domain\User\Models;

use Database\Factories\UserFactory;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;

Expand Down
3 changes: 3 additions & 0 deletions app/src/Support/StringUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

namespace Support;

use function strtolower;
use function ucwords;

/**
* This is a stub class, just to show purpose of Support layer.
*/
Expand All @@ -11,6 +14,6 @@
{
public static function toTitleCase(string $str): string
{
return ucwords(strtolower($str));

Check warning on line 17 in app/src/Support/StringUtils.php

View workflow job for this annotation

GitHub Actions / mutation-testing (ubuntu-latest, 8.3, locked)

Escaped Mutant for Mutator "UnwrapStrToLower": --- Original +++ New @@ @@ { public static function toTitleCase(string $str) : string { - return ucwords(strtolower($str)); + return ucwords($str); } }
}
}
Loading