From 81efba1f6d90f853cdfaa7c4f71d9e1069a44dd3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 7 Sep 2020 09:39:18 +0200 Subject: update to 2.9.1 fix zend-cache autoloader --- phpdoc-php-warning-count-fix.patch | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 phpdoc-php-warning-count-fix.patch (limited to 'phpdoc-php-warning-count-fix.patch') diff --git a/phpdoc-php-warning-count-fix.patch b/phpdoc-php-warning-count-fix.patch deleted file mode 100644 index a307863..0000000 --- a/phpdoc-php-warning-count-fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/phpDocumentor/Plugin/Core/Descriptor/Validator/Constraints/Functions/IsArgumentInDocBlockValidator.php b/src/phpDocumentor/Plugin/Core/Descriptor/Validator/Constraints/Functions/IsArgumentInDocBlockValidator.php -index 1e31c932..4baf2fb4 100644 ---- a/src/phpDocumentor/Plugin/Core/Descriptor/Validator/Constraints/Functions/IsArgumentInDocBlockValidator.php -+++ b/src/phpDocumentor/Plugin/Core/Descriptor/Validator/Constraints/Functions/IsArgumentInDocBlockValidator.php -@@ -30,7 +30,7 @@ class IsArgumentInDocBlockValidator extends ConstraintValidator - */ - public function validate($value, Constraint $constraint) - { -- if ($value instanceof ValidationValueObject && count($value->argument) > 0) { -+ if ($value instanceof ValidationValueObject && $value->argument instanceof Countable && count($value->argument) > 0) { - $argument = $value->argument; - /* @var $params \phpDocumentor\Descriptor\Collection */ - $params = $value->parameters; -- cgit