Dave Liddament

Results 17 comments of Dave Liddament

@kubawerlos thanks for link. Yes it looks like those rules should help me out. Initially my use case is for promoted properties, but thinking about this more and given trailing...

Thanks for suggestions and for the reference to the RFC. I wonder if we should consider the ultimate aim before looking into the details... ## My example use cases From...

How about altering the`#[NamespaceVisibility]` attribute to this... ```php #[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)] final class NamespaceVisibility { public function __construct( ?string $namespace = null, bool $excludeSubNamespaces = false, ) {} } ```...

Hey Alex. Thanks for the suggestion. I think warnings could be introduced into SARB. It'd be great to learn more about the use-cases that would be beneficial to you, to...

Hi @MisterIcy Thanks for that helpful description of what you want. I think we can achieve that with SARB, and can probably do it in a way that it is...

Is this the only output format available? Are all escaped mutants recorded in the same place? Do you have an example with multiple escaped mutations over multiple files? I assume...

Another reason against is that PhpStorm does support [use of PHPStan](https://www.jetbrains.com/help/phpstorm/using-phpstan.html) and [Psalm](https://www.jetbrains.com/help/phpstorm/using-psalm.html). This might be good enough for the majority of developers.

@dbrekelmans Thanks for information and this link. I've been in touch with the PHPStorm, Psalm and PHPStan team via DMs. I'll update with their initial feedback and then if it...

Great question. My initial response is that the type must be explicitly stated: e.g. ```php /** @var ValueHolder $intHolder */ $intHolder = new ValueHolder($value) ; ``` This maps to what...

Yes, that change sounds like a great idea. If you're happy to give the implementation a go then please send through a PR. Otherwise I can take a look in...