2
0
forked from Wavyzz/dolibarr
Commit Graph

278 Commits

Author SHA1 Message Date
Laurent Destailleur
63ac936652 Fix add an order to have same behavior in using stripe customer account
event if data are corrupted with duplicate record.
2024-11-25 14:46:22 +01:00
Laurent Destailleur
5aa14a24cb More logs 2024-11-24 22:33:08 +01:00
Laurent Destailleur
a3bea77898 Log 2024-11-13 19:27:02 +01:00
MDW
278d301f32 Qual: Fix phan/phpstan notices in class files (part 6) (#31634)
* Qual: Fix notices for paymentdonation...workstationusergroup.class

* Qual: Fix PhanPluginRedundantReturnComment, update baseline

* Qual: Complete array phpdoc for properties
2024-11-06 23:57:45 +01:00
MDW
e7539f2e19 Qual: Fix notices in .lib.php files (#31672)
* Qual: Fix notices in .lib.php files

* Update wrapper.php

* Update availabilities_card.php

* Update index.php

* Update document.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 12:32:13 +01:00
Laurent Destailleur
8abfcf71a9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-10-24 13:54:13 +02:00
Laurent Destailleur
830029dd05 NEW Iban is saved encrypted 2024-10-24 13:03:52 +02:00
Laurent Destailleur
3bc1d35236 QUAL The property ->domiciliation and ->propio on bank accounts has been
deprecated and replaced with property ->address and ->owner_name
2024-10-24 12:38:41 +02:00
MDW
fb3972b702 Qual: Fix phan notices in some payment/strip related classes (#31453)
* fix concat

* fix overwrite

* Clean code

* Do not analyze custom

* Update baseline, ignore everything in custom

* Qual: Fix notices in files related to ticket class

* Qual: Fix companybankaccount.class

* Fix phan/phpstan notices

---------

Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: Frédéric FRANCE <frederic.france@free.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-20 00:32:01 +02:00
Frédéric FRANCE
ecf5f41110 fix phpstan (#31020)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-20 01:46:07 +02:00
MDW
099dbd9c1e Qual: Fix notices for htdocs/admin/* (#30982)
* Fix (Possibly)UndeclaredGlobalVariable

* Update phan baseline

* Fix (Possibly)UndeclaredGlobalVariable (2)

* Qual: Fix notices for htdocs/admin/*

# Qual: Fix notices for htdocs/admin/*

Fixes most phan/phpstan noticies for files under htdocs/admin/* and ai.
2024-09-18 03:27:25 +02:00
MDW
f89245b354 Qual: Fix some CommonIncoterm/DocGenerator/People typings (#30940)
* Fix extraparams property typing

* Fix argument typing

* Fix 'status' argument type in calls to dolGetButtonTitle

* Fix argument2 for price to 1 (was 2)

* Fix deliveryreceipt argument

* Fix PHPDoc dol_sort_array

* Fix range for int argument

* Fix arg type for str_pad and add some PHPDoc

* Fix natsort value for dol_sort_array

* Fix arguments on calls to dol_sort_array

* Reduce phpstan exceptions

* Qual: Add type hints for Stripe objects

# Qual: Add type hints for Stripe objects

Suggest the more specific implementation of the StripObject.

* Typing, initialisation

* Qual: Fix undeclared variables

* Update phan baseline

* Update baseline

* Qual: Add type hints for Stripe objects

# Qual: Add type hints for Stripe objects

Suggest the more specific implementation of the StripObject.

* Add PHPDoc for host class properties

* Ignore false positive (phan) for deprecated property

* Improve typing

* Update baseline
2024-09-13 03:09:23 +02:00
Laurent Destailleur
14d5b4bcc3 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-02 12:14:51 +02:00
Laurent Destailleur
fc2acf24b3 Add log 2024-09-02 11:43:06 +02:00
Laurent Destailleur
a8f841b7e9 Add log to try to fix idempotency errors 2024-09-02 11:06:42 +02:00
Frédéric FRANCE
4cb64b5a60 fix phpstan (#30231)
* fix phpstan

* Update product.class.php

* Update product.class.php
2024-07-01 19:05:50 +02:00
Laurent Destailleur
eda41b96ca Clean code 2024-05-12 11:29:53 +02:00
Laurent Destailleur
84fb498ee4 Fix phan 2024-05-11 21:13:10 +02:00
MDW
3b74d09942 Replace is_object with explicit instance test 2024-03-20 04:10:09 +01:00
MDW
aae30ff64f Fix arg type to SimpleXMLElement::addChild() with casts 2024-03-20 04:09:36 +01:00
MDW
16e5ca0b1e Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:43:53 +01:00
MDW
bb6eee4cf7 Fix PhanPluginMixedKeyNoKey by using explicit keys 2024-03-12 21:35:53 +01:00
Frédéric FRANCE
04749842b2 fix phpstan property does not accept string (#28574)
* fix phpstan property does not accept string

* fix phpstan property does not accept string
2024-03-02 12:41:12 +01:00
Frédéric FRANCE
60ed6a1727 fix phpstan 2024-01-23 20:32:34 +01:00
Laurent Destailleur
c6b99dbea8 Merge pull request #27635 from frederic34/patch-3
fix phpstan
2024-01-20 00:41:22 +01:00
MDW
c98868d2db Fix: Update Stripe Exception class references
# Fix: Update Stripe Exception class references

The Stripe classes changed, update the references.
2024-01-19 01:33:45 +01:00
Frédéric FRANCE
6875f78356 fix phpstan 2024-01-18 22:58:05 +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
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
075ee02901 Fix php8.2 warnings 2023-11-27 12:08:48 +01:00
Laurent Destailleur
b89ad8e215 Update stripe comments 2023-11-22 11:16:36 +01:00
Laurent Destailleur
14d153923e Fix phpcs 2023-08-23 17:53:12 +02:00
Laurent Destailleur
71e20b8d13 Log 2023-08-23 00:37:13 +02:00
Laurent Destailleur
b372286188 FIX Bad link into message 2023-08-22 11:08:50 +02:00
Laurent Destailleur
3096f5d1f0 NEW Save date of RUM creation when creating a Stripe SEPA mandate 2023-08-21 02:33:45 +02:00
Laurent Destailleur
6b2c19105e When creating a mandate on SEPA Stripe, we save stripe mandate ID 2023-08-20 23:55:00 +02:00
Laurent Destailleur
8c99d538d4 Save the ext_payment_site value into llx_societe_rib for Stripe SEPA. 2023-08-10 12:28:22 +02:00
Laurent Destailleur
7ce9bf6b23 Clean code 2023-08-05 15:44:28 +02:00
Laurent Destailleur
f464c97e98 Code comment 2023-08-03 22:39:41 +02:00
Laurent Destailleur
b4c448a420 Debug v18 2023-06-29 15:54:09 +02:00
Laurent Destailleur
6c110fb2b5 Fix warnings 2023-03-19 10:19:35 +01:00
Laurent Destailleur
17b37941e9 Update stripe.class.php 2023-03-02 13:49:44 +01:00
hystepik
6d6ba3fa83 Fix : php 8.0 warnings + errors 2023-02-28 14:37:50 +01:00
Laurent Destailleur
62c6178269 Work on SEPA Stripe Payments 2023-02-24 23:15:54 +01:00
Lucas Marcouiller
1115f9c0c9 Merge branch 'develop' into develop#2 2023-02-09 10:14:27 +01:00
Laurent Destailleur
c3e5977174 NEW sepaStripe now creates the payment mode with type pm_ using new API 2023-02-06 19:22:08 +01:00
Laurent Destailleur
bf13a8ead9 Code comment 2023-02-06 18:17:02 +01:00
Laurent Destailleur
fe35f5ec28 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-06 14:21:25 +01:00
Laurent Destailleur
30ed312913 FIX Try to fix stripe warning 2023-02-04 16:01:00 +01:00
Laurent Destailleur
116cf440de Fix stripe warning 2023-02-04 15:52:25 +01:00