Tags: robertop/pelet
Tags
* Nullable types * void functions * Array destructuring * Class constant visibility * Multi-catch exception handling * Support for keys in list() * Negative string offsets See http://php.net/manual/en/migration71.new-features.php
PHP 7.0 support * Parameter type declarations * Return type declarations * Null coalesce operator * Spaceship comparisons * Anonymous classes * Grouped imports * Return generators * Array constants with "define()" See http://php.net/manual/en/migration70.new-features.php
Comment updates
Capture consecutive comments instead of dropping all but the last one. This
also helps with parsing variables from PHPDocs, as this code
snippet now detects 3 variables:
/* @var $this \\yii\\web\\View */
/* @var $name string */
/* @var $message string */
function myPublicStatic() {
// ...
}
PreviousNext