Phpinspectionsea: Provide fixers for some inspections

Created on 3 Aug 2017  路  8Comments  路  Source: kalessil/phpinspectionsea

I'm hope that some warnings can be fixed automatically (alt+enter). But for now plugin forces us to fix code by hands.

See https://github.com/Haehnchen/idea-php-symfony2-plugin/blob/master/src/fr/adrienbrault/idea/symfony2plugin/codeInspection/form/FormTypeAsClassConstantInspection.java for example implementation of autofixers.

enhancement fixed

All 8 comments

This is continuous work funded by on Indiegogo this year, current status is here (QF column).

Can you list top 3 QF which could increase your team velocity please?

I'm closing the issue, but looking forward for the list =)

  1. mkdir race conditions
  2. mkdir race conditions
  3. mkdir race conditions
  4. is_null -> null === xxx
  5. cascade str_replace

xD, ok I'm back from vacation 21th August, will implement QF

  • [ ] mkdir
  • [x] cascade str_replace
  • [x] is_null -> null === xxx

Reopening, so the final 2.3.10 coming with the promised fixers.

Status update: cascade str_replace QF implemented (the thing was pretty complicated %) to implement),
let see if race conditions fixes will be feasible.

  • [x] for->foreach fixer

SInce I started to work on mkdir race conditions fixer, closing the issue.

Was this page helpful?
0 / 5 - 0 ratings