PHP Checks in .info

MTecknology - October 31, 2009 - 21:22
Project:Coder
Version:6.x-2.0-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

When I have the following in my .info file.....

name = 'Ubuntu Drupal Theme'
description = 'Ubuntu-Drupal is a theme for Ubuntu LoCo web sites.'
version = 6.4.0
core = '6.x'
engine = phptemplate

stylesheets[all][] = style.css

regions[banner] = Banner
regions[left] = Left sidebar
regions[right] = Right sidebar
regions[content] = Content
regions[header] = Header
regions[footer] = Footer

I get these errors:

udtheme.info

*
severity: normalLine 8: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms

stylesheets[all][] = style.css

*
severity: normalLine 8: use quotes around a string literal array index, this is not only a style issue, but a known performance problem

stylesheets[all][] = style.css

*
severity: normalLine 10: use quotes around a string literal array index, this is not only a style issue, but a known performance problem

regions[banner] = Banner

*
severity: normalLine 11: use quotes around a string literal array index, this is not only a style issue, but a known performance problem

regions[left] = Left sidebar

*
severity: normalLine 12: use quotes around a string literal array index, this is not only a style issue, but a known performance problem

regions[right] = Right sidebar

*
severity: normalLine 13: use quotes around a string literal array index, this is not only a style issue, but a known performance problem

regions[content] = Content

*
severity: normalLine 14: use quotes around a string literal array index, this is not only a style issue, but a known performance problem

regions[header] = Header

*
severity: normalLine 15: use quotes around a string literal array index, this is not only a style issue, but a known performance problem

regions[footer] = Footer

#1

alli.price - November 3, 2009 - 09:41

This is also happening for me in my theme's .info file. As previously said it just looks like the file is being incorrectly evaluated as PHP.

 
 

Drupal is a registered trademark of Dries Buytaert.