MDW
37afba949e
Fix most PhanTypeMismatchDimAssignment notices ( #28739 )
...
* Qual: Add typing to fix PhanTypeMismatchDimAssignment notice
* Fix: Initialise array for code in somme
* Qual: Update type hint for argument in _Set_Format
* Qual: Update type hint for childtables
* Qual: Add typing to attributes
* Qual: Add typing for _msgContent
* Qual: Suppress PhanTypeMismatchDimAssignment
* Qual: Add typing for liste
* Qual: Add typing to fields
* Qual: Add typing hint for $objMod
* Qual: Modify assignment of array with bool keys for phan typing
Demonstration:
```
php -r '$a=[true=>"yes",false=>"no"];var_dump($a);'
# Result demonstrates bool keys are converted to int.
Command line code:1:
array(2) {
[1] =>
string(3) "yes"
[0] =>
string(2) "no"
}
```
* Qual: Add typing hint to indicate value is not null
* Force non-null type on $paramname
* Qual: Add typing hint to getCats()
* Update inc.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-03-10 01:53:04 +01:00
MDW
342ab85195
Qual: Spelling htdocs/[q-z]* ( #27447 )
...
# Qual: Fix spelling htdocs/[q-z]*
Probably fixes a bug:
- htdocs/webservices/server_thirdparty.php
No other occurence of adress found.
-'adress'=>->adress,- +'address'=>->address,+
2024-01-12 17:18:52 +01:00
Laurent Destailleur
619155f65e
Fix with php-cs-fixer
2023-12-04 13:53:48 +01:00
Frédéric FRANCE
53c8a3acf8
clean phpdoc for phpstan ( #26905 )
2023-12-01 19:51:32 +01:00
Laurent Destailleur
cfff62c2fa
Clean code
2023-04-29 15:46:44 +02:00
Laurent Destailleur
44da230012
Clean code
2023-02-21 12:57:36 +01:00
Laurent Destailleur
94da628cf4
Clean code for http header + better support for Content-Security-Policy
2022-08-16 15:19:45 +02:00
Laurent Destailleur
d4acad4a7a
FIX #yogosha11774
2022-07-14 11:51:38 +02:00
Laurent Destailleur
abe542f49e
Fix removed the cache.manifest file (useless and pb with some browsers)
2022-03-16 19:45:39 +01:00
Alexandre SPANGARO
7f47df6ea4
HTML5 - <font> tag is deprecated, replace by <span>
2021-10-05 11:44:48 +02:00
Laurent Destailleur
94fbcbdad1
CSS For support page
2021-08-16 20:22:50 +02:00
Frédéric FRANCE
ebfba19778
code syntax s... t.. dir
2021-02-26 21:17:52 +01:00
Laurent Destailleur
c49a145aec
Standardize code
2021-02-16 19:06:24 +01:00
UT from dolibit
67a94af84a
Update index.php
2020-11-20 11:53:16 +01: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
1bf5745286
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-04-25 11:52:07 +00: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
Frédéric FRANCE
fc34b5a4cb
compress png with zopflipng
2020-04-06 19:03:48 +02:00
Laurent Destailleur
ec649bc0a3
Fix CSS
2020-02-01 10:09:31 +01: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
8b0a0352e6
Fix responsive of help center
2019-05-13 09:47:58 +02: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
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
Regis Houssin
9589f69574
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into
...
develop_email
Conflicts:
htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php
2018-10-30 18:29:28 +01:00
Regis Houssin
569d59d251
FIX change my deprecated email
2018-10-27 14:43:12 +02:00
Regis Houssin
1c63d3a01d
FIX remove deprecated and unused file
2018-10-27 14:26:23 +02:00
Alexey Pyltsyn
49de7a5881
Replace multiple load calls with loadLangs method
2018-10-01 09:22:23 +03:00
Frédéric FRANCE
8312d95174
trim trailing
2018-07-26 18:22:16 +02:00
Laurent Destailleur
c513ffe1f7
Fix debian package
2018-02-16 18:21:18 +01:00
Laurent Destailleur
599f6426a5
Fix link http
2017-08-21 20:49:12 +02:00
Laurent Destailleur
a7c1ff402a
Fix picto on support page
2017-08-07 16:06:38 +02:00
Laurent Destailleur
b889db997a
Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/compta/facture.php
htdocs/core/datepicker.php
htdocs/core/get_menudiv.php
htdocs/core/menus/standard/auguria.lib.php
htdocs/core/menus/standard/eldy.lib.php
htdocs/core/search_page.php
htdocs/main.inc.php
htdocs/master.inc.php
htdocs/product/list.php
htdocs/theme/eldy/style.css.php
htdocs/theme/md/style.css.php
htdocs/user/card.php
htdocs/user/index.php
2017-06-14 10:48:34 +02:00
Laurent Destailleur
7939daa225
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into 5.0
...
Conflicts:
htdocs/core/lib/functions.lib.php
htdocs/theme/eldy/style.css.php
htdocs/theme/md/style.css.php
htdocs/user/index.php
2017-06-14 10:18:24 +02:00
Laurent Destailleur
9c482b9f2a
FIX CVE-2017-7886
2017-06-10 21:37:27 +02:00
Laurent Destailleur
b8b91db007
Use function top_httphead to include headers in pages.
2017-05-09 21:46:57 +02:00
Laurent Destailleur
d5bb208957
Clean admin menu entries
2017-02-22 02:19:50 +01:00
Laurent Destailleur
358616cda2
Fix link should be https
2017-01-07 15:18:57 +01:00
Laurent Destailleur
bcd3a1a888
NEW Default collation for mysql is now utf8_unicode_ci
2016-11-07 01:53:34 +01:00
Marcos García de La Fuente
257d9b2f8d
NEW #4772 Removed support for Mysql deprecated driver. Please use Mysqli instead
2016-04-17 15:39:46 +02:00
Laurent Destailleur
a4628e4bd1
Clean deprecated files
2016-02-16 00:41:30 +01:00
Laurent Destailleur
4c859999e8
Fix first install on debian.
2016-02-06 17:19:57 +01:00
Laurent Destailleur
3e266243e5
Fix css for support page
2015-08-28 20:39:30 +02:00
aspangaro
f65234e44f
Fix travis
2015-06-24 07:01:15 +02:00
Laurent Destailleur
a27212644e
NEW Can add project search on left menu search area
2015-06-22 11:55:21 +02:00