source code says Request::getMethod() is deprecated, what to use? |
Its not a huge issue.
Its just triggers the user to chose an alternative function. The issue is that the error message isn't always clear. PhpStorm shows a strikethrough with the notice: Method 'getMethod' is deprecated. Visual Code has a line under it, with notice: 'getMethod' is depricated. https://imgur.com/a/4PHcoKk It's possible to remove all deprecated notices with some settings: (in Visual Code) Code: { Only found this: https://stackoverflow.com/questions/2700...ers-in-php |
Welcome Guest, Not a member yet? Register Sign In |