4. Cobblers¶
4.1. Introduction¶
Cobblers mend PHP code. They apply a transformation to it.
Cobblers are a complement to code analysis : the analysis spot code to be fixed, the cobbler mends the code. Later, the analysis doesn’t find those issues anymore.
4.2. List of Cobblers¶
- 4.2.1. Add Brackets To Single Instructions
- 4.2.2. Add Final Class
- 4.2.3. Add No Scream @
- 4.2.4. Array To Bracket
- 4.2.5. Change Class
- 4.2.6. Create Phpdoc
- 4.2.7. Gather Use Expression
- 4.2.8. Logical To in_array()
- 4.2.9. Make Static Closures And Arrow Functions
- 4.2.10. Multiple cobbler
- 4.2.11. Plus One To Pre Plusplus
- 4.2.12. Post to Pre Plusplus
- 4.2.13. Remove A Method In A Class
- 4.2.14. Remove Abstract
- 4.2.15. Remove Brackets Around Single Instruction
- 4.2.16. Remove Dollar Curly
- 4.2.17. Remove Final
- 4.2.18. Remove Instructions
- 4.2.19. Remove Noscream @
- 4.2.20. Remove Parenthesis
- 4.2.21. Remove Readonly Option
- 4.2.22. Remove Static From Closures And Arrow Functions
- 4.2.23. Remove The Attribute
- 4.2.24. Remove Type
- 4.2.25. Remove Unused Use
- 4.2.26. Remove Visibility
- 4.2.27. Remove Written Only Variable
- 4.2.28. Rename A Function
- 4.2.29. Rename A Function
- 4.2.30. Rename A Namespace
- 4.2.31. Rename Class
- 4.2.32. Rename Class Constant
- 4.2.33. Rename Constant
- 4.2.34. Rename Enums
- 4.2.35. Rename FunctionCalls
- 4.2.36. Rename Interface
- 4.2.37. Rename Method
- 4.2.38. Rename Methodcall
- 4.2.39. Rename Parameter
- 4.2.40. Rename Property
- 4.2.41. Rename Trait
- 4.2.42. Set Null Type
- 4.2.43. Set Type Void
- 4.2.44. Set Types
- 4.2.45. Split Property Definitions
- 4.2.46. Switch To Match
- 4.2.47. Use Available Alias
- 4.2.48. Var To Public
- 4.2.49. array_key_exists() Speedup