Как перейти на PHP 8.0? - podcast episode cover

Как перейти на PHP 8.0?

Feb 25, 20219 minEp. 86
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

В этом выпуске подкаста обсудим план и основные шаги:

- инспекция кода с помощью PhpStorm

- статический анализ с помощью PHPCompatibility

- strict_types и статический анализ с помощью Psalm, PHPStan и т.п.

- проверка composer пакетов на совместимость с PHP 8

- проверка расширений PHP

- запуск тестов

- переходный период, пока на prod ешё старая версия, а локально уже новая

- настройка Continues Integration

- обновление синаксиса с использованием новых возможностей (Rector)

- проблема с git blame


https://www.php.net/manual/ru/migration80.php

https://stitcher.io/blog/new-in-php-8

https://php.watch/versions/8.0

https://github.com/PHPCompatibility/PHPCompatibility

https://enzo.weknowinc.com/articles/2015/06/07/how-to-check-php-compatibility

https://getcomposer.org/doc/06-config.md#platform

https://matthewsetter.com/series/tooling/composer/forked-repositories/

https://github.com/rectorphp/rector


Пятиминутка PHP - подкаст о PHP, DBA, архитектуре, DevOps. Авторское мнение о современных трендах в веб-разработке и интересные беседы с гостями. https://5minphp.ru

For the best experience, listen in Metacast app for iOS or Android
Open in Metacast
Как перейти на PHP 8.0? | Пятиминутка PHP podcast - Listen or read transcript on Metacast