Skip to content

Commit 37ce21b

Browse files
rodrigoprimojrfnl
authored andcommitted
Generic/DocComment: sync JS and PHP test case files
This commit copies two tests from the PHP test case file to the JS test case file. Now the files are synched and the same list of errors can continue to be used for both in DocCommentUnitTest.php.
1 parent c4e51d8 commit 37ce21b

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

src/Standards/Generic/Tests/Commenting/DocCommentUnitTest.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,3 +248,15 @@
248248
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
249249
* @link http://pear.php.net/package/PHP_CodeSniffer
250250
*/
251+
252+
/**
253+
* Do something.
254+
*
255+
* @codeCoverageIgnore
256+
*
257+
* @phpcs:disable Stnd.Cat.SniffName
258+
*
259+
* @return void
260+
*/
261+
262+
/** No docblock close tag. Must be last test without new line.

src/Standards/Generic/Tests/Commenting/DocCommentUnitTest.js.fixed

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,3 +253,15 @@
253253
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
254254
* @link http://pear.php.net/package/PHP_CodeSniffer
255255
*/
256+
257+
/**
258+
* Do something.
259+
*
260+
* @codeCoverageIgnore
261+
*
262+
* @phpcs:disable Stnd.Cat.SniffName
263+
*
264+
* @return void
265+
*/
266+
267+
/** No docblock close tag. Must be last test without new line.

0 commit comments

Comments
 (0)