- Updated class \ncc\Objects > CliHelpSection
to use method calls rather than direct property access
- Updated class `\ncc\Objects > ComposerJson` to use method calls rather than direct property access - Updated class `\ncc\Objects > ComposerLock` to use method calls rather than direct property access - Updated class `\ncc\Objects > DefinedRemoteSource` to use method calls rather than direct property access - Updated class `\ncc\Objects > HttpRequest` to use method calls rather than direct property access and implemented `SerializableObjectInterface` - Updated class `\ncc\Objects > HttpResponse` to use method calls rather than direct property access and implemented `SerializableObjectInterface` - Fixed hash comparisons to use `hash_equals` implementations to combat against Timing Attacks
This commit is contained in:
parent
eeffb15eb7
commit
42c26c92a0
16 changed files with 1338 additions and 363 deletions
|
@ -866,7 +866,7 @@
|
|||
try
|
||||
{
|
||||
$definedEntry = DefinedRemoteSource::fromArray(Functions::loadJsonFile($repo_path, Functions::FORCE_ARRAY));
|
||||
if(!$source_manager->getRemoteSource($definedEntry->name))
|
||||
if(!$source_manager->getRemoteSource($definedEntry->getName()))
|
||||
$source_manager->addRemoteSource($definedEntry);
|
||||
}
|
||||
catch(Exception $e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue