Composer.json add lib/ folder, fix Smart extended class

Smarty extended class is now included in checks and is fixed.

Add the lib/ folder to the composer.json autoloader block so we can use
the composer autoloader and not the one from CoreLibs

Added an autoloader load test backend file
This commit is contained in:
Clemens Schwaighofer
2021-10-28 10:10:15 +09:00
parent 0907325a38
commit edfbe476c4
11 changed files with 586 additions and 17 deletions

View File

@@ -14,10 +14,10 @@ parameters:
scanFiles:
- www/configs/config.php
- www/configs/config.master.php
- www/lib/autoloader.php
# if composer.json autoloader defined, this is not needed
# - www/lib/autoloader.php
- www/vendor/autoload.php
- www/lib/Smarty/Autoloader.php
- www/lib/CoreLibs/Template/SmartyExtend.php
excludes_analyse:
# do not check old qq file uploader tests
- www/admin/qq_file_upload_*.php
@@ -38,13 +38,11 @@ parameters:
- www/log
- www/media
- www/tmp
# external libs are not checked
- www/lib/pChart*
- www/lib/Smarty*
- www/lib/smarty*
# ignore composer
- www/vendor
# ignore the smartyextend
- www/lib/CoreLibs/Template/SmartyExtend.php
# ignore errores with
ignoreErrors:
# -