In the movie Spider-Man: Into the Spider-Verse there is this spider-man character called Peter Porker, who is an alternate funny cartoon version of Spider-Man:
He does things and says things closely to what the Looney Tunes cartoon character Porky Pig does and says.
In one scene he even says "That's all Folks!", and some other Spider-man asks "Is he allowed to say that? Legally?".
So my question is:
Was a deal made with Warner Bros so that Peter Porker can do the things he does? If so, what kind of deal?