Laurent Destailleur
ee0412dd27
Fix phan warning
2024-07-31 18:54:52 +02:00
Laurent Destailleur
147a8bfaee
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/adherents/subscription/list.php
htdocs/categories/viewcat.php
htdocs/contrat/card.php
htdocs/contrat/list.php
htdocs/eventorganization/conferenceorbooth_list.php
htdocs/expedition/list.php
htdocs/societe/card.php
2024-07-11 10:44:39 +02:00
Alexandre SPANGARO
128769811c
Add css bodylist on list ( #30334 )
...
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-07-11 00:45:05 +02:00
Laurent Destailleur
8a4f550d64
Debug v20
2024-07-09 17:33:27 +02:00
Laurent Destailleur
e985d24b52
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-07-02 02:11:39 +02:00
Laurent Destailleur
d6480594af
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-07-02 02:09:25 +02:00
Laurent Destailleur
6259d02042
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-07-02 02:08:10 +02:00
Pichi1966
e79f18a636
FIX ASSET: annual depreciation starting year (Again ;-)) #26084 ( #30040 )
...
* FIX ASSET: annual depreciation starting year (Again ;-)) #26084
FIX Update asset.class.php
This is an old issue that has been already fixed by
https://github.com/Dolibarr/dolibarr/pull/26084
I tested it several times and it works.
* Update asset.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-07-02 02:06:54 +02:00
Alexandre SPANGARO
f105f9339b
Small review of asset module ( #30213 )
2024-07-01 13:02:08 +02:00
Alexandre SPANGARO
96afcaa476
Better comments ( #30200 )
...
* Fix language
* Fix language
* Fix language
* Fix language
* Fix language
* Fix language
* Fix language
* CI Missing language key
* Update eventorganization.lang
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-06-30 21:02:50 +02:00
Frédéric FRANCE
4b275dc148
add phpdoc ( #30208 )
...
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
* clean phpdoc
2024-06-30 19:39:01 +02:00
Laurent Destailleur
66f4562300
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-05-23 14:50:17 +02:00
Laurent Destailleur
a854e58905
FIX Missing $param in hook call for list
2024-05-23 14:41:56 +02:00
Laurent Destailleur
458ffdb23e
css
2024-05-09 18:15:57 +02:00
Frédéric FRANCE
d0830b3159
fix phpstan ( #29602 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix travis
* fix phpstan
* fix phpstan
* fix phan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
fix phpstan
fix phpstan
fix phpstan
fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix travis
* fix phpstan
* fix phpstan
* fix phpstan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-05-05 00:34:19 +02:00
Frédéric FRANCE
b0695abca9
fix phan ( #29591 )
...
* fix phan
* fix typos and translations
* fix phan remove code doing nothing
* fix phan remove code doing nothing
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-05-03 18:01:17 +02:00
Laurent Destailleur
0b9bd5408b
Debug v20: Encapsulate the feature using leaflet/geophp into a constant
...
MAIN_USE_GEOPHP. Fix webportal module.
2024-05-03 02:39:35 +02:00
Frédéric FRANCE
82d63247d7
fix phpstan pgsql.class.php ( #29511 )
...
* fix phpstan pgsql.class.php
* Update Database.interface.php
* fix phan
fix phan
fix phan
* fix phan
* fix phan
* fix phan
* fix phan
fix phan
fix phan
fix phan
fix phan
* fix phan
* fix phan
* fix phan
* fix phan
2024-04-27 22:01:34 +02:00
Laurent Destailleur
fd9475be03
Use same doc comment eveywhere.
2024-04-07 12:26:27 +02:00
Frédéric FRANCE
7cf6a0821f
fix phpdoc for ismultientitymanaged ( #29245 )
...
* fix phpdoc
* fix
* fix
* fix
* fix
* fix
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-04-06 17:38:39 +02:00
Laurent Destailleur
38fb00489d
PHPDoc
2024-04-05 13:44:59 +02:00
MDW
04c3e80fc5
Fix typing
2024-03-29 18:26:48 +01:00
Laurent Destailleur
13e903aca4
Clean use of $_POST
2024-03-28 20:44:51 +01:00
MDW
1b66890b30
Force typing (phan) for typing checks
2024-03-27 10:18:02 +01:00
Laurent Destailleur
7b0177a84d
Move to getDolGlobalString
2024-03-22 00:37:56 +01:00
MDW
b6ac5dcf76
Fix $mybool |=... which is binary op, not boolean op
...
# Fix $mybool |=... which is binary op, not boolean op
This fixes PhanTypeInvalidLeftOperandOfBitwiseOp.
Replace $var |= ... with $var = ... || $var .
Add cast before ... when needed (@include does not always return bool).
|= always evaluates expression, there for || $var, not $var ||
2024-03-21 13:44:57 +01:00
MDW
81d9e8aa01
Fix $mybool |=... which is binary op, not boolean op
...
# Fix $mybool |=... which is binary op, not boolean op
This fixes PhanTypeInvalidLeftOperandOfBitwiseOp.
Replace $var |= ... with $var = $var || ... .
Add cast before ... when needed (@include does not always return bool).
2024-03-21 13:44:56 +01:00
MDW
fd9d48faac
Fix phpstan CommonObject->fields - notnull is optional field
2024-03-19 00:32:00 +01:00
Laurent Destailleur
de58435ef1
FIX: if we stop for security purpose, we must exit a non zero value.
2024-03-16 23:08:15 +01:00
Laurent Destailleur
310b74960e
Fight against ucfirst to get a className.
2024-03-16 22:26:24 +01:00
Laurent Destailleur
e8596c61c3
Fix phan
2024-03-16 22:18:58 +01:00
Laurent Destailleur
90172fba83
Code simpler
2024-03-16 22:00:55 +01:00
Laurent Destailleur
87388d7dab
Debug v20
2024-03-16 21:33:55 +01:00
Laurent Destailleur
eececbe72b
More secured parameter for $tmpobjectkey
2024-03-16 17:34:58 +01:00
Laurent Destailleur
e994d6650f
Fix regression in GETPOST limit
2024-03-16 11:41:00 +01:00
Laurent Destailleur
57d826e261
Merge pull request #28889 from mdeweerd/fix/PhanTypeMismatchArgumentInternalReal
...
Fix & enable PhanTypeMismatchArgumentInternalReal
2024-03-16 11:05:20 +01:00
MDW
7c9e6d09c3
Fix tmpobjectkey test
2024-03-15 23:58:19 +01:00
Laurent Destailleur
79aa9fb1f1
Code simpler
2024-03-15 20:29:21 +01:00
Laurent Destailleur
28269b1a0a
Clean code for #28785
2024-03-15 20:26:22 +01:00
MDW
23785393a3
Add csslist to json keys
2024-03-15 03:55:52 +01:00
MDW
dfd1dfff9c
Fix PhanTypeMismatchPropertyDefault
2024-03-15 01:23:08 +01:00
MDW
74c846e114
Fix PhanTypeMismatchPropertyDefault
2024-03-15 01:23:07 +01:00
MDW
8e664aa0e1
Fix PhanPluginDuplicateConditionalUnnecessary "X ? Y : Y" (Simplify)
2024-03-14 19:47:14 +01:00
MDW
ac23e322e2
Fix PhanPluginDuplicateConditionalUnnecessary "X ? Y : Y" (Simplify)
2024-03-14 19:47:13 +01:00
MDW
b79e5638a9
Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
...
# Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
PhanTypeExpectedObjectOrClassName should be fixed by testing that the classname is not
empty.
2024-03-12 18:40:00 +01:00
Laurent Destailleur
74b8162d22
Merge pull request #28700 from mdeweerd/urlencode/fixuptype
...
Fix: Ensure the argument type for urlencode is string
2024-03-12 14:43:41 +01:00
MDW
88d59896ec
Qual: 'enabled' in fields can be string ('isModEnabled(...)')
...
# Qual: 'enabled' in fields can be string ('isModEnabled(...)')
Update PHPdoc to allow that enabled is a string
2024-03-12 13:38:08 +01:00
MDW
622a32b2bb
Fix: Repeat fields typing in CommonClass children
...
# Fix: Repeat fields typing in CommonClass children
phpstan needs typing to be 'co-variant' and therefore typing must be repeated as
the method is not to initialise the property in the constructor, but to override
the proparty by a 'local' definition in the child class
2024-03-11 17:38:44 +01:00
MDW
4740562141
Fix: Repeat fields typing in CommonClass children
...
# Fix: Repeat fields typing in CommonClass children
phpstan needs typing to be 'co-variant' and therefore typing must be repeated as
the method is not to initialise the property in the constructor, but to override
the proparty by a 'local' definition in the child class
2024-03-11 17:38:42 +01:00
MDW
67d01e2a9b
Fix: Repeat fields typing in CommonClass children
...
# Fix: Repeat fields typing in CommonClass children
phpstan needs typing to be 'co-variant' and therefore typing must be repeated as
the method is not to initialise the property in the constructor, but to override
the proparty by a 'local' definition in the child class
2024-03-11 17:38:40 +01:00