omit the PHP closing tag at EOF in all PHP files
authorDenis Ovsienko <denis@ovsienko.info>
Thu, 13 Jul 2017 16:09:25 +0000 (17:09 +0100)
committerDenis Ovsienko <denis@ovsienko.info>
Thu, 13 Jul 2017 16:15:18 +0000 (17:15 +0100)
commitf48482e402726f928e3ffffff6112d1a392d3a33
tree6b6bdd276cedfafcd7141150aebe4a1551c0054b
parent475f4da1deea30543900966db469c8f2b18d35b7
omit the PHP closing tag at EOF in all PHP files

"If a file is pure PHP code, it is preferable to omit the PHP closing tag
at the end of the file. This prevents accidental whitespace or new lines
being added after the PHP closing tag, which may cause unwanted effects
because PHP will start output buffering when there is no intention from
the programmer to send any output at that point in the script."
-- PHP manual
55 files changed:
scripts/cleanup_ldap_cache.php
scripts/syncdomain.php
tests/ConfigVarTest.php
tests/DBMutexTest.php
tests/DictionaryAttributeTest.php
tests/EmptySQLWhereTest.php
tests/EntityLinkTriggerTest.php
tests/GetChildrenListTest.php
tests/GetRowsCountTest.php
tests/LinkTriggerTest.php
tests/ObjectAttributesTest.php
tests/ObjectCircularReferenceTest.php
tests/ObjectLogTest.php
tests/ObjectPortsTest.php
tests/PureFunctionTest.php
tests/RackspaceFunctionsTest.php
tests/RenderDepotTest.php
tests/ScriptFunctionsTest.php
tests/StringInsertHrefsTest.php
tests/TagFunctionsTest.php
tests/TagTreeCircularReferenceTest.php
tests/TestHelper.php
tests/UpgradeTest.php
tests/UserAccountTest.php
tests/bootstrap.php
wwwroot/inc/ajax-interface.php
wwwroot/inc/auth.php
wwwroot/inc/caching.php
wwwroot/inc/code.php
wwwroot/inc/config.php
wwwroot/inc/database.php
wwwroot/inc/deviceconfig.php
wwwroot/inc/dictionary.php
wwwroot/inc/exceptions.php
wwwroot/inc/functions.php
wwwroot/inc/init.php
wwwroot/inc/install.php
wwwroot/inc/interface-8021q.php
wwwroot/inc/interface-cables.php
wwwroot/inc/interface-config.php
wwwroot/inc/interface-lib.php
wwwroot/inc/interface-reports.php
wwwroot/inc/interface.php
wwwroot/inc/navigation.php
wwwroot/inc/ophandlers.php
wwwroot/inc/popup.php
wwwroot/inc/pre-init.php
wwwroot/inc/remote.php
wwwroot/inc/slb-interface.php
wwwroot/inc/slb.php
wwwroot/inc/snmp.php
wwwroot/inc/solutions.php
wwwroot/inc/triggers.php
wwwroot/inc/upgrade.php
wwwroot/index.php