diff options
author | Igor Wiedler <igor@wiedler.ch> | 2010-11-09 08:59:25 +0100 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2010-11-11 19:10:55 +0100 |
commit | af5b9a96409d788733fcb1ff367e0c7fb0583702 (patch) | |
tree | 17bf04276d4edd0336ec8a63034a04f9050055bb /code_sniffer/phpbb | |
parent | 2e51e68ca145940462155d5164bf91bb4264d488 (diff) | |
download | forums-af5b9a96409d788733fcb1ff367e0c7fb0583702.tar forums-af5b9a96409d788733fcb1ff367e0c7fb0583702.tar.gz forums-af5b9a96409d788733fcb1ff367e0c7fb0583702.tar.bz2 forums-af5b9a96409d788733fcb1ff367e0c7fb0583702.tar.xz forums-af5b9a96409d788733fcb1ff367e0c7fb0583702.zip |
[ticket/9556] Drop php closing tags, add trailing newline
Closing tags converted using Oleg's script.
remove-php-end-tags.py -a .
Trailing newlines added using the following where $ext is file extension.
find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s;
Extensions: php, css, html, js, xml.
PHPBB3-9556
Diffstat (limited to 'code_sniffer/phpbb')
-rw-r--r-- | code_sniffer/phpbb/Sniffs/Commenting/FileCommentSniff.php | 2 | ||||
-rw-r--r-- | code_sniffer/phpbb/Tests/Commenting/FileCommentUnitTest.php | 2 | ||||
-rw-r--r-- | code_sniffer/phpbb/phpbbCodingStandard.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/code_sniffer/phpbb/Sniffs/Commenting/FileCommentSniff.php b/code_sniffer/phpbb/Sniffs/Commenting/FileCommentSniff.php index e63c3f65fd..af267747d3 100644 --- a/code_sniffer/phpbb/Sniffs/Commenting/FileCommentSniff.php +++ b/code_sniffer/phpbb/Sniffs/Commenting/FileCommentSniff.php @@ -207,4 +207,4 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements PHP_CodeSniffer_Sniff $phpcsFile->addError($message, $tags['license'][1]); } } -}
\ No newline at end of file +} diff --git a/code_sniffer/phpbb/Tests/Commenting/FileCommentUnitTest.php b/code_sniffer/phpbb/Tests/Commenting/FileCommentUnitTest.php index 849a7fb9a0..925a9c4036 100644 --- a/code_sniffer/phpbb/Tests/Commenting/FileCommentUnitTest.php +++ b/code_sniffer/phpbb/Tests/Commenting/FileCommentUnitTest.php @@ -48,4 +48,4 @@ class phpbb_Tests_Commenting_FileCommentUnitTest extends AbstractSniffUnitTest 8 => 1 ); }//end getWarningList() -}
\ No newline at end of file +} diff --git a/code_sniffer/phpbb/phpbbCodingStandard.php b/code_sniffer/phpbb/phpbbCodingStandard.php index be51b54b40..cd9b68846a 100644 --- a/code_sniffer/phpbb/phpbbCodingStandard.php +++ b/code_sniffer/phpbb/phpbbCodingStandard.php @@ -40,4 +40,4 @@ class PHP_CodeSniffer_Standards_phpbb_phpbbCodingStandard extends PHP_CodeSniffe { return array(); } -}
\ No newline at end of file +} |