Skip to content

Instantly share code, notes, and snippets.

@lesstif
Created December 13, 2017 04:17
Show Gist options
  • Save lesstif/d99cbf956b03b8d930462709c39c211f to your computer and use it in GitHub Desktop.
Save lesstif/d99cbf956b03b8d930462709c39c211f to your computer and use it in GitHub Desktop.
styleci configuration file for laravel project
preset: laravel
disabled:
# - self_accessor
enabled:
- mb_str_functions
- no_homoglyph_names
- psr4
- non_printable_character
- random_api_migration
- declare_strict_types
- final_internal_class
- void_return
- strict_comparison
- simplified_null_return
- final_internal_class
- ereg_to_preg
finder:
# include:
# - "app"
# - "src"
not-name:
- "*.php.twig"
not-path:
- "src/StyleCI/Fixers.php"
exclude:
- "vendors"
- "storage"
- "node_modules"
@otilor
Copy link

otilor commented Oct 28, 2020

I tried it, but I'm getting this error. We failed to save your config. The risky 'mb_str_functions' fixer cannot be enabled because risky mode is not enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment