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();

View File

@ -92,7 +92,7 @@ $server->wsdl->addComplexType(
/* /*
* Les catégories filles, sous tableau dez la catégorie * Les catégories filles, sous tableau dez la catégorie
*/ */
$server->wsdl->addComplexType( $server->wsdl->addComplexType(
'FillesArray', 'FillesArray',
'complexType', 'complexType',
'array', 'array',
@ -108,7 +108,7 @@ $server->wsdl->addComplexType(
/* /*
* Image of product * Image of product
*/ */
$server->wsdl->addComplexType( $server->wsdl->addComplexType(
'PhotosArray', 'PhotosArray',
'complexType', 'complexType',
'array', 'array',
@ -122,12 +122,12 @@ $server->wsdl->addComplexType(
'maxOccurs' => 'unbounded' 'maxOccurs' => 'unbounded'
) )
) )
); );
/* /*
* An image * An image
*/ */
$server->wsdl->addComplexType( $server->wsdl->addComplexType(
'image', 'image',
'complexType', 'complexType',
'struct', 'struct',
@ -139,7 +139,7 @@ $server->wsdl->addComplexType(
'imgWidth' => array('name'=>'imgWidth','type'=>'xsd:string'), 'imgWidth' => array('name'=>'imgWidth','type'=>'xsd:string'),
'imgHeight' => array('name'=>'imgHeight','type'=>'xsd:string') 'imgHeight' => array('name'=>'imgHeight','type'=>'xsd:string')
) )
); );
/* /*
* Retour * Retour