File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,6 @@ class Repository extends AbstractClass
29
29
*/
30
30
protected $ options ;
31
31
32
- /**
33
- * @var bool
34
- */
35
- protected $ allowSslDowngrade ;
36
-
37
32
/**
38
33
* @var ComposerJson|null
39
34
*/
@@ -49,7 +44,6 @@ public function __construct(array $data = [])
49
44
$ this ->type = (array_key_exists ('type ' , $ data ) ? $ data ['type ' ] : '' );
50
45
$ this ->url = (array_key_exists ('url ' , $ data ) ? $ data ['url ' ] : '' );
51
46
$ this ->options = (array_key_exists ('options ' , $ data ) ? $ data ['options ' ] : []);
52
- $ this ->allowSslDowngrade = (array_key_exists ('allow_ssl_downgrade ' , $ data ) ? $ data ['allow_ssl_downgrade ' ] : false );
53
47
54
48
$ this ->package = (array_key_exists ('package ' , $ data ) ? new ComposerJson ($ data ['package ' ]) : null );
55
49
}
@@ -81,16 +75,6 @@ public function getOptions() : array
81
75
return $ this ->options ;
82
76
}
83
77
84
- /**
85
- * Get if ssl may be downgraded for this repository.
86
- * @see https://github.com/composer/composer/blob/0fe200d6d950b0774688713be3153bb410eb70b8/src/Composer/Repository/ComposerRepository.php#L87-L89
87
- * @return bool
88
- */
89
- public function isSslDowngradeAllowed () : bool
90
- {
91
- return $ this ->allowSslDowngrade ;
92
- }
93
-
94
78
/**
95
79
* Gets the parsed "package" key of the repository.
96
80
* @return ComposerJson|null
You can’t perform that action at this time.
0 commit comments