-
-
Notifications
You must be signed in to change notification settings - Fork 13
Description
What were you trying to do?
clicking in electron and clicking out of electron
What happened?
Electron is reporting:
[warning] Since symfony/http-foundation 7.4:
Request::get() is deprecated, use properties ->attributes, query or request
directly instead. in
C:\Users\patri\work\ajro\planes\vendor\symfony\deprecation-contracts\function.php on line 25 []
reporting twice before brodcasting event:
How to reproduce the bug
Open electron and click out
Used on fresh repo:
- install laravel
- install native/desktop and set it up
Debug Output
"{ Environment : { PHP : { Version : 8.4.11 , Path : C:\php\php.exe }, Laravel : { Version : 12.40.2 , ConfigCached : false, RoutesCached : false, DebugEnabled : true }, Node : { Version : v20.15.0 , Path : C:\Program Files\nodejs\node.exe }, NPM : { Version : 10.7.0 , Path : C:\Program Files\nodejs\npm\r\nC:\Program Files\nodejs\npm.cmd }, OperatingSystem : WINNT }, NativePHP : { Versions : { nativephp/desktop : 2.0.2.0 , nativephp/php-bin : 1.1.1.0 }, Configuration : { Provider : App\Providers\NativeAppServiceProvider , BuildHooks : { Pre : [ npm run build ], Post : [ rm -rf public/build ] }, NotarizationEnabled : false, AzureTrustedSigningEnabled : false, CustomPHPBinary : false } } }"
Which operating systems have you seen this occur on?
Windows
Notes
It doesnt break anything, but it is anoying
quick dirty fix:
comment following line:
vendor/symfony/http-foundation/Request.php:742