HEX
Server: nginx/1.29.3
System: Linux mail.sarafai.ru 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: root (0)
PHP: 7.4.33
Disabled: dl,exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /var/www/levasheva.ru/public/wp-content/plugins/Ultimate_VC_Addons/phpstan.neon
# Start command: composer update --classmap-authoritative && vendor/bin/phpstan analyze

includes:
	- phpstan-baseline.neon # Baseline to ignore error temporary
	# https://github.com/phpstan/phpstan/blob/master/conf/bleedingEdge.neon
	# - vendor/phpstan/phpstan/conf/bleedingEdge.neon
	# - phar://phpstan.phar/conf/bleedingEdge.neon
	- vendor/szepeviktor/phpstan-wordpress/extension.neon
	# - vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
parameters:
	level: 9
	inferPrivatePropertyTypeFromConstructor: true
	treatPhpDocTypesAsCertain: false
	scanFiles:
	bootstrapFiles:
		- vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
		- tests/php/stubs/uavc-stubs.php
	paths:
		- admin
		- classes
		- languages
		- modules
		- params
		- presets
		- templates
	excludePaths: 
		- modules/ultimate_swatch_book.php
		- modules/ultimate_info_list.php
		- modules/ultimate_icon_timeline.php
	ignoreErrors:
		- '#Call to an undefined method [a-zA-Z0-9\\_]+\:\:add_control\(\).$#'
		- '#Call to an undefined method [^\s]+\.$#'
		- '#Call to method [^\s]+ on an unknown class Elementor\\[^\s]+\.$#'
		- '#Cannot access [^\s]+#'
		- '#Parameter [^\s]+#'
		- '#Function [^\s]+ not found.#'
		- '#Access to an undefined property [^\s]+#'  
		- '#Static property [^\s]+#'
		- '#Call to static method [^\s]+#'
		- '#Offset [^\s]+#'
		- '#Access to [^\s]+#'
		- '#Strict comparison using \=\=\= between ''no'' and true will always evaluate to false.#'