Fixes #13112 Consolidate symfony, symfony2, and symfony6 plugins into a single Symfony plugin

This commit is contained in:
Evgenii Orlov 2025-06-19 16:55:23 +02:00
commit a2b5bfd435
6 changed files with 223 additions and 10 deletions

View file

@ -1,5 +1,10 @@
# Symfony
> **⚠️ DEPRECATION WARNING**
> This plugin is deprecated and will be removed in a future release.
> **Please migrate to the unified [`symfony`](../symfony/) plugin** which supports all Symfony versions (2.x through 6+).
> Simply change `symfony6` to `symfony` in your `.zshrc` plugins list.
This plugin provides native completion for [Symfony](https://symfony.com/), but requires at least Symfony 6.2.
To use it add `symfony6` to the plugins array in your zshrc file.
@ -7,3 +12,13 @@ To use it add `symfony6` to the plugins array in your zshrc file.
```bash
plugins=(... symfony6)
```
## Migration
**Recommended:** Use the unified [`symfony`](../symfony/) plugin instead:
```bash
plugins=(... symfony) # Replace symfony6 with symfony
```
The unified plugin provides the same native completion functionality plus automatic version detection and support for all Symfony versions.

View file

@ -7,6 +7,14 @@
# For the full copyright and license information, please view
# https://symfony.com/doc/current/contributing/code/license.html
#
# DEPRECATION WARNING: This plugin is deprecated and will be removed in a future release.
# Please migrate to the unified 'symfony' plugin which supports all Symfony versions.
# Simply change 'symfony6' to 'symfony' in your .zshrc plugins list.
#
echo "⚠️ WARNING: The 'symfony6' plugin is deprecated. Please use the unified 'symfony' plugin instead." >&2
echo " Change 'symfony6' to 'symfony' in your .zshrc plugins list." >&2
#
# zsh completions for console
#