Could not check compatibility between extensions #912
-
I'm attempting to make an inline extension in PHP that apply span tags to text inside a pair of curly braces, but first I want to make sure I have everything set up right to do a passthrough - as in, it runs without changing anything. At this, I am running into an error I can't figure out. (All names for my functions and files changed for privacy.) The error:
The script:
I'm not sure why it's giving the error it does, because Environment\ConfigurableEnvironmentInterface is being included. My PHP version is 7.4.3. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I don't know why PHP can't find that class, but using |
Beta Was this translation helpful? Give feedback.
I don't know why PHP can't find that class, but using
EnvironmentBuilderInterface $environment
as the parameter on that line should fix this.