From 3fd785654372d493c031d9b541ab33a881023a32 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 26 Feb 2021 19:16:17 +0300 Subject: * switch to composer for qrcode and otp dependencies * move most OTP-related stuff into userhelper * remove old phpqrcode and otphp libraries --- vendor/beberlei/assert/phpstan-code.neon | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vendor/beberlei/assert/phpstan-code.neon (limited to 'vendor/beberlei/assert/phpstan-code.neon') diff --git a/vendor/beberlei/assert/phpstan-code.neon b/vendor/beberlei/assert/phpstan-code.neon new file mode 100644 index 000000000..49aa5723f --- /dev/null +++ b/vendor/beberlei/assert/phpstan-code.neon @@ -0,0 +1,10 @@ +parameters: + autoload_files: + - bin/MethodDocGenerator.php + ignoreErrors: + # is_countable() is available only in PHP 7.3+ + - '#Function is_countable not found#' + + # Calling count() on ResourceBundle and SimpleXMLElement is valid from PHP 7.0+, but does not correctly advertise + # the fact, and so PHPStan has an issue with this. This will be fixed in PHP 7.4+ + - '#Call to function count\(\) with argument type array|Countable|ResourceBundle|SimpleXMLElement will always result in number 1#' -- cgit v1.2.3