Any check plugin for test local php (nette) script for errors?

(Majales) #1

Hello, I have tried to find check that would run local php script and detect possible errors. I could not find anything like this. Local php scripts are running from crontab on regular basis and when new version is deployed it could throw an error. So I want to detect error in the php script running locally. Anybody knows right check plugin for this case?

(Brian LaVallee) #2

Don’t know of a plugin, but it should be easy to put one together using phpunit for the test.

(Majales) #3

Thanx for suggestion. Finnaly I have managed to modify check_php( plugin for test call of php script…