CheckDeprecations warns the user if anything in use is deprecated.
()
| 683 | |
| 684 | // CheckDeprecations warns the user if anything in use is deprecated. |
| 685 | func (app *DdevApp) CheckDeprecations() { |
| 686 | if composerV1Regex.MatchString(app.ComposerVersion) { |
| 687 | app.ComposerVersion = "2.2" |
| 688 | util.WarningOnce(`Project '%s' now uses Composer v2.2 LTS. Composer v1 is no longer supported by Packagist, see https://blog.packagist.com/shutting-down-packagist-org-support-for-composer-1-x/ |
| 689 | Run 'ddev config --auto' to remove this Composer warning.`, app.Name) |
| 690 | } |
| 691 | } |
| 692 | |
| 693 | // FixObsolete removes files that may be obsolete, etc. |
| 694 | func (app *DdevApp) FixObsolete() { |