Enable phpstan bleedingEdge

main
Jordi Boggiano 2 years ago
parent 25012170b2
commit d5a8d2be22
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -1,4 +1,5 @@
includes: includes:
- ../vendor/phpstan/phpstan/conf/bleedingEdge.neon
- ../vendor/phpstan/phpstan-phpunit/extension.neon - ../vendor/phpstan/phpstan-phpunit/extension.neon
- ../vendor/phpstan/phpstan-deprecation-rules/rules.neon - ../vendor/phpstan/phpstan-deprecation-rules/rules.neon
- ../vendor/phpstan/phpstan-strict-rules/rules.neon - ../vendor/phpstan/phpstan-strict-rules/rules.neon

@ -42,7 +42,7 @@ class RuleSet implements \IteratorAggregate, \Countable
/** @var array<self::TYPE_*, Rule[]> */ /** @var array<self::TYPE_*, Rule[]> */
protected $rules; protected $rules;
/** @var int */ /** @var 0|positive-int */
protected $nextRuleId = 0; protected $nextRuleId = 0;
/** @var array<int|string, Rule|Rule[]> */ /** @var array<int|string, Rule|Rule[]> */

@ -321,7 +321,7 @@ class ArrayRepository implements RepositoryInterface
/** /**
* Returns the number of packages in this repository * Returns the number of packages in this repository
* *
* @return int Number of packages * @return 0|positive-int Number of packages
*/ */
public function count(): int public function count(): int
{ {

Loading…
Cancel
Save