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 in an array using an index doesn't trigger a violation of the rule 0012 #86

Closed Fabccc closed 1 month ago

Fabccc commented 2 months ago

Describe the bug

Setting a value in an array using an index 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 in an array should trigger a violation of the 0012 rule.
Fabccc commented 1 month ago

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