Skip to content

Commit 2195ec6

Browse files
author
jdlabails
committed
composer path in read me
1 parent 556ecd3 commit 2195ec6

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

Manager/ScriptManager.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,13 @@ public function lancerAnalyse()
7979
// on init la commande
8080
$cmd = $this->paShPath;
8181

82-
// on gere les options
82+
// l'option de generation de doc est débrailler pour le moment
8383
if (filter_input(INPUT_POST, 'genDoc') == 1) {
84-
$cmd .= '';//' -d ';
85-
$txt .= '';//' avec génération de doc ';
84+
$cmd .= ' -d ';
85+
$txt .= ' avec génération de doc ';
8686
}
8787

88+
// on gere l'option du code coverage
8889
if (filter_input(INPUT_POST, 'genCC') == 1) {
8990
$cmd .= ' -c ';
9091
$txt .= 'avec code coverage';

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,3 +170,17 @@ bin/phpcs --standard=PSR2 --extensions=php Entities Manager Command Controller D
170170
```bash
171171
bin/simple-phpunit -c phpunit.xml
172172
```
173+
174+
##### Tip for local project
175+
Put in your composer.json
176+
177+
```json
178+
"minimum-stability": "dev",
179+
"prefer-stable": true,
180+
"repositories": [
181+
{
182+
"type": "path",
183+
"url": "/path/to/your/project/dir/jdlabails-php-project-analyzer-bundle/"
184+
}
185+
],
186+
```

0 commit comments

Comments
 (0)