PHP 7.2.3-1ubuntu1
PHP CS Fixer 2.10.3
Configuration:
<?php
return PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
'phpdoc_annotation_without_dot' => true
])
code snipped before PHP-CS-Fixer
class devtest extends Controller
{
/**
* show asset overview
*
* @var OtherClass
*
* @param Request $request
*
* @return \Symfony\Component\HttpFoundation\Response
*/
code snipped after PHP-CS-Fixer
class devtest extends Controller
{
/**
* show asset overview.
*
* @var OtherClass
*
* @param Request $request
*
* @return \Symfony\Component\HttpFoundation\Response
*/
That fixer does something else than what you are looking for, I believe you are actually looking for:
<?php
return PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
'phpdoc_summary' => false,
]);
Exactly, phpdoc_annotation_without_dot is about annotations inside docs, not summary
Thanks a lot :-)
'phpdoc_summary' => false works
Most helpful comment
That fixer does something else than what you are looking for, I believe you are actually looking for: