opened
jibran
username_0
This is a follow up of #51 and #52 which got reverted in #53. 

If `\Drupal` is used anywhere in `*.install` file it shows: 
```
\Drupal::$container is not initialized yet. \Drupal::setContainer() must be called with a real container.
```
Analyzing *.install still shows: \Drupal:: is not initialized yet
issue
created
mglaman
username_1
I realized the testing was pretty broken. Hopefully this can be caught in PHPUNit as well
comment
created
mglaman
username_1
This should only occur _if_ `\Drupal::service` is invoked anywhere in a file when it is required. Such as `require $file` ends up executing code
comment
created
jibran
username_0
I think that is correct I'll have a look later today.
comment
created
jibran
username_0
Did you fix this in #68?
comment