-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Microsoft Edge User Agent #464
Conversation
Please revert the change in the Person provider. Otherwise this looks good. |
should I push the person change in another commit? |
This reverts commit ef0e1c4.
No we are not just randomly adding names since people want their own |
Do we have some source refs on how these look for Edge? PR looks fine but have to cross check to be sure |
Here is my current user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46 |
It seems that when the User Agent test reverted to the original name of `edge` and not `msedge`. This change fixes it back.
Ok thanks for the list, looks good. What still is missing is the addition in the Generator phpdoc. Since all calls to legacy are still made using a __call it is required. |
Copy. Didn't see that in the "Best Practices" area. Should be in Generator.php now for doc and autocompletion. |
Yeah it is until we reach v2. Mostly because static type tools like psalm and phpstan complain if it is not. Will give it a last review tomorrow but i think we are good to go. Maybe @bram-pkg finds some time earlier though |
Fixed that last style error for you. |
Thanks. Switching between github.dev and trying to lint using a remote desktop connection makes for a lot of errors it seems :( |
The problem probably was that php-cs-fixer doesn't like linting between
different versions of PHP. Try running it on PHP 7.1 next time :)
…On Thu, 24 Mar 2022 at 19:50, dutchie027 ***@***.***> wrote:
Thanks. Switching between github.dev and trying to lint using a remote
desktop connection makes for a lot of errors it seems :(
—
Reply to this email directly, view it on GitHub
<#464 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADFQHIZ6YO43ZP7W36WY5HTVBS2OLANCNFSM5RMSSWNQ>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
There is a bug in this PR, i've fixed it in #469 Update; a little more details would be nice: The static is called |
What is the reason for this PR?
This pull request adds the MS Edge User Agent.
Author's checklist
Summary of changes
The Microsoft Edge User Agent was added in the User Agent Provider. It can generate an Edge UA for Windows, Linux, Mac and also iOS. To support iOS, the iOS device function was also added to the User Agent Provider.
A test was written to search for "Edg" when calling this user agent as that is the commonality among all Ednge UAs. (Edg, EdgA and EdgiOS respectively are the three different "distinct" Edge UAs.)
PR for documentation submitted
Review checklist