hhvm
                                
                                
                                
                                    hhvm copied to clipboard
                            
                            
                            
                        Add quickfix for missing parent::__construct()
Example bad code:
class MyParent {
  public function __construct() {}
}
class MyChild extends MyParent {
  public function __construct() {
    foo();
  }
}
The quickfix should add the call at the beginning of the method.
class MyParent {
  public function __construct() {}
}
class MyChild extends MyParent {
  public function __construct() {
    parent::__construct();
    foo();
  }
}