Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
10.0, 11.0
-
None
Description
Hi,
I just switched from Netbeans 8.2 to 10 some days ago. Now I wonder why accessing undeclared or private properties in my PHP files are not marked in the code like in 8.2. E.g.:
<?php class A { private $bar; public function __construct() { $this->bar = 1; } } $foo = new A(); echo $foo->bar; echo $foo->bar2;
This code has green status saying "No errors". The project is set as PHP-project.
Have I missed a setting? I spent hours of research but didn't find a solution.
Thanks for any hint!
Fabian