For whatever reason the /sites/default/settings.php file uses comment and string conventions that differ from the rest of Drupal. Comments use # instead of c-style comments and all strings use double quotes unnecessarily.

This patch updates settings.php to conform to the recommended style conventions.

CommentFileSizeAuthor
#2 settings-2.patch4.58 KBtangent
settings.patch4.54 KBtangent

Comments

Stefan Nagtegaal’s picture

I made such a patch before and didn't got committed because we use Doxygen comment style now in core..
Please - if your time permits - make a new patch which adds the Doxygen comments in a proper way...

tangent’s picture

StatusFileSize
new4.58 KB

I'm not sure if you are asking for the comments to simply show up or if it is desired that the comments are reworked for better documentation purposes. This new patch simply makes the comments doxygen style so they'll show up. It also moves all the database settings comments together so they'll show as a block.

tangent’s picture

Postponing this issue in favor of the more useful patch in issue 17303. If that patch is refused then this patch should be used. Otherwise this issue may be closed.

tangent’s picture

Closing since this was handled in the aforementioned issue.