-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands.help
35 lines (22 loc) · 887 Bytes
/
commands.help
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
1. Install web debug profiler
composer require --dev profiler
2. Install annotation functional (Without it Assert validation rules from annotations won't work)
composer require annotations
3. Install twig package
composer require twig
4. Install form component
composer require form
5. Install validator component
composer require validator
# Help commands:
1. Run phpstan to analyze code:
vendor/bin/phpstan analyse src bin public
vendor/bin/phpstan analyse -l 3 -c phpstan.neon src bin public
vendor/bin/phpstan analyse -l 4 -c phpstan.neon src bin public
vendor/bin/phpstan analyse -l 5 -c phpstan.neon src bin public
2. Behat tests
3. Phpmetrics (http://www.phpmetrics.org/)
composer global require 'phpmetrics/phpmetrics'
phpmetrics --report-html=myreport.html /path/of/your/sources
4. List of static analysis tools:
https://github.com/exakat/php-static-analysis-tools