Skip to content

Commit e3830d8

Browse files
author
jdlabails
committed
Enhance readme
1 parent 2e9c680 commit e3830d8

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ It give a view like :
2727

2828
It 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
5454
ppa:
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
133133
php 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

162165
Just make a pull request on master
163166

0 commit comments

Comments
 (0)