소스 검색

Change auth badge to lowercase, fix lint

shalvah 5 년 전
부모
커밋
b252f8bf7c
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      phpstan.neon
  2. 1 1
      resources/views/components/badges/auth.blade.php

+ 1 - 0
phpstan.neon

@@ -8,6 +8,7 @@ parameters:
         - '#Call to an undefined static method Illuminate\\Support\\Facades\\URL::formatRoot()#'
         - '#Cannot access offset .+ on Illuminate\\Contracts\\Foundation\\Application.#'
         - '#Call to an undefined method Illuminate\\Routing\\Route::versions().#'
+        - '#Call to an undefined method Illuminate\\Contracts\\Validation\\Validator::getRules().#'
         - '#(.*)NunoMaduro\\Collision(.*)#'
         - '#Instantiated class Whoops\\Exception\\Inspector not found\.#'
         - '#.+Dingo.+#'

+ 1 - 1
resources/views/components/badges/auth.blade.php

@@ -1,3 +1,3 @@
-@if($authenticated)@component('scribe::components.badges.base', ['colour' => "darkred", 'text' => 'REQUIRES AUTHENTICATION'])
+@if($authenticated)@component('scribe::components.badges.base', ['colour' => "darkred", 'text' => 'requires authentication'])
 @endcomponent
 @endif