From: Wolfgang D. <da...@oe...> - 2012-07-10 06:50:11
|
Am 09.07.2012 22:39, schrieb Jan Kanis: > Wolfgang, > > I saw you used phpcs on the code. I'm not familiar with that tool, > but I gave it a try, but what profile (if any) are you using? Hi Jan, I use no special profile. Just "phpcs phpshell.php" (or another php file). I use it just to get some ideas/suggestions how to structure the code (so that control-structures look consistent) or what should be ommited (because it's deprecated, etc.) - no 'strict enforcement' of all rules... ;-) Bye, Wolfgang P.S. Thank you for your contributions. The idea with "pwd >&9" to get the current working directory is great - I thought about adding a ";pwd" at the end, but did not know how to be sure, where the output of the command ends and where the output of pwd starts. I have to look at the further code-improvements soon. |