In this video you’ll learn how to use the Introduce Field refactoring and the Introduce Variable refactoring.
Twitter: / phpstorm
Facebook: / jetbrains
#PHP #PhpStorm #Refactoring #CleanCode
00:03 - Overview
00:31 - Refactor 1: refactor $parcelDataFileDir as a field
02:12 - How to set the default property visibility
02:59 - Refactor 2: remove duplicate calls to sprintf by introducing a new variable
04:36 - Quick recap
05:05 - Coming up next
On this page of the site you can watch the video online Do this to replace copypasta PHP code with a variable | Refactoring With PhpStorm by Matthew Setter with a duration of hours minute second in good quality, which was uploaded by the user JetBrains 25 August 2021, share the link with friends and acquaintances, this video has already been watched 1,687 times on youtube and it was liked by 54 viewers. Enjoy your viewing!