Updated required PHP version to 5.4. due to incompatibility problems with the keyword self.