From: <var...@us...> - 2012-10-02 09:05:02
|
Revision: 8369 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8369&view=rev Author: vargenau Date: 2012-10-02 09:04:52 +0000 (Tue, 02 Oct 2012) Log Message: ----------- php_closing_tag [PSR-2] The closing ?> tag MUST be omitted from files containing only PHP. Modified Paths: -------------- trunk/tests/CompatInfo.php trunk/tests/unit/lib/AtomParserTest.php trunk/tests/unit/lib/DumpHtml.php trunk/tests/unit/lib/HtmlParserTest.php trunk/tests/unit/lib/InlineParserTest.php trunk/tests/unit/lib/PageListTest.php trunk/tests/unit/lib/SetupWiki.php trunk/tests/unit/lib/TextSearchTest.php trunk/tests/unit/lib/XmlRpcTest.php trunk/tests/unit/lib/plugin/AllPagesTest.php trunk/tests/unit/lib/plugin/AllUsersTest.php trunk/tests/unit/lib/plugin/AtomFeedTest.php trunk/tests/unit/lib/plugin/IncludePageTest.php trunk/tests/unit/lib/plugin/ListPagesTest.php trunk/tests/unit/lib/plugin/OrphanedPagesTest.php trunk/tests/unit/lib/plugin/WantedPagesTest.php trunk/tests/unit/pcre-crash.php trunk/tests/unit/test.php trunk/tests/unit_test_backend_cvs.php trunk/tests/xmlrpc/interop-server.php trunk/tests/xmlrpc/validate.php trunk/tests/xmlrpc/xmlrpc-introspect.php trunk/tests/xmlrpc/xmlrpc-servers.php trunk/tests/xmlrpc/xmlrpc_utils.php Modified: trunk/tests/CompatInfo.php =================================================================== --- trunk/tests/CompatInfo.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/CompatInfo.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -157,4 +157,3 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> Modified: trunk/tests/unit/lib/AtomParserTest.php =================================================================== --- trunk/tests/unit/lib/AtomParserTest.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/lib/AtomParserTest.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -215,4 +215,3 @@ $this->assertEquals($payload, $current_entry["content"]); } } -?> Modified: trunk/tests/unit/lib/DumpHtml.php =================================================================== --- trunk/tests/unit/lib/DumpHtml.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/lib/DumpHtml.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -50,5 +50,3 @@ } } - -?> Modified: trunk/tests/unit/lib/HtmlParserTest.php =================================================================== --- trunk/tests/unit/lib/HtmlParserTest.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/lib/HtmlParserTest.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -46,4 +46,3 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> Modified: trunk/tests/unit/lib/InlineParserTest.php =================================================================== --- trunk/tests/unit/lib/InlineParserTest.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/lib/InlineParserTest.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -100,4 +100,3 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> Modified: trunk/tests/unit/lib/PageListTest.php =================================================================== --- trunk/tests/unit/lib/PageListTest.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/lib/PageListTest.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -26,5 +26,3 @@ //print_r($pl->getContent()); } } - -?> Modified: trunk/tests/unit/lib/SetupWiki.php =================================================================== --- trunk/tests/unit/lib/SetupWiki.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/lib/SetupWiki.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -51,5 +51,3 @@ $this->assertTrue($dbi->isWikiPage('HomePage')); } } - -?> Modified: trunk/tests/unit/lib/TextSearchTest.php =================================================================== --- trunk/tests/unit/lib/TextSearchTest.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/lib/TextSearchTest.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -74,5 +74,3 @@ } } - -?> Modified: trunk/tests/unit/lib/XmlRpcTest.php =================================================================== --- trunk/tests/unit/lib/XmlRpcTest.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/lib/XmlRpcTest.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -54,4 +54,3 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> Modified: trunk/tests/unit/lib/plugin/AllPagesTest.php =================================================================== --- trunk/tests/unit/lib/plugin/AllPagesTest.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/lib/plugin/AllPagesTest.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -35,5 +35,3 @@ //$this->assertType('object', $result, 'isa XmlContent'); } } - -?> Modified: trunk/tests/unit/lib/plugin/AllUsersTest.php =================================================================== --- trunk/tests/unit/lib/plugin/AllUsersTest.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/lib/plugin/AllUsersTest.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -20,5 +20,3 @@ $this->assertType('object',$result,'isa PageList'); } } - -?> Modified: trunk/tests/unit/lib/plugin/AtomFeedTest.php =================================================================== --- trunk/tests/unit/lib/plugin/AtomFeedTest.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/lib/plugin/AtomFeedTest.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -76,4 +76,3 @@ $this->assertEquals($expected_html, trim(html_entity_decode($html->asXML()))); } } -?> Modified: trunk/tests/unit/lib/plugin/IncludePageTest.php =================================================================== --- trunk/tests/unit/lib/plugin/IncludePageTest.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/lib/plugin/IncludePageTest.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -63,5 +63,3 @@ //TODO: check content for found and extracted section } } - -?> Modified: trunk/tests/unit/lib/plugin/ListPagesTest.php =================================================================== --- trunk/tests/unit/lib/plugin/ListPagesTest.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/lib/plugin/ListPagesTest.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -20,5 +20,3 @@ //$this->assertEquals(3, $result->_maxlen); } } - -?> Modified: trunk/tests/unit/lib/plugin/OrphanedPagesTest.php =================================================================== --- trunk/tests/unit/lib/plugin/OrphanedPagesTest.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/lib/plugin/OrphanedPagesTest.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -18,5 +18,3 @@ $this->assertType('object',$result,'isa PageList'); } } - -?> Modified: trunk/tests/unit/lib/plugin/WantedPagesTest.php =================================================================== --- trunk/tests/unit/lib/plugin/WantedPagesTest.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/lib/plugin/WantedPagesTest.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -23,5 +23,3 @@ $this->assertType('object', $result, 'isa PageList'); } } - -?> Modified: trunk/tests/unit/pcre-crash.php =================================================================== --- trunk/tests/unit/pcre-crash.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/pcre-crash.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -40,5 +40,3 @@ preg_match($pat, $subj, $m); //preg_match($block_re, $subj, $m); echo "ok\n"; - -?> Modified: trunk/tests/unit/test.php =================================================================== --- trunk/tests/unit/test.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit/test.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -1,4 +1,4 @@ -<?php // #!/usr/local/bin/php -Cq +<?php /* Copyright (C) 2004 Dan Frankowski <dfr...@cs...> * Copyright (C) 2004,2005,2006 Reini Urban <ru...@x-...> * @@ -665,4 +665,3 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> Modified: trunk/tests/unit_test_backend_cvs.php =================================================================== --- trunk/tests/unit_test_backend_cvs.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/unit_test_backend_cvs.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -113,5 +113,3 @@ } else { print "It appears something went wrong, nothing being removed\n"; } - -?> Modified: trunk/tests/xmlrpc/interop-server.php =================================================================== --- trunk/tests/xmlrpc/interop-server.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/xmlrpc/interop-server.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -254,5 +254,3 @@ END; } - -?> Modified: trunk/tests/xmlrpc/validate.php =================================================================== --- trunk/tests/xmlrpc/validate.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/xmlrpc/validate.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -252,5 +252,3 @@ echo "$response"; } } - -?> Modified: trunk/tests/xmlrpc/xmlrpc-introspect.php =================================================================== --- trunk/tests/xmlrpc/xmlrpc-introspect.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/xmlrpc/xmlrpc-introspect.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -306,5 +306,3 @@ /************************************* * END system.describeMethods Support * *************************************/ - -?> Modified: trunk/tests/xmlrpc/xmlrpc-servers.php =================================================================== --- trunk/tests/xmlrpc/xmlrpc-servers.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/xmlrpc/xmlrpc-servers.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -272,5 +272,3 @@ 'user_uri' => $user_uri ); } - -?> Modified: trunk/tests/xmlrpc/xmlrpc_utils.php =================================================================== --- trunk/tests/xmlrpc/xmlrpc_utils.php 2012-10-02 09:03:19 UTC (rev 8368) +++ trunk/tests/xmlrpc/xmlrpc_utils.php 2012-10-02 09:04:52 UTC (rev 8369) @@ -8,5 +8,3 @@ include_once './xmlrpc-introspect.php'; return format_describe_methods_result($value); } - -?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |