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

stopwatch includes autoloader #764

Closed
ogmueller opened this issue Aug 30, 2017 · 0 comments
Closed

stopwatch includes autoloader #764

ogmueller opened this issue Aug 30, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@ogmueller
Copy link

When i am trying to use the StopwatchTask in phing, it will always say "StopwatchTask requires Stopwatch to be installed".

I did as it is suggested by "http://pear.symfony.com/" using "pear install symfony2/stopwatch". Installation worked fine, but the include in the phing task is wrong. So even after installing stopwatch, it still doesn't work.

it tries to:
@include_once 'Symfony/Component/Stopwatch/autoload.php';
but the autoloader is called autoloader.php, so it should do
@include_once 'Symfony/Component/Stopwatch/autoloader.php';

Than it works.

BTW. It would be really helpful, if the error message would also tells the user, which stopwatch it wants to have (symfony) and not e.g. the linux package one.

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

No branches or pull requests

2 participants