Add 'exception_type' field to Incidents.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Make server accept php error incidents.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Add backward compatibility. Server now accepts incidents even if 'exception_type' is not set (case for older versions of PMA). It considers such incidents to be 'js' errors.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Show 'Error Type' in individual error report.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Fix failing tests. Modify the expected beahvior of testcases.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Rename 'report.json' file to 'report_js.json'. Needed to differentiate between report files of js & php type.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Add php report test data file.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Add test case for 'php' bug report.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Add test case for 'php' in 'testGetReportDetails()'.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Add php case in 'testGetSchematizedIncident()'.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Remove dead code pointed out by Scrutinizer.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Merge pull request #45 from dhananjay92/dhananjay-gsoc-dev

Commits for review: Accepting & Displaying php error incidents/reports.