aboutsummaryrefslogtreecommitdiffstats
path: root/build/code_sniffer/phpbb/phpbbCodingStandard.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/phpbbCodingStandard.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/phpbbCodingStandard.php')
-rw-r--r--build/code_sniffer/phpbb/phpbbCodingStandard.php46
1 files changed, 0 insertions, 46 deletions
diff --git a/build/code_sniffer/phpbb/phpbbCodingStandard.php b/build/code_sniffer/phpbb/phpbbCodingStandard.php
deleted file mode 100644
index b94186ab6c..0000000000
--- a/build/code_sniffer/phpbb/phpbbCodingStandard.php
+++ /dev/null
@@ -1,46 +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.
-*
-*/
-
-/**
- * @ignore
- */
-if (class_exists('PHP_CodeSniffer_Standards_CodingStandard', true) === false) {
- throw new PHP_CodeSniffer_Exception(
- 'Class PHP_CodeSniffer_Standards_CodingStandard not found'
- );
-}
-
-/**
- * Primary class for the phpbb coding standard.
- *
- * @package code_sniffer
- */
-class PHP_CodeSniffer_Standards_phpbb_phpbbCodingStandard extends PHP_CodeSniffer_Standards_CodingStandard
-{
- /**
- * Return a list of external sniffs to include with this standard.
- *
- * External locations can be single sniffs, a whole directory of sniffs, or
- * an entire coding standard. Locations start with the standard name. For
- * example:
- * PEAR => include all sniffs in this standard
- * PEAR/Sniffs/Files => include all sniffs in this dir
- * PEAR/Sniffs/Files/LineLengthSniff => include this single sniff
- *
- * @return array
- */
- public function getIncludedSniffs()
- {
- return array();
- }
-}