2
0
forked from Wavyzz/dolibarr
Commit Graph

104 Commits

Author SHA1 Message Date
MDW
084c2106f6 Fix: Ensure string type for urlencode() 2024-03-09 16:52:54 +01:00
MDW
8655d5a86b QUAL Use phan to help detect new issues (#27706)
* Qual: Add phan flow

- Add phan configuration (config, baseline, stubs);
- Add github action;
- Update apstats.php.

* Add directives to ignore false phan notices

* Qual: Add typing hints for extrafields TPL files

# Qual: Add typing hints for extrafields TPL files

Add typing hints for phan on view files

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-21 18:14:29 +01:00
MDW
71f906c280 Qual: Spelling of admin code. (#27412)
# Qual: Fix spelling of admin code.

Mostly changes in the comments.
Some french text was modified to not trigger a bad spelling.

htdocs/admin/contract.php has a change to $langs->trans(Activated)
which probably fixes a bug.

htdocs/admin/system/xcache.php used ->trans(Recommanded)
but the proper key is ->trans(Recommended).
2024-01-11 09:59:52 +01:00
Laurent Destailleur
6f144a7ccf Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-09 16:43:13 +01:00
MDW
b60a152c2c Fix: Make executeRequest public
htdocs/admin/dolistore/ajax/image.php uses executeRequest,
changing that is more effort than making the method public.
2024-01-08 17:52:19 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
MDW
e998257235 libxml - reintroduce security measure not in the official PS WebServiceLib 2023-12-19 19:53:44 +01:00
MDW
77f6606b1b Fix Dolibar PHP-CS requirements 2023-12-19 19:43:53 +01:00
MDW
e9de2f6bbb Fix Update PSWebServiceLibrary to fix deprecated function call libxml_disable_entity_loader()
# Fix PSWebServiceLibrary.class.php: PhanDeprecatedFunctionInternal: Call to deprecated function \libxml_disable_entity_loader()

See https://github.com/Dolibarr/dolibarr/actions/runs/7242938198/job/19729044021#step:5:32
2023-12-19 19:43:53 +01:00
Laurent Destailleur
78d5e71a8f FIX #yogosha19506 2023-12-16 19:24:41 +01:00
Frédéric FRANCE
5fbd5c28b6 fix phpdoc 2023-12-07 20:33:06 +01:00
Laurent Destailleur
987d6c41b9 Fix with php-cs-fixer 2023-12-04 11:41:14 +01:00
MDW
19b1dd5a11 Fix misspelled @throw -> @throws (#26297)
Identified using phan, see #26262
2023-10-20 14:12:42 +02:00
Laurent Destailleur
bae75281e3 QUAL: Code fix using rector 2023-10-11 19:44:06 +02:00
Laurent Destailleur
0baf8d4117 Fix warnings 2023-08-05 22:57:12 +02:00
Laurent Destailleur
2168578f2e Fix inline css 2023-02-18 14:00:25 +01:00
Laurent Destailleur
16c087e04c Clean htmlentities 2022-07-22 19:25:15 +02:00
Laurent Destailleur
f52a7a26f6 Debug v16 - Fix for postgresql - Fix for sql loading per module - php8 2022-05-08 15:18:34 +02:00
Laurent Destailleur
d19aca7192 # WARNING: head commit changed in the meantime
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
2022-02-17 20:50:03 +01:00
Marc GUENNEUGUES
c552030b69 Fix urlencode breaking links in Market Place page 2022-02-11 15:18:38 +01:00
Laurent Destailleur
bf1dfac629 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/langs/en_US/errors.lang
	htdocs/product/stock/movement_list.php
2021-11-25 21:54:06 +01:00
Laurent Destailleur
60ef230447 Fix html content 2021-11-22 12:37:47 +01:00
Laurent Destailleur
441af6b6fb Fix add rel="noopener noreferrer" 2021-11-22 02:35:55 +01:00
Scrutinizer Auto-Fixer
5567310e44 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2021-10-25 20:07:31 +00:00
Laurent Destailleur
166d3b08d6 Add LIBXML_NONET to simplexml_load_string 2021-09-30 20:12:01 +02:00
Laurent Destailleur
5869975ed1 Fix phpcs 2021-09-13 02:59:09 +02:00
Laurent Destailleur
7efd810d57 Clean code 2021-09-13 01:18:24 +02:00
Laurent Destailleur
8485fee5f9 Cast numeric into on sql request 2021-08-23 19:33:24 +02:00
Laurent Destailleur
e71e5d533d Fix HTML5 2021-04-19 21:30:25 +02:00
Laurent Destailleur
8a62d97b89 Remove one thousand of useless files 2021-04-12 15:57:16 +02:00
UT from dolibit
87c9b4b9fd Update PSWebServiceLibrary.class.php
https://
2021-03-30 17:21:10 +02:00
Frédéric FRANCE
608b933ef5 code syntax admin dir 2021-02-26 22:04:03 +01:00
Frédéric FRANCE
f92b5e87dc doxygen 2020-11-13 14:35:04 +01:00
Frédéric FRANCE
64c48a246a The method PrestaShopWebservice::... is not static, but was called statically 2020-11-12 18:53:26 +01:00
Frédéric FRANCE
caa82a1e2f Update PSWebServiceLibrary.class.php 2020-11-12 18:43:52 +01:00
Frédéric FRANCE
9c7d698cc7 Create index.html 2020-11-12 18:40:34 +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
85625a46bb add new rule 2020-05-21 09:35:30 +02:00
Frédéric FRANCE
ee6fadd0d5 add new rule 2020-05-21 01:41:27 +02:00
Frédéric FRANCE
366ae2f116 Update dolistore.class.php 2020-05-12 18:44:26 +02:00
Laurent Destailleur
4c605283f5 Fix phpcs 2020-04-27 00:09:21 +02:00
Laurent Destailleur
b20d85b198 Fix phpcs 2020-04-26 23:06:52 +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
Scrutinizer Auto-Fixer
b40ecc3933 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2019-11-13 18:37:08 +00:00
Laurent Destailleur
18aa03defe Remove not used dangerous code 2019-10-23 15:14:20 +02:00
Frédéric FRANCE
360bf55f5b clean indent 2019-10-20 01:09:11 +02:00
Frédéric FRANCE
e75f7d448c Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpen 2019-10-16 20:00:01 +02:00
Alexandre SPANGARO
02dbc11f98 Move Gnu.org to https 2019-09-23 21:55:30 +02:00
Laurent Destailleur
b6adfed070 Fix var not defined 2019-08-31 13:09:31 +02:00
Laurent Destailleur
4f9ea912ab Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/website.inc.php
2019-05-02 14:41:56 +02:00