-
-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove PHP closing tags #979
Comments
I think we can do this together with the typecast one, so we can push it in beta 3. |
I can write a script to do this too yes. |
Does it means it wouldn't work if in-line HTML is used? There are some files that do, that should be easy to fix. |
Yes, it does mean that Omar. I'm completely for this. It is a well known best practise, but I'm sure there used to be a style guideline against it.
|
http://docs.mybb.com/Development_Standards.html#PHP_Code_Demarcation It was decided last year we wouldn't be removing them. But half that page is ignored anyways and there is nothing actually wrong with this, is it? |
Yes, some files that contain inline HTML (especially in the ACP). The script I'll create will need to check that. |
I can update those so the script simply removes the endings. I even think this can be done manually :P It is not like the typecast one that checks for multiple instances. |
This is done. |
PHP closing tags was still created in various places.
php closing tags still re-created in various places. |
18fcbe8#commitcomment-7073774
Quote:
The text was updated successfully, but these errors were encountered: