The 'hook' prefix on the Craft\TruncatePlugin::hookAddTwigExtension() method name has been deprecated. Renamed to addTwigExtension()