Try to solve side effect of this fuck... autoload creating a big mess in

a lot of features.
This commit is contained in:
Laurent Destailleur 2016-05-18 11:57:13 +02:00
parent 9114513df2
commit e7385c9e4f
3 changed files with 4 additions and 9 deletions

View File

@ -103,11 +103,6 @@ install:
composer require squizlabs/php_codesniffer ^2 composer require squizlabs/php_codesniffer ^2
echo echo
- |
echo "Adding Composer binaries to the path"
export PATH="$TRAVIS_BUILD_DIR/htdocs/includes/bin:$PATH"
echo
before_script: before_script:
- | - |
echo Start travis echo Start travis
@ -286,9 +281,8 @@ script:
cd - cd -
set +e set +e
echo echo
echo Log for upgrade2.php 3.9.0 4.0.0 MAIN_MODULE_API #cat $TRAVIS_BUILD_DIR/upgrade390400-2.log
cat $TRAVIS_BUILD_DIR/upgrade390400-2.log #cat /tmp/dolibarr_install.log
cat /tmp/dolibarr_install.log
- | - |
echo "Unit testing" echo "Unit testing"

2
htdocs/.gitignore vendored
View File

@ -20,5 +20,5 @@
/allscreens* /allscreens*
/ecommerce/ /ecommerce/
/cabinetmed* /cabinetmed*
/conf/conf.php
/webmail* /webmail*
/conf/conf.php

View File

@ -307,6 +307,7 @@ class AutoLoader
*/ */
private function alias($className, $currentClass) private function alias($className, $currentClass)
{ {
// DOL_LDR
if ($className == 'Luracast\Restler\string') return; if ($className == 'Luracast\Restler\string') return;
if ($className == 'Luracast\Restler\mixed') return; if ($className == 'Luracast\Restler\mixed') return;