takeawaytown/laravel-uuid

View on GitHub

Showing 109 of 109 total issues

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {
Severity: Minor
Found in src/Traits/Uuid.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

    });
Severity: Minor
Found in src/Traits/Uuid.php by phpcodesniffer

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    $match = preg_match(Uuid::REGEX, $uuid);
Severity: Minor
Found in src/Traits/Uuid.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

  protected static function boot()
Severity: Minor
Found in src/Traits/Uuid.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    if (!is_string($uuid) || $match !== 1)
Severity: Minor
Found in src/Traits/Uuid.php by phpcodesniffer

Line indented incorrectly; expected at least 4 spaces, found 2
Open

  {
Severity: Minor
Found in src/Traits/Uuid.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

    }
Severity: Minor
Found in src/Traits/Uuid.php by phpcodesniffer

Line indented incorrectly; expected 12 spaces, found 6
Open

      }
Severity: Minor
Found in src/Traits/Uuid.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

  public function scopeUuid($query, $uuid, $first = true)
Severity: Minor
Found in src/Traits/Uuid.php by phpcodesniffer

Line indented incorrectly; expected at least 12 spaces, found 6
Open

      throw (new ModelNotFoundException)->setModel(get_class($this));
Severity: Minor
Found in src/Traits/Uuid.php by phpcodesniffer

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    $results = $query->where(config('uuid.uuid_column'), $uuid);
Severity: Minor
Found in src/Traits/Uuid.php by phpcodesniffer

Line indented incorrectly; expected at least 4 spaces, found 2
Open

  {

Line indented incorrectly; expected at least 8 spaces, found 6
Open

      $this->mergeConfigFrom(

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        realpath(__DIR__.'/../../config/uuid.php') => config_path('uuid.php'),

Line indented incorrectly; expected 4 spaces, found 2
Open

  public function register()

Line indented incorrectly; expected at least 4 spaces, found 2
Open

  {
Severity: Minor
Found in src/Traits/Uuid.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

  }
Severity: Minor
Found in src/Traits/Uuid.php by phpcodesniffer

Line indented incorrectly; expected at least 4 spaces, found 2
Open

  {

Line indented incorrectly; expected at least 12 spaces, found 6
Open

      $this->publishes([
Severity
Category
Status
Source
Language