Commit Graph

612 Commits

Author SHA1 Message Date
thibdrev
3df2d3543f qual: phpstan for htdocs/cron/class/cronjob.class.php
htdocs/cron/class/cronjob.class.php	266	Property Cronjob::$frequency (int) does not accept string.
htdocs/cron/class/cronjob.class.php	269	Property Cronjob::$status (int) does not accept string.
htdocs/cron/class/cronjob.class.php	713	Property Cronjob::$frequency (int) does not accept string.
htdocs/cron/class/cronjob.class.php	716	Property Cronjob::$status (int) does not accept string.
htdocs/cron/class/cronjob.class.php	722	Property Cronjob::$nbrun (int) does not accept string.
htdocs/cron/class/cronjob.class.php	948	Property CommonObject::$ref (string) does not accept int.
htdocs/cron/class/cronjob.class.php	970	Property Cronjob::$frequency (int) does not accept string.
htdocs/cron/class/cronjob.class.php	978	Property Cronjob::$nbrun (int) does not accept string.
htdocs/cron/class/cronjob.class.php	1232	Property Cronjob::$lastresult (string) does not accept int.
htdocs/cron/class/cronjob.class.php	1248	Property Cronjob::$lastresult (string) does not accept int.
htdocs/cron/class/cronjob.class.php	1260	Property Cronjob::$lastresult (string) does not accept int.
htdocs/cron/class/cronjob.class.php	1268	Property Cronjob::$lastresult (string) does not accept int.
htdocs/cron/class/cronjob.class.php	1283	Property Cronjob::$lastresult (string) does not accept int.
2024-01-30 22:49:39 +01:00
Laurent Destailleur
2f4d00f58c Log 2024-01-29 11:44:47 +01:00
Christophe TREMBLAY-GUILLOUX
ab7896a217 MINOR: declaring missing attribut, asked by Code Editors to detect variable 2024-01-26 10:34:53 +01:00
Christophe TREMBLAY-GUILLOUX
ea176d3d25 MINOR : replacing translation 2024-01-26 10:33:01 +01:00
Christophe TREMBLAY-GUILLOUX
c1c45a171a Debug 2024-01-20 14:23:17 +01:00
Christophe TREMBLAY-GUILLOUX
2f32ac6fe3 Debug 2024-01-20 14:16:14 +01:00
Christophe TREMBLAY-GUILLOUX
6e1a8f2942 Merge remote-tracking branch 'upstream/develop' into develop 2024-01-20 13:42:46 +01:00
Christophe TREMBLAY-GUILLOUX
2ac3b914cb CRON: fetchAll->lines will return list of Cronjob object instead of Cronjobline object 2024-01-20 13:42:39 +01:00
Laurent Destailleur
a74014c101 Merge pull request #27645 from libremaster/develop
CLEANING: lines of code not usefull
2024-01-19 21:10:56 +01:00
Roger Dueck
376733e070 Fix PHP undefined variable warning 2024-01-19 10:18:20 -07:00
Laurent Destailleur
0bb0dc1d91 Merge pull request #27664 from thibdrev/patch-14
qual:phpstan
2024-01-19 15:55:05 +01:00
thibdrev
0e1ea3dbde qual:phpstan
htdocs/cron/list.php	143	Property CommonObject::$id (int) does not accept array|string.
2024-01-19 14:40:55 +01:00
thibdrev
c4e246f662 qual:phpstan
htdocs/cron/card.php	144	Property Cronjob::$frequency (int) does not accept array|string.
htdocs/cron/card.php	145	Property Cronjob::$maxrun (int) does not accept array|string.
htdocs/cron/card.php	163	Property CommonObject::$id (int) does not accept array|string.
htdocs/cron/card.php	179	Property Cronjob::$frequency (int) does not accept array|string.
htdocs/cron/card.php	180	Property Cronjob::$maxrun (int) does not accept array|string.
2024-01-19 14:39:34 +01:00
Christophe TREMBLAY-GUILLOUX
ba49963186 CLEANING: lines of code not usefull 2024-01-19 08:55:39 +01:00
Laurent Destailleur
4db074216c Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-18 16:04:49 +01:00
Laurent Destailleur
055a598584 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-18 16:04:23 +01:00
Laurent Destailleur
d9858d9bb7 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-01-18 16:00:26 +01:00
Christophe TREMBLAY-GUILLOUX
0b259bf564 Simpler version to check if a module is enabled 2024-01-15 18:07:13 +01:00
Christophe TREMBLAY-GUILLOUX
8083984f92 FIX: Remove blank line 2024-01-15 16:07:07 +01:00
Christophe TREMBLAY-GUILLOUX
ee0b888b8e NEW: cronjob: deny to launch a method from a deactivated module 2024-01-15 15:38:30 +01:00
Laurent Destailleur
6a2d7d1523 Update cronjob.class.php 2024-01-15 14:14:51 +01:00
atm-sami
5453f0c628 Update cronjob.class.php 2024-01-15 12:06:11 +01:00
MDW
a04f2bf4e7 Qual: Spelling fixes that newly appeared. (#27495)
* Qual: Spelling fixes that newly appeared.

# Qual: Fix spelling erros that appeared since the bulk updates.

These issues mostly appeared since the bulk updates (a few ones were postponed
to make sure no real spelling errors were missed.)

* Update modulebuilder.lib.php

* Update pdf_standard.modules.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-14 12:26:37 +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
William Mead
4ef13a2196 Fixed method filter argument type. Cleaned code. Added contributor details. (#27464)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-12 17:52:49 +01:00
samifilali26
7d3c348c68 update 2024-01-08 10:08:06 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
30119ebafe css 2024-01-04 03:14:50 +01:00
Laurent Destailleur
d530c30db7 css 2024-01-04 03:09:36 +01:00
samifilali26
ceecf89892 add function to check if output is too long to be set in db 2023-12-19 18:08:12 +01:00
Laurent Destailleur
1c56957866 Fix error on first launch of a cron job 2023-12-09 21:15:32 +01:00
Laurent Destailleur
ba10d60a0b Fix with php-cs-fixer 2023-12-04 12:02:35 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
b69059af76 Fix warning 2023-11-27 12:24:18 +01:00
Laurent Destailleur
53dab922fd Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
Laurent Destailleur
5d1fe5adf8 CSS 2023-11-19 10:32:11 +01:00
Laurent Destailleur
a318031034 QUAL Standardize code. Renamed ID of user properties into ->user_xxx_id 2023-10-24 11:37:29 +02:00
Alexandre SPANGARO
58bdcb5245 Dolibarize - Look & feel v19 (#26246)
* NEW Accountancy - Add quick navigation with keyb. shortcut on ledger

* TitleSeparator - Job list

* TitleSeparator - Position list

* TitleSeparator

* TitleSeparator

* TitleSeparator

* Define $newcardbutton

* Define $newcardbutton

* Define $newcardbutton

* Define $newcardbutton

* Define $newcardbutton

* Define $newcardbutton

* Define $newcardbutton

* Variable $newcardbutton already define

* Define $newcardbutton

* TitleSeparator

* TitleSeparator

* TitleSeparator

* TitleSeparator

* TitleSeparator
2023-10-20 03:20:44 +02:00
MDW
c0c5eccfb5 Fix some phan notices (not critical) (#26265) 2023-10-20 02:22:07 +02:00
Laurent Destailleur
4f4ede2e32 Fix php8.2 warnings 2023-10-15 18:14:14 +02:00
Laurent Destailleur
cf02e40d1e CSS 2023-09-30 19:40:09 +02:00
Laurent Destailleur
91fa48199a Fix warnings 2023-09-10 17:41:22 +02:00
Laurent Destailleur
85c120a279 Fix date disabled must appear in strike 2023-08-14 14:39:32 +02:00
Laurent Destailleur
2177b4de58 Fix date disabled must appear in strike 2023-08-14 14:24:41 +02:00
Laurent Destailleur
e4eafcc52e Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-08-11 18:31:27 +02:00
Laurent Destailleur
3231af41e2 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-08-11 18:28:27 +02:00
Laurent Destailleur
2ec02a9757 Fix bad array init 2023-08-11 13:29:03 +02:00
Laurent Destailleur
31af89ef53 Update list.php 2023-08-11 13:26:24 +02:00
Laurent Destailleur
11ad17bcf3 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-08-09 15:00:52 +02:00