Checkout Config
Repository Config
checks:
php:
fix_php_opening_tag: true
remove_php_closing_tag: true
no_mixed_inline_html: true
require_braces_around_control_structures: true
psr2_control_structure_declaration: true
avoid_superglobals: true
security_vulnerabilities: true
no_exit: true
javascript: true
filter:
excluded_paths:
- .codacy.yml
dependency_paths:
- 'includes/.externals/'
- '*.min.js'
- 'includes/libraries/'
- 'includes/js/'
- 'includes/config/'
- 'plugins/'
- 'install/'
- 'sources/SecureHandler.php'
- 'dist/'
- '.github/*.php'
- 'vendor/'
coding_style:
php: true
build:
environment:
php:
version: 7.4
nodes:
analysis:
tests:
override:
- php-scrutinizer-run --enable-security-analysis
#- command: phpcs-run
# use_website_config: true