94584e2a7337e0a7f5af45e2c97ca6d0770e67a1

Author
Bill Haofei Gong <x-magic@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

feat(cakephp3): add compatibility with CakePHP 3.7+ (#11080)

Diff

 1diff --git a/plugins/cakephp3/cakephp3.plugin.zsh b/plugins/cakephp3/cakephp3.plugin.zsh
 2index dbfbeba3b267f3a1c8aa85b61ab33afade2898d5..a1a289fd0ff619b56e38108b11c1205edcff6a8a 100644
 3--- a/plugins/cakephp3/cakephp3.plugin.zsh
 4+++ b/plugins/cakephp3/cakephp3.plugin.zsh
 5@@ -1,10 +1,10 @@
 6 # CakePHP 3 basic command completion
 7 _cakephp3_get_command_list () {
 8-	bin/cake Completion commands
 9+	bin/cake completion commands
10 }
11 
12 _cakephp3_get_sub_command_list () {
13-	bin/cake Completion subcommands ${words[2]}
14+	bin/cake completion subcommands ${words[2]}
15 }
16 
17 _cakephp3_get_3rd_argument () {
18@@ -34,5 +34,5 @@ compdef _cakephp3 cake
19 
20 #Alias
21 alias c3='bin/cake'
22-alias c3cache='bin/cake orm_cache clear'
23+alias c3cache='bin/cake schema_cache clear'
24 alias c3migrate='bin/cake migrations migrate'