src/Standards/BestIt/Helper/DocDescriptionHelper.php 1 location
|
@@ 333-345 (lines=13) @@
|
| 330 |
|
* |
| 331 |
|
* @return void |
| 332 |
|
*/ |
| 333 |
|
private function fixDescriptionUcFirst($descriptionStartPtr) |
| 334 |
|
{ |
| 335 |
|
$descStartToken = $this->tokens[$descriptionStartPtr]; |
| 336 |
|
|
| 337 |
|
$this->file->fixer->beginChangeset(); |
| 338 |
|
|
| 339 |
|
$this->file->fixer->replaceToken( |
| 340 |
|
$descriptionStartPtr, |
| 341 |
|
ucfirst($descStartToken['content']) |
| 342 |
|
); |
| 343 |
|
|
| 344 |
|
$this->file->fixer->endChangeset(); |
| 345 |
|
} |
| 346 |
|
} |
| 347 |
|
|
src/Standards/BestIt/Helper/DocSummaryHelper.php 1 location
|
@@ 281-288 (lines=8) @@
|
| 278 |
|
* |
| 279 |
|
* @return void |
| 280 |
|
*/ |
| 281 |
|
private function fixSummaryUcFirst(array $summaryToken, $summaryPtr) |
| 282 |
|
{ |
| 283 |
|
$this->file->fixer->beginChangeset(); |
| 284 |
|
|
| 285 |
|
$this->file->fixer->replaceToken($summaryPtr, ucfirst($summaryToken['content'])); |
| 286 |
|
|
| 287 |
|
$this->file->fixer->endChangeset(); |
| 288 |
|
} |
| 289 |
|
} |
| 290 |
|
|