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

IndexCleanCommand uses symfony/finder when is not declared as dependency #2304

Closed
rodrigoaguilera opened this issue Jun 18, 2023 · 2 comments · Fixed by #2306
Closed

IndexCleanCommand uses symfony/finder when is not declared as dependency #2304

rodrigoaguilera opened this issue Jun 18, 2023 · 2 comments · Fixed by #2306

Comments

@rodrigoaguilera
Copy link
Contributor

I discovered there is a command to clean the index cache but trying to use gave m the error

PHP Fatal error:  Uncaught Error: Class "Symfony\Component\Finder\Finder" not found

I required the package in my root composer.json but I think it is an undeclared dependency of phpactor.

@dantleech
Copy link
Collaborator

dantleech commented Jun 18, 2023

Indeed, we should either use something else or add that dep in composer.json, this is the only place it's used, probably we can just use glob() cc @mamazu

@dantleech
Copy link
Collaborator

Fixed and tagged a new release 👍

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

Successfully merging a pull request may close this issue.

2 participants