@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | } |
118 | 118 | } |
119 | 119 | |
120 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
120 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
121 | 121 | /** |
122 | 122 | * Output edit area inside the HTML stream. |
123 | 123 | * Output depends on this->tool (fckeditor, ckeditor, textarea, ...) |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | */ |
134 | 134 | public function Create($noprint = 0, $morejs = '', $disallowAnyContent = true, $titlecontent = '', $option = '', $moreparam = '', $morecss = '') |
135 | 135 | { |
136 | - // phpcs:enable |
|
136 | + // phpcs:enable |
|
137 | 137 | global $conf, $langs; |
138 | 138 | |
139 | 139 | $fullpage = false; |
@@ -1337,7 +1337,7 @@ discard block |
||
1337 | 1337 | return '=?' . $conf->file->character_set_client . '?B?' . base64_encode($stringtoencode) . '?='; |
1338 | 1338 | } |
1339 | 1339 | |
1340 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1340 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1341 | 1341 | /** |
1342 | 1342 | * Read a file on disk and return encoded content for emails (mode = 'mail') |
1343 | 1343 | * |
@@ -1346,7 +1346,7 @@ discard block |
||
1346 | 1346 | */ |
1347 | 1347 | private function _encode_file($sourcefile) |
1348 | 1348 | { |
1349 | - // phpcs:enable |
|
1349 | + // phpcs:enable |
|
1350 | 1350 | $newsourcefile = dol_osencode($sourcefile); |
1351 | 1351 | |
1352 | 1352 | if (is_readable($newsourcefile)) { |
@@ -1361,7 +1361,7 @@ discard block |
||
1361 | 1361 | } |
1362 | 1362 | |
1363 | 1363 | |
1364 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1364 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1365 | 1365 | /** |
1366 | 1366 | * Write content of a SMTP request into a dump file (mode = all) |
1367 | 1367 | * Used for debugging. |
@@ -1371,7 +1371,7 @@ discard block |
||
1371 | 1371 | */ |
1372 | 1372 | public function dump_mail() |
1373 | 1373 | { |
1374 | - // phpcs:enable |
|
1374 | + // phpcs:enable |
|
1375 | 1375 | global $dolibarr_main_data_root; |
1376 | 1376 | |
1377 | 1377 | if (@is_writable($dolibarr_main_data_root)) { // Avoid fatal error on fopen with open_basedir |
@@ -1402,7 +1402,7 @@ discard block |
||
1402 | 1402 | } |
1403 | 1403 | } |
1404 | 1404 | |
1405 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1405 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1406 | 1406 | /** |
1407 | 1407 | * Save content if mail is in error |
1408 | 1408 | * Used for debugging. |
@@ -1499,7 +1499,7 @@ discard block |
||
1499 | 1499 | } |
1500 | 1500 | |
1501 | 1501 | |
1502 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1502 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1503 | 1503 | /** |
1504 | 1504 | * Create SMTP headers (mode = 'mail') |
1505 | 1505 | * |
@@ -1507,7 +1507,7 @@ discard block |
||
1507 | 1507 | */ |
1508 | 1508 | public function write_smtpheaders() |
1509 | 1509 | { |
1510 | - // phpcs:enable |
|
1510 | + // phpcs:enable |
|
1511 | 1511 | $out = ""; |
1512 | 1512 | $host = dol_getprefix('email'); |
1513 | 1513 | |
@@ -1571,7 +1571,7 @@ discard block |
||
1571 | 1571 | } |
1572 | 1572 | |
1573 | 1573 | |
1574 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1574 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1575 | 1575 | /** |
1576 | 1576 | * Create header MIME (mode = 'mail') |
1577 | 1577 | * |
@@ -1581,7 +1581,7 @@ discard block |
||
1581 | 1581 | */ |
1582 | 1582 | public function write_mimeheaders($filename_list, $mimefilename_list) |
1583 | 1583 | { |
1584 | - // phpcs:enable |
|
1584 | + // phpcs:enable |
|
1585 | 1585 | $mimedone = 0; |
1586 | 1586 | $out = ""; |
1587 | 1587 | |
@@ -1601,7 +1601,7 @@ discard block |
||
1601 | 1601 | return $out; |
1602 | 1602 | } |
1603 | 1603 | |
1604 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1604 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1605 | 1605 | /** |
1606 | 1606 | * Return email content (mode = 'mail') |
1607 | 1607 | * |
@@ -1610,7 +1610,7 @@ discard block |
||
1610 | 1610 | */ |
1611 | 1611 | public function write_body($msgtext) |
1612 | 1612 | { |
1613 | - // phpcs:enable |
|
1613 | + // phpcs:enable |
|
1614 | 1614 | global $conf; |
1615 | 1615 | |
1616 | 1616 | $out = ''; |
@@ -1694,7 +1694,7 @@ discard block |
||
1694 | 1694 | return $out; |
1695 | 1695 | } |
1696 | 1696 | |
1697 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1697 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1698 | 1698 | /** |
1699 | 1699 | * Attach file to email (mode = 'mail') |
1700 | 1700 | * |
@@ -1706,7 +1706,7 @@ discard block |
||
1706 | 1706 | */ |
1707 | 1707 | private function write_files($filename_list, $mimetype_list, $mimefilename_list, $cidlist) |
1708 | 1708 | { |
1709 | - // phpcs:enable |
|
1709 | + // phpcs:enable |
|
1710 | 1710 | $out = ''; |
1711 | 1711 | |
1712 | 1712 | $filename_list_size = count($filename_list); |
@@ -1745,7 +1745,7 @@ discard block |
||
1745 | 1745 | } |
1746 | 1746 | |
1747 | 1747 | |
1748 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1748 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1749 | 1749 | /** |
1750 | 1750 | * Attach an image to email (mode = 'mail') |
1751 | 1751 | * |
@@ -1754,7 +1754,7 @@ discard block |
||
1754 | 1754 | */ |
1755 | 1755 | public function write_images($images_list) |
1756 | 1756 | { |
1757 | - // phpcs:enable |
|
1757 | + // phpcs:enable |
|
1758 | 1758 | $out = ''; |
1759 | 1759 | |
1760 | 1760 | if (is_array($images_list)) { |
@@ -1776,7 +1776,7 @@ discard block |
||
1776 | 1776 | } |
1777 | 1777 | |
1778 | 1778 | |
1779 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1779 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1780 | 1780 | /** |
1781 | 1781 | * Try to create a socket connection |
1782 | 1782 | * |
@@ -1786,7 +1786,7 @@ discard block |
||
1786 | 1786 | */ |
1787 | 1787 | public function check_server_port($host, $port) |
1788 | 1788 | { |
1789 | - // phpcs:enable |
|
1789 | + // phpcs:enable |
|
1790 | 1790 | global $conf; |
1791 | 1791 | |
1792 | 1792 | $_retVal = 0; |
@@ -1857,7 +1857,7 @@ discard block |
||
1857 | 1857 | return $_retVal; |
1858 | 1858 | } |
1859 | 1859 | |
1860 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1860 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1861 | 1861 | /** |
1862 | 1862 | * This function has been modified as provided by SirSir to allow multiline responses when |
1863 | 1863 | * using SMTP Extensions. |
@@ -1868,7 +1868,7 @@ discard block |
||
1868 | 1868 | */ |
1869 | 1869 | public function server_parse($socket, $response) |
1870 | 1870 | { |
1871 | - // phpcs:enable |
|
1871 | + // phpcs:enable |
|
1872 | 1872 | $_retVal = true; // Indicates if Object was created or not |
1873 | 1873 | $server_response = ''; |
1874 | 1874 |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | } |
113 | 113 | |
114 | 114 | |
115 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
115 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
116 | 116 | /** |
117 | 117 | * Function to build pdf onto disk |
118 | 118 | * |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | */ |
127 | 127 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
128 | 128 | { |
129 | - // phpcs:enable |
|
129 | + // phpcs:enable |
|
130 | 130 | global $user, $langs, $conf, $mysoc, $hookmanager; |
131 | 131 | |
132 | 132 | if (!is_object($outputlangs)) { |
@@ -594,8 +594,8 @@ discard block |
||
594 | 594 | return 0; |
595 | 595 | } |
596 | 596 | |
597 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
598 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
597 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
598 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
599 | 599 | /** |
600 | 600 | * Show miscellaneous information (payment mode, payment term, ...) |
601 | 601 | * |
@@ -607,7 +607,7 @@ discard block |
||
607 | 607 | */ |
608 | 608 | protected function _tableau_info(&$pdf, $object, $posy, $outputlangs) |
609 | 609 | { |
610 | - // phpcs:enable |
|
610 | + // phpcs:enable |
|
611 | 611 | global $conf, $mysoc; |
612 | 612 | $default_font_size = pdf_getPDFFontSize($outputlangs); |
613 | 613 | |
@@ -625,7 +625,7 @@ discard block |
||
625 | 625 | } |
626 | 626 | |
627 | 627 | |
628 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
628 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
629 | 629 | /** |
630 | 630 | * Show table for lines |
631 | 631 | * |
@@ -675,7 +675,7 @@ discard block |
||
675 | 675 | } |
676 | 676 | } |
677 | 677 | |
678 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
678 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
679 | 679 | /** |
680 | 680 | * Show top header of page. |
681 | 681 | * |
@@ -853,7 +853,7 @@ discard block |
||
853 | 853 | return 0; |
854 | 854 | } |
855 | 855 | |
856 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
856 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
857 | 857 | /** |
858 | 858 | * Show footer of page. Need this->emetteur object |
859 | 859 | * |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | } |
134 | 134 | |
135 | 135 | |
136 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
136 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
137 | 137 | /** |
138 | 138 | * Function to build pdf onto disk |
139 | 139 | * |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | */ |
148 | 148 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
149 | 149 | { |
150 | - // phpcs:enable |
|
150 | + // phpcs:enable |
|
151 | 151 | global $user, $langs, $conf, $mysoc, $hookmanager; |
152 | 152 | |
153 | 153 | if (!is_object($outputlangs)) { |
@@ -587,8 +587,8 @@ discard block |
||
587 | 587 | return 0; |
588 | 588 | } |
589 | 589 | |
590 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
591 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
590 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
591 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
592 | 592 | /** |
593 | 593 | * Show miscellaneous information (payment mode, payment term, ...) |
594 | 594 | * |
@@ -600,7 +600,7 @@ discard block |
||
600 | 600 | */ |
601 | 601 | protected function _tableau_info(&$pdf, $object, $posy, $outputlangs) |
602 | 602 | { |
603 | - // phpcs:enable |
|
603 | + // phpcs:enable |
|
604 | 604 | global $conf, $mysoc; |
605 | 605 | $default_font_size = pdf_getPDFFontSize($outputlangs); |
606 | 606 | |
@@ -617,7 +617,7 @@ discard block |
||
617 | 617 | $pdf->MultiCell($larg_sign, 2, $outputlangs->trans("ForCustomer") . ':', '', 'L'); |
618 | 618 | } |
619 | 619 | |
620 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
620 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
621 | 621 | /** |
622 | 622 | * Show table for lines |
623 | 623 | * |
@@ -683,7 +683,7 @@ discard block |
||
683 | 683 | } |
684 | 684 | } |
685 | 685 | |
686 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
686 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
687 | 687 | /** |
688 | 688 | * Show top header of page. |
689 | 689 | * |
@@ -861,7 +861,7 @@ discard block |
||
861 | 861 | return 0; |
862 | 862 | } |
863 | 863 | |
864 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
864 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
865 | 865 | /** |
866 | 866 | * Show footer of page. Need this->emetteur object |
867 | 867 | * |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | */ |
39 | 39 | abstract class ModelePDFDeliveryOrder extends CommonDocGenerator |
40 | 40 | { |
41 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
41 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
42 | 42 | /** |
43 | 43 | * Return list of active generation modules |
44 | 44 | * |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | */ |
49 | 49 | public static function liste_modeles($db, $maxfilenamelength = 0) |
50 | 50 | { |
51 | - // phpcs:enable |
|
51 | + // phpcs:enable |
|
52 | 52 | $type = 'delivery'; |
53 | 53 | $list = array(); |
54 | 54 |
@@ -112,17 +112,17 @@ |
||
112 | 112 | // Menus |
113 | 113 | //------- |
114 | 114 | $this->menu[$r] = array('fk_menu' => 0, |
115 | - 'type' => 'top', |
|
116 | - 'titre' => 'FTP', |
|
117 | - 'prefix' => img_picto('', $this->picto, 'class="pictofixedwidth em092"'), |
|
118 | - 'mainmenu' => 'ftp', |
|
119 | - 'url' => '/ftp/index.php', |
|
120 | - 'langs' => 'ftp', |
|
121 | - 'position' => 100, |
|
122 | - 'enabled' => '$conf->ftp->enabled', |
|
123 | - 'perms' => '$user->rights->ftp->read || $user->rights->ftp->write || $user->rights->ftp->setup', |
|
124 | - 'target' => '', |
|
125 | - 'user' => 2); // 0=Menu for internal users, 1=external users, 2=both |
|
115 | + 'type' => 'top', |
|
116 | + 'titre' => 'FTP', |
|
117 | + 'prefix' => img_picto('', $this->picto, 'class="pictofixedwidth em092"'), |
|
118 | + 'mainmenu' => 'ftp', |
|
119 | + 'url' => '/ftp/index.php', |
|
120 | + 'langs' => 'ftp', |
|
121 | + 'position' => 100, |
|
122 | + 'enabled' => '$conf->ftp->enabled', |
|
123 | + 'perms' => '$user->rights->ftp->read || $user->rights->ftp->write || $user->rights->ftp->setup', |
|
124 | + 'target' => '', |
|
125 | + 'user' => 2); // 0=Menu for internal users, 1=external users, 2=both |
|
126 | 126 | $r++; |
127 | 127 | } |
128 | 128 | } |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | */ |
38 | 38 | abstract class ModelePDFSuppliersInvoices extends CommonDocGenerator |
39 | 39 | { |
40 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
40 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
41 | 41 | /** |
42 | 42 | * Return list of active generation models |
43 | 43 | * |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | */ |
48 | 48 | public static function liste_modeles($db, $maxfilenamelength = 0) |
49 | 49 | { |
50 | - // phpcs:enable |
|
50 | + // phpcs:enable |
|
51 | 51 | $type = 'invoice_supplier'; |
52 | 52 | $list = array(); |
53 | 53 |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | } |
146 | 146 | |
147 | 147 | |
148 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
148 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
149 | 149 | /** |
150 | 150 | * Function to build pdf onto disk |
151 | 151 | * |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | */ |
160 | 160 | public function write_file($object, $outputlangs = null, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
161 | 161 | { |
162 | - // phpcs:enable |
|
162 | + // phpcs:enable |
|
163 | 163 | global $user, $langs, $conf, $mysoc, $hookmanager, $nblines; |
164 | 164 | |
165 | 165 | // Get source company |
@@ -603,8 +603,8 @@ discard block |
||
603 | 603 | } |
604 | 604 | } |
605 | 605 | |
606 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
607 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
606 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
607 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
608 | 608 | /** |
609 | 609 | * Show total to pay |
610 | 610 | * |
@@ -617,7 +617,7 @@ discard block |
||
617 | 617 | */ |
618 | 618 | protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs) |
619 | 619 | { |
620 | - // phpcs:enable |
|
620 | + // phpcs:enable |
|
621 | 621 | global $conf, $mysoc, $hookmanager; |
622 | 622 | |
623 | 623 | $sign = 1; |
@@ -829,7 +829,7 @@ discard block |
||
829 | 829 | return ($tab2_top + ($tab2_hl * $index)); |
830 | 830 | } |
831 | 831 | |
832 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
832 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
833 | 833 | /** |
834 | 834 | * Show table for lines |
835 | 835 | * |
@@ -933,8 +933,8 @@ discard block |
||
933 | 933 | } |
934 | 934 | } |
935 | 935 | |
936 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
937 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
936 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
937 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
938 | 938 | /** |
939 | 939 | * Show payments table |
940 | 940 | * |
@@ -947,7 +947,7 @@ discard block |
||
947 | 947 | */ |
948 | 948 | protected function _tableau_versements(&$pdf, $object, $posy, $outputlangs, $heightforfooter = 0) |
949 | 949 | { |
950 | - // phpcs:enable |
|
950 | + // phpcs:enable |
|
951 | 951 | global $conf; |
952 | 952 | |
953 | 953 | $sign = 1; |
@@ -1027,7 +1027,7 @@ discard block |
||
1027 | 1027 | return -1; |
1028 | 1028 | } |
1029 | 1029 | |
1030 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1030 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1031 | 1031 | /** |
1032 | 1032 | * Show top header of page. |
1033 | 1033 | * |
@@ -1265,7 +1265,7 @@ discard block |
||
1265 | 1265 | return $top_shift; |
1266 | 1266 | } |
1267 | 1267 | |
1268 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1268 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1269 | 1269 | /** |
1270 | 1270 | * Show footer of page. Need this->emetteur object |
1271 | 1271 | * |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | return $texte; |
196 | 196 | } |
197 | 197 | |
198 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
198 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
199 | 199 | /** |
200 | 200 | * Function to build a document on disk using the generic odt module. |
201 | 201 | * |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | */ |
210 | 210 | public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
211 | 211 | { |
212 | - // phpcs:enable |
|
212 | + // phpcs:enable |
|
213 | 213 | global $user, $langs, $conf, $mysoc, $hookmanager; |
214 | 214 | |
215 | 215 | if (empty($srctemplatepath)) { |