2
0
forked from Wavyzz/dolibarr
Commit Graph

55 Commits

Author SHA1 Message Date
Laurent Destailleur
1cccc808e7 Clean code for barcode generators 2024-05-22 15:49:33 +02:00
MDW
13043be5c5 Improve phpdoc typing 2024-03-31 01:03:31 +01:00
MDW
3a45f5f443 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:41 +01:00
MDW
c406ae4502 Fix args to strrev, imagefilledrectangle and imagettftext
# Fix args to strrev, imagefilledrectangle and imagettftext

Fix by initialising to string, and casting round() to int (return is float)
2024-03-19 02:59:11 +01:00
Frédéric FRANCE
c5fccd4110 fix phpstan (#28516)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-02-29 15:26:53 +01:00
Frédéric FRANCE
e969ddc386 fix phpstan (#28436) 2024-02-26 22:34:17 +01:00
Lucas Marcouiller
82faea5167 Fix some php warnings and errors (#28138)
* Fix some php warnings and errors

* fix array

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-13 11:26:40 +01:00
MDW
89004f7e03 Qual: Spelling htdocs/core (#27491)
Highlights:
- initialY in pdf_standard.modules.php was unused
  - remove (otherwise -> initially) (+same in other file)
2024-01-13 19:48:20 +01:00
Frédéric FRANCE
0d3e0c8ec4 fix incorrect case and remove exclude check (#27449) 2024-01-12 20:40:34 +01:00
Frédéric FRANCE
959bae899a Function should return string|null but return statement is missing. 2024-01-09 18:59:12 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
53dab922fd Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
Regis Houssin
030f7ffde1 FIX avoid php8.2 warnings (#26720)
* FIX avoid php8.2 warnings

* FIX avoid travis error

* FIX travis error

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-19 00:56:46 +01:00
Regis Houssin
c9d2d77fef NEW add barcode function to check if EAN13 is valid (#26567) 2023-11-14 01:54:04 +01:00
Laurent Destailleur
759ddd2d73 Clean code 2023-05-01 16:21:00 +02:00
Laurent Destailleur
e2ec34e1e5 Clean code 2023-05-01 14:33:08 +02:00
Laurent Destailleur
d976372d87 Fix #huntrf0ffd01e-8054-4e43-96f7-a0d2e652ac7e 2023-02-17 17:55:46 +01:00
Laurent Destailleur
8f4fb9fd3c Update barcode.lib.php 2021-09-28 12:56:33 +02:00
Philippe GRAND
67cc5155b1 fix :Warning: Undefined property: stdClass:: in C:\wamp64\www\dolibarr-dev\htdocs\core\lib\barcode.lib.php on line 62 2021-09-25 18:15:44 +02:00
Laurent Destailleur
7d61609462 FIX #yogosha6907 2021-08-17 13:13:04 +02:00
Martin Neubauer
85eb82c8c3 Tweak offsets for UPC barcode text 2021-03-12 14:44:04 +01:00
Martin Neubauer
09cedb5a5e ISBN might start with 979 these days 2021-03-12 13:55:39 +01:00
Martin Neubauer
5aaeb6742c Add UPC support to built-in barcode generator 2021-03-12 13:54:27 +01:00
Martin Neubauer
7b59a3ac2b Factor out generating EAN bars 2021-03-12 13:11:17 +01:00
Frédéric FRANCE
a4e25359e7 add missing rule 2021-03-01 20:37:16 +01:00
Frédéric FRANCE
554e449e40 code syntax core directory 2021-02-23 22:03:23 +01:00
Frédéric FRANCE
7caac9ebe7 The function each() has been deprecated: 7.2 2020-11-03 21:35:23 +01:00
Scrutinizer Auto-Fixer
7f52920716 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-10-31 13:32:18 +00:00
Frédéric FRANCE
b41ac00b98 add new rule 2020-05-21 15:05:19 +02:00
Frédéric FRANCE
ee6fadd0d5 add new rule 2020-05-21 01:41:27 +02:00
Scrutinizer Auto-Fixer
444c293c01 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-04-10 08:59:32 +00:00
Alexandre SPANGARO
02dbc11f98 Move Gnu.org to https 2019-09-23 21:55:30 +02:00
Frédéric FRANCE
b9d37c276d update doc in barcode.lib.php 2019-02-13 22:23:14 +01:00
Laurent Destailleur
e18bd6f986 Merge branch 'develop' into nospaceaftercomma 2019-01-30 18:27:35 +01:00
Frédéric FRANCE
b10558bacd Merge remote-tracking branch 'upstream/develop' into nospaceaftercomma 2019-01-27 23:23:38 +01:00
Laurent Destailleur
f30a3d59ba Merge branch 'develop' into toomanylines 2019-01-27 17:59:13 +01:00
Laurent Destailleur
4f9f0fd7b5 Merge branch 'develop' into elseif 2019-01-27 17:54:06 +01:00
Frédéric FRANCE
f0cdf300d1 Squiz.Functions.FunctionDeclarationArgumentSpacing 2019-01-27 15:20:16 +01:00
Frédéric FRANCE
496fa9b0fb PSR2.Files.EndFileNewline.TooMany 2019-01-27 14:10:35 +01:00
Frédéric FRANCE
7ee086b402 PSR2 space after comma in function call 2019-01-27 11:55:16 +01:00
Frédéric FRANCE
6e91b3cefc PSR2 usage of else if is discouraged 2019-01-27 10:49:34 +01:00
Frédéric FRANCE
6cb0fb10d6 trim trailing 2018-07-26 19:05:34 +02:00
Scrutinizer Auto-Fixer
aab2799981 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2017-11-27 13:48:36 +00:00
Laurent Destailleur
4582b54e91 Fix use command standard @... to mark a change in official code 2017-07-17 20:09:19 +02:00
Laurent Destailleur
7445a0f71c Clean code for generating sheet of barcode. Can choose output filename. 2016-02-08 16:42:34 +01:00
Laurent Destailleur
0b6bd0bc14 More robust error management on barcode module. 2016-02-08 15:49:38 +01:00
Scrutinizer Auto-Fixer
4da737424e Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-04-06 10:25:30 +00:00
Laurent Destailleur
83122ebe1e Fixed a lot of bugs into PrintIPP module. Seems to be stable enough now
for release.
2014-12-04 13:20:56 +01:00
Raphaël Doursenaud
c48c3a9d91 Qual: remove PHP closing tag (again)
These were reintroduced by careless merge
2014-05-26 13:51:25 +02:00
Regis Houssin
c9a71439b2 Fix: EOF 2013-06-05 16:24:32 +02:00