Hi,
After resolving my previous problem with the latest CodeRunner from Github, I was able to run the CodeRunner script successfully. However, I encountered a new problem:
Parse error: parse error in /Users/Alexander/projects/swipeey/PHP-Code-Runner-master/classes/com/backendless/testapp/events/custom_events/Send_smsEventHandler.php on line 31
[INFO] Debugging Utility disconnected successfully.
[INFO] Thank you for using Backendless.
The PHP file in question is the default PHP file supplied by the management panel. Below is the codes in the PHP file:
<?php
namespace com\backendless\testapp\events\custom_events;
use backendless\Backendless;
use backendless\core\extension\BaseCustomEventHandler;
use backendless\core\servercode\RunnerContext;
/**
* Send_smsEventHandler handles custom event "send_sms". This is accomplished with the
* BackendlessEvent( "send_sms" ) annotation. The event can be raised by either
* the client-side or the server-side code (in other event handlers or timers).
* The name of the class is not significant, it can be changed, since the event
* handler is associated with the event only through the annotation.
*/
/** @annot({"BackendlessEvent":"send_sms"}) */
class Send_smsEventHandler extends BaseCustomEventHandler
{
public function handleEvent( $runner_context, $event_args ) {
// add your code here
}
}
As seen, I do not have 31 lines in the PHP file. Any advice would be appreciated.