In PHP, constants can be defined either with const or define(). I think that const should be used whenever possible (i.e. where the constant value is not an expression), otherwise define() should be used.
Description
Description
Event Timeline
joshuaspence claimed this task.
joshuaspence renamed this task from Write a linter rule to de to Write a linter rule to determine appropriate constant definitions.Mar 1 2015, 9:52 PM2015-03-01 21:52:33 (UTC+0)