CLI runner fails catastrophically if you try and "use" a trait included from a composer package in an addon

S

Sim

Guest
Okay - so here's a weird edge case I haven't been able to work out yet.

I'm building an addon. This addon uses a composer package. The composer package has a trait. I want to "use" that trait from the composer package in one of my commands.

Adding the "use" clause causes the XenForo command runner to fail catastrophically (as in, you can't run any commands at all), with an error message saying that the trait was not found.

Using the same trait from the same composer package in a...

Read more

View Now...
 


Join 𝕋𝕄𝕋 on Telegram
Channel PREVIEW:
Back
Top