Refactoring PHP: code layout and coding standards

preview_player
Показать описание

In this video we're going to look at PHP coding standards, and how using them makes your code easier to read, therefore making it easier to debug and maintain.

Resources shown in the video:

Code shown in the video:
Рекомендации по теме
Комментарии
Автор

You're so underrated, Dev! I actually feel sad for you

alnahian
Автор

I have a problem from our PHP MVC framwork in another course,
I want to save multi level category in database, and want to display seperate category level from twig
How can it be done in our mvc framework.

CodeFlow
Автор

Hello, thank you for your amazing video, it helps a lot. Maybe can you make more videos of this type ? (how to refactor code etc...)

alexd
Автор

What you guys think about 4 spaces against tab?

manojo
Автор

Verry amazing content thank you verry much. Please i want to do some project contains all this concepts such as security fails php and mvc etc and big thanks in advance

mohamedcherradi
Автор

Cheers Dave, I had to run it without putting php in front of php-cs-fixer. i.e. $ php-cs-fixer fix myphpfile.php --verbose

secret_one
Автор

It's not any refactoring just correcting syntax and formatting text! Every serious IDE already has this implemented or you can download a plug-in for it....

programmers
join shbcf.ru