Checkout Config
filter:
paths: [ 'src/*' ]
checks:
php:
code_rating: true
duplication: false
verify_property_names: true
uppercase_constants: true
remove_extra_empty_lines: true
properties_in_camelcaps: true
parameters_in_camelcaps: true
overriding_parameter: true
optional_parameters_at_the_end: true
function_in_camel_caps: true
encourage_single_quotes: true
classes_in_camel_caps: true
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
avoid_perl_style_comments: true
avoid_usage_of_logical_operators: true
no_exit: false
no_unnecessary_final_modifier: false
overriding_private_members: false
Repository Config
build:
nodes:
analysis:
tests:
override:
# Add the respective Scrutinizer analysis for your language like
- php-scrutinizer-run
environment:
php:
version: 8.2.5