Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Incompatible with 3.x namespace change #15

Open
soullivaneuh opened this issue Jul 18, 2016 · 9 comments
Open

Incompatible with 3.x namespace change #15

soullivaneuh opened this issue Jul 18, 2016 · 9 comments

Comments

@soullivaneuh
Copy link
Contributor

I got this error on unit tests:

Fatal error: Class 'phpbrowscap\Browscap' not found in /code/vendor/browscap/browscap-bundle/Browscap/BrowscapBundle/Browscap.php on line 10

Installed versions:

$ composer show browscap*
browscap/browscap-bundle dev-master 58e71da Allows you to get browser information
browscap/browscap-php    3.0.0              Standalone replacement for php's native get_browser() function
@soullivaneuh
Copy link
Contributor Author

Any new about this? Is this project still maintained?

@soullivaneuh
Copy link
Contributor Author

May I have at least an answer? :-)

@mimmi20
Copy link
Member

mimmi20 commented Nov 11, 2017

In the actual version this package is not compatible with browscap-php v3. I am trying to fix this.

@asgrim
Copy link
Member

asgrim commented Nov 27, 2017

I think the BrowscapBundle is often left behind. I think it's probably better to use browscap/browscap-php directly...

@soullivaneuh
Copy link
Contributor Author

@asgrim In this case, it would be great to mark this repository as deprecated and add some documentation of how to integrate it with Symfony... or maintain it? :-)

@asgrim
Copy link
Member

asgrim commented Nov 28, 2017

I don't use Symfony, so I'm afraid I wouldn't be able to provide that documentation, but if someone contributed that, that'd be fab! ;)

@asgrim
Copy link
Member

asgrim commented Nov 28, 2017

Do you not just use libraries the standard way? Not sure why framework integrations are still a requirement anywhere..?

@soullivaneuh
Copy link
Contributor Author

Well, for my personal case I use it to get Browser information while validating it with a confirmation code.

And I use the update command from Symfony.

@soullivaneuh
Copy link
Contributor Author

Hello,

If you need help to maintain the bundle part, don't hesitate to add me as a maintainer. 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants