How to stop this inspection:
"Member has protected access, but class has magic method __get"?
I searched everywhere but can not find the option to disable this inspection.
I really do not want the properties remain marked with a different color when they are private
and there is a magic method __get
in classes.
You can quickly disable a triggered inspection directly in the editor. Place the caret at the highlighted line and press Alt+Enter (or click to use the intention action). Click the arrow next to the inspection you want to disable, and select Disable inspection.
Click the arrow next to the inspection you want to disable, and select Disable inspection. In the Inspection Results tool window (after running code analysis), right-click the inspection you want to disable and select Disable inspection.
Click the arrow next to the inspection you want to disable, and select Disable inspection. In the Inspection Results tool window (after running code analysis), right-click the inspection you want to disable and select Disable inspection. Click to hide the disabled inspection alerts.
Sometimes you want to disable inspect elements from your website to secure it. There are many ways to inspect the code of the website or find the words in the code etc. For Example: by right-click, by pressing key F12, by ctrl+shift+i, by ctrl+f, etc. So to disable these keys or clicks, copy the below code and paste on your website page.
As @LazyOne mentioned the solution is:
@property string $File
in php doc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With