MDW
42a0d05b63
Qual: Spelling outside htdocs ( #27448 )
...
* Qual: Spelling outside htdocs
# Qual: Fix spelling of files not in the htdocs subdirectory.
Highlight:
- Change in email test from unvalid to invalid that should give the same test result.
* Update Dolibarr-soapui-project.xml
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-01-12 17:14:13 +01:00
Laurent Destailleur
de7d3c2bf8
Fix with php-cs-fixer
2023-12-04 11:22:28 +01:00
Laurent Destailleur
5dae5b57a0
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2023-05-17 12:27:46 +02:00
Laurent Destailleur
9635fa35d8
Merge pull request #24706 from alexandre-janniaux/constructor-bump-phpunit/1
...
FIX test/phpunit: add $name to __construct()
2023-05-16 20:58:15 +02:00
Laurent Destailleur
af2dddeb48
Fix php 8 warning
2023-05-12 19:28:44 +02:00
Alexandre Janniaux
df0adc391d
FIX test/phpunit: add $name to __construct()
...
Fix the following errors when running recent phpunit:
Message: Too few arguments to function PHPUnit\Framework\TestCase::__construct(), 0 passed in
dolibarr/test/phpunit/DateLibTzFranceTest.php on line 63 and exactly
1 expected Location: phar:///usr/share/webapps/bin/phpunit.phar/phpunit/Framework/TestCase.php:265
Indeed, the old constructor had an optional $name='' parameter but the
new constructor reads like this:
public function __construct(string $name)
and the parameter is now mandatory.
2023-05-08 16:29:31 +02:00
Alexandre Janniaux
cf8e03c069
Fix phpunit/FilesLibTest: remove syslog property
...
Commit cfff62c2fa removed $conf->syslog
usage, but this file was left of as-is.
Fix a warning on the test:
Files Lib
✔ Dol basename
✔ Dol count nb of line
✔ Dol is file dir
✔ Dol other
✔ Dol mime type
✔ Dol delete dir
✔ Dol copy move delete
✘ Dol compress un compress
┐
├ Error: Attempt to assign property "enabled" on null
│
│ /home/alexandre/workspace/dolibarr/test/phpunit/FilesLibTest.php:421
┴
✔ Dol check secure access document
✔ Dol dir move
2023-05-02 10:06:05 +02:00
Laurent Destailleur
b55271dedb
Fix warning
2023-04-15 03:27:35 +02:00
Laurent Destailleur
685a7dbd59
Clean code. Add a phpunit test to avoid duplicate jquery.
2022-12-24 15:06:32 +01:00
Laurent Destailleur
6c17c2f044
Test travis php7.1
2022-09-21 17:55:04 +02:00
Lucas Marcouiller
5c757c30be
part2 of test
2022-05-22 15:46:04 +02:00
Laurent Destailleur
d143b8bf6e
Debug dol_uncompress and add phpunit tests
2022-04-05 17:19:12 +02:00
Laurent Destailleur
e366d2c379
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
ChangeLog
htdocs/admin/tools/export_files.php
htdocs/compta/paiement_charge.php
htdocs/compta/sociales/card.php
htdocs/core/lib/functions.lib.php
htdocs/cron/list.php
htdocs/filefunc.inc.php
test/phpunit/FilesLibTest.php
2021-03-16 14:57:04 +01:00
Laurent Destailleur
614720fc0a
FIX #16671 Can not generate zip file of documents in backup tool
2021-03-15 14:51:36 +01:00
Laurent Destailleur
c9b296ed57
Remove bad use
2021-02-10 13:51:18 +01:00
Frédéric FRANCE
ae192bf4c9
doxygen
2021-02-10 08:47:22 +01:00
Frédéric FRANCE
b1a1cd4be6
code syntax
2021-01-14 15:09:08 +01:00
Laurent Destailleur
f039566abb
Fix regression on phpunit
2020-11-01 22:51:55 +01:00
Laurent Destailleur
41965381fd
Better compatibility with PHP8
2020-11-01 21:27:56 +01:00
Laurent Destailleur
0f9b61c33c
Test fix phpunit
2020-09-11 14:42:43 +02:00
Laurent Destailleur
c4383747a1
Look and feel v13
2020-09-11 13:57:16 +02:00
Laurent Destailleur
097c5ffaf5
Test
2020-09-09 14:41:04 +02:00
Laurent Destailleur
c9451c0940
Try fix for php 8
2020-09-08 21:25:35 +02:00
Laurent Destailleur
d438116c1e
Try fix for php 8
2020-09-08 13:31:05 +02:00
Laurent Destailleur
4d6a45d491
Major doxygen fix
2020-05-03 22:48:35 +02:00
Laurent Destailleur
31ba277da7
Fix phpcs
2020-04-26 23:18:09 +02:00
Frédéric FRANCE
7581275316
wip
2019-10-20 11:59:21 +02:00
Laurent Destailleur
b9ec45fd49
Clean code
2019-10-16 14:02:13 +02:00
Laurent Destailleur
b79831ec39
Merge pull request #11952 from aspangaro/11.0_https
...
Move Gnu.org to https
2019-10-01 14:48:21 +02:00
Laurent Destailleur
8b778a8154
More log
2019-10-01 11:05:27 +02:00
Alexandre SPANGARO
02dbc11f98
Move Gnu.org to https
2019-09-23 21:55:30 +02:00
Laurent Destailleur
9666200d6b
Enhance error management
2019-09-04 19:55:15 +02:00
Laurent Destailleur
3af4ad7fc3
Compatibility with phpunit v6
2019-07-05 21:28:27 +02:00
Frédéric FRANCE
42a1387218
wip
2019-02-25 00:56:48 +01:00
Frédéric FRANCE
24b073771e
wip
2019-01-27 13:07:22 +01:00
Regis Houssin
569d59d251
FIX change my deprecated email
2018-10-27 14:43:12 +02:00
Laurent Destailleur
3d3edb19d8
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
.travis.yml
htdocs/langs/en_US/commercial.lang
2018-09-02 15:48:26 +02:00
Laurent Destailleur
bd3647a9d7
Prepare phpunit 6.1 compatibility
2018-09-02 14:23:52 +02:00
Laurent Destailleur
a69c3caf2c
Prepare compatibility with phpunit 6.1
2018-09-02 14:10:06 +02:00
Frédéric FRANCE
6aee680a4f
PSR2 ClassDeclaration
2018-08-29 22:06:05 +02:00
Laurent Destailleur
23fbef3dae
Fix the delete dir functions does not return real nb of deleted files.
2017-07-13 00:26:05 +02:00
Laurent Destailleur
a3eef35ce6
Fix travis error
2017-05-22 01:19:16 +02:00
Laurent Destailleur
864dc0d989
Remove var_dump
2017-05-20 11:59:32 +02:00
Laurent Destailleur
601f3ea75e
Fix dol_check_secure_access_document in write mode, add phpunit tests
2017-05-20 11:31:03 +02:00
Laurent Destailleur
06b37d0e82
Work on dol_check_secure_access_document to support write question
2017-05-19 20:17:33 +02:00
Laurent Destailleur
931531232c
FIX duplicate jquery.js files
2016-07-16 19:38:18 +02:00
Laurent Destailleur
e22b0b9a57
More complete PHPunit test
2015-10-14 22:36:32 +02:00
Laurent Destailleur
65c7ab7a93
Fix: Introduce error by default when function is used as a true delete
...
function.
2015-05-29 17:11:42 +02:00
frederic34
73fda2cb86
WIP PSR2
2015-01-08 18:36:03 +01:00
Raphaël Doursenaud
c48c3a9d91
Qual: remove PHP closing tag (again)
...
These were reintroduced by careless merge
2014-05-26 13:51:25 +02:00