PHP security analysis NullPointerException error when using sonar.modules

Any idea why we’re getting NullPointerExceptions when analysing any of our PHP files?

Note: most of our PHP services are using Laravel/Lumen.