Search…
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!
Last modified 4mo ago