|
3 | 3 | /** |
4 | 4 | * This file is part of the mo4-coding-standard (phpcs standard) |
5 | 5 | * |
6 | | - * PHP version 5 |
7 | | - * |
8 | | - * @category PHP |
9 | | - * @package PHP_CodeSniffer-MO4 |
10 | | - * @author Xaver Loppenstedt <xaver@loppenstedt.de> |
11 | | - * @license http://spdx.org/licenses/MIT MIT License |
12 | | - * @version GIT: master |
13 | | - * @link https://github.com/Mayflower/mo4-coding-standard |
| 6 | + * @author Xaver Loppenstedt <xaver@loppenstedt.de> |
| 7 | + * @license http://spdx.org/licenses/MIT MIT License |
| 8 | + * @link https://github.com/mayflower/mo4-coding-standard |
14 | 9 | */ |
15 | 10 |
|
16 | 11 | namespace MO4\Sniffs\Commenting; |
|
24 | 19 | * Doc blocks of class properties must be multiline and have exactly one '@var' |
25 | 20 | * annotation. |
26 | 21 | * |
27 | | - * @category PHP |
28 | | - * @package PHP_CodeSniffer-MO4 |
29 | 22 | * @author Xaver Loppenstedt <xaver@loppenstedt.de> |
30 | 23 | * @copyright 2013-2014 Xaver Loppenstedt, some rights reserved. |
31 | 24 | * @license http://spdx.org/licenses/MIT MIT License |
32 | | - * @link https://github.com/Mayflower/mo4-coding-standard |
| 25 | + * @link https://github.com/mayflower/mo4-coding-standard |
33 | 26 | */ |
34 | 27 | class PropertyCommentSniff extends AbstractScopeSniff |
35 | 28 | { |
@@ -94,7 +87,7 @@ protected function processTokenWithinScope( |
94 | 87 | ]; |
95 | 88 | $tokens = $phpcsFile->getTokens(); |
96 | 89 |
|
97 | | - // Before even checking the docblocks above the current var/const, |
| 90 | + // Before even checking the doc blocks above the current var/const, |
98 | 91 | // check if we have a single line comment after it on the same line, |
99 | 92 | // and if that one is OK. |
100 | 93 | $postComment = $phpcsFile->findNext( |
|
0 commit comments