ongr-archive / ongr-strict-standard

[NOT MAINTAINED] Strict PHPCS standard for PSR-2 code based on Squiz standards
MIT License
13 stars 14 forks source link

Assignments should be allowed in while and if #123

Closed tautrimas closed 9 years ago

tautrimas commented 9 years ago

Assignments should be allowed in while and if expressions.

This issue has been solved before in #13 and #50, but now should be ported also to v2.x.

Example failing code:

while (false !== $data = fgetcsv($handle, 1000, ',')) {