Skip to content

Commit b2bcbdf

Browse files
author
jdlabails
committed
review readme and disable doc generation
1 parent 7842ada commit b2bcbdf

File tree

5 files changed

+21
-28
lines changed

5 files changed

+21
-28
lines changed

Manager/ScriptManager.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ public function lancerAnalyse()
8181

8282
// on gere les options
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

8888
if (filter_input(INPUT_POST, 'genCC') == 1) {

README.md

+17-23
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ It executes
3333
- Copy-paste detector
3434
- Php Depend
3535
- Php Loc
36-
- Php Docs
3736

3837
And parses their report to give a nice view for rapid analysis of your project.
3938

@@ -62,32 +61,12 @@ ppa:
6261
- { path: "^/ppa/[a-z]*", roles: IS_AUTHENTICATED_ANONYMOUSLY }
6362
```
6463
65-
- Set your config (see below)
66-
67-
- set assets
68-
```bash
69-
php app/console assets:install
70-
```
71-
72-
- set right for ppa directory in the web directory
73-
```bash
74-
sudo php app/console ppa:init
75-
```
76-
77-
### Use
78-
- Call http://127.0.0.1:8000/en/ppa with your nav.
79-
- Click on 'Start Scan'
80-
81-
### Config
82-
64+
- Set your config
65+
8366
```yml
8467
framework:
8568
translator: { fallback: %locale% }
8669

87-
assetic:
88-
bundles:
89-
- JDPhpProjectAnalyzerBundle
90-
9170
jd_php_project_analyzer:
9271
title: Php project analyzer
9372
description: It's a ouaaaouhh project !
@@ -149,6 +128,21 @@ jd_php_project_analyzer:
149128
```
150129

151130

131+
- set assets
132+
```bash
133+
php app/console assets:install
134+
```
135+
136+
- set right for ppa directory in the web directory
137+
```bash
138+
sudo php app/console ppa:init
139+
```
140+
141+
### Use
142+
- Call http://127.0.0.1:8000/en/ppa with your nav.
143+
- Click on 'Start Scan'
144+
145+
152146
### update your phar
153147

154148
```bash

Resources/views/Main/lanceur.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="panel-body">
1212
<div id="formLanceur" style="display: {% if projectAnalyzer.isAnalyzeInProgress() %}none{% else %} block {%endif%}" >
1313
<form action="#" onsubmit="return lancerAnalyse();">
14-
{% if projectAnalyzer.isEnable('docs') %}
14+
{% if projectAnalyzer.isEnable('docs') and false %}
1515
<div class="checkbox">
1616
<label>
1717
<input type="checkbox" name="genDoc" id="genDoc" value="1">

Resources/views/Main/lien.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<br>
1717
{% endif %}
1818

19-
{% if projectAnalyzer.isEnable('docs') %}
19+
{% if projectAnalyzer.isEnable('docs') and false %}
2020
<a href="{{ app.request.getSchemeAndHttpHost()}}/ppa/reports/DOCS/index.html" target="_blank">
2121
{% trans %}link.phpDoc{%endtrans%}
2222
</a>

composer.json

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"symfony/phpunit-bridge": "*",
2525
"squizlabs/php_codesniffer": "*",
2626
"pdepend/pdepend": "*",
27-
"phpdocumentor/phpdocumentor": "*",
2827
"phpmd/phpmd" : "*"
2928
},
3029
"scripts": {

0 commit comments

Comments
 (0)