denzyldick / phanalist

Performant static analyzer for PHP, which is extremely easy to use. It helps you catch common mistakes in your PHP code.
https://denzyldick.github.io/phanalist/
MIT License
127 stars 5 forks source link

Setting a value inside a null coalescing operation doesn't trigger a violation of the rule 0012 #87

Closed Fabccc closed 1 month ago

Fabccc commented 2 months ago

Describe the bug

Setting a value inside a null coalescing operation doesn't trigger a violation of the rule 0012.

To Reproduce Steps to reproduce the behavior:


- Launch phanalist on it
- No violation

**Expected behavior**
 Setting a value inside a null coalescing operation should trigger a violation of the rule 0012
Fabccc commented 1 month ago

On our project, it works like charm, i'm closing the issue as completed.