Skip to content

Commit

Permalink
Merge pull request #2 from geekwright/limit-unserialize
Browse files Browse the repository at this point in the history
Limit unserialize
  • Loading branch information
geekwright authored Apr 8, 2022
2 parents aeba138 + f13e4fd commit 612f44e
Show file tree
Hide file tree
Showing 4 changed files with 1,542 additions and 623 deletions.
124 changes: 6 additions & 118 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,118 +1,6 @@
filter:
excluded_paths: [archive/*, tests/*, data/*]
tools:
external_code_coverage: true
checks:
php:
code_rating: true
duplication: true
verify_property_names: true
verify_argument_usable_as_reference: true
verify_access_scope_valid: true
variable_existence: true
useless_calls: true
use_statement_alias_conflict: true
use_self_instead_of_fqcn: true
uppercase_constants: true
unused_variables: true
unused_properties: true
unused_parameters: true
unused_methods: true
unreachable_code: true
too_many_arguments: true
symfony_request_injection: false
switch_fallthrough_commented: true
sql_injection_vulnerabilities: true
single_namespace_per_use: true
simplify_boolean_return: true
side_effects_or_types: true
return_in_constructor: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
require_scope_for_properties: true
require_scope_for_methods: true
require_php_tag_first: true
psr2_switch_declaration: true
psr2_class_declaration: true
property_assignments: true
properties_in_camelcaps: true
precedence_mistakes: true
precedence_in_conditions: true
php5_style_constructor: true
parse_doc_comments: true
parameters_in_camelcaps: true
parameter_non_unique: true
parameter_doc_comments: true
code_rating: true
closure_use_not_conflicting: true
comparison_always_same_result: true
deprecated_code_usage: true
duplication: true
align_assignments: false
argument_type_checks: true
assignment_of_null_return: true
avoid_aliased_php_functions: true
avoid_closing_tag: true
avoid_conflicting_incrementers: true
avoid_corrupting_byteorder_marks: true
avoid_duplicate_types: true
avoid_fixme_comments: true
avoid_length_functions_in_loops: true
avoid_multiple_statements_on_same_line: true
avoid_perl_style_comments: true
avoid_superglobals: true
avoid_todo_comments: true
avoid_unnecessary_concatenation: true
avoid_usage_of_logical_operators: true
avoid_useless_overridden_methods: true
blank_line_after_namespace_declaration: true
call_to_parent_method: true
catch_class_exists: true
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
classes_in_camel_caps: true
closure_use_modifiable: true
encourage_shallow_comparison: true
encourage_postdec_operator: true
encourage_single_quotes: true
foreach_traversable: true
foreach_usable_as_reference: true
function_in_camel_caps: true
instanceof_class_exists: true
line_length:
max_length: '120'
method_calls_on_non_object: true
missing_arguments: true
more_specific_types_in_doc_comments: true
no_commented_out_code: true
no_debug_code: true
no_duplicate_arguments: true
no_empty_statements: true
no_error_suppression: true
no_eval: true
no_exit: true
no_global_keyword: true
no_goto: true
no_long_variable_names:
maximum: '20'
no_non_implemented_abstract_methods: true
no_property_on_interface: true
no_short_method_names:
minimum: '3'
no_short_open_tag: true
no_short_variable_names:
minimum: '3'
no_trailing_whitespace: true
no_trait_type_hints: true
no_underscore_prefix_in_methods: true
no_underscore_prefix_in_properties: true
no_unnecessary_final_modifier: true
no_unnecessary_if: true
non_commented_empty_catch_block: true
one_class_per_file: true
optional_parameters_at_the_end: true
overriding_parameter: true
overriding_private_members: true
param_doc_comment_if_not_inferrable: true
build:
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
2 changes: 1 addition & 1 deletion data/cached_1273351598b0a7510ff4c1d2ea53e039

Large diffs are not rendered by default.

Loading

0 comments on commit 612f44e

Please sign in to comment.