Several issues related to "Function name, class name, namespace name or constant name can not be reserved keyword '__DIR__'" get flagged by PHPCompatibility.
phpcs --standard=PHPCompatibility --runtime-set testVersion 7.3 sites/all/themes/bootstrap/template.php
File themes/bootstrap/template.php
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------
4 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword
| | '__DIR__' (since version 5.3)
5 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword
| | '__DIR__' (since version 5.3)
------------------------------------------------------------------------------------------------------
Closed: won't fix
2.2
Code
The issue particularly affects sites running on PHP version 7.3.0 or later.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.