Copy link to clipboard
Copied
public function addToValidators(array $data) : void;
^this is valid php, but creates a syntax error in Dreamweaver CC 2020. I am fully updated as of this posting. Using php 7.3 and Dreamweaver is set to 7.1. This is valid php per php 7.1. How do I fix this error? I do not want it showing up. I cannot find it in your source code.
Copy link to clipboard
Copied
You can do what I do, ignore it. Or disable Linting in your Preferences.
Copy link to clipboard
Copied
Thank you for your reply. I do not want to ignore it. This is a paid service. What does linting have to do with PHP? When I toggle that setting it is only css/html. Do you know the location of the php errors in the DW CC source code? That would be a solution.
Copy link to clipboard
Copied
Feel free to submit a Bug/Feature request from your DW Help menu.
I see one was already logged a while back about something similar.