Pierre Grimaud 4 år sedan
förälder
incheckning
a42c6ceff3
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      UPGRADE-2.0.md
  2. 1 1
      src/Composer/Repository/ComposerRepository.php

+ 1 - 1
UPGRADE-2.0.md

@@ -24,7 +24,7 @@
   - packages are now wrapped into a `"packages"` top level key instead of the whole file being the package array
   - packages now contain an `"installed-path"` key which lists where they were installed
   - there is a top level `"dev"` key which stores whether dev requirements were installed or not
-- `PreFileDownloadEvent` now receives an `HttpDownloader` instance instead of `RemoteFilesystem`, and that instance can not be overriden by listeners anymore
+- `PreFileDownloadEvent` now receives an `HttpDownloader` instance instead of `RemoteFilesystem`, and that instance can not be overridden by listeners anymore
 - `IOInterface` now extends PSR-3's `LoggerInterface`, and has new `writeRaw` + `writeErrorRaw` methods
 - `RepositoryInterface` changes:
   - A new `loadPackages(array $packageNameMap, array $acceptableStabilities, array $stabilityFlags)` function was added for use during pool building

+ 1 - 1
src/Composer/Repository/ComposerRepository.php

@@ -818,7 +818,7 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
             $this->hasPartialPackages = !empty($data['packages']) && is_array($data['packages']);
         }
 
-        // metadata-url indiates V2 repo protocol so it takes over from all the V1 types
+        // metadata-url indicates V2 repo protocol so it takes over from all the V1 types
         // V2 only has lazyProviders and possibly partial packages, but no ability to process anything else,
         // V2 also supports async loading
         if (!empty($data['metadata-url'])) {