Skip to content

Commit 21c9ef6

Browse files
committed
add phpcs rule extension
1 parent 86d604d commit 21c9ef6

File tree

17 files changed

+27
-27
lines changed

17 files changed

+27
-27
lines changed

htdocs/adherents/class/adherent.class.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2515,7 +2515,7 @@ public function getTooltipContentArray($params)
25152515
* @param int $save_lastsearch_value -1=Auto, 0=No save of lastsearch_values when clicking, 1=Save lastsearch_values whenclicking
25162516
* @param int $notooltip 1=Disable tooltip
25172517
* @param int $addlinktonotes 1=Add link to notes
2518-
* @return string Chaine avec URL
2518+
* @return string String with URL
25192519
*/
25202520
public function getNomUrl($withpictoimg = 0, $maxlen = 0, $option = 'card', $mode = '', $morecss = '', $save_lastsearch_value = -1, $notooltip = 0, $addlinktonotes = 0)
25212521
{
@@ -2921,7 +2921,7 @@ public function initAsSpecimen()
29212921
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
29222922
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
29232923
/**
2924-
* Retourne chaine DN complete dans l'annuaire LDAP pour l'objet
2924+
* Returns the complete DN (Distinguished Name) string in the LDAP directory for the object
29252925
*
29262926
* @param array<string,mixed> $info Info array loaded by _load_ldap_info
29272927
* @param int<0,2> $mode 0=Return full DN (uid=qqq,ou=xxx,dc=aaa,dc=bbb)
@@ -3147,7 +3147,7 @@ public function getNbOfEMailings()
31473147
$sql = "SELECT count(mc.email) as nb";
31483148
$sql .= " FROM ".MAIN_DB_PREFIX."mailing_cibles as mc";
31493149
$sql .= " WHERE mc.email = '".$this->db->escape($this->email)."'";
3150-
$sql .= " AND mc.statut NOT IN (-1,0)"; // -1 erreur, 0 non envoye, 1 envoye avec success
3150+
$sql .= " AND mc.statut NOT IN (-1,0)"; // -1 error, 0 not sent, 1 sent with success
31513151

31523152
$resql = $this->db->query($sql);
31533153
if ($resql) {

htdocs/adherents/class/subscription.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ public function delete($user, $notrigger = 0)
431431
* @param string $option Page for link ('', 'nolink', ...)
432432
* @param string $morecss Add more css on link
433433
* @param int $save_lastsearch_value -1=Auto, 0=No save of lastsearch_values when clicking, 1=Save lastsearch_values whenclicking
434-
* @return string Chaine avec URL
434+
* @return string String with URL
435435
*/
436436
public function getNomUrl($withpicto = 0, $notooltip = 0, $option = '', $morecss = '', $save_lastsearch_value = -1)
437437
{

htdocs/comm/action/class/actioncomm.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1790,7 +1790,7 @@ public function getTooltipContentArray($params)
17901790
* @param int<0,1> $overwritepicto 1 = Overwrite picto with this one
17911791
* @param int<0,1> $notooltip 1 = Disable tooltip
17921792
* @param int<-1,1> $save_lastsearch_value -1 = Auto, 0 = No save of lastsearch_values when clicking, 1 = Save lastsearch_values whenclicking
1793-
* @return string Chaine avec URL
1793+
* @return string String with URL
17941794
*/
17951795
public function getNomUrl($withpicto = 0, $maxlength = 0, $morecss = '', $option = '', $overwritepicto = 0, $notooltip = 0, $save_lastsearch_value = -1)
17961796
{

htdocs/compta/bank/class/account.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,7 @@ public function getTooltipContentArray($params)
15621562
* @param int $save_lastsearch_value -1=Auto, 0=No save of lastsearch_values when clicking, 1=Save lastsearch_values whenclicking
15631563
* @param int $notooltip 1=Disable tooltip
15641564
* @param string $morecss Add more css on link
1565-
* @return string Chaine avec URL
1565+
* @return string String with URL
15661566
*/
15671567
public function getNomUrl($withpicto = 0, $mode = '', $option = '', $save_lastsearch_value = -1, $notooltip = 0, $morecss = '')
15681568
{
@@ -2772,7 +2772,7 @@ public function info($id)
27722772
* @param int $maxlen Longueur max libelle
27732773
* @param string $option Option ('', 'showall', 'showconciliated', 'showconciliatedandaccounted'). Options may be slow.
27742774
* @param int $notooltip 1=Disable tooltip
2775-
* @return string Chaine avec URL
2775+
* @return string String with URL
27762776
*/
27772777
public function getNomUrl($withpicto = 0, $maxlen = 0, $option = '', $notooltip = 0)
27782778
{

htdocs/compta/deplacement/class/deplacement.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Copyright (C) 2004-2011 Laurent Destailleur <[email protected]>
44
* Copyright (C) 2009-2012 Regis Houssin <[email protected]>
55
* Copyright (C) 2013 Florian Henry <[email protected]>
6-
* Copyright (C) 2019-2024 Frédéric France <[email protected]>
6+
* Copyright (C) 2019-2025 Frédéric France <[email protected]>
77
* Copyright (C) 2024-2025 MDW <[email protected]>
88
*
99
* This program is free software; you can redistribute it and/or modify
@@ -385,7 +385,7 @@ public function LibStatut($status, $mode = 0)
385385
* Return clickable name (with picto eventually)
386386
*
387387
* @param int $withpicto 0=No picto, 1=Include picto into link, 2=Only picto
388-
* @return string Chaine avec URL
388+
* @return string String with URL
389389
*/
390390
public function getNomUrl($withpicto = 0)
391391
{

htdocs/compta/localtax/class/localtax.class.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/* Copyright (C) 2011-2014 Juanjo Menent <[email protected]>
3-
* Copyright (C) 2024 Frédéric France <[email protected]>
3+
* Copyright (C) 2024-2025 Frédéric France <[email protected]>
44
* Copyright (C) 2024-2025 MDW <[email protected]>
55
*
66
* This program is free software; you can redistribute it and/or modify
@@ -380,7 +380,7 @@ public function solde($year = 0)
380380

381381
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
382382
/**
383-
* Total de la localtax des factures emises par la societe.
383+
* Total of invoices localtax emitted by the company
384384
*
385385
* @param int $year Year
386386
* @return int ???
@@ -614,7 +614,7 @@ public function update_fk_bank($id)
614614
*
615615
* @param int $withpicto 0=Link, 1=Picto into link, 2=Picto
616616
* @param string $option What the link points to
617-
* @return string Chaine avec URL
617+
* @return string String with URL
618618
*/
619619
public function getNomUrl($withpicto = 0, $option = '')
620620
{

htdocs/compta/paiement/cheque/class/remisecheque.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ public function initAsSpecimen($option = '')
936936
* @param int $notooltip 1=Disable tooltip
937937
* @param string $morecss Add more css on link
938938
* @param int $save_lastsearch_value -1=Auto, 0=No save of lastsearch_values when clicking, 1=Save lastsearch_values whenclicking
939-
* @return string Chaine avec URL
939+
* @return string String with URL
940940
*/
941941
public function getNomUrl($withpicto = 0, $option = '', $notooltip = 0, $morecss = '', $save_lastsearch_value = -1)
942942
{

htdocs/compta/paiement/class/paiement.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,7 @@ public function initAsSpecimen($option = '')
13841384
* @param string $mode 'withlistofinvoices'=Include list of invoices into tooltip
13851385
* @param int $notooltip 1=Disable tooltip
13861386
* @param string $morecss Add more CSS
1387-
* @return string Chaine avec URL
1387+
* @return string String with URL
13881388
*/
13891389
public function getNomUrl($withpicto = 0, $option = '', $mode = 'withlistofinvoices', $notooltip = 0, $morecss = '')
13901390
{

htdocs/compta/sociales/class/paymentsocialcontribution.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ public function LibStatut($status, $mode = 0)
762762
*
763763
* @param int $withpicto 0=No picto, 1=Include picto into link, 2=Only picto
764764
* @param int $maxlen Longueur max libelle
765-
* @return string Chaine avec URL
765+
* @return string String with URL
766766
*/
767767
public function getNomUrl($withpicto = 0, $maxlen = 0)
768768
{

htdocs/compta/tva/class/paymentvat.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ public function LibStatut($status, $mode = 0)
749749
*
750750
* @param int $withpicto 0=No picto, 1=Include picto into link, 2=Only picto
751751
* @param int $maxlen Longueur max libelle
752-
* @return string Chaine avec URL
752+
* @return string String with URL
753753
*/
754754
public function getNomUrl($withpicto = 0, $maxlen = 0)
755755
{

0 commit comments

Comments
 (0)