Steps to reproduce the behavior
I am using WP rmccue/requests instead of razorpay library. I have added this in my composer.json file
"replace": { "rmccue/requests": "*" },
and composer update
Now, I am getting error that folder not found and after looking though Deprecated.php filer there is '/' missing before libs.
if (class_exists('WpOrg\Requests\Autoload') === false) { require_once __DIR__. 'libs/Requests-2.0.4/src/Autoload.php'; }
Expected behavior
Use WP default request instead of main library. And Php format should work normally.
Actual behavior
Now my PHP sniffer extension giving error that the folder not exists.
Code snippets
Php version
php v8.3
Library version
2.9.0
Additional Information
No response
Steps to reproduce the behavior
I am using WP rmccue/requests instead of razorpay library. I have added this in my composer.json file
"replace": { "rmccue/requests": "*" },and
composer updateNow, I am getting error that folder not found and after looking though Deprecated.php filer there is '/' missing before libs.
if (class_exists('WpOrg\Requests\Autoload') === false) { require_once __DIR__. 'libs/Requests-2.0.4/src/Autoload.php'; }Expected behavior
Use WP default request instead of main library. And Php format should work normally.
Actual behavior
Now my PHP sniffer extension giving error that the folder not exists.
Code snippets
Php version
php v8.3
Library version
2.9.0
Additional Information
No response