How to upgrade to PHP 7.4 with PhpStorm

preview_player
Показать описание
A few nice tips and tricks on how to update your codebase to PHP 7.4, with some cool bonuses to boot.

0:32 Why update? 1. Security
0:50 Why update? 2. Performance.
1:12 Why update? 3. Сleaner code.
1:28 Install PHP 7.4 from Docker
2:03 Typed properties
3:00 Initialize properties quick action
3:13 Alt+Enter them all!
3:37 Custom inspection and quick-fix to replace setters
4:59 Arrow functions
5:19 Numeric literal separator
6:03 Null coalescing assign operator
6:38 Spread operator in arrays
7:03 Custom quick-fix to convert array_merge
7:40 Deprecations
8:23 Nested ternary operator updates
Рекомендации по теме
Комментарии
Автор

WOW! I must to say: This voice actor is superb! Really well produced screencast.


Nikita Popov is God!

ailuros_
Автор

I didn't know you can use structural replace as inspection. This is awesome.

Snioo
Автор

3:00 - 3:38 OMFG YES. Best 38 seconds of my life. This is exactly what I kept telling ppl and sending a zoomed-in image of the alt+enter hint.

Ruptured_AU
Автор

Nice tut, really helpfull. Could you make some tutorial about setting up docker for "basic" php application? PHP, nginx, symfony/nette/larabel setup? Specialy for macOS ;)

maxxim
Автор

i use an old version of phpstorm, when i updated the php to 7.4, my code give errors and i dont want to upgrade phpstorm latest

dfordemo
Автор

Does one have to get commercial license to make video on youtube using these IDEs?

gangvirus
Автор


Very useful feature this! (adding a structural search-and-replace as a quick-fix via inspections) @4:40

doqnach
Автор

0:49 сразу понятно, что это творчество славянина. Это же жесть, JetBrains))))

bbbrfpx
Автор

Maan sab galti nal sach. Jeen sab panda kadrha

KanwardeepSinghNarota