{"id":68100,"date":"2020-07-31T18:00:53","date_gmt":"2020-07-31T18:00:53","guid":{"rendered":"http:\/\/blog.jetbrains.com\/?post_type=phpstorm&#038;p=68100"},"modified":"2020-08-21T14:21:16","modified_gmt":"2020-08-21T14:21:16","slug":"phpstorm-2020-2-release","status":"publish","type":"phpstorm","link":"https:\/\/blog.jetbrains.com\/ru\/phpstorm\/2020\/07\/phpstorm-2020-2-release\/","title":{"rendered":"PhpStorm 2020.2: \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u043d\u044b\u0435 \u0442\u0438\u043f\u044b PHP 8, \u043d\u043e\u0432\u044b\u0439 \u0434\u0432\u0438\u0436\u043e\u043a \u043f\u043e\u0442\u043e\u043a\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u043f\u0443\u043b-\u0440\u0435\u043a\u0432\u0435\u0441\u0442\u044b GitHub, OpenAPI"},"content":{"rendered":"<p><a href=\"https:\/\/blog.jetbrains.com\/phpstorm\/2020\/07\/phpstorm-2020-2-release\/\"><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/blog-2x_.png\" alt=\"\" \/><\/a><\/p>\n<p>\u041c\u044b \u0440\u0430\u0434\u044b \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0442\u043e\u0440\u043e\u0439 \u043c\u0430\u0436\u043e\u0440\u043d\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 PhpStorm \u0432 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443. \u0427\u0438\u0442\u0430\u0439\u0442\u0435 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0439 \u0440\u0430\u0437\u0431\u043e\u0440 \u0432\u0441\u0435\u0445 \u0437\u0430\u043c\u0435\u0442\u043d\u044b\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0438 \u043d\u043e\u0432\u044b\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439.<\/p>\n<h2 id=\"union_types_\u0432_php\">Union types \u0432 PHP 8<\/h2>\n<p>\u0412 PHP 8 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a \u043c\u043d\u043e\u0433\u043e \u043d\u043e\u0432\u044b\u0445 \u0444\u0438\u0447, \u0447\u0442\u043e \u0432 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u044d\u0442\u043e \u0434\u0430\u0436\u0435 \u043d\u043e\u0432\u044b\u0439 \u044f\u0437\u044b\u043a. \u041c\u044b \u043d\u0430\u0447\u0430\u043b\u0438 \u0432\u044b\u043a\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0432\u043e\u0441\u044c\u043c\u0435\u0440\u043a\u0438 \u043f\u043e\u0440\u0430\u043d\u044c\u0448\u0435 \u0438 \u043f\u0435\u0440\u0432\u043e\u0439 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0444\u0438\u0447\u0435\u0439 \u0441\u0442\u0430\u043b\u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u043d\u044b\u0435 \u0442\u0438\u043f\u044b.<\/p>\n<p>\u041e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u043d\u044b\u0435 \u0442\u0438\u043f\u044b <code>T1|T2|...<\/code> \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0437\u0434\u0435, \u0433\u0434\u0435 \u0442\u0438\u043f\u044b \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u0435\u0439\u0447\u0430\u0441: \u0432 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\u0445, \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u0445 \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u0445. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u0442\u0438\u043f\u043e\u0432.<\/p>\n<p>\u0424\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u043d\u044b\u0435 \u0442\u0438\u043f\u044b \u0434\u0430\u0432\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0432 PHPDoc, \u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0438\u0445 \u0432 \u0440\u0430\u043d\u0442\u0430\u0439\u043c\u0435.<\/p>\n<h3 id=\"\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435_\u0432\u0435\u0440\u0441\u0438\u0438_\u044f\u0437\u044b\u043a\u0430\">\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u044f\u0437\u044b\u043a\u0430<\/h3>\n<p>\u0427\u0442\u043e\u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432\u0441\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u043c\u043e\u0436\u043d\u043e \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0435\u0440\u0441\u0438\u044e \u044f\u0437\u044b\u043a\u0430 \u043d\u0430 PHP 8 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 <em>Languages &amp; Frameworks | PHP | PHP language level<\/em>.<\/p>\n<p>\u0418\u043b\u0438 \u0435\u0441\u043b\u0438 \u0432 \u043a\u043e\u0434\u0435 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u043e\u0432\u044b\u0445 \u0444\u0438\u0447, \u0442\u043e \u0442\u043e\u0433\u0434\u0430 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u0432\u0438\u043a-\u0444\u0438\u043a\u0441\u0430 (<kbd>Alt+Enter<\/kbd>).<\/p>\n<p>\u0410 \u0435\u0441\u043b\u0438 \u0432\u0435\u0440\u0441\u0438\u044f PHP \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u0432 composer.json, \u0442\u043e PhpStorm \u043f\u043e\u0434\u0442\u044f\u043d\u0435\u0442 \u0435\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438.<\/p>\n<p><img decoding=\"async\"  src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/UT_switch_level.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/UT_switch_level.gif\" alt=\"\" width=\"600\" class=\"alignnone size-full wp-image-62355\" \/><\/p>\n<h3 id=\"\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u043c_phpdoc_\u0432_\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0435_\u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u043d\u044b\u0435_\u0442\u0438\u043f\u044b\">\u041a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u043c PHPDoc \u0432 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u043d\u044b\u0435 \u0442\u0438\u043f\u044b<\/h3>\n<p>\u041d\u0430 \u0442\u0435\u0433\u0435 PHPDoc, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0435\u0441\u0442\u044c \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u043d\u044b\u0439 \u0442\u0438\u043f, \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u043a\u0432\u0438\u043a-\u0444\u0438\u043a\u0441 (<kbd>Alt+Enter<\/kbd>).<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/UT_convert_phpdoc.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/UT_convert_phpdoc.gif\" class=\"alignnone size-full wp-image-54826\" alt=\"\" width=\"598\" \/><\/p>\n<h3 id=\"\u0443\u0434\u0430\u043b\u044f\u0435\u043c_\u043b\u0438\u0448\u043d\u0438\u0435_phpdoc\">\u0423\u0434\u0430\u043b\u044f\u0435\u043c \u043b\u0438\u0448\u043d\u0438\u0435 PHPDoc<\/h3>\n<p>\u0415\u0441\u043b\u0438 PHPDoc \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0442\u0438\u043f\u043e\u0432, \u0442\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043a\u0430\u043a \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u044b\u0439 \u043a\u0432\u0438\u043a-\u0444\u0438\u043a\u0441\u043e\u043c (<kbd>Alt+Enter<\/kbd>).<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/UT_remove_phpdoc.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/UT_remove_phpdoc.gif\" class=\"alignnone size-full wp-image-54844\" alt=\"\" width=\"598\" \/><\/p>\n<blockquote><p>\u041c\u043e\u0436\u043d\u043e \u043b\u0438 \u0442\u0430\u043a\u043e\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u043c \u0438 \u0434\u0435\u043b\u0430\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0435\u0440\u0435\u0434 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u043c? \u041c\u044b \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0442\u0430\u043a\u043e\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438.<\/p><\/blockquote>\n<h3 id=\"\u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f_\u0442\u0438\u043f\u043e\u0432\">\u0412\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u0442\u0438\u043f\u043e\u0432<\/h3>\n<p>PhpStorm \u0438 \u0440\u0430\u043d\u044c\u0448\u0435 \u0443\u043c\u0435\u043b \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0438\u043f\u044b \u0438 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430\u0440\u0443\u0448\u0435\u043d\u0438\u044f \u043f\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0437 \u0442\u0435\u0433\u043e\u0432 PHPDoc. \u0421 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u043c\u0438 \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0446\u0438\u044f\u043c\u0438 \u044d\u0442\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u043b\u0438\u0441\u044c.<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0434\u0435\u043b\u0430\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u0432\u0441\u0435\u0433\u043e: \u0441\u0432\u043e\u0439\u0441\u0442\u0432, \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/UT_basic_validation.png\" class=\"alignnone wp-image-54853\" alt=\"\" width=\"598\" \/><\/p>\n<p>\u042d\u0442\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0432 \u0441\u043b\u043e\u0436\u043d\u043e\u043c \u043a\u043e\u0434\u0435, \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u0440\u0443\u0448\u0435\u043d\u0438\u044f \u043d\u0435 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b \u0441 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0432\u0437\u0433\u043b\u044f\u0434\u0430.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/UT_complex_validation.png\" class=\"alignnone wp-image-55083\" alt=\"\" width=\"808\" \/><\/p>\n<h3 id=\"\u043f\u0441\u0435\u0432\u0434\u043e\u0442\u0438\u043f_false\">\u041f\u0441\u0435\u0432\u0434\u043e\u0442\u0438\u043f false<\/h3>\n<p>\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 <strike>\u043b\u0435\u0433\u0430\u0441\u0438<\/strike> \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043c\u043e\u0433\u0443\u0442 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c <code>false<\/code> \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0448\u0438\u0431\u043a\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0442\u0430\u043a \u0432\u0435\u0434\u0443\u0442 \u0441\u0435\u0431\u044f <code>strpos()<\/code>, <code>array_search()<\/code> \u0438 \u0435\u0449\u0435 310 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439.<\/p>\n<p>\u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u044b\u0439 \u0442\u0438\u043f \u043a\u0430\u043a \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u043d\u044b\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <code>int|bool<\/code>, \u043d\u043e \u043f\u043e \u0444\u0430\u043a\u0442\u0443 <code>true<\/code> \u0442\u0430\u043c \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442.<\/p>\n<p>\u0414\u043b\u044f \u0442\u0430\u043a\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0438 \u0432\u0432\u0435\u0434\u0435\u043d \u043f\u0441\u0435\u0432\u0434\u043e\u0442\u0438\u043f <code>false<\/code>. \u0415\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f\u0445. \u0418\u043d\u0430\u0447\u0435 PhpStorm \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u0438\u0442 \u043d\u0435\u0432\u0430\u043b\u0438\u0434\u043d\u044b\u0439 \u043a\u043e\u0434.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/UT_false_standalone.png\" class=\"alignnone wp-image-54871\" alt=\"\" width=\"597\" \/><\/p>\n<h3 id=\"\u0434\u0443\u0431\u043b\u0438\u0440\u0443\u044e\u0449\u0438\u0435\u0441\u044f_\u0438_\u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u044b\u0435_\u0442\u0438\u043f\u044b\">\u0414\u0443\u0431\u043b\u0438\u0440\u0443\u044e\u0449\u0438\u0435\u0441\u044f \u0438 \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u044b\u0435 \u0442\u0438\u043f\u044b<\/h3>\n<p>\u041c\u043d\u043e\u0433\u0438\u0435 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0438 \u0432 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f\u0445 \u0442\u0438\u043f\u043e\u0432 \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u044b \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043b\u0438\u0448\u043d\u0438\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<ul>\n<li><code>bool|false<\/code> \u2014 \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e false \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 <code>bool<\/code>;<\/li>\n<li><code>Foo|Foo<\/code> \u0438\u043b\u0438 <code>int|string|INT<\/code>\u2014 \u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u044f;<\/li>\n<li><code>object|User<\/code> \u2014 <code>object<\/code> \u0437\u0430\u0432\u0435\u0434\u043e\u043c\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435;<\/li>\n<li><code>iterable|array<\/code> \u0438\u043b\u0438 <code>iterable|Traversable<\/code> \u2014 <code>iterable<\/code> \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 array \u0438 Traversable;<\/li>\n<li><code>void<\/code> \u2014 \u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0438 \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0430\u043c \u043f\u043e \u0441\u0435\u0431\u0435;<\/li>\n<li><code>false<\/code> \u0438\u043b\u0438 <code>null<\/code> \u2014 \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u0430\u043a \u0447\u0430\u0441\u0442\u044c \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f.<\/li>\n<\/ul>\n<p>PhpStorm \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u0438\u0442 \u0432\u0441\u0435 \u0442\u0430\u043a\u0438\u0435 \u043d\u0430\u0440\u0443\u0448\u0435\u043d\u0438\u044f.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/UT_invalid_types.png\" alt=\"\" width=\"600\" class=\"alignnone size-full wp-image-62375\" \/><\/p>\n<h3 id=\"nullable_\u0442\u0438\u043f\u044b\">Nullable \u0442\u0438\u043f\u044b<\/h3>\n<p>\u041f\u0440\u0435\u0436\u043d\u0438\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 <code>?Type<\/code> \u0442\u0435\u043f\u0435\u0440\u044c \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u0434\u043b\u044f <code>Type|null<\/code>.<\/p>\n<p>\u041d\u043e \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441 <code>?<\/code> \u043d\u0435\u043b\u044c\u0437\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f\u0445, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043d\u0435\u0440\u0430\u0437\u0440\u0435\u0448\u0438\u043c\u0430\u044f \u0434\u0432\u0443\u0441\u043c\u044b\u0441\u043b\u0435\u043d\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>\u0414\u043b\u044f \u0442\u0430\u043a\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0432 PhpStorm \u0435\u0441\u0442\u044c \u043a\u0432\u0438\u043a-\u0444\u0438\u043a\u0441 (<kbd>Alt+Enter<\/kbd>).<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/UT_nullable_in-union.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/UT_nullable_in-union.gif\" class=\"alignnone size-full wp-image-54952\" alt=\"\" width=\"598\" \/><\/p>\n<h3 id=\"\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435_\u0442\u0438\u043f\u043e\u0432_\u043f\u0440\u0438_\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0438\">\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0442\u0438\u043f\u043e\u0432 \u043f\u0440\u0438 \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0438<\/h3>\n<p>\u0414\u043b\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0442 \u0434\u0432\u0430 \u043f\u0440\u0430\u0432\u0438\u043b\u0430:<\/p>\n<p><strong>\u0422\u0438\u043f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043a\u043e\u043d\u0442\u0440\u0430\u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435\u043d<\/strong>,<strong> <\/strong>\u0442\u043e \u0435\u0441\u0442\u044c \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0442\u044c.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/UT_variance_params.png\" class=\"alignnone wp-image-55101\" alt=\"\" width=\"808\" \/><\/p>\n<p><strong>\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u044b\u0439 \u0442\u0438\u043f \u043a\u043e\u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435\u043d<\/strong>, \u0442\u043e \u0435\u0441\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0443\u0436\u0430\u0442\u044c.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/UT_variance_returns.png\" class=\"alignnone wp-image-55110\" alt=\"\" width=\"808\" \/><\/p>\n<p>\u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0442\u0438\u043f\u043e\u0432 \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0438 <code>Type1|Type2<\/code> \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u043e <code>Type2|Type1<\/code>.<\/p>\n<p><strong>\u0422\u0438\u043f \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0435\u043b\u044c\u0437\u044f<\/strong><br \/>\n\u0422\u0438\u043f \u0443\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043a \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u043c\u0443, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/UT_variance_props.png\" class=\"alignnone wp-image-55119\" alt=\"\" width=\"598\" \/><\/p>\n<h2 id=\"\u043d\u043e\u0432\u044b\u0439_\u0434\u0432\u0438\u0436\u043e\u043a_\u043f\u043e\u0442\u043e\u043a\u0430_\u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f\">\u041d\u043e\u0432\u044b\u0439 \u0434\u0432\u0438\u0436\u043e\u043a \u043f\u043e\u0442\u043e\u043a\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f<\/h2>\n<p>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0432\u0438\u0436\u043a\u0430 \u043f\u043e\u0442\u043e\u043a\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u0438 \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043c\u043d\u043e\u0433\u0438\u0435 \u0441\u0442\u0430\u0440\u044b\u0435 \u0431\u0430\u0433\u0438. \u041a\u0430\u043a \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435, PhpStorm \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 \u043a\u043e\u0434 \u0435\u0449\u0435 \u043b\u0443\u0447\u0448\u0435.<\/p>\n<p>\u041a\u043e\u0435-\u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0443 \u0438 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f \u0438\u0437 \u043d\u043e\u0432\u044b\u0445 \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u0439. \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043d\u0438\u0445 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c \u0432\u0430\u0448\u0435\u0433\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043a\u0430\u043a \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438 \u0431\u0430\u0433\u043e\u0432. \u0410 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u043a\u043e\u0434 \u0447\u0438\u0449\u0435.<\/p>\n<p>\u0412\u043e\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u0439.<\/p>\n<p><strong>\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0432\u0441\u0435\u0433\u0434\u0430 true \u0438\u043b\u0438 false<\/strong><br \/>\n\u041f\u0440\u0438\u043c\u0435\u0440 \u0432 \u0444\u0430\u0439\u043b\u0435 <a href=\"https:\/\/github.com\/doctrine\/orm\/blob\/a3e53b6a23473e972e7fceaa4b0fd3766f5fa005\/lib\/Doctrine\/ORM\/Query\/Parser.php#L2416\" target=\"_blank\" rel=\"noopener\">Parser.php<\/a> \u0438\u0437 doctrine\/orm.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/control_flow_always_true.png\" alt=\"\" width=\"600\" class=\"alignnone size-full wp-image-62385\" \/><\/p>\n<p><strong>\u0423\u0441\u043b\u043e\u0432\u0438\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 true<\/strong><br \/>\n\u041f\u0440\u0438\u043c\u0435\u0440 \u0432 \u0444\u0430\u0439\u043b\u0435 <a href=\"https:\/\/github.com\/symfony\/form\/blob\/master\/Extension\/Validator\/Constraints\/FormValidator.php\" target=\"_blank\" rel=\"noopener\">FormValidator.php<\/a> \u0438\u0437 symfony\/form.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/control_flow_condition_true.png\" alt=\"\" width=\"600\" class=\"alignnone size-full wp-image-62395\" \/><\/p>\n<p><strong>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 instanceof \u0432\u0441\u0435\u0433\u0434\u0430 true<\/strong><br \/>\n\u041f\u0440\u0438\u043c\u0435\u0440 \u0432 \u0444\u0430\u0439\u043b\u0435 <a href=\"https:\/\/github.com\/symfony\/monolog-bridge\/blob\/7b74822465059a72af9eb17cf2a5ee5566feaa5f\/Logger.php#L66\" target=\"_blank\" rel=\"noopener\">Logger.php<\/a> from symfony\/monolog-bridge.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/control_flow_instanceof_true.png\" alt=\"\" width=\"600\" class=\"alignnone size-full wp-image-62405\" \/><\/p>\n<p><code>$this<\/code> \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0442\u0438\u043f <code>ResetInterface<\/code>, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0442\u043e\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432\u044b\u0448\u0435 \u043f\u043e \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/control_flow_instanceof_true_diagram.png\" alt=\"\" width=\"600\" class=\"alignnone size-full wp-image-62415\" \/><\/p>\n<p><strong>\u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 null<\/strong><br \/>\n\u041f\u0440\u0438\u043c\u0435\u0440 \u0432 \u0444\u0430\u0439\u043b\u0435 <a href=\"https:\/\/github.com\/symfony\/process\/blob\/37ddf984acf8699c5627dc54dc9ec03ec68dbbbe\/ProcessUtils.php#L67\" target=\"_blank\" rel=\"noopener\">ProcessUtils.php<\/a> from symfony\/process.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/control_flow_null_upd.png\" alt=\"\" width=\"600\" class=\"alignnone size-full wp-image-62841\" \/><\/p>\n<p><strong>\u041d\u043e\u0432\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435: Type Info (\u2303\u21e7P \/ Ctrl+Shift+P)<\/strong><br \/>\n\u041c\u043e\u0436\u043d\u043e \u043d\u0430\u0432\u0435\u0441\u0442\u0438 \u043a\u0430\u0440\u0435\u0442\u043a\u0443 \u043d\u0430 \u043b\u044e\u0431\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0438 \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u044d\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0430\u043a\u043e\u0439 \u0442\u0438\u043f PhpStorm \u0432\u044b\u0432\u0435\u043b \u0434\u043b\u044f \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f. \u0414\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0438\u0437 \u043c\u0435\u043d\u044e <em>View | Type Info<\/em> \u0438\u043b\u0438 \u043f\u043e \u0433\u043e\u0440\u044f\u0447\u0435\u0439 \u043a\u043b\u0430\u0432\u0438\u0448\u0435 <kbd>\u2303\u21e7P<\/kbd> <kbd>\/<\/kbd> <kbd>Ctrl+Shift+P<\/kbd>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/05\/phpstorm-type_info.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/05\/phpstorm-type_info.gif\" class=\"alignnone size-medium wp-image-15713\" alt=\"type_info\" width=\"808\" \/><\/p>\n<h2 id=\"\u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f_\u0434\u043b\u044f_composer\">\u0423\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f Composer<\/h2>\n<p>C \u0432\u0435\u0440\u0441\u0438\u0438 2020.1 \u0432\u0441\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438 Composer \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432 PhpStorm \u0432 \u0444\u0430\u0439\u043b\u0435 composer.json. \u0412 \u044d\u0442\u043e\u043c \u0440\u0435\u043b\u0438\u0437\u0435 \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0439.<\/p>\n<p><strong>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432 Satis\/Packagist<\/strong><br \/>\n\u0415\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0432 \u0441\u0435\u043a\u0446\u0438\u0438 \u201crepositories\u201d, \u0442\u043e \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0438\u0437 \u043d\u0435\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0430\u0432\u0442\u043e\u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u0434\u0430. \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043f\u0430\u043a\u0435\u0442\u0430\u0445 \u0438 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 \u0431\u0443\u0434\u0435\u0442 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432 PhpStorm.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-composer_custom_repos.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-composer_custom_repos.gif\" class=\"alignnone size-medium wp-image-15739\" alt=\"composer_custom_repos\" width=\"598\" \/><\/p>\n<p><strong>\u0414\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435, \u043a\u043e\u0433\u0434\u0430 \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0435\u0440\u0441\u0438\u0439<\/strong><br \/>\n\u0415\u0441\u043b\u0438 \u0432\u0435\u0440\u0441\u0438\u0438 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u044b \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043f\u044f\u0442\u0443\u044e \u0438\u043b\u0438 \u043f\u0430\u0439\u043f (<code>||<\/code>), \u0442\u043e PhpStorm \u0442\u0435\u043f\u0435\u0440\u044c \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-composer_range-versions.\u0441mproj.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-composer_range-versions.\u0441mproj.gif\" class=\"alignnone size-medium wp-image-15741\" alt=\"composer_range-versions.\u0441mproj\" width=\"598\" \/><\/p>\n<p><strong>\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043a\u043e\u0434 \u0438 \u0441\u0430\u0439\u0442<\/strong><br \/>\n\u0423 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u0432 \u043f\u043e\u043f\u0430\u043f\u0435 \u0441 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439 \u0435\u0441\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442\u044b.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-composer_pages_links.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-composer_pages_links.gif\" class=\"alignnone size-medium wp-image-15743\" alt=\"composer_pages_links\" width=\"598\" \/><\/p>\n<p><strong>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u043a\u043e\u0434\u0430<\/strong><br \/>\n\u0415\u0441\u043b\u0438 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0435\u0441\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u043a\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0432 PhpStorm, \u0442\u043e \u043d\u0430\u043f\u0440\u043e\u0442\u0438\u0432 \u043d\u0438\u0445 \u0431\u0443\u0434\u0435\u0442 \u0438\u043a\u043e\u043d\u043a\u0430 \u0433\u0430\u0435\u0447\u043d\u044b\u043c \u043a\u043b\u044e\u0447\u043e\u043c \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-composer_open_settings.png\" class=\"alignnone wp-image-15744\" alt=\"composer_open_settings\" width=\"598\" \/><\/p>\n<h2 id=\"\u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f_\u0434\u043b\u044f_\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432_\u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430_\u043a\u043e\u0434\u0430\">\u0423\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u043a\u043e\u0434\u0430<\/h2>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438, \u043e\u0431 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0445 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430. \u0412 PhpStorm 2020.2 \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0439.<\/p>\n<p><strong>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 Docker Compose<\/strong><br \/>\nPHP_CodeSniffer, PHP CS Fixer \u0438 PHP Mess Detector \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 docker compose.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-quality_tools_docker-compose.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-quality_tools_docker-compose.gif\" class=\"alignnone size-medium wp-image-15746\" alt=\"quality_tools_docker-compose\" width=\"598\" \/><\/p>\n<p><strong>\u0421\u043f\u0438\u0441\u043a\u0438 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f PHP_CodeSniffer<\/strong><br \/>\n\u0415\u0441\u043b\u0438 \u0432 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u043c <code>ruleset.xml<\/code> \u0435\u0441\u0442\u044c \u0441\u0435\u043a\u0446\u0438\u044f <code>&quot;exclude-pattern&quot;<\/code>, \u0442\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u0443\u0447\u0442\u0435\u043d\u0430 \u0438 \u0444\u0430\u0439\u043b\u044b \u043f\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u043f\u0443\u0442\u044f\u043c \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432 IDE.<\/p>\n<p><strong>\u0424\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440<\/strong><br \/>\nPHP CS Fixer \u0438 PHPCBF \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u043e\u043c \u0447\u0435\u0440\u0435\u0437 SSH, Docker, Docker Compose, Vagrant \u0438 \u043f\u0440\u043e\u0447\u0438\u0435.<\/p>\n<h2 id=\"\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b_\u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439_\u0441\u0442\u0440\u043e\u043a\u0438\">\u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438<\/h2>\n<p>\u0412\u0441\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b Symfony, Laravel Artisan, Drupal Drush, WP-CLI \u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u044b Composer \u043c\u043e\u0436\u043d\u043e \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0432 PhpStorm, \u043d\u0435 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044f \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430.<\/p>\n<p>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 <em>Tools | Command Line Tool Support<\/em>.<\/p>\n<p>\u0417\u0430\u0442\u0435\u043c \u043f\u043e \u043d\u0430\u0436\u0430\u0442\u0438\u044e <code>Ctrl-Ctrl<\/code> \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0441\u0442\u0440\u043e\u043a\u0430 <em>Run anything<\/em>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432\u0441\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0441 \u0430\u0432\u0442\u043e\u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c.<\/p>\n<p>\u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u043b\u0438\u0437\u0430 \u0434\u043b\u044f Symfony, Laravel \u0438 Drush \u0434\u0430\u0436\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u043d\u0435 \u043d\u0430\u0434\u043e. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442, \u043d\u0430\u0436\u0430\u0442\u044c <code>Ctrl-Ctrl<\/code> \u0438 \u043d\u0430\u0447\u0430\u0442\u044c \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443.<\/p>\n<p><img decoding=\"async\"  src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/command_line_tools.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/command_line_tools.gif\" alt=\"\" width=\"800\" class=\"alignnone size-full wp-image-62435\" \/><\/p>\n<p><em>&#xfe0f; \u0414\u043b\u044f Laravel \u043d\u0430 macOS \u0444\u0430\u0439\u043b <code>artisan<\/code> \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u043c (<code>chmod +x artisan<\/code>).<\/em><\/p>\n<p>\u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043b\u044e\u0431\u044b\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u044b (SSH, Docker, Docker Compose, Vagrant). \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 PHP 8, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 Docker-\u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440 \u0438\u0437 \u043e\u0431\u0440\u0430\u0437\u0430 <code>php:rc-cli<\/code>.<\/p>\n<h2 id=\"\u043d\u043e\u0432\u044b\u0439_\u0440\u0435\u0444\u0430\u043a\u0442\u043e\u0440\u0438\u043d\u0433_\u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435_\u043a\u043b\u0430\u0441\u0441\u0430\">\u041d\u043e\u0432\u044b\u0439 \u0440\u0435\u0444\u0430\u043a\u0442\u043e\u0440\u0438\u043d\u0433: \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u0430<\/h2>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043a\u043b\u0430\u0441\u0441\u044b \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u043e \u0438 \u0447\u0438\u0441\u0442\u043e. \u041f\u043e\u0442\u043e\u043c \u0432 \u043d\u0438\u0445 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432\u0441\u0451 \u043d\u043e\u0432\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430, \u0438 \u0432\u043e\u0442 \u0440\u0430\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u0437\u0434\u043d\u043e \u043a\u043b\u0430\u0441\u0441 \u0443\u0436\u0435 \u00ab\u0440\u0430\u0437\u0431\u0443\u0445\u00bb \u0438 \u043e\u0431\u0440\u043e\u0441 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0441\u043e \u0432\u0441\u0435\u0445 \u0441\u0442\u043e\u0440\u043e\u043d.<\/p>\n<p>\u0422\u0443\u0442 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u0447\u043a\u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0432 \u043d\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441. \u0418\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e \u0438 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 \u0440\u0435\u0444\u0430\u043a\u0442\u043e\u0440\u0438\u043d\u0433 Extract Class.<\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c, \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043b\u0430\u0441\u0441\u0430 \u043d\u0430\u0434\u043e \u043d\u0430\u0436\u0430\u0442\u044c <code>Ctrl+T<\/code> \u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c <em>Extract Class<\/em>. PhpStorm \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442 \u0432\u0432\u0435\u0441\u0442\u0438 \u0438\u043c\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430, \u0438 \u0442\u0443\u0442 \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0435\u0449\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0438 \u043a\u043b\u0430\u0441\u0441\u044b \u0434\u043b\u044f \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f.<\/p>\n<p><img decoding=\"async\"  src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/extract_class-1.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/extract_class-1.gif\" alt=\"\" width=\"800\" class=\"alignnone size-full wp-image-62455\" \/><\/p>\n<p>\u042d\u0442\u043e\u0442 \u0440\u0435\u0444\u0430\u043a\u0442\u043e\u0440\u0438\u043d\u0433 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0434\u043b\u044f \u043e\u0431\u044b\u0447\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439.<\/p>\n<h2 id=\"\u0438_\u0435\u0449\u0435_\u0434\u043b\u044f_php\">\u0418 \u0435\u0449\u0435 \u0434\u043b\u044f PHP<\/h2>\n<h3 id=\"\u043d\u043e\u0432\u0430\u044f_\u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f_typed_property_might_be_unassigned\">\u041d\u043e\u0432\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f: Typed property might be unassigned<\/h3>\n<p>\u0415\u0441\u043b\u0438 \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u043e, \u043d\u043e \u043d\u0435 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043e, \u0442\u043e \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0435\u0433\u043e \u0447\u0438\u0442\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0430 <code>TypeError<\/code> (\u0435\u0441\u043b\u0438 \u043d\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0439 <code>__get()<\/code>). PhpStorm \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u0438\u0442 \u0447\u0442\u0435\u043d\u0438\u0435 \u0438\u0437 \u043d\u0435\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/typed_property_uninit.png\" class=\"alignnone wp-image-56432\" alt=\"\" width=\"598\" \/><\/p>\n<h3 id=\"\u043d\u043e\u0432\u0430\u044f_\u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f_array_used_only_with_write_access\">\u041d\u043e\u0432\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f: Array used only with write access<\/h3>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 <a href=\"https:\/\/github.com\/doctrine\/orm\/blob\/2a98a98cd36e5eb54ad5ff8ca26fc3a30d5a82ff\/lib\/Doctrine\/ORM\/Tools\/SchemaTool.php#L182\" target=\"_blank\" rel=\"noopener\">SchemaTool.php<\/a> from doctrine\/orm.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/array_never_read.png\" alt=\"\" width=\"600\" class=\"alignnone size-full wp-image-62475\" \/><\/p>\n<p>\u041c\u0430\u0441\u0441\u0438\u0432 <code>$pkColumns<\/code> \u0432 \u043c\u0435\u0442\u043e\u0434\u0435 <code>gatherColumns()<\/code> \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f, \u043d\u043e \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f.<\/p>\n<h3 id=\"\u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u044f_\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c\u044b\u0445_\u0433\u0435\u0442\u0442\u0435\u0440\u043e\u0432_\u0438_\u0441\u0435\u0442\u0442\u0435\u0440\u043e\u0432\">\u041a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0433\u0435\u0442\u0442\u0435\u0440\u043e\u0432 \u0438 \u0441\u0435\u0442\u0442\u0435\u0440\u043e\u0432<\/h3>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u043e\u0432, \u0432\u044b\u0431\u0440\u0430\u0432 \u043c\u0435\u0436\u0434\u0443 <code>camelCase()<\/code> \u0438 <code>snake_case()<\/code>.<\/p>\n<p>\u0410 \u0442\u0430\u043a\u0436\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u043e\u0440\u044f\u0434\u043e\u043a, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u0432 \u043a\u043b\u0430\u0441\u0441.<\/p>\n<p>\u041e\u0431\u0435 \u043e\u043f\u0446\u0438\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 <em>Editor | Code Style | PHP<\/em> \u043d\u0430 \u0432\u043a\u043b\u0430\u0434\u043a\u0435 <em>Code Generation<\/em>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/getters_setters.png\" alt=\"\" width=\"598\" class=\"alignnone size-full wp-image-56442\" \/><\/p>\n<h3 id=\"\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439_\u0440\u0435\u0437\u043e\u043b\u0432_\u0434\u043b\u044f_\u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430_\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432_\u0432_\u043e\u0434\u043d\u043e\u043c_\u043e\u043a\u043d\u0435\">\u041f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0437\u043e\u043b\u0432 \u0434\u043b\u044f \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0432 \u043e\u0434\u043d\u043e\u043c \u043e\u043a\u043d\u0435<\/h3>\n<p>\u0415\u0441\u043b\u0438 \u0432 \u043e\u0434\u043d\u043e\u043c \u043e\u043a\u043d\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u0442\u043e \u0447\u0430\u0441\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u0438\u0434\u0435\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043a\u043b\u0430\u0441\u0441 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437. \u0410 \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044e \u043a\u043b\u0430\u0441\u0441\u0430 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0435\u0449\u0435 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043a \u043a\u0430\u043a\u043e\u043c\u0443 \u0438\u043c\u0435\u043d\u043d\u043e.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-multiple-projects-resolve-2019.png\" class=\"alignnone wp-image-15824\" alt=\"multiple-projects-resolve-2019\" width=\"808\" \/><\/p>\n<p>\u0412 PhpStorm 2020.2 \u044d\u0442\u0438\u0445 \u043e\u0448\u0438\u0431\u043e\u043a \u043d\u0435\u0442, \u0430 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u043e\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044f.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-multiple-projects-resolve-2020.2.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-multiple-projects-resolve-2020.2.gif\" class=\"alignnone size-medium wp-image-15827\" alt=\"multiple-projects-resolve-2020.2\" width=\"808\" \/><\/p>\n<h3 id=\"\u0431\u043e\u043b\u0435\u0435_\u043d\u0438\u0437\u043a\u0438\u0439_\u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442_\u0434\u043b\u044f_\u043a\u043b\u0430\u0441\u0441\u043e\u0432_\u0438\u0437_vendor\">\u0411\u043e\u043b\u0435\u0435 \u043d\u0438\u0437\u043a\u0438\u0439 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u0434\u043b\u044f \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0438\u0437 vendor<\/h3>\n<p>\u0412 \u0441\u043f\u0438\u0441\u043a\u0435 \u0430\u0432\u0442\u043e\u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u043a\u043b\u0430\u0441\u0441\u0430\u043c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u0437 \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0438 \u0441 \u0431\u043e\u043b\u0435\u0435 \u043d\u0438\u0437\u043a\u0438\u043c \u0431\u0443\u0434\u0443\u0442 \u0438\u0434\u0442\u0438 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438 \u0438\u0437 \u043f\u0430\u043f\u043a\u0438 <code>vendor<\/code> \u0438 \u0444\u0430\u0439\u043b\u043e\u0432 PHAR.<\/p>\n<h3 id=\"\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c_\u043a\u0443\u0440\u0441\u043e\u0440_\u043d\u0430_\u0432\u0441\u0435_\u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435_\u0441\u0442\u0440\u043e\u043a\u0438\">\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u0443\u0440\u0441\u043e\u0440 \u043d\u0430 \u0432\u0441\u0435 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438<\/h3>\n<p>\u041d\u043e\u0432\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 Add Caret Per Selected Line \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u0443\u0440\u0441\u043e\u0440 \u0432 \u043a\u043e\u043d\u0446\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438 \u0441\u043d\u0438\u043c\u0430\u0435\u0442 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435. \u041c\u043e\u0436\u043d\u043e \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043b\u0430\u0432\u0438\u0448 <kbd>\u2325\u21e7G<\/kbd> \/ <kbd>Alt+Shift+G<\/kbd>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-15803\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-add_caret_action.png\" alt=\"add_caret_action\" width=\"598\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-add_caret_action.gif\" \/><\/p>\n<h2 id=\"\u043f\u043e\u043b\u043d\u0430\u044f_\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430_\u043f\u0443\u043b_\u0440\u0435\u043a\u0432\u0435\u0441\u0442\u043e\u0432_github\">\u041f\u043e\u043b\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043f\u0443\u043b-\u0440\u0435\u043a\u0432\u0435\u0441\u0442\u043e\u0432 GitHub<\/h2>\n<p>\u0411\u0430\u0437\u043e\u0432\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043f\u0443\u043b-\u0440\u0435\u043a\u0432\u0435\u0441\u0442\u043e\u0432 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0432 PhpStorm 2018.3. C \u0442\u0435\u0445 \u043f\u043e\u0440 \u0431\u044b\u043b\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f, \u043d\u043e \u0434\u043b\u044f \u043c\u043d\u043e\u0433\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0432\u0441\u0435 \u0435\u0449\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0431\u044b\u043b\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440.<\/p>\n<p>\u0412 PhpStorm 2020.2 \u0432\u0441\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u043f\u0443\u043b-\u0440\u0435\u043a\u0432\u0435\u0441\u0442\u0430\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u044f\u043c\u043e \u0432 IDE!<\/p>\n<p><img decoding=\"async\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/github-pull-requests-1.gif\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/github-pull-requests-1.png\" alt=\"\" width=\"800\" class=\" size-full wp-image-62569\" \/><\/p>\n<p>\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u043f\u0443\u043b-\u0440\u0435\u043a\u0432\u0435\u0441\u0442\u0430\u043c \u043c\u043e\u0436\u043d\u043e \u0438\u0437 \u043c\u0435\u043d\u044e <em>VCS | Git | View Pull Requests<\/em>, \u0438\u0437 \u0442\u0443\u043b\u0431\u0430\u0440\u0430 \u0438\u043b\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0435\u043c <code>Alt+7<\/code>. \u041f\u0435\u0440\u0432\u044b\u043c \u0431\u0443\u0434\u0435\u0442 \u0432\u0438\u0434\u0435\u043d \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0440\u0435\u043a\u0432\u0435\u0441\u0442\u043e\u0432 \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u0438\u0441\u043a\u0430 \u0438 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438.<\/p>\n<p>\u041f\u043e \u043a\u043b\u0438\u043a\u0443 \u043d\u0430 \u043f\u0443\u043b-\u0440\u0435\u043a\u0432\u0435\u0441\u0442\u0435 \u043e\u0442\u043a\u0440\u043e\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043d\u0435\u043c: \u0440\u0435\u0432\u044c\u044e\u0432\u0435\u0440\u044b, \u0442\u0435\u0433\u0438, \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b, \u0442\u0430\u0439\u043c\u043b\u0430\u0439\u043d.<\/p>\n<p>\u0412\u0435\u0441\u044c \u0444\u043b\u043e\u0443 \u043f\u043e \u0440\u0435\u0432\u044c\u044e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0443\u0442 \u0436\u0435. \u0421\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u0442\u044c \u0438 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c \u0440\u0435\u0432\u044c\u044e, \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0441\u0442\u0440\u043e\u043a \u0438\u043b\u0438 \u0432\u0441\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430, \u0441\u0430\u0431\u043c\u0438\u0442\u0438\u0442\u044c \u0440\u0435\u0432\u044c\u044e, \u043c\u0435\u0440\u0436\u0438\u0442\u044c.<\/p>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438\u0437 CI, \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0434 \u0442\u0430\u0439\u043c\u043b\u0430\u0439\u043d\u043e\u043c.<\/p>\n<p>\u0420\u0430\u043d\u044c\u0448\u0435, \u0447\u0442\u043e\u0431\u044b \u0441\u043c\u0435\u0440\u0436\u0438\u0442\u044c \u043f\u0443\u043b-\u0440\u0435\u043a\u0432\u0435\u0441\u0442, \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0432\u0435\u0442\u043a\u0443. \u0422\u0435\u043f\u0435\u0440\u044c \u044d\u0442\u043e \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0438 \u043c\u0435\u0440\u0436\u0438\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u043e \u043d\u0430\u0436\u0430\u0442\u0438\u044e \u043a\u043d\u043e\u043f\u043a\u0438.<\/p>\n<h2 id=\"\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430_openapi\">\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 OpenAPI<\/h2>\n<p>\u041f\u043b\u0430\u0433\u0438\u043d <a href=\"https:\/\/plugins.jetbrains.com\/plugin\/14394-openapi-specifications\" target=\"_blank\" rel=\"noopener\">OpenAPI Specifications<\/a> \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0434\u043b\u044f \u0432\u0441\u0435\u0445 IDE \u043e\u0442 JetBrains \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 2020.2. \u0412 \u0444\u0430\u0439\u043b\u0430\u0445 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0439 Open API (<code>openapi.yaml<\/code>\/<code>openapi.json<\/code> \u0438 <code>swagger.yaml<\/code>\/<code>swagger.json<\/code>) \u043e\u043d \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0443, \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435, \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044e \u0438 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044e.<\/p>\n<p>\u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438:<\/p>\n<ul>\n<li>\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0441\u043e Swagger UI \u2014 \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u0442\u0441\u044f \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432 \u043e\u043a\u043d\u0435 IDE.<\/li>\n<li>\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043a\u043e\u0434\u0430.<\/li>\n<li>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043d\u044b\u0439 diff \u0434\u043b\u044f \u0441\u043f\u0435\u043a OpenAPI \u2014 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f.<\/li>\n<li>\u0413\u0430\u0442\u0442\u0435\u0440-\u0438\u043a\u043e\u043d\u043a\u0438 \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 HTTP-\u043a\u043b\u0438\u0435\u043d\u0442\u0435.<\/li>\n<li>\u0414\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0435\u043d\u0434\u043f\u043e\u0438\u043d\u0442\u043e\u0432 \u0432 HTTP-\u043a\u043b\u0438\u0435\u043d\u0442\u0435.<\/li>\n<li>Rename-\u0440\u0435\u0444\u0430\u043a\u0442\u043e\u0440\u0438\u043d\u0433 \u2014 \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u044d\u043d\u0434\u043f\u043e\u0439\u043d\u0442 \u0432 \u0441\u043f\u0435\u043a\u0435, \u0442\u043e \u043e\u043d \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u0443\u0435\u0442\u0441\u044f \u0438 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 HTTP-\u043a\u043b\u0438\u0435\u043d\u0442\u0430.<\/li>\n<\/ul>\n<p><img decoding=\"async\"  src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/openapi.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/openapi.gif\" alt=\"\" width=\"800\" class=\"alignnone size-full wp-image-62485\" \/><\/p>\n<h2 id=\"\u043d\u043e\u0432\u044b\u0439_\u0432\u0438\u0434\u0436\u0435\u0442_\u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u0439\">\u041d\u043e\u0432\u044b\u0439 \u0432\u0438\u0434\u0436\u0435\u0442 \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u0439<\/h2>\n<p>\u0412 \u043f\u0440\u0430\u0432\u043e\u043c \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0443\u0433\u043b\u0443 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0432\u0438\u0434\u0436\u0435\u0442 \u0441 \u0447\u0438\u0441\u043b\u043e\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0444\u0430\u0439\u043b\u0435.<\/p>\n<p>\u041f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0441\u0442\u0440\u0435\u043b\u043e\u043a \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u0435\u0440\u0435\u043f\u0440\u044b\u0433\u0438\u0432\u0430\u0442\u044c \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439\/\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0435 (\u0440\u0430\u043d\u044c\u0448\u0435 \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043b\u0430\u0432\u0438\u0448\u0430\u043c\u0438 <code>F2<\/code> \/ <code>Shift+F2<\/code>).<\/p>\n<p>\u0412 \u0432\u0438\u0434\u0436\u0435\u0442\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c, \u043a\u0430\u043a\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u0438\u043b\u0438 \u0432\u0441\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b.<\/p>\n<p>\u0410 \u043f\u043e \u043a\u043b\u0438\u043a\u0443 \u043d\u0430 \u0432\u0438\u0434\u0436\u0435\u0442\u0435 \u043e\u0442\u043a\u0440\u043e\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u043e\u0435 \u043e\u043a\u043d\u043e<em> Problems<\/em> \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0432\u0441\u0435\u0445 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0432 \u0444\u0430\u0439\u043b\u0435.<\/p>\n<p><img decoding=\"async\"  src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/inspection_widget.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/07\/inspection_widget.gif\" alt=\"\" width=\"600\" class=\"alignnone size-full wp-image-62505\" \/><\/p>\n<h2 id=\"\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c_\u0432\u0435\u0440\u0441\u0438\u0439\">\u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u0432\u0435\u0440\u0441\u0438\u0439<\/h2>\n<h3 id=\"git_\u0438\u0437_wsl\">Git \u0438\u0437 WSL 2<\/h3>\n<p>PhpStorm \u0442\u0435\u043f\u0435\u0440\u044c \u0443\u043c\u0435\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a Git \u0438\u0437 WSL. \u0411\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, IDE \u0441\u0430\u043c\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043b\u0438 WSL \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043b\u0438 Git \u0432 \u043d\u0435\u043c.<\/p>\n<p>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432 <em>Preferences | Version Control | Git<\/em>.<\/p>\n<p><em>&#xfe0f; Git \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441 WSL2, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e Git \u0438\u0437 WSL1 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u0438 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442\u044c \u043a \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 Git.<\/em><\/p>\n<h3 id=\"\u0443\u043b\u0443\u0447\u0448\u0435\u043d\u043d\u044b\u0439_ui_\u0434\u043b\u044f_\u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f_\u0432\u0435\u0442\u043e\u043a\">\u0423\u043b\u0443\u0447\u0448\u0435\u043d\u043d\u044b\u0439 UI \u0434\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0432\u0435\u0442\u043e\u043a<\/h3>\n<p>PhpStorm \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u0432\u0435\u0442\u043a\u0438 \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u0432\u043e\u0448\u043b\u0438 \u0432 \u0442\u0443 \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0443\u044e. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043b\u044e\u0431\u0443\u044e \u0432\u0435\u0442\u043a\u0443 \u0438\u0437 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0432 \u043f\u043e\u043f\u0430\u043f\u0435 <em>VCS | Branches<\/em> \u0438 \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u043c \u043c\u0435\u043d\u044e \u0432\u044b\u0431\u0440\u0430\u0442\u044c <em>Compare with Current<\/em>.<\/p>\n<p>\u0412 PhpStorm 2020.2 \u043b\u043e\u0433\u0438 \u0438 \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u044f\u0442\u0441\u044f \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u044d\u0442\u043e\u043c\u0443 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-vcs_compare_branches.png\" class=\"alignnone wp-image-15749\" alt=\"vcs_compare_branches\" width=\"808\" \/><\/p>\n<h3 id=\"\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435_\u0434\u0438\u0430\u043b\u043e\u0433\u0438_\u043a\u043e\u043c\u0430\u043d\u0434\">\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0434\u0438\u0430\u043b\u043e\u0433\u0438 \u043a\u043e\u043c\u0430\u043d\u0434<\/h3>\n<p>\u0414\u0438\u0430\u043b\u043e\u0433\u0438 \u0434\u043b\u044f \u043a\u043e\u043c\u0430\u043d\u0434 Git Merge, Pull \u0438 Rebase \u0431\u044b\u043b\u0438 \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u043d\u044b \u0438 \u0443\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u044b. \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u044e\u0449\u0438\u0435 \u043e\u043f\u0446\u0438\u0438, \u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0432\u0438\u0434\u0435\u0442\u044c \u043f\u043e\u043b\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 Git, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0430.<\/p>\n<p>\u0412\u0441\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432 \u043c\u0435\u043d\u044e <em>VCS | Git<\/em>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-git-pull.png\" class=\"alignnone size-medium wp-image-15833\" alt=\"git-pull\" width=\"598\" \/><\/p>\n<h3 id=\"\u043d\u043e\u0432\u043e\u0435_\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435_\u0443\u0434\u0430\u043b\u0438\u0442\u044c_\u043a\u043e\u043c\u043c\u0438\u0442\">\u041d\u043e\u0432\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435: \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043a\u043e\u043c\u043c\u0438\u0442<\/h3>\n<p>\u041b\u0438\u0448\u043d\u0438\u0439 \u0438\u043b\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u043c\u043c\u0438\u0442 \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043f\u0440\u044f\u043c\u043e \u0438\u0437 \u043b\u043e\u0433\u0430 \u0432 PhpStorm. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u043c \u043c\u0435\u043d\u044e \u043d\u0430 \u043a\u043e\u043c\u043c\u0438\u0442\u0435 \u043d\u0430\u0434\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c <em>Drop Commit<\/em>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-git-drop-commit.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-git-drop-commit.gif\" class=\"alignnone size-medium wp-image-15836\" alt=\"git-drop-commit\" width=\"808\" \/><\/p>\n<h3 id=\"\u043d\u043e\u0432\u043e\u0435_\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435_\u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c_\u043a\u043e\u043c\u043c\u0438\u0442\u044b_\u0432_\u043e\u0434\u0438\u043d_squash\">\u041d\u043e\u0432\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435: \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u0432 \u043e\u0434\u0438\u043d (squash)<\/h3>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0432 \u043e\u0434\u0438\u043d. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443\u0434\u043e\u0431\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u043f\u0435\u0440\u0435\u0434 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c \u043f\u0443\u043b-\u0440\u0435\u043a\u0432\u0435\u0441\u0442\u0430 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0434 \u043f\u0443\u0448\u0435\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439.<\/p>\n<p>\u0412 \u043b\u043e\u0433\u0435 \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c <em>Squash Commits\u2026 <\/em>\u0438\u0437 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044e.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-vcs_squash.png\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2020\/06\/phpstorm-vcs_squash.gif\" class=\"alignnone size-medium wp-image-15748\" alt=\"vcs_squash\" width=\"808\" \/><\/p>\n<p>\u0414\u043b\u044f \u043e\u0431\u043e\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0437\u0430 \u043a\u0430\u0434\u0440\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f <code>git<\/code> <code>rebase<\/code>.<\/p>\n<h2 id=\"\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b_\u0431\u0434\">\u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0411\u0414<\/h2>\n<p>PhpStorm \u00ab\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438\u00bb \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 <a href=\"https:\/\/www.jetbrains.com\/ru-ru\/datagrip\/\" target=\"_blank\" rel=\"noopener\">DataGrip<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0445\u0432\u0430\u0447\u0435\u043d\u044b \u0432 <a href=\"https:\/\/blog.jetbrains.com\/ru\/datagrip\/2020\/07\/28\/datagrip-2020-2\/\">\u043e\u0431\u0437\u043e\u0440\u0435 \u0440\u0435\u043b\u0438\u0437\u0430 DataGrip 2020.2<\/a>.<\/p>\n<h2 id=\"\u0432\u0435\u0431\">\u0412\u0435\u0431<\/h2>\n<p>\u0418, \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430, <a href=\"https:\/\/blog.jetbrains.com\/ru\/webstorm\/2020\/07\/webstorm-2020-2\/\">\u0432\u0441\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u0437 WebStorm 2020.2<\/a> \u0442\u043e\u0436\u0435 \u0432\u0445\u043e\u0434\u044f\u0442 \u0432 PhpStorm. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/plugins.jetbrains.com\/plugin\/10456-prettier\" target=\"_blank\" rel=\"noopener\">\u043f\u043b\u0430\u0433\u0438\u043d\u0430<\/a>, Prettier \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u043e\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0442\u0435\u0440\u0430 \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u0434\u043b\u044f PHP-\u0444\u0430\u0439\u043b\u043e\u0432.<\/p>\n<hr>\n<p><a href=\"https:\/\/www.jetbrains.com\/ru-ru\/phpstorm\/download\/\" target=\"_blank\" rel=\"noopener\">\u0421\u043a\u0430\u0447\u0430\u0442\u044c PhpStorm 2020.2<\/a> \u043c\u043e\u0436\u043d\u043e \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u201c<a href=\"https:\/\/www.jetbrains.com\/ru-ru\/phpstorm\/whatsnew\/\" target=\"_blank\" rel=\"noopener\">What\u2019s new<\/a>\u201d.<\/p>\n<p>\u0410 \u0432\u043e\u0442 \u0432\u0438\u0434\u0435\u043e\u0440\u043e\u043b\u0438\u043a (\u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c) \u0441 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u0435\u0439 \u0433\u043b\u0430\u0432\u043d\u044b\u0445 \u0444\u0438\u0447 \u0440\u0435\u043b\u0438\u0437\u0430:<\/p>\n<p align=\"center\"><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/ZIcGS5iSMkE\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>\u0411\u0443\u0434\u0435\u043c \u0440\u0430\u0434\u044b \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u043c, \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u044f\u043c, \u0431\u0430\u0433-\u0440\u0435\u043f\u043e\u0440\u0442\u0430\u043c \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u044b\u0441\u043b\u044f\u043c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445.<\/p>\n<p><em>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 PhpStorm<br \/>\nThe Drive to Develop<\/em><\/p>\n<p>\u041e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043d\u0430 habr.com:<br \/>\n<a href=\"https:\/\/habr.com\/ru\/company\/JetBrains\/blog\/513250\/\" target=\"_blank\" rel=\"noopener\">https:\/\/habr.com\/ru\/company\/JetBrains\/blog\/513250\/<\/a><\/p>\n","protected":false},"author":1117,"featured_media":68101,"comment_status":"closed","ping_status":"closed","template":"","categories":[89,907],"tags":[790,2583,2678,285,3325,2624,45,2615,659],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/phpstorm\/68100"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/phpstorm"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/types\/phpstorm"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/users\/1117"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/comments?post=68100"}],"version-history":[{"count":0,"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/phpstorm\/68100\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/media\/68101"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/media?parent=68100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/categories?post=68100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/tags?post=68100"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/cross-post-tag?post=68100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}