@@ -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)) { |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | } |
181 | 181 | |
182 | 182 | |
183 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
183 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
184 | 184 | /** |
185 | 185 | * Function to build pdf onto disk |
186 | 186 | * |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | */ |
195 | 195 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
196 | 196 | { |
197 | - // phpcs:enable |
|
197 | + // phpcs:enable |
|
198 | 198 | global $user, $langs, $conf, $mysoc, $hookmanager, $nblines; |
199 | 199 | |
200 | 200 | dol_syslog("write_file outputlangs->defaultlang=" . (is_object($outputlangs) ? $outputlangs->defaultlang : 'null')); |
@@ -900,8 +900,8 @@ discard block |
||
900 | 900 | } |
901 | 901 | |
902 | 902 | |
903 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
904 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
903 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
904 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
905 | 905 | /** |
906 | 906 | * Show payments table |
907 | 907 | * |
@@ -914,7 +914,7 @@ discard block |
||
914 | 914 | */ |
915 | 915 | protected function _tableau_versements(&$pdf, $object, $posy, $outputlangs, $heightforfooter = 0) |
916 | 916 | { |
917 | - // phpcs:enable |
|
917 | + // phpcs:enable |
|
918 | 918 | global $conf; |
919 | 919 | |
920 | 920 | $sign = 1; |
@@ -1058,8 +1058,8 @@ discard block |
||
1058 | 1058 | } |
1059 | 1059 | } |
1060 | 1060 | |
1061 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1062 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1061 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1062 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1063 | 1063 | /** |
1064 | 1064 | * Function _tableau_versements_header |
1065 | 1065 | * |
@@ -1075,7 +1075,7 @@ discard block |
||
1075 | 1075 | */ |
1076 | 1076 | protected function _tableau_versements_header($pdf, $object, $outputlangs, $default_font_size, $tab3_posx, $tab3_top, $tab3_width, $tab3_height) |
1077 | 1077 | { |
1078 | - // phpcs:enable |
|
1078 | + // phpcs:enable |
|
1079 | 1079 | $title = $outputlangs->transnoentities("PaymentsAlreadyDone"); |
1080 | 1080 | if ($object->type == 2) { |
1081 | 1081 | $title = $outputlangs->transnoentities("PaymentsBackAlreadyDone"); |
@@ -1100,8 +1100,8 @@ discard block |
||
1100 | 1100 | $pdf->line($tab3_posx, $tab3_top - 1 + $tab3_height, $tab3_posx + $tab3_width, $tab3_top - 1 + $tab3_height); |
1101 | 1101 | } |
1102 | 1102 | |
1103 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1104 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1103 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1104 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1105 | 1105 | /** |
1106 | 1106 | * Show miscellaneous information (payment mode, payment term, ...) |
1107 | 1107 | * |
@@ -1114,7 +1114,7 @@ discard block |
||
1114 | 1114 | */ |
1115 | 1115 | protected function _tableau_info(&$pdf, $object, $posy, $outputlangs, $outputlangsbis) |
1116 | 1116 | { |
1117 | - // phpcs:enable |
|
1117 | + // phpcs:enable |
|
1118 | 1118 | global $conf, $mysoc, $hookmanager; |
1119 | 1119 | |
1120 | 1120 | $default_font_size = pdf_getPDFFontSize($outputlangs); |
@@ -1337,8 +1337,8 @@ discard block |
||
1337 | 1337 | } |
1338 | 1338 | |
1339 | 1339 | |
1340 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1341 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1340 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1341 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1342 | 1342 | /** |
1343 | 1343 | * Show total to pay |
1344 | 1344 | * |
@@ -1352,7 +1352,7 @@ discard block |
||
1352 | 1352 | */ |
1353 | 1353 | protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs, $outputlangsbis) |
1354 | 1354 | { |
1355 | - // phpcs:enable |
|
1355 | + // phpcs:enable |
|
1356 | 1356 | global $conf, $mysoc, $hookmanager; |
1357 | 1357 | |
1358 | 1358 | $sign = 1; |
@@ -1683,7 +1683,7 @@ discard block |
||
1683 | 1683 | return ($tab2_top + ($tab2_hl * $index)); |
1684 | 1684 | } |
1685 | 1685 | |
1686 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1686 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1687 | 1687 | /** |
1688 | 1688 | * Show table for lines |
1689 | 1689 | * |
@@ -1804,7 +1804,7 @@ discard block |
||
1804 | 1804 | } |
1805 | 1805 | } |
1806 | 1806 | |
1807 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1807 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1808 | 1808 | /** |
1809 | 1809 | * Show top header of page. |
1810 | 1810 | * |
@@ -1817,7 +1817,7 @@ discard block |
||
1817 | 1817 | */ |
1818 | 1818 | protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $outputlangsbis = null) |
1819 | 1819 | { |
1820 | - // phpcs:enable |
|
1820 | + // phpcs:enable |
|
1821 | 1821 | global $conf, $langs; |
1822 | 1822 | |
1823 | 1823 | $ltrdirection = 'L'; |
@@ -2195,7 +2195,7 @@ discard block |
||
2195 | 2195 | return $top_shift; |
2196 | 2196 | } |
2197 | 2197 | |
2198 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
2198 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
2199 | 2199 | /** |
2200 | 2200 | * Show footer of page. Need this->emetteur object |
2201 | 2201 | * |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | public $atleastoneratenotnull = 0; |
60 | 60 | |
61 | 61 | |
62 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
62 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
63 | 63 | /** |
64 | 64 | * Return list of active generation modules |
65 | 65 | * |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | */ |
70 | 70 | public static function liste_modeles($db, $maxfilenamelength = 0) |
71 | 71 | { |
72 | - // phpcs:enable |
|
72 | + // phpcs:enable |
|
73 | 73 | $type = 'invoice'; |
74 | 74 | $list = array(); |
75 | 75 |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | |
248 | 248 | |
249 | 249 | |
250 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
250 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
251 | 251 | /** |
252 | 252 | * Function to build PDF on disk, then output on HTTP stream. |
253 | 253 | * |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | */ |
261 | 261 | public function write_file($arrayofrecords, $outputlangs, $srctemplatepath, $outputdir = '', $filename = 'tmp_address_sheet.pdf') |
262 | 262 | { |
263 | - // phpcs:enable |
|
263 | + // phpcs:enable |
|
264 | 264 | global $user, $conf, $langs, $mysoc, $_Avery_Labels; |
265 | 265 | |
266 | 266 | $this->code = $srctemplatepath; |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | // use this method in future refactoring |
48 | 48 | } |
49 | 49 | |
50 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
50 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
51 | 51 | /** |
52 | 52 | * Output a sticker on page at position _COUNTX, _COUNTY (_COUNTX and _COUNTY start from 0) |
53 | 53 | * - %LOGO% is replace with company logo |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | */ |
65 | 65 | public function Add_PDF_label(&$pdf, $textleft, $header, $footer, $outputlangs, $textright = '', $photo = '') |
66 | 66 | { |
67 | - // phpcs:enable |
|
67 | + // phpcs:enable |
|
68 | 68 | global $mysoc, $conf, $langs; |
69 | 69 | global $forceimgscalewidth, $forceimgscaleheight; |
70 | 70 | |
@@ -224,7 +224,7 @@ discard block |
||
224 | 224 | |
225 | 225 | |
226 | 226 | |
227 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
227 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
228 | 228 | /** |
229 | 229 | * Function to build PDF on disk, then output on HTTP stream. |
230 | 230 | * |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | */ |
238 | 238 | public function write_file($arrayofrecords, $outputlangs, $srctemplatepath, $outputdir = '', $filename = 'tmp_address_sheet.pdf') |
239 | 239 | { |
240 | - // phpcs:enable |
|
240 | + // phpcs:enable |
|
241 | 241 | global $user, $conf, $langs, $mysoc, $_Avery_Labels; |
242 | 242 | |
243 | 243 | $this->code = $srctemplatepath; |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | public $error = ''; |
43 | 43 | |
44 | 44 | |
45 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
45 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
46 | 46 | /** |
47 | 47 | * Return list of active generation modules |
48 | 48 | * |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | public function liste_modeles($db, $maxfilenamelength = 0) |
54 | 54 | { |
55 | - // phpcs:enable |
|
55 | + // phpcs:enable |
|
56 | 56 | $type = 'members_labels'; |
57 | 57 | $list = array(); |
58 | 58 | |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | */ |
80 | 80 | function doc_label_pdf_create($db, $arrayofrecords, $modele, $outputlangs, $outputdir = '', $template = 'standardlabel', $filename = 'tmp_address_sheet.pdf') |
81 | 81 | { |
82 | - // phpcs:enable |
|
82 | + // phpcs:enable |
|
83 | 83 | global $conf, $langs; |
84 | 84 | $langs->load("members"); |
85 | 85 |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | } |
138 | 138 | |
139 | 139 | |
140 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
140 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
141 | 141 | /** |
142 | 142 | * Function to build pdf onto disk |
143 | 143 | * |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | */ |
152 | 152 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
153 | 153 | { |
154 | - // phpcs:enable |
|
154 | + // phpcs:enable |
|
155 | 155 | global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblines; |
156 | 156 | |
157 | 157 | dol_syslog("write_file outputlangs->defaultlang=" . (is_object($outputlangs) ? $outputlangs->defaultlang : 'null')); |
@@ -794,7 +794,7 @@ discard block |
||
794 | 794 | } |
795 | 795 | } |
796 | 796 | |
797 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
797 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
798 | 798 | /** |
799 | 799 | * Return list of active generation modules |
800 | 800 | * |
@@ -804,11 +804,11 @@ discard block |
||
804 | 804 | */ |
805 | 805 | public static function liste_modeles($db, $maxfilenamelength = 0) |
806 | 806 | { |
807 | - // phpcs:enable |
|
807 | + // phpcs:enable |
|
808 | 808 | return parent::liste_modeles($db, $maxfilenamelength); // TODO: Change the autogenerated stub |
809 | 809 | } |
810 | 810 | |
811 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
811 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
812 | 812 | /** |
813 | 813 | * Show table for lines |
814 | 814 | * |
@@ -869,7 +869,7 @@ discard block |
||
869 | 869 | } |
870 | 870 | } |
871 | 871 | |
872 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
872 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
873 | 873 | /** |
874 | 874 | * Show top header of page. |
875 | 875 | * |
@@ -1121,7 +1121,7 @@ discard block |
||
1121 | 1121 | return $top_shift; |
1122 | 1122 | } |
1123 | 1123 | |
1124 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1124 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1125 | 1125 | /** |
1126 | 1126 | * Show footer of page. Need this->emetteur object |
1127 | 1127 | * |
@@ -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)) { |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | */ |
40 | 40 | abstract class ModelePDFAsset extends CommonDocGenerator |
41 | 41 | { |
42 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
42 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
43 | 43 | /** |
44 | 44 | * Return list of active generation modules |
45 | 45 | * |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | public static function liste_modeles($db, $maxfilenamelength = 0) |
51 | 51 | { |
52 | - // phpcs:enable |
|
52 | + // phpcs:enable |
|
53 | 53 | $type = 'asset'; |
54 | 54 | $list = array(); |
55 | 55 |