forked from coenjacobs/mozart
-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Description
{
"name": "onepix/food-spot-vendor",
"version": "1.0.0",
"authors": [
{
"name": "onepix"
}
],
"autoload": {
"classmap": [
"../vendor-prefixed/illuminate/contracts"
]
},
"require": {
"php": ">=8.2.0",
"ext-json": "*",
"dbout/wp-orm": "^4.3"
},
"extra": {
"strauss": {
"target_directory": "../vendor-prefixed",
"namespace_prefix": "Onepix\\FoodSpotVendor\\",
"classmap_prefix": "Onepix_FoodSpotVendor_",
"constant_prefix": "OFSV_",
"packages": [
],
"update_call_sites": false,
"override_autoload": {
},
"exclude_from_copy": {
"packages": [
],
"namespaces": [
],
"file_patterns": [
]
},
"exclude_from_prefix": {
"packages": [
],
"namespaces": [
],
"file_patterns": [
]
},
"namespace_replacement_patterns": {
},
"delete_vendor_packages": false,
"delete_vendor_files": false
}
},
"config": {
"process-timeout": 0
},
"scripts": {
"prefix-namespaces": [
"sh -c 'test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/latest/download/strauss.phar'",
"@php bin/strauss.phar",
"@composer dump-autoload"
],
"post-install-cmd": [
"@prefix-namespaces"
],
"post-update-cmd": [
"@prefix-namespaces"
],
"post-autoload-dump": [
"@php bin/strauss.phar include-autoloader"
]
}
}
Apparently the prefixer does not check that the function is inside the class and prefixes it because of the same function name in the global scope
wp-orm
may take a long time to test, but the problem itself is in illuminate/database
I think this can be fixed quickly, but if anything, you can write approximately where to look for the problem and I will fix it myself right now
Metadata
Metadata
Assignees
Labels
No labels