File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ It give a view like :
2727
2828It executes
2929 - Php Mess Detector
30- - Php Unit Test
31- - Atoum test
30+ - Php Unit Tests
31+ - Atoum tests
3232 - Php Code Sniffer ( + reparation tool via phpcbf)
3333 - Copy-paste detector
3434 - Php Depend
@@ -48,17 +48,17 @@ public function registerBundles()
4848// ...
4949}
5050```
51- - add routing
51+ - Add routing
5252``` yaml
5353# app/config/routing.yml
5454ppa :
5555 resource : ' @JDPhpProjectAnalyzerBundle/Resources/config/routing.yml'
5656` ` `
57- - add security exception
57+ - Add security exception
5858 ` ` ` yaml
5959 access_control :
6060 # PPA
61- - { path: "^/ ppa/[a-z]*", roles: IS_AUTHENTICATED_ANONYMOUSLY }
61+ - { path: "^(/[a-z]{2})?/ ppa( /[a-z]*)? ", roles: IS_AUTHENTICATED_ANONYMOUSLY }
6262 ` ` `
6363
6464 - Set your config
@@ -128,16 +128,18 @@ jd_php_project_analyzer:
128128```
129129
130130
131- - set assets
131+ - Set assets
132132``` bash
133133php app/console assets:install
134134```
135135
136- - set right for ppa directory in the web directory
136+ - Set right for ppa directory in the web directory
137137 ``` bash
138138 sudo php app/console ppa:init
139139```
140140
141+ - Add web/ppa in your .gitignore
142+
141143### Use
142144 - Call http://127.0.0.1:8000/en/ppa with your nav.
143145 - Click on 'Start Scan'
@@ -158,6 +160,7 @@ Examples :
158160 * refacto code
159161 * unit tests
160162 * download security checker at each scan
163+ * behat
161164
162165Just make a pull request on master
163166
You can’t perform that action at this time.
0 commit comments