Bug report
| Question |
Answer |
| PHP-Scoper version |
0.18.18 (phar) |
| PHP version |
8.4 |
| Platform with version |
unix |
Somewhere between 0.18.11 and the latest version, scoper stopped FQCNing all global functions (array_merge,...) - from the changelog I assume they're taken from https://github.com/JetBrains/phpstorm-stubs - which contains all these constants too.
However this still happens for constants (e.g. \true, \false, \E_USER_WARNING) even though they exist there
Additionally, adding these constants in 'exclude-constants' does nothing/they still get changed.
Is there a technical reason for that or is this an oversight?
Bug report
Somewhere between 0.18.11 and the latest version, scoper stopped FQCNing all global functions (array_merge,...) - from the changelog I assume they're taken from https://github.com/JetBrains/phpstorm-stubs - which contains all these constants too.
However this still happens for constants (e.g.
\true,\false,\E_USER_WARNING) even though they exist thereAdditionally, adding these constants in 'exclude-constants' does nothing/they still get changed.
Is there a technical reason for that or is this an oversight?