2
0
forked from Wavyzz/dolibarr
Commit Graph

478 Commits

Author SHA1 Message Date
MDW
044d342956 Fix: LABEL is required on the db classes.
# Fix: LABEL is required on the db classes.

Define const in parent type so that it is required in the subclasses.
2024-01-29 18:56:17 +01:00
MDW
3a4cef8705 fixup! QUAL Force subclass MINVERSION (#26314) 2024-01-23 21:20:35 +01:00
MDW
4b162cefee QUAL Force subclass MINVERSION (#26314)
* Define DoliDB::VERSIONMIN as mandatory constant in subclass

See https://stackoverflow.com/a/43134924/6378634

This also helps static tool checks
2024-01-23 20:47:19 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00
MDW
b4b0cdf105 Fix: Deprecated mysqli::init() in PHP8.1
# Fix: Deprecated mysqli::init() in PHP8.1

See https://www.php.net/manual/en/migration81.deprecated.php#migration81.deprecated.mysqli
2024-01-18 22:04:19 +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
Laurent Destailleur
aba9afe9f1 NEW Add method getPublicImageOfObject() for website module 2024-01-12 13:05:28 +01:00
Laurent Destailleur
8874ef8454 Debug v19 2023-12-23 18:47:38 +01:00
Laurent Destailleur
97ae114265 FIX Universal search syntax accept string with ' in the IN 2023-12-19 15:01:21 +01:00
Laurent Destailleur
44f24746ed Fix warnings 2023-12-15 13:49:09 +01:00
Laurent Destailleur
dae7bb5e80 Fix phpstan 2023-12-15 11:02:50 +01:00
Laurent Destailleur
dc134cddba FIX Remove useless code line that make phpstan hang with not enough
memory
2023-12-15 10:46:49 +01:00
Can Arslan
9a5a24a634 FIX: PHPDoc return type 2023-12-11 16:03:20 -07:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Laurent Destailleur
2eb630cd00 Fix with php-cs-fixer 2023-12-04 12:05:02 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
fa79a93a51 Fix warning 2023-11-27 12:16:09 +01:00
Laurent Destailleur
53dab922fd Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
MDW
3c966469ef QUAL No return values in __construct(), correct PHPDoc for typing (#26768) 2023-11-20 23:47:06 +01:00
MDW
24f8488b48 QUAL Force subclass MINVERSION (#26314)
* Define DoliDB::VERSIONMIN as mandatory constant in subclass

See https://stackoverflow.com/a/43134924/6378634

This also helps static tool checks

* fixup! Define DoliDB::VERSIONMIN as mandatory constant in subclass
2023-10-21 16:27:52 +02:00
Laurent Destailleur
553776a77a Enhance error message when set character set failed 2023-10-05 12:58:44 +02:00
Laurent Destailleur
76a7801975 Fix warning 2023-10-05 11:27:00 +02:00
Laurent Destailleur
d02c615f40 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-09-16 15:14:22 +02:00
Laurent Destailleur
5e0bd9bb71 Avoid warning 2023-09-16 13:53:29 +02:00
Laurent Destailleur
818b1193b1 Fix escapesql 2023-09-15 16:19:05 +02:00
Laurent Destailleur
00609fb6c7 FIX Warning 2023-09-14 15:31:05 +02:00
Laurent Destailleur
630e305161 Standardize db drivers. No more static class. 2023-08-04 04:18:59 +02:00
Laurent Destailleur
6a962cbefa Debug v19 2023-08-01 17:06:22 +02:00
Olivier Lesueur
4a14ba2083 Use SSL connection to MySQL server if server name starts with ssl:// (#25525)
* Use SSL connection to MySQL server if server name starts with ssl://

* Update mysqli.class.php

---------

Co-authored-by: Olivier Lesueur <o.lesueur@crm.fnattp.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-08-01 16:58:32 +02:00
Laurent Destailleur
ec39199b85 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
Conflicts:
	.travis.yml
	htdocs/api/class/api_documents.class.php
	htdocs/core/db/pgsql.class.php
2023-07-26 01:42:22 +02:00
Laurent Destailleur
8e94ea0504 Fix warning 2023-07-26 00:01:45 +02:00
Laurent Destailleur
673236cf4b Fix warning 2023-06-29 13:24:37 +02:00
Laurent Destailleur
0670cf25b9 Debug v18 2023-06-22 22:32:09 +02:00
hystepik
597b36e57c Fix : php8.1 warnings with strict mode 2023-06-10 10:47:36 +02:00
Laurent Destailleur
738f58f46f Add protection when mysqli not available 2023-05-14 02:05:35 +02:00
Frédéric FRANCE
163bd91ebe Update mysqli.class.php 2023-04-20 18:53:04 +02:00
Frédéric FRANCE
9ae24a0369 fix bad edit 😳 2023-04-20 18:46:40 +02:00
Frédéric FRANCE
c6aa069705 Fix 😍 in dolibarr when using utf8mb4 2023-04-20 18:32:09 +02:00
Laurent Destailleur
a30242eadc Merge pull request #24507 from frederic34/repair_script
NEW repair script skip views
2023-04-18 17:24:52 +02:00
Laurent Destailleur
f02ff3f774 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-04-15 02:29:01 +02:00
Laurent Destailleur
f425bd4654 Fix sqlforlike when searching with like and _ string 2023-04-15 01:24:50 +02:00
Frédéric FRANCE
ccb88a9b76 NEW repair script skip views 2023-04-14 10:10:28 +02:00
Frédéric FRANCE
834cb83047 NEW repair script skip views 2023-04-14 10:06:10 +02:00
Laurent Destailleur
28818fc65b Fix pgsql update of extrafields type 2023-03-26 21:19:38 +02:00
Laurent Destailleur
32d3a3190e Fix warning 2023-03-22 17:13:27 +01:00
Laurent Destailleur
a618bed16d Add phpunit for DDLUpdateField 2023-03-22 15:22:23 +01:00
Florent Poinsaut
fc63599d52 Fix UpdateField with PostgreSQL 2023-03-21 12:03:57 +01:00
FLIO
0080b0a80f fix (qodana) fix condlicts 2023-02-01 23:38:49 +01:00
Laurent Destailleur
5c6d0bc26f Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-30 03:01:13 +01:00
Laurent Destailleur
1bbcd3c403 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-01-30 02:29:43 +01:00