summaryrefslogtreecommitdiffstats
path: root/phpdoc-php-warning-count-fix.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-07 09:39:18 +0200
committerRemi Collet <remi@remirepo.net>2020-09-07 09:39:18 +0200
commit81efba1f6d90f853cdfaa7c4f71d9e1069a44dd3 (patch)
tree8fcce7c5450c7b653453bd8b62d596d2d28452bf /phpdoc-php-warning-count-fix.patch
parent0924855544088c795a49be069196222ea4959e32 (diff)
update to 2.9.1
fix zend-cache autoloader
Diffstat (limited to 'phpdoc-php-warning-count-fix.patch')
-rw-r--r--phpdoc-php-warning-count-fix.patch13
1 files changed, 0 insertions, 13 deletions
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;