Hi.
I use the codeigniter framework in its latest version and I have the following problem:
There is a file (ArrayHelper.php) that is located in the path /Mslb/vendor/codeigniter4/framework/system/Helpers/Array/ArrayHelper.php.
Inside that file there is the following namespace declaration:
namespace CodeIgniter\Helpers\Array;
PHP tools tells me a Syntax error: unexpected token 'Array'PHP(PHP2014) specifically pointing to the word Array in the declaration.
The CodeIgniter namespace operates correctly so the problem should not lie there.
I use PHP version 8.2.18 and I understand that there should be no problems with the issue of reserved words to use in namespace names since the application I am developing is working without problems so I must assume that it is php tools that generates the error message.
This of course gives me error messages about unknown functions in other files that use the file in question.
What could be happening?
Thank you