pint.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "preset": "laravel",
  3. "rules": {
  4. "global_namespace_import": {
  5. "import_classes": true,
  6. "import_constants": true
  7. },
  8. "phpdoc_types": false,
  9. "combine_consecutive_issets": true,
  10. "combine_consecutive_unsets": true,
  11. "explicit_string_variable": true,
  12. "method_chaining_indentation": true,
  13. "no_binary_string": false,
  14. "strict_comparison": true,
  15. "strict_param": true,
  16. "ternary_to_null_coalescing": true,
  17. "blank_line_before_statement": {
  18. "statements": [
  19. "break",
  20. "case",
  21. "continue",
  22. "declare",
  23. "default",
  24. "do",
  25. "exit",
  26. "for",
  27. "foreach",
  28. "goto",
  29. "if",
  30. "include",
  31. "include_once",
  32. "phpdoc",
  33. "require",
  34. "require_once",
  35. "return",
  36. "switch",
  37. "throw",
  38. "try",
  39. "while",
  40. "yield",
  41. "yield_from"
  42. ]
  43. }
  44. }
  45. }