mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Enable phpdoc_summary
rule in php-cs-fixer config (#14675)
* Enable `phpdoc_summary` rule in php-cs-fixer config. * Fix case in "PHPDoc".
This commit is contained in:

committed by
Carsten Brandt

parent
1501c659ac
commit
5a8c3d537b
@ -437,11 +437,11 @@ class ReleaseController extends Controller
|
||||
$this->dryRun || Yii::$app->runAction('mime-type', ["$frameworkPath/helpers/mimeTypes.php"]);
|
||||
$this->stdout("done.\n", Console::FG_GREEN, Console::BOLD);
|
||||
|
||||
$this->stdout("fixing various PHPdoc style issues...\n", Console::BOLD);
|
||||
$this->stdout("fixing various PHPDoc style issues...\n", Console::BOLD);
|
||||
$this->dryRun || Yii::$app->runAction('php-doc/fix', [$frameworkPath]);
|
||||
$this->stdout("done.\n", Console::FG_GREEN, Console::BOLD);
|
||||
|
||||
$this->stdout("updating PHPdoc @property annotations...\n", Console::BOLD);
|
||||
$this->stdout("updating PHPDoc @property annotations...\n", Console::BOLD);
|
||||
$this->dryRun || Yii::$app->runAction('php-doc/property', [$frameworkPath]);
|
||||
$this->stdout("done.\n", Console::FG_GREEN, Console::BOLD);
|
||||
|
||||
@ -561,13 +561,13 @@ class ReleaseController extends Controller
|
||||
|
||||
// adjustments
|
||||
|
||||
$this->stdout("fixing various PHPdoc style issues...\n", Console::BOLD);
|
||||
$this->stdout("fixing various PHPDoc style issues...\n", Console::BOLD);
|
||||
$this->setAppAliases($name, $path);
|
||||
$this->dryRun || Yii::$app->runAction('php-doc/fix', [$path, 'skipFrameworkRequirements' => true]);
|
||||
$this->resetAppAliases();
|
||||
$this->stdout("done.\n", Console::FG_GREEN, Console::BOLD);
|
||||
|
||||
$this->stdout("updating PHPdoc @property annotations...\n", Console::BOLD);
|
||||
$this->stdout("updating PHPDoc @property annotations...\n", Console::BOLD);
|
||||
$this->setAppAliases($name, $path);
|
||||
$this->dryRun || Yii::$app->runAction('php-doc/property', [$path, 'skipFrameworkRequirements' => true]);
|
||||
$this->resetAppAliases();
|
||||
@ -679,11 +679,11 @@ class ReleaseController extends Controller
|
||||
|
||||
// adjustments
|
||||
|
||||
$this->stdout("fixing various PHPdoc style issues...\n", Console::BOLD);
|
||||
$this->stdout("fixing various PHPDoc style issues...\n", Console::BOLD);
|
||||
$this->dryRun || Yii::$app->runAction('php-doc/fix', [$path]);
|
||||
$this->stdout("done.\n", Console::FG_GREEN, Console::BOLD);
|
||||
|
||||
$this->stdout("updating PHPdoc @property annotations...\n", Console::BOLD);
|
||||
$this->stdout("updating PHPDoc @property annotations...\n", Console::BOLD);
|
||||
$this->dryRun || Yii::$app->runAction('php-doc/property', [$path]);
|
||||
$this->stdout("done.\n", Console::FG_GREEN, Console::BOLD);
|
||||
|
||||
@ -849,7 +849,7 @@ class ReleaseController extends Controller
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract changelog content for a specific version
|
||||
* Extract changelog content for a specific version.
|
||||
* @param string $file
|
||||
* @param string $version
|
||||
* @return array
|
||||
@ -886,7 +886,7 @@ class ReleaseController extends Controller
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure sorting of the changelog lines
|
||||
* Ensure sorting of the changelog lines.
|
||||
* @param string[] $changelog
|
||||
* @return string[]
|
||||
*/
|
||||
|
Reference in New Issue
Block a user