8000 Composer: Ambiguous class resolution, "PiwikTracker" was found in both.. · Issue #54 · matomo-org/matomo-php-tracker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Composer: Ambiguous class resolution, "PiwikTracker" was found in both.. #54

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

Closed
madman-81 opened this issue Jan 2, 2020 · 1 comment · Fixed by #57
Closed

Composer: Ambiguous class resolution, "PiwikTracker" was found in both.. #54

madman-81 opened this issue Jan 2, 2020 · 1 comment · Fixed by #57

Comments

@madman-81
Copy link
Contributor
madman-81 commented Jan 2, 2020

Composer issues the warning below when generating optimized autoload files:

Warning: Ambiguous class resolution, "PiwikTracker" was found in both "C:\project\vendor/matomo/matomo-php-tracker/.\MatomoTracker.php" and "C:\project\vendor/matomo/matomo-php-tracker/.\PiwikTracker.p
hp", the first will be used.

The solution would be to remove the class declaration from MatomoTracker.php since this included in PiwikTracker.php.

@tsteur
Copy link
Member
tsteur commented Jan 2, 2020

Reopening for now because of #55 (comment)

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

Successfully merging a pull request may close this issue.

2 participants
0