瀏覽代碼

Create phpstan.neon

Shlee 1 周之前
父節點
當前提交
d7a22998ec
共有 1 個文件被更改,包括 23 次插入0 次删除
  1. 23 0
      phpstan.neon

+ 23 - 0
phpstan.neon

@@ -0,0 +1,23 @@
+includes:
+    - vendor/larastan/larastan/extension.neon
+
+parameters:
+    # Level 10 is the highest level
+    level: 1
+
+    paths:
+        - app/
+        - bootstrap/
+        - config/
+        - database/
+        - resources/
+        - routes/
+        - tests/
+
+    excludePaths:
+        - bootstrap/cache/*
+        - storage/
+        - vendor/
+
+#    ignoreErrors:
+#        - '#PHPDoc tag @var#'