I have the following class
<?php
namespace Module\Contract;
final readonly class A
{
/**
* @param int<0, max> $maxRetry
*/
public function __construct(
public int $maxRetry) {}
}
Deptrac detects a violation:
Error: Module\Contract\A has uncovered dependency on Module\Contract\max (Module)
The problem happens with Deptrac 4.1. I'm working with 4.0 and everything is fine. I suspect it's because of the update of phpstan/phpdoc-parser #1494
I have the following class
Deptrac detects a violation:
Error: Module\Contract\A has uncovered dependency on Module\Contract\max (Module)The problem happens with Deptrac 4.1. I'm working with 4.0 and everything is fine. I suspect it's because of the update of phpstan/phpdoc-parser #1494