[TYPO3-core] CGL proposal: Dropping the closing PHP tag

Andreas Wolf typo3ml at andreaswolf.info
Fri Nov 2 13:14:12 CET 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

Am 29.10.2012 22:33, schrieb Helmut Hummel:
> On 23.10.12 11:20, Ernesto Baschny [cron IT] wrote:
> 
>> long ago our .php files were indeed "XML" (PHP embedded in
>> XHTML). This is simply not the case anymore. Our PHP files are
>> not embedded in XML, we do *not* encourage to do that, because we
>> separate them (for good reasons, which I don't think you will
>> argue).
>> 
>> So considering that we don't want to embedd PHP in XML, it
>> sounds strange that we need to enforce a XML rule onto PHP
>> files.
> 
> I second that.

+1 from me, too.


>> (or at least the check).
> 
> I would only remove the check if we agree on removing the closing
> tag. However, I would change the check to allow (exactly) one
> trailing newline after the closing tag if we still want to stick to
> "old-school" conventions.

+1 for both (the latter of course only if we don't do the former, as
Helmut mentioned).

Regards
Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iF4EAREIAAYFAlCTuRMACgkQVRefK2MMWg5vEAEA2sTqY/RcdNBGvAGA2IDI7C/+
nFQ+HRLj8/ohtWfH/bgBANYJ92shVsnXtdR9KBynfWGnHLRfW4waw/fjBG/yMa8Z
=D7Gd
-----END PGP SIGNATURE-----


More information about the TYPO3-team-core mailing list