set explicit tmp folder for phpstan to not overlap with other users Basic class return false for unset date or datetime parameter
55 lines
1.5 KiB
Plaintext
55 lines
1.5 KiB
Plaintext
# PHP Stan Config
|
|
|
|
parameters:
|
|
tmpDir: /tmp/phpstan-clemens
|
|
level: 1
|
|
paths:
|
|
- %currentWorkingDirectory%/www
|
|
#bootstrap: %currentWorkingDirectory%/phpstan-bootstrap.php
|
|
#bootstrap: phpstan-bootstrap.php
|
|
autoload_directories:
|
|
autoload_files:
|
|
- %currentWorkingDirectory%/phpstan-bootstrap.php
|
|
- www/configs/config.master.php
|
|
- www/lib/autoloader.php
|
|
excludes_analyse:
|
|
# no check admin
|
|
- www/admin/qq_file_upload_front.php
|
|
- www/admin/qq_file_upload_ajax.php
|
|
# admin synlink files
|
|
- www/admin/edit_access.php
|
|
- www/admin/edit_groups.php
|
|
- www/admin/edit_languages.php
|
|
- www/admin/edit_menu_group.php
|
|
- www/admin/edit_order.php
|
|
- www/admin/edit_pages.php
|
|
- www/admin/edit_schemes.php
|
|
- www/admin/edit_users.php
|
|
- www/admin/edit_visible_group.php
|
|
# ignore admin header stuff
|
|
- www/includes/admin_header.php # ignore the admin include stuff
|
|
- www/includes/admin_footer.php # ignore the admin include stuff
|
|
- www/includes/admin_set_paths.php # ignore the admin include stuff
|
|
- www/includes/admin_smarty.php # ignore the admin include stuff
|
|
# folders with data no check needed
|
|
- www/templates_c
|
|
- www/cache
|
|
- www/log
|
|
- www/media
|
|
- www/tmp
|
|
- www/lib/pChart
|
|
- www/lib/pChart2.1.4
|
|
- www/lib/Smarty/
|
|
- www/lib/smarty-3.1.30/
|
|
# ignore composer
|
|
- www/vendor
|
|
# ignore errores with
|
|
# ignoreErrors:
|
|
#- 'error regex'
|
|
#-
|
|
# message: 'error regex'
|
|
# path: %currentWorkingDirectory%/www/some/*
|
|
# paths:
|
|
# - ...
|
|
# - ...
|