8000 Remove some compat code from the closed sourced version · symfony-cli/symfony-cli@c7db2f8 · GitHub
[go: up one dir, main page]

Skip to content

Commit c7db2f8

Browse files
committed
Remove some compat code from the closed sourced version
1 parent 1f9d955 commit c7db2f8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

local/php/composer.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,6 @@ func Composer(dir string, args []string, stdout, stderr, logger io.Writer) Compo
6464
SkipNbArgs: -1,
6565
}
6666

67-
// try to move the "old" bin/composer.phar to the new location
68-
oldpath := filepath.Join(filepath.Join(util.GetHomeDir(), "bin"), "composer.phar")
69-
newpath := filepath.Join(filepath.Join(util.GetHomeDir(), "composer"), "composer.phar")
70-
if _, err := os.Stat(oldpath); err == nil {
71-
if err := os.MkdirAll(filepath.Dir(newpath), 0755); err == nil {
72-
os.Rename(oldpath, newpath)
73-
}
74-
}
75-
7667
composerBin := "composer1"
7768
if composerVersion() == 2 {
7869
composerBin = "composer2"

0 commit comments

Comments
 (0)
0