|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55880 Using tabs instead of spaces
Submitted: 2003-09-12 19:05 UTC Modified: 2003-09-26 04:54 UTC
From: Assigned: hholzgra (profile)
Status: Closed Package: PECL_Gen (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2003-09-12 19:05 UTC]
The whole package is using tabs instead of spaces for indentation.  Should be easy to fix for someone who knows how to write a batch replace script.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-15 04:36 UTC]
the real problem is that PEAR requires a different coding
style (esp. TAB settings) as the PHP C source code and
that unlike within the PHP C source and DocBook XML
documentation there is no standard editor settings block
added to all PEAR source files

this makes compliance with PEAR coding styles rather
hard for us who spend more time within the PHP C source
than the PEAR PHP source ...

i'll re-format my stuff and add the needed editor settings
block for emacs to all files ...

BTW: you should *NEVER* try using indent on PHP source
as suggested in the PEAR manual, it will most likely to broken
code :(
 [2003-09-18 13:28 UTC]
You should try: looks quiet impresive, it even comes with PEAR support.
 [2003-09-19 03:36 UTC]
what is the license of this beast?

it is not mentioned on the website 
(unlike with phpedit itself where a license link is part of the product page navigation)

and downloading requires prior registration
which is not acceptable for finding out the license conditions IMHO
 [2003-09-26 04:54 UTC]
should be fixed now, tabification and indentation for source
snippets is now dealt with in special reformating methods ...
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri May 14 14:01:23 2021 UTC