1

When I using netbeans 8.2 for PHP code, it always give

NULL FALSE TRUE

in uppercase. But PSR-2 tells us

The PHP constants true, false, and null MUST be in lower case.

How I can change it, and netbeabs give it in lowercase

Los Vitaly
  • 21
  • 3
  • is this any help? I do not use netbeans myself, forgive me if it's useless :) https://github.com/allebb/netbeans-psr-formatting – Dale Aug 11 '18 at 14:01
  • @Dale thanks for suggestion, but I want it work in netbeans autocomplete – Los Vitaly Aug 11 '18 at 17:16

1 Answers1

0

Maybe, it's help somebody, who using netbeans, and want have PHP constant

NULL FALSE TRUE

in lowercase for autocomplete.

Click Ctrl + i, in Find window type NULL and open file

netbeans-8.2/php/phpstubs/phpruntime/Core.php

and here I change value for lowercase.

Los Vitaly
  • 21
  • 3