2
0
forked from Wavyzz/dolibarr
Commit Graph

551 Commits

Author SHA1 Message Date
Laurent Destailleur
18a6d9695c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-01-20 17:55:39 +01:00
Laurent Destailleur
72f2547422 Update dolresource.class.php 2024-01-20 00:46:02 +01:00
William Mead
89257dbd76 Updated parameter clean for numeric values 2024-01-19 11:32:19 +01:00
William Mead
552485ea81 Updated GETPOST to GETPOSTINT. Updated contributor details. 2024-01-19 11:17:40 +01:00
William Mead
ee101fd6ff Updated code comments 2024-01-19 10:45:55 +01:00
William Mead
8fbeb2deac Merge branch 'develop' into fix-dolresource-phpstan-lvl3
# Conflicts:
#	htdocs/resource/card.php
2024-01-19 09:55:07 +01:00
Laurent Destailleur
121f915435 Merge pull request #27631 from frederic34/patch-3
phpdoc
2024-01-18 22:45:18 +01:00
Frédéric FRANCE
2dca7faf26 phpdoc 2024-01-18 21:37:43 +01:00
thibdrev
680860082f fix: phpstan
htdocs/resource/card.php	110	Property Dolresource::$fk_code_type_resource (int) does not accept array|string.
htdocs/resource/card.php	111	Property CommonObject::$country_id (int) does not accept array|string.
htdocs/resource/card.php	112	Property CommonObject::$state_id (int) does not accept array|string.
2024-01-18 21:22:44 +01:00
William Mead
097a220674 Cleaned code 2024-01-18 12:40:37 +01:00
William Mead
0934e44a88 Adjusted GETPOST check 2024-01-18 12:16:40 +01:00
William Mead
2782f32c1f Fixed PHPDoc 2024-01-18 12:16:05 +01:00
William Mead
e1ae23b398 Fixed PHPDoc 2024-01-15 16:55:07 +01:00
William Mead
65d5d63bc2 Merge branch 'develop' into new-resource-full-address
# Conflicts:
#	htdocs/resource/class/dolresource.class.php
2024-01-15 12:20:32 +01:00
William Mead
8111b1ebfe Merge remote-tracking branch 'origin/new-resource-full-address' into new-resource-full-address 2024-01-15 10:23:40 +01:00
William Mead
3c6e875a12 Translated code comments to english 2024-01-15 10:23:30 +01:00
William Mead
1c1c4396a9 Merge branch 'develop' into new-resource-full-address 2024-01-15 10:16:06 +01:00
William Mead
136e1431e4 Merge remote-tracking branch 'origin/fix-resource-phpstan' into fix-resource-phpstan
# Conflicts:
#	htdocs/resource/class/html.formresource.class.php
2024-01-15 09:43:41 +01:00
William Mead
cc4cf8bf0d Updated PHPDoc 2024-01-15 09:42:39 +01:00
William Mead
8d0f013378 Merge branch 'develop' into fix-resource-phpstan 2024-01-15 09:25:50 +01:00
William Mead
19f7fa0030 Fixed selected default value 2024-01-15 09:18:18 +01:00
MDW
39769482b1 Qual: Fix typing hints for DoliDB (#27484)
# Qual: Fix typing hints for DoliDB

This should help the static tools for type and method checking.
2024-01-13 15:50:02 +01:00
Frédéric FRANCE
0d3e0c8ec4 fix incorrect case and remove exclude check (#27449) 2024-01-12 20:40:34 +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
William Mead
c533dc3f4c Fixed method filter argument type. Cleaned code. 2024-01-12 12:34:49 +01:00
William Mead
a15d87d952 Merge branch 'develop' into new-resource-full-address 2024-01-11 12:18:17 +01:00
William Mead
b70a3cfe7d Refactored property init 2024-01-10 16:27:26 +01:00
Laurent Destailleur
8d6bb378bd Fix a header must be followed by exit 2024-01-10 14:59:31 +01:00
William Mead
352e54f407 Merge branch 'Dolibarr:develop' into new-resource-full-address 2024-01-09 16:38:28 +01:00
Frédéric FRANCE
4268f3e27f fix incorrect default value 2024-01-08 18:34:32 +01:00
Laurent Destailleur
b28ae5d8d3 Clean code 2023-12-27 12:12:20 +01:00
Laurent Destailleur
b6ca71ce9a Debug v19 2023-12-26 14:31:31 +01:00
William Mead
ce6386fc10 Merge branch 'develop' into new-resource-full-address
# Conflicts:
#	htdocs/resource/class/dolresource.class.php
#	htdocs/resource/element_resource.php
2023-12-14 11:38:25 +01:00
Laurent Destailleur
fb083a6cfc Fix warning with rector 2023-12-13 16:33:17 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +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
552e745908 Debug v19 2023-11-28 10:33:06 +01:00
Laurent Destailleur
1d589fd74e Fix warnings 2023-11-27 13:26:44 +01:00
Laurent Destailleur
e8dc651877 Fix php8.2 warnings 2023-11-27 11:56:32 +01:00
William Mead
63f1e44493 Cleaned method naming 2023-11-16 09:45:04 +01:00
William Mead
514c40f281 Cleaned PHPDoc 2023-11-16 09:32:17 +01:00
William Mead
b2b27d2d5b Cleaned create method error handling 2023-11-16 09:16:10 +01:00
William Mead
9c86f7d242 Refactored create method with try catch for dol_syslog calls. Cleaned create method PHPDoc. 2023-11-16 08:47:11 +01:00
William Mead
59af3dac7f Cleaned code 2023-11-16 08:10:49 +01:00
William Mead
72e95027af Cleaned code 2023-11-15 17:04:40 +01:00
William Mead
4aee2010ca Moved class property initialisation to constructor 2023-11-15 17:01:30 +01:00
William Mead
51955efb56 Refactored resource create method 2023-11-15 16:51:16 +01:00
William Mead
55e0c69633 Refactored create method parameter cleaning 2023-11-15 09:01:47 +01:00
William Mead
a14632bc00 Use CommonPeople for getFullAddress method 2023-11-14 13:38:18 +01:00