Laurent Destailleur
f25a9030eb
Merge remote-tracking branch 'origin/3.8' into develop
...
Conflicts:
.travis.yml
htdocs/core/modules/askpricesupplier/doc/pdf_aurore.modules.php
htdocs/core/modules/commande/doc/pdf_proforma.modules.php
htdocs/includes/adodbtime/adodb-time.inc.php
htdocs/langs/en_US/accountancy.lang
2015-12-18 22:12:03 +01:00
Laurent Destailleur
dd3f5a32d3
Merge remote-tracking branch 'origin/3.7' into 3.8
...
Conflicts:
.travis.yml
composer.json
htdocs/accountancy/admin/card.php
2015-12-18 21:20:12 +01:00
Laurent Destailleur
750443040a
Enhance ruleset.xml description
2015-12-15 09:29:21 +01: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
a462cd232d
Merge remote-tracking branch 'origin/3.7' into 3.8
2015-12-13 16:09:09 +01:00
Raphaël Doursenaud
c0862762a5
Fix #3930 Removed executable bit
...
These files doesn't contain executable code and may pose a security
threat.
2015-12-09 13:28:36 +01:00
Laurent Destailleur
d2b221cfd1
Upgrade PHPCS rules
2015-12-04 10:22:27 +01:00
Laurent Destailleur
85d788d43a
Fix crazy phpcs test
2015-11-25 23:26:31 +01:00
Laurent Destailleur
c4dd060858
Disable PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore
...
rule
2015-06-05 15:52:18 +02:00
Laurent Destailleur
cf0f458a51
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
htdocs/fourn/class/fournisseur.commande.class.php
htdocs/fourn/commande/dispatch.php
htdocs/langs/el_GR/projects.lang
htdocs/langs/en_GB/bills.lang
htdocs/langs/en_GB/main.lang
htdocs/langs/en_GB/orders.lang
htdocs/langs/es_AR/bills.lang
htdocs/langs/es_CO/admin.lang
htdocs/langs/es_CO/main.lang
htdocs/langs/es_ES/bills.lang
htdocs/langs/es_ES/projects.lang
htdocs/langs/fa_IR/categories.lang
htdocs/langs/fr_FR/admin.lang
htdocs/langs/fr_FR/bills.lang
htdocs/langs/fr_FR/other.lang
htdocs/langs/fr_FR/projects.lang
htdocs/langs/lv_LV/bills.lang
htdocs/langs/nb_NO/bills.lang
htdocs/langs/pl_PL/bills.lang
htdocs/langs/pl_PL/mails.lang
htdocs/langs/pl_PL/projects.lang
htdocs/langs/ro_RO/bills.lang
htdocs/langs/ro_RO/products.lang
htdocs/langs/ro_RO/projects.lang
htdocs/langs/ru_RU/bills.lang
htdocs/langs/ru_RU/projects.lang
htdocs/langs/sl_SI/main.lang
htdocs/langs/tr_TR/bills.lang
htdocs/langs/tr_TR/projects.lang
htdocs/langs/vi_VN/bills.lang
2015-04-02 13:57:20 +02:00
Laurent Destailleur
882baa55be
Deprecated test
2015-04-02 11:53:47 +02:00
Laurent Destailleur
fd206dbb55
Fix ruleset.xml
2015-02-11 14:28:20 +01:00
Laurent Destailleur
f124079817
Fix ruleset
2015-02-10 21:49:39 +01:00
Laurent Destailleur
6bda61436b
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
dev/codesniffer/ruleset.xml
htdocs/core/class/html.formfile.class.php
htdocs/core/lib/functions2.lib.php
htdocs/projet/element.php
2015-01-22 21:52:55 +01:00
Laurent Destailleur
04afe935a5
Merge remote-tracking branch 'origin/3.6' into 3.7
2015-01-22 21:47:32 +01:00
Laurent Destailleur
b7cff09ce6
Fixed travis errors
2015-01-22 21:46:22 +01:00
frederic34
73fda2cb86
WIP PSR2
2015-01-08 18:36:03 +01:00
Laurent Destailleur
5bcb195c15
Update codesniffer to remove travis errors.
2014-12-20 00:14:53 +01:00
Laurent Destailleur
d8838f9438
Update codesniffer to remove travis errors.
2014-12-20 00:11:43 +01:00
Laurent Destailleur
11368e48fe
Update codesniffer to remove travis errors.
2014-12-20 00:11:12 +01:00
Laurent Destailleur
78ef12cc0d
Merge remote-tracking branch 'origin/3.7' into develop
2014-12-19 19:12:05 +01:00
Laurent Destailleur
748b076d61
Merge remote-tracking branch 'origin/3.6' into 3.7
2014-12-19 19:11:06 +01:00
Laurent Destailleur
789d588fde
Update codesniffer to remove travis errors.
2014-12-19 19:10:41 +01:00
Laurent Destailleur
0bb431c4d0
Merge remote-tracking branch 'origin/3.5' into 3.6
...
Conflicts:
dev/codesniffer/ruleset.xml
2014-12-19 19:03:05 +01:00
Laurent Destailleur
47cab90336
Update codesniffer to remove travis errors.
2014-12-19 19:01:29 +01:00
Laurent Destailleur
c3ac607e4f
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
dev/codesniffer/ruleset.xml
2014-12-18 23:56:40 +01:00
Laurent Destailleur
c571013fc9
Merge remote-tracking branch 'origin/3.6' into 3.7
2014-12-18 23:55:07 +01:00
Laurent Destailleur
3debf56c68
Update phpcs
2014-12-18 23:54:39 +01:00
Laurent Destailleur
b1c4d32fbf
Update phpcs file
2014-12-18 23:53:17 +01:00
Laurent Destailleur
ad515ef5e5
Exclude test
2014-12-18 23:49:07 +01:00
Laurent Destailleur
72c3954f36
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
.travis.yml
2014-12-05 21:12:35 +01:00
Laurent Destailleur
df066c3741
Fix: PHPCS
2014-12-05 20:34:36 +01:00
Laurent Destailleur
344aa40858
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
.travis.yml
dev/codesniffer/ruleset.xml
htdocs/core/class/conf.class.php
htdocs/langs/en_US/productbatch.lang
2014-12-05 20:21:40 +01:00
Laurent Destailleur
9b5a03fa82
Fix: PHPCS
2014-12-05 20:08:37 +01:00
Laurent Destailleur
46f9ab15da
Fixed: PHPCS
2014-12-05 19:26:21 +01:00
Laurent Destailleur
5755a046c5
Fix: PHPCS
2014-12-05 19:25:08 +01:00
Laurent Destailleur
4ad93cd069
Fix: PHPCS
2014-12-05 17:49:27 +01:00
Laurent Destailleur
a5bdf952ee
Fix: PHPCS
2014-12-05 17:44:47 +01:00
Laurent Destailleur
c36d362248
Fix: PHPCS 2.0
2014-12-05 17:38:34 +01:00
Laurent Destailleur
7da4edda01
Incresae value for warning
2014-11-10 09:48:26 +01:00
Laurent Destailleur
911cccba80
Disable rule FunctionDoubleUnderscore that seems to be bugged.
2014-08-28 12:31:57 +02:00
Laurent Destailleur
9ef3683acc
I grouped rules by Standard (PEAR, Generic, Zend, ...)
...
If a standard bring a rule that is duplicate than the other, we must
keep it commented saying duplicate with.
So at any time we know which rule we match for each standard.
2014-07-26 15:07:30 +02:00
Laurent Destailleur
9eb54ffb4b
Fix: Bad merge
2014-07-20 16:14:25 +02:00
Laurent Destailleur
5572364d2b
Merge remote-tracking branch 'origin/3.6' into develop
...
Conflicts:
dev/codesniffer/ruleset.xml
2014-07-20 16:09:42 +02:00
Laurent Destailleur
85ccb094b4
Fix: More complete exclusion list
2014-07-20 15:54:37 +02:00
Laurent Destailleur
0452c2d68e
Qual: Enhance PHPCS sheet.
2014-07-20 15:39:38 +02:00
Laurent Destailleur
cfc337a79a
Qual: Enable php checkstyle rule Zend.Files.ClosingTag
...
Fix: Solve a lot of checkstyle errors.
2014-07-20 15:27:38 +02:00
Laurent Destailleur
aaa2d75dc3
Disable test on Zend.Files.ClosingTag for the moment to try to restore a
...
green status with travis.
2014-07-08 01:04:16 +02:00
Laurent Destailleur
07ff74b069
Revert "Update ruleset.xml"
...
This reverts commit 9cca9f352f .
2014-07-08 00:19:00 +02:00
Laurent Destailleur
a2bc97210b
Merge pull request #1721 from frederic34/patch-6
...
Update ruleset.xml
2014-07-07 21:27:09 +02:00