Browse files

Remove PHP closing tags. They are not required by spec and can only c…

…ause whitespace issues
  • Loading branch information...
1 parent 2e86629 commit e4ec7baa05036f16142df68f343af5211f4c9e0d @kvz committed Feb 24, 2010
View
3 System/Daemon.php
@@ -1461,5 +1461,4 @@ static protected function _optionsInit($premature=false)
return self::$_optObj->init($premature);
}//end _optionsInit()
-}//end class
-?>
+}//end class
View
3 System/Daemon/Exception.php
@@ -29,5 +29,4 @@
class System_Daemon_Exception extends PEAR_Exception
{
-}//end class
-?>
+}//end class
View
1 System/Daemon/OS.php
@@ -576,4 +576,3 @@ protected function _getAncestors($class)
}//end _getAncestors
}//end class
-?>
View
3 System/Daemon/OS/BSD.php
@@ -50,5 +50,4 @@ public function isInstalled()
return true;
}//end isInstalled
-}//end class
-?>
+}//end class
View
3 System/Daemon/OS/Debian.php
@@ -59,5 +59,4 @@ class System_Daemon_OS_Debian extends System_Daemon_OS_Linux
'@chkconfig@' => '{PROPERTIES.appChkConfig}',
);
-}//end class
-?>
+}//end class
View
3 System/Daemon/OS/Exception.php
@@ -29,5 +29,4 @@
class System_Daemon_OS_Exception extends PEAR_Exception
{
-}//end class
-?>
+}//end class
View
3 System/Daemon/OS/Fedora.php
@@ -67,5 +67,4 @@ class System_Daemon_OS_Fedora extends System_Daemon_OS_RedHat
'@chkconfig@' => '{PROPERTIES.appChkConfig}',
);
-}//end class
-?>
+}//end class
View
3 System/Daemon/OS/Linux.php
@@ -67,5 +67,4 @@ public function isInstalled()
return true;
}//end isInstalled
-}//end class
-?>
+}//end class
View
3 System/Daemon/OS/RedHat.php
@@ -67,5 +67,4 @@ class System_Daemon_OS_RedHat extends System_Daemon_OS_Linux
'@chkconfig@' => '{PROPERTIES.appChkConfig}',
);
-}//end class
-?>
+}//end class
View
3 System/Daemon/OS/Ubuntu.php
@@ -35,5 +35,4 @@ class System_Daemon_OS_Ubuntu extends System_Daemon_OS_Debian
*/
protected $_osVersionFile = "/etc/lsb-release";
-}//end class
-?>
+}//end class
View
3 System/Daemon/OS/Windows.php
@@ -41,5 +41,4 @@ public function isInstalled()
return true;
}//end isInstalled
-}//end class
-?>
+}//end class
View
3 System/Daemon/Options.php
@@ -529,5 +529,4 @@ protected function strToUnix( $str )
return preg_replace('/[^0-9a-z_]/', '', strtolower($str));
}//end strToUnix()
-}//end class
-?>
+}//end class
View
3 examples/bug_test_a.php
@@ -44,5 +44,4 @@
System_Daemon::start();
-System_Daemon::stop();
-?>
+System_Daemon::stop();
View
3 examples/bug_test_b.php
@@ -33,5 +33,4 @@
System_Daemon::start();
System_Daemon::restart();
-System_Daemon::stop();
-?>
+System_Daemon::stop();
View
3 examples/bug_test_c.php
@@ -79,5 +79,4 @@ function fncProcessJobs() {
// so you can close your terminal session, and the application will
// still run.
-System_Daemon::stop();
-?>
+System_Daemon::stop();
View
3 examples/custtemplate.php
@@ -162,5 +162,4 @@
// Shut down the daemon nicely
// This is ignored if the class is actually running in the foreground
-System_Daemon::stop();
-?>
+System_Daemon::stop();
View
3 examples/devtest.php
@@ -102,5 +102,4 @@
// so you can close your terminal session, and the application will
// still run.
-System_Daemon::stop();
-?>
+System_Daemon::stop();
View
3 examples/logparser.php
@@ -161,5 +161,4 @@
// Shut down the daemon nicely
// This is ignored if the class is actually running in the foreground
-System_Daemon::stop();
-?>
+System_Daemon::stop();
View
3 examples/nopear.php
@@ -51,5 +51,4 @@
// so you can close your terminal session, and the application will
// still run.
-System_Daemon::stop();
-?>
+System_Daemon::stop();
View
3 examples/pearlog.php
@@ -50,5 +50,4 @@
// so you can close your terminal session, and the application will
// still run.
-System_Daemon::stop();
-?>
+System_Daemon::stop();
View
3 examples/phperrtest.php
@@ -60,5 +60,4 @@
// so you can close your terminal session, and the application will
// still run.
-System_Daemon::stop();
-?>
+System_Daemon::stop();
View
3 examples/simple.php
@@ -50,5 +50,4 @@
// so you can close your terminal session, and the application will
// still run.
-System_Daemon::stop();
-?>
+System_Daemon::stop();
View
3 release.php
@@ -344,5 +344,4 @@ public function bake($sleep = true) {
}
break;
-}
-?>
+}
View
4 test.php
@@ -53,6 +53,4 @@ function exe($cmd, &$o)
$cmd = "phpt -r ".$workspace_dir."";
@exe($cmd, $lines);
-echo implode("\n", $lines);
-
-?>
+echo implode("\n", $lines);
View
4 tests/os-determine.phpt.php
@@ -8,6 +8,4 @@
$os = System_Daemon_OS::factory();
$details = $os->getDetails();
-echo count($details);
-
-?>
+echo count($details);

0 comments on commit e4ec7ba

Please sign in to comment.