mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Update .scrutinizer.yml
This commit is contained in:
parent
e7829ecc38
commit
c137255155
@ -1,47 +1,37 @@
|
|||||||
# .scrutinizer.yml
|
---
|
||||||
tools:
|
build:
|
||||||
external_code_coverage: false
|
nodes:
|
||||||
filter:
|
analysis:
|
||||||
paths:
|
project_setup:
|
||||||
- app/*
|
override: true
|
||||||
- public/js/ff/*
|
tests:
|
||||||
excluded_paths:
|
override:
|
||||||
- "database/migrations/*"
|
- php-scrutinizer-run
|
||||||
- "bootstrap/*"
|
|
||||||
- "config/*"
|
|
||||||
- "docker/*"
|
|
||||||
- "public/js/lib/*"
|
|
||||||
- "public/lib/adminlte/js/*"
|
|
||||||
- "public/lib/bootstrap/js/*"
|
|
||||||
- "resources/*"
|
|
||||||
- "routes/*"
|
|
||||||
- "storage/*"
|
|
||||||
checks:
|
checks:
|
||||||
|
javascript: true
|
||||||
php:
|
php:
|
||||||
use_self_instead_of_fqcn: true
|
align_assignments: true
|
||||||
uppercase_constants: true
|
|
||||||
return_doc_comments: true
|
|
||||||
return_doc_comment_if_not_inferrable: true
|
|
||||||
remove_extra_empty_lines: true
|
|
||||||
parameter_doc_comments: true
|
|
||||||
optional_parameters_at_the_end: true
|
|
||||||
no_short_variable_names:
|
|
||||||
minimum: '3'
|
|
||||||
no_short_method_names:
|
|
||||||
minimum: '3'
|
|
||||||
no_long_variable_names:
|
|
||||||
maximum: '20'
|
|
||||||
no_goto: true
|
|
||||||
newline_at_end_of_file: true
|
|
||||||
encourage_single_quotes: true
|
|
||||||
avoid_todo_comments: true
|
|
||||||
avoid_perl_style_comments: true
|
|
||||||
avoid_fixme_comments: true
|
avoid_fixme_comments: true
|
||||||
avoid_multiple_statements_on_same_line: true
|
avoid_multiple_statements_on_same_line: true
|
||||||
align_assignments: true
|
avoid_perl_style_comments: true
|
||||||
|
avoid_todo_comments: true
|
||||||
duplication: false
|
duplication: false
|
||||||
javascript: true
|
encourage_single_quotes: true
|
||||||
|
newline_at_end_of_file: true
|
||||||
|
no_goto: true
|
||||||
|
no_long_variable_names:
|
||||||
|
maximum: "20"
|
||||||
|
no_short_method_names:
|
||||||
|
minimum: "3"
|
||||||
|
no_short_variable_names:
|
||||||
|
minimum: "3"
|
||||||
|
optional_parameters_at_the_end: true
|
||||||
|
parameter_doc_comments: true
|
||||||
|
remove_extra_empty_lines: true
|
||||||
|
return_doc_comment_if_not_inferrable: true
|
||||||
|
return_doc_comments: true
|
||||||
|
uppercase_constants: true
|
||||||
|
use_self_instead_of_fqcn: true
|
||||||
coding_style:
|
coding_style:
|
||||||
php:
|
php:
|
||||||
spaces:
|
spaces:
|
||||||
@ -49,3 +39,20 @@ coding_style:
|
|||||||
concatenation: true
|
concatenation: true
|
||||||
other:
|
other:
|
||||||
after_type_cast: false
|
after_type_cast: false
|
||||||
|
filter:
|
||||||
|
excluded_paths:
|
||||||
|
- database/migrations/*
|
||||||
|
- bootstrap/*
|
||||||
|
- config/*
|
||||||
|
- docker/*
|
||||||
|
- public/js/lib/*
|
||||||
|
- public/lib/adminlte/js/*
|
||||||
|
- public/lib/bootstrap/js/*
|
||||||
|
- resources/*
|
||||||
|
- routes/*
|
||||||
|
- storage/*
|
||||||
|
paths:
|
||||||
|
- app/*
|
||||||
|
- public/js/ff/*
|
||||||
|
tools:
|
||||||
|
external_code_coverage: false
|
||||||
|
Loading…
Reference in New Issue
Block a user