Add deprecation warning to composer.json