Skip to content
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 new properties #139

Merged
merged 1 commit into from
Feb 16, 2016
Merged

add new properties #139

merged 1 commit into from
Feb 16, 2016

Conversation

mimmi20
Copy link
Member

@mimmi20 mimmi20 commented Feb 14, 2016

To be able to solve detection issues found by the parser comparasation ThaDafinser/UserAgentParserComparison I like to add these 3 fields.

@mimmi20 mimmi20 added this to the 3.0.0-rc.1 milestone Feb 14, 2016
@mimmi20
Copy link
Member Author

mimmi20 commented Feb 14, 2016

This PR is required to add these new properies to browscap/browscap.

@@ -136,6 +136,9 @@ public function getPropertyType($propertyName)
'Crawler',
'MasterParent',
'LiteMode',
'isFake',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens when these properties don't exist in the INI file downloaded?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing. If they not in the ini files, they are ignored, like all full-file-properties when parsing a standard or lite file.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

asgrim added a commit that referenced this pull request Feb 16, 2016
@asgrim asgrim merged commit 95443d7 into browscap:master Feb 16, 2016
@mimmi20 mimmi20 deleted the add-new-properties branch February 16, 2016 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants