Kdyby / Console

Symfony Console integration for Kdyby components
https://packagist.org/packages/kdyby/console
Other
52 stars 54 forks source link

Nette\Http\RequestFactory BC break fixup #87

Closed KuceraMartin closed 3 years ago

KuceraMartin commented 3 years ago

HttpRequestFactory::createHttpRequest() renamed to fromGlobals() https://github.com/nette/http/commit/d73c9aa66b2bca1684204208804230f0fcb273fe

Note that using the old name actually breaks things as Nette already uses the new fromGlobals method to create the Http\Request, which is not overloaded. As a result, the fake URL is not used in console mode.