Commit Graph

759 Commits

Author SHA1 Message Date
Laurent Destailleur
bd3077ce67 Fix for smartphone 2024-04-18 17:38:33 +02:00
MDW
090970ed4f Fix #29359 Add exception for contributor email (#29394) 2024-04-18 15:43:59 +01:00
MDW
da9fd874bc Qual: Fix or ignore functions.lib.php phan notices (#29344)
* Fix: LogHandler parent class, implements interface & provides $code

* Fix: functions.lib phan notices

* Fix phan notifications

* Match expected DebugBar signature - rename getRenderer

* Call the correct renderer method for the DebugBar

* Use correct key type to access array

* Ignore notices

* Update functions.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-14 04:46:33 +02:00
MDW
bc5e5b67af Qual: Update phan baseline (#29300)
* Qual: Update phan baseline

* Init variable to ensure it is defined

* Init $module_part to ensure it is defined

* Init $modulepart to ensure it is defined

* phpdoc typing for getNetNeeds and getNetNeedsTree

* Enforce type for phan

* Initialise  $massactionbutton so that it is defined

* phpdoc: improve typing

* Encore character_set value is string (for typing)

* fixup! Qual: Update phan baseline

* Fix duplicate code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-12 01:06:52 +02:00
Laurent Destailleur
6fcec74fed Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-11 22:58:17 +02:00
Laurent Destailleur
0a3f66c6c4 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	dev/tools/codespell/codespell-ignore.txt
	htdocs/admin/system/security.php
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/menus/standard/eldy.lib.php
	htdocs/product/fournisseurs.php
2024-04-11 22:57:43 +02:00
MDW
e171e8e7ef Qual: Fix all active phan notices in html.form.class.php (#29316) 2024-04-11 19:14:46 +02:00
Laurent Destailleur
efaccbc519 Remove duplicate graph 2024-04-10 01:50:29 +02:00
Laurent Destailleur
89c9651fde Fix example of security options 2024-04-09 15:31:13 +02:00
Laurent Destailleur
345a315b50 Fix example of security options 2024-04-09 15:29:43 +02:00
Laurent Destailleur
39491976e1 Fix title 2024-04-08 19:26:37 +02:00
Laurent Destailleur
b6822272b3 Look and feel 2024-04-08 16:37:33 +02:00
Laurent Destailleur
f1a3df108f Fix thumbs replace by opencollective 2024-04-08 14:59:21 +02:00
Laurent Destailleur
3215fa1184 Try to add stats fro ossinsight 2024-04-08 14:30:44 +02:00
Laurent Destailleur
ea1c9ad11d Fix grouping of security alerts 2024-04-08 14:00:13 +02:00
MDW
4d496209ce Qual: Phan/apstats should not be using the standard baseline (#29267)
# Qual: Phan/apstats should not be using the standard baseline

Fix to get apstats reporting on the technical debt.  The 'baseline.txt'
is for the ci regression.  The code is changed to allow a
'baseline_extended.txt' which should not be generated, only hand-crafted
2024-04-07 15:02:00 +02:00
MDW
bbde552979 Qual: Enable Phan Rules and update baseline (#29255)
* Fix script generating trailing whitespace

* Add nusoap as a stub for better analysis

* Qual: Return type for fetch_name_optionals_label to fix phan message

* Qual: Enable Phan Rules and update baseline

# Qual: Enable Phan Rules and update baseline

This enables all of the rules that are currently also
enabled for cti, but sets the baseline to ignore the
exceptions already present.
This will help detect exceptions added by code modifications
if the rule is not ignored for the given file.
2024-04-07 11:55:39 +02:00
Laurent Destailleur
fa43938f76 Fix merge same title of security issue 2024-04-07 11:46:12 +02:00
Laurent Destailleur
d0c7c7f2c7 Add CR on RSS feed of apstat 2024-04-05 15:51:41 +02:00
Laurent Destailleur
e9857d5473 Try new line in description of rss 2024-04-05 15:49:52 +02:00
Laurent Destailleur
5702c31110 Typo 2024-04-05 15:47:25 +02:00
Laurent Destailleur
f12826a952 Add link to securities 2024-04-05 15:43:43 +02:00
Laurent Destailleur
0d5b81796f Fix escape 2024-04-05 15:34:30 +02:00
Laurent Destailleur
5d0125870d Add link into rss 2024-04-05 15:32:46 +02:00
Laurent Destailleur
773fcd8f06 Fix rss 2024-04-05 15:04:18 +02:00
Laurent Destailleur
4ef9a2c0f5 Fix rss 2024-04-05 15:01:59 +02:00
Laurent Destailleur
50dfa79a43 Fix warning 2024-04-05 15:00:21 +02:00
Laurent Destailleur
5e24b6ef70 Fix rss 2024-04-05 14:56:59 +02:00
Laurent Destailleur
79deb2bc3a NEW Add a link to add a website category in edit page properties 2024-04-05 14:45:34 +02:00
Laurent Destailleur
4694b4e1b4 Worl on CSS generation 2024-04-05 14:11:34 +02:00
Laurent Destailleur
38fb00489d PHPDoc 2024-04-05 13:44:59 +02:00
Laurent Destailleur
d8d41cefbe Enhance security fixes 2024-04-05 10:59:40 +02:00
Laurent Destailleur
ba25317a97 Exclude PhanDeprecatedProperty for the moment 2024-04-05 10:22:01 +02:00
Laurent Destailleur
bec30610d9 Add link to apstats 2024-04-03 19:23:53 +02:00
MDW
24e48998ce Add nempty to spelling 2024-03-27 10:18:42 +01:00
MDW
1c9c665b0b Update baseline (improved) 2024-03-27 10:18:41 +01:00
MDW
6e5841b13d Add checks on checkVal, price2num and GETPOSTFLOAT arguments 2024-03-27 10:18:41 +01:00
MDW
a703ea1092 Add checks on dol_(mktime|now|print_date) + avoid duplicate phan conf 2024-03-27 10:18:39 +01:00
MDW
88c2d7e34e Add spelling for shippin 2024-03-27 10:18:24 +01:00
MDW
fc43b5a252 Ignore PhanParamTooMany for adherents/admin/member.php
# Ignore PhanParamTooMany for adherents/admin/member.php

Ignore PhanParamTooMany for adherents/admin/member.php for passing CI;
The problem pre-exists and can be fixed later.
2024-03-27 10:18:14 +01:00
MDW
aba83e9e42 Add function definitions to stub 2024-03-27 10:18:11 +01:00
Laurent Destailleur
8bcfefe42f Update config_fixer.php 2024-03-24 16:39:25 +01:00
Laurent Destailleur
414c51d631 Update config_extended.php 2024-03-24 16:38:51 +01:00
Laurent Destailleur
d78bafe602 Update config_extended.php 2024-03-24 16:38:21 +01:00
Laurent Destailleur
c43bb3d52c Update config.php 2024-03-24 16:37:21 +01:00
MDW
a1ae115757 Set cache_codes global type 2024-03-24 15:40:25 +01:00
MDW
34416d9723 Qual: Enable PhanNonClassMethodCall 2024-03-24 15:06:59 +01:00
MDW
02960415cb Fix global typing of menumanager as MenuManager 2024-03-24 11:03:22 +01:00
MDW
04b3ed0c7e Fix extrafeild typo 2024-03-24 11:03:03 +01:00
MDW
79a8533f53 Qual: Enable PhanTypeInvalidPropertyName 2024-03-24 11:03:02 +01:00