2
0
forked from Wavyzz/dolibarr
Commit Graph

34 Commits

Author SHA1 Message Date
Laurent Destailleur
399ffb2dcc Fix phpcs 2019-05-16 14:38:01 +02:00
Laurent Destailleur
a9b3748006 __DIR__ was not replaced into scripts dir 2019-05-15 13:20:02 +02:00
Laurent Destailleur
e18bd6f986 Merge branch 'develop' into nospaceaftercomma 2019-01-30 18:27:35 +01:00
Frédéric FRANCE
b10558bacd Merge remote-tracking branch 'upstream/develop' into nospaceaftercomma 2019-01-27 23:23:38 +01:00
Laurent Destailleur
f30a3d59ba Merge branch 'develop' into toomanylines 2019-01-27 17:59:13 +01:00
Frédéric FRANCE
f0cdf300d1 Squiz.Functions.FunctionDeclarationArgumentSpacing 2019-01-27 15:20:16 +01:00
Frédéric FRANCE
496fa9b0fb PSR2.Files.EndFileNewline.TooMany 2019-01-27 14:10:35 +01:00
Frédéric FRANCE
7ee086b402 PSR2 space after comma in function call 2019-01-27 11:55:16 +01:00
Alexey Pyltsyn
49de7a5881 Replace multiple load calls with loadLangs method 2018-10-01 09:22:23 +03:00
Philippe GRAND
3126191ae5 Standardize and update code 2018-09-19 08:46:43 +02:00
Frédéric FRANCE
a0a5d33641 test include 2018-07-26 17:30:53 +02:00
Raphaël Doursenaud
bbe7498de6 Better Travis CI
NEW:
Cleaned up routines for better readability of both declaration and results.
PHP versions now really covered.
    The old code forced install of PHP and didn't use Travis provided versions.
    This resulted in the process not being executed with the declared PHP version.
Dropped MySQL in favor of MariaDB.
    This is now the FLOSS community standard.
    This should help avoid problems with buggy MySQL releases.
Fast finish enabled to show results faster.
Optimized tools installation with composer.
    The right version of the tool is installed for the PHP version under test.
New PHP linter to check for syntax errors.
    Parallelized for better speed.
Apache + PHP FPM for testing webservices.
    The previous mod_php configuration was not supported on Travis.
New global DEBUG environment variable to show verbose output with configuration files content.
IRC notification on #dolibarr@freenode for community awareness.

FIXES:
Bug in scripts preventing execution with environmentalized PHP.
Wrong detection of MAIN_URL_ROOT under specific circumstances.
    $_SERVER["DOCUMENT_ROOT"] empty and $_SERVER["SCRIPT_NAME"] populated.
Relative ignore directive in coding style ruleset to avoid bypassing test.
Unit test errors without an exit status.
    This prevented the CI from properly detecting and reporting the error.

TODOS:
PostgreSQL support.
    This one is tricky since we only have a MySQL dump and the syntax is not directly compatible.
SQLite support.
    Disabled in core at the moment.
Nginx + PHP FPM support.
    Test webservices on the second most popular webserver.
Run dev/* checks.
    We have a nice collection of scripts we could leverage.
Check Javascript.
Check CSS.
Check SQL.
2015-12-13 21:34:36 +01:00
Laurent Destailleur
212e9825a3 Qual: Function getmypid were renamed into dol_getmypid. 2014-07-31 17:35:58 +02:00
Raphaël Doursenaud
f8f502d013 Removed closing php tag
http://php.net/manual/en/language.basic-syntax.phptags.php
2014-05-03 18:18:44 +02:00
simnandez
d4e62805ef Fix: service to expire instead invoice unpayed 2013-09-05 16:13:30 +02:00
Laurent Destailleur
fbd3f6e67f Fix: Maxi debug of scripts 2013-07-31 12:33:18 +02:00
Cédric Salvador
d541611dd1 merge 2013-07-29 12:31:07 +02:00
Laurent Destailleur
3a9ffb19c3 fix: eol 2013-07-13 21:14:05 +02:00
Laurent Destailleur
7481aa121e Qual: All script files must add a line into log when launched. 2013-07-13 19:20:01 +02:00
Regis Houssin
48ec594fe6 Fix: crlf 2 lf 2013-06-24 17:55:08 +02:00
Laurent Destailleur
feef164b0e Fix: Missing currency into email content. Must also use language of
target.
2013-06-21 12:47:35 +02:00
Laurent Destailleur
89ee79f5cf New: Implement same rule for return value of all command line scripts (0
when success, <>0 if error).
2013-06-09 14:40:33 +02:00
Raphaël Doursenaud
686f5add82 Normalized line endings to LF 2013-06-05 16:12:07 +02:00
Laurent Destailleur
e4d51c82c0 Fix: bad format of email content 2013-06-05 13:54:38 +02:00
Laurent Destailleur
e9df560b74 New: Show process id in all command line scripts 2013-05-22 12:23:42 +02:00
Laurent Destailleur
0bffb6e654 Fix: Test error code 2013-05-22 11:43:16 +02:00
Laurent Destailleur
0d562347fb Add a protection into test mode 2013-05-22 11:29:19 +02:00
Laurent Destailleur
7ef45b9226 Can force out email 2013-05-20 21:04:00 +02:00
simnandez
33de1340d7 Fix: use default lang if lang not defined 2013-05-15 18:11:44 +02:00
Laurent Destailleur
64ff559a80 Qual: Uniformize script headers 2013-05-15 11:24:18 +02:00
simnandez
7358faeb96 New: [ task #812 ] Add more Scripts. expire contract services ordered by
date end
2013-05-09 09:41:32 +02:00
simnandez
88b5723620 Fix: bad explanation 2013-05-07 18:33:44 +02:00
simnandez
d983e640f7 New: [ task #812 ] Add more Scripts. expire contract services to
customers. remove mail for tests
2013-05-07 17:45:52 +02:00
simnandez
46c1b87b32 New: [ task #812 ] Add more Scripts. expire contract services to
representatives and customers
2013-05-07 17:43:54 +02:00