test phpcs v3

This commit is contained in:
Frédéric FRANCE 2018-08-09 11:03:50 +02:00
parent 9786743795
commit b00164ca39
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1
4 changed files with 99 additions and 101 deletions

View File

@ -293,7 +293,6 @@ script:
# Ensure we catch errors # Ensure we catch errors
set -e set -e
# Exclusions are defined in the ruleset.xml file # Exclusions are defined in the ruleset.xml file
phpcs --version
#phpcs -s -n -p -d memory_limit=-1 --colors --tab-width=4 --standard=dev/setup/codesniffer/ruleset.xml --encoding=utf-8 . #phpcs -s -n -p -d memory_limit=-1 --colors --tab-width=4 --standard=dev/setup/codesniffer/ruleset.xml --encoding=utf-8 .
phpcs -s -p -d memory_limit=-1 --colors --tab-width=4 --standard=dev/setup/codesniffer/ruleset.xml --encoding=utf-8 --runtime-set ignore_warnings_on_exit true . phpcs -s -p -d memory_limit=-1 --colors --tab-width=4 --standard=dev/setup/codesniffer/ruleset.xml --encoding=utf-8 --runtime-set ignore_warnings_on_exit true .
set +e set +e

View File

@ -200,8 +200,8 @@ if ($resql)
'<td class="liste_titre" align="right">'; '<td class="liste_titre" align="right">';
$searchpicto=$form->showFilterAndCheckAddButtons(0); $searchpicto=$form->showFilterAndCheckAddButtons(0);
print $searchpicto; print $searchpicto;
'</td>'. print '</td>';
'</tr>'; print '</tr>';
print '<tr class="liste_titre">'; print '<tr class="liste_titre">';
print_liste_field_titre( print_liste_field_titre(
@ -324,8 +324,8 @@ if ($resql)
} }
$i++; $i++;
} }
print '</table>'. print '</table>';
'</form>'; print '</form>';
$db->free($resql); $db->free($resql);
@ -337,5 +337,4 @@ else
} }
llxFooter(); llxFooter();
$db->close(); $db->close();