dephpugger
dephpugger copied to clipboard
This problem in Windows 10 with laragon
Warning: array_replace_recursive(): Expected parameter 2 to be an array, string given in C:\Users\Asus\AppData\Roaming\Composer\vendor\tacnoman\dephpugger\src\Dephpug\Config.php on line 53
Call Stack: 0.4055 409032 1. {main}() C:\Users\Asus\AppData\Roaming\Composer\vendor\tacnoman\dephpugger\bin\dephpugger:0 0.4198 1121072 2. Dephpug\Dephpugger->run() C:\Users\Asus\AppData\Roaming\Composer\vendor\tacnoman\dephpugger\bin\dephpugger:27 0.4299 1927784 3. Symfony\Component\Console\Application->run() C:\Users\Asus\AppData\Roaming\Composer\vendor\tacnoman\dephpugger\src\Dephpug\Dephpugger.php:33 0.4365 2264968 4. Symfony\Component\Console\Application->doRun() C:\Users\Asus\AppData\Roaming\Composer\vendor\symfony\console\Application.php:147 0.4375 2268344 5. Symfony\Component\Console\Application->doRunCommand() C:\Users\Asus\AppData\Roaming\Composer\vendor\symfony\console\Application.php:271 0.4375 2268344 6. Dephpug\Console\ServerCommand->run() C:\Users\Asus\AppData\Roaming\Composer\vendor\symfony\console\Application.php:1001 0.4379 2269976 7. Dephpug\Console\ServerCommand->execute() C:\Users\Asus\AppData\Roaming\Composer\vendor\symfony\console\Command\Command.php:255 0.4384 2279888 8. Dephpug\Config->configure() C:\Users\Asus\AppData\Roaming\Composer\vendor\tacnoman\dephpugger\src\Dephpug\Console\ServerCommand.php:30 0.4472 2626520 9. array_replace_recursive() C:\Users\Asus\AppData\Roaming\Composer\vendor\tacnoman\dephpugger\src\Dephpug\Config.php:53
Variables in local scope (#8): $config = 'server: omnio.back.test path: ./public/ port: 80 file: index.php'
| __ \ | |
| | | | ___ _ __ | |__ _ __ _ _ __ _ __ _ ___ _ __
| | | |/ _ \ '_ | '_ | '_ | | | |/ |/ _
|/ _ \ '|
| || | __/ |) | | | | |) | || | (| | (| | / |
|/ _| ./|| || ./ _,|_, |_, |_||
| | | | __/ | __/ |
|| || |/ |__/
Server - Version: v1.5.2
Running command: D:\laragon\bin\php\php-7.3.12-nts-Win32-VC15-x64\php.exe -S : -t d:\laragon\www\omnio.back -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port= -dxdebug.remote_host= -dxdebug.remote_connect_back=0
Access in :
Invalid address: :
Sorry for my delay. I never tested the Dephpugger in Windows (sorry for this :/)
Now I have an PC with Windows and I will test this and try to simulate this error
Show your .dephpugger.yml
file, please.
This errors happen in flow to get the config data file.
https://github.com/tacnoman/dephpugger/blob/master/src/Dephpug/Config.php#L71
This method try to parse the yml file