Search…
Introduction
Getting Started
Installation
Upgrade Guide
Configuration
Configuration Overview
App Config Reference
Cache Config Reference
Icon Configuration
Hiding Files
Help & Support
Troubleshooting
Common Issues
Developers
Development Environment
Code Analysis & Testing
Building Release Artifacts
Powered By
GitBook
Code Analysis & Testing
Coding Standards
Apply coding standards to all application and tests files
1
app/vendor/bin/php-cs-fixer fix
2
npx eslint --fix app/resources/js/**/*.js
Copied!
or to see the changes before applying
1
app/vendor/bin/php-cs-fixer fix --diff --dry-run
2
npx eslint app/resources/js/**/*.js
Copied!
Static Analysis
1
app/vendor/bin/psalm
Copied!
Unit/Feature Tests
1
app/vendor/bin/phpunit
Copied!
Code Coverage
1
app/vendor/bin/phpunit --coverage-text
Copied!
or generate a more detailed HTML coverage report with
1
app/vendor/bin/phpunit --coverage-html .coverage
Copied!
Developers - Previous
Development Environment
Next - Developers
Building Release Artifacts
Last modified
9mo ago
Copy link
Contents
Coding Standards
Static Analysis
Unit/Feature Tests
Code Coverage