aboutsummaryrefslogtreecommitdiffstats
path: root/build/code_sniffer/phpbb/Tests/Commenting/FileCommentUnitTest.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-06-22 11:35:13 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-06-22 11:35:13 +0200
commitafe9d3c3f39ca1c69146778882f2b0250dfa3ed7 (patch)
treeed1cff56c0e2497de0f0199ed6de332e985c9193 /build/code_sniffer/phpbb/Tests/Commenting/FileCommentUnitTest.php
parent566615fa318e407cafd028593faba208fa2b4e25 (diff)
parentfdcc544ae6af95317f05d34908f01e0541d2ae7c (diff)
downloadforums-afe9d3c3f39ca1c69146778882f2b0250dfa3ed7.tar
forums-afe9d3c3f39ca1c69146778882f2b0250dfa3ed7.tar.gz
forums-afe9d3c3f39ca1c69146778882f2b0250dfa3ed7.tar.bz2
forums-afe9d3c3f39ca1c69146778882f2b0250dfa3ed7.tar.xz
forums-afe9d3c3f39ca1c69146778882f2b0250dfa3ed7.zip
Merge pull request #2630 from Nicofuma/ticket/12723
[ticket/12723] Add Sniff ensuring PHP files use the correct file header * Nicofuma/ticket/12723: [ticket/12723] Do not mention too many details on documentation. [ticket/12723] Do not reference the coding guidelines section. [ticket/12757] Add a Code Sniffer ruleset for PHP files of phpBB extensions [ticket/12723] Properly describe new Code Sniffer rulsets. [ticket/12723] Use core suffix in filename instead of phpbb in the middle. [ticket/12723] Add Sniff ensuring PHP files use the correct file header
Diffstat (limited to 'build/code_sniffer/phpbb/Tests/Commenting/FileCommentUnitTest.php')
-rw-r--r--build/code_sniffer/phpbb/Tests/Commenting/FileCommentUnitTest.php54
1 files changed, 0 insertions, 54 deletions
diff --git a/build/code_sniffer/phpbb/Tests/Commenting/FileCommentUnitTest.php b/build/code_sniffer/phpbb/Tests/Commenting/FileCommentUnitTest.php
deleted file mode 100644
index 23aaa45bd3..0000000000
--- a/build/code_sniffer/phpbb/Tests/Commenting/FileCommentUnitTest.php
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-/**
-*
-* This file is part of the phpBB Forum Software package.
-*
-* @copyright (c) phpBB Limited <https://www.phpbb.com>
-* @license GNU General Public License, version 2 (GPL-2.0)
-*
-* For full copyright and license information, please see
-* the docs/CREDITS.txt file.
-*
-*/
-
-/**
-* Unit test class for the EmptyStatement sniff.
-*
-* @package code_sniffer
-* @author Manuel Pichler <mapi@phpundercontrol.org>
-*/
-class phpbb_Tests_Commenting_FileCommentUnitTest extends AbstractSniffUnitTest
-{
-
- /**
- * Returns the lines where errors should occur.
- *
- * The key of the array should represent the line number and the value
- * should represent the number of errors that should occur on that line.
- *
- * @return array(int => int)
- */
- public function getErrorList()
- {
- return array(
- 7 => 1 // BSD License error :)
- );
- }//end getErrorList()
-
-
- /**
- * Returns the lines where warnings should occur.
- *
- * The key of the array should represent the line number and the value
- * should represent the number of warnings that should occur on that line.
- *
- * @return array(int => int)
- */
- public function getWarningList()
- {
- return array(
- 4 => 1,
- 8 => 1
- );
- }//end getWarningList()
-}