nestor-qa / nestor

Nestor
http://nestor-qa.github.io
MIT License
3 stars 0 forks source link

Create constants for execution status and other values #80

Closed kinow closed 9 years ago

kinow commented 10 years ago

There are places of the code where we are using magic numbers but could use constants.

We need to figure out what's the way of doing that. Possibly removing auto increment from the execution status table, and creating an Enum or similar in PHP

kinow commented 9 years ago

The issue-77 branch has been merged, and there I've used constants in the Model (ProjectStatus), and removed the auto_increment from DB tables. We'll follow this pattern in the other areas of the system now. Closing it.