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

PHAR: Compiled phar cannot find services #1228

Closed
gennadigennadigennadi opened this issue Jun 20, 2023 · 3 comments
Closed

PHAR: Compiled phar cannot find services #1228

gennadigennadigennadi opened this issue Jun 20, 2023 · 3 comments
Labels

Comments

@gennadigennadigennadi
Copy link
Member

The compiled phar (make build) from the main branch throws:

With the yaml config:

$ ./deptac.phar

In RegisterListenersPass.php line 97:
                                                                                                       
  Class "Internal\Qossmic\Deptrac\IgnoreDependenciesOnContract" used for service "0" cannot be found.  
                                                                                                       

With the php config:

$ ./deptrac.phar -c deptrac.config.php 

In CannotLoadConfiguration.php line 12:
                                                                                                                                                                                                                                               
  Could not load deptrac.config.php. Reason: Could not resolve argument "Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator" for "/home/gennadi/Code/qossmic/deptrac/deptrac.config.php".  
                                                                                                                                                                                                                                               
@gennadigennadigennadi gennadigennadigennadi changed the title Compiled phar cannot find service ''Internal\Qossmic\Deptrac\IgnoreDependenciesOnContract" Compiled phar cannot find services Jun 20, 2023
@gennadigennadigennadi gennadigennadigennadi changed the title Compiled phar cannot find services PHAR: Compiled phar cannot find services Jun 20, 2023
@gennadigennadigennadi
Copy link
Member Author

@patrickkusebauch Is the first error related to #916?

@patrickkusebauch
Copy link
Collaborator

No, I don't think so.

@gennadigennadigennadi
Copy link
Member Author

It ist, but will be obsolete with #1243

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

No branches or pull requests

2 participants