Skip to content
Snippets Groups Projects
Select Git revision
1 result Searching

autoloader.php

Blame
    • Adam Williamson's avatar
      0e3f2055
      use Composer autoloader not OC for non-Composer 3rdparty (#9643) · 0e3f2055
      Adam Williamson authored
      Composer's autoloader is rather better than the OwnCloud autoloader's
      handling of non-OC classes. Plus we can rely on upstream Composer to
      maintain it and not worry about it ourselves.
      
      With this change, we drop the bits of OwnCloud's autoloader that
      handled non-OC classes, and register the classes that were being
      handled by that code with Composer's autoloader instead. As these
      dependencies are converted to actually being managed by Composer,
      the explicit registrations can be dropped as they won't be needed
      any more.
      
      Since OwnCloud's autoloader isn't going to handle non-OC classes any
      more, we no longer need to test to make sure it does it right.
      
      drop unneeded registerPrefix() and registerClass() from autoloader
      
      Now we're not handling anything but OC's own classes, these are
      unnecessary.
      
      error out if composer autoloader is not found (thanks bantu)
      
      We're never going to be able to work without the autoloader, if it's not
      there we should just throw our hands up and surrender.
      0e3f2055
      History
      use Composer autoloader not OC for non-Composer 3rdparty (#9643)
      Adam Williamson authored
      Composer's autoloader is rather better than the OwnCloud autoloader's
      handling of non-OC classes. Plus we can rely on upstream Composer to
      maintain it and not worry about it ourselves.
      
      With this change, we drop the bits of OwnCloud's autoloader that
      handled non-OC classes, and register the classes that were being
      handled by that code with Composer's autoloader instead. As these
      dependencies are converted to actually being managed by Composer,
      the explicit registrations can be dropped as they won't be needed
      any more.
      
      Since OwnCloud's autoloader isn't going to handle non-OC classes any
      more, we no longer need to test to make sure it does it right.
      
      drop unneeded registerPrefix() and registerClass() from autoloader
      
      Now we're not handling anything but OC's own classes, these are
      unnecessary.
      
      error out if composer autoloader is not found (thanks bantu)
      
      We're never going to be able to work without the autoloader, if it's not
      there we should just throw our hands up and surrender.
    tls.crt 1.48 KiB
    -----BEGIN CERTIFICATE-----
    MIIEMTCCAxmgAwIBAgIUXJn011NmTDgR7DbtYKKZi8HFeoYwDQYJKoZIhvcNAQEL
    BQAwgacxCzAJBgNVBAYTAkRFMRAwDgYDVQQIDAdCYXZ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Ij0vo
    ZjZsbXyB44mMxGYs7llLLblWV/q3j9ftGGpT0rCTGeIshKYetvVu2yD/W5vtaNKy
    Z1Fefn8rUSKsOAMeqsaRC5jyGDDMT0iKg23cyncqZbsOop5LJ2QCYgZQi5C2t+li
    3YedXxzt5KH0SzRsnJ8aMiV0ekr9BSa8HSu0SLouILJ8gvmjrVzpZD/bLoRUGVuk
    6BUNMUBAxO7hD6pz5Fy55UemFwEXBKLfe6PHtgUsTuKkpBqj3yoRwbeE2fAdVQN4
    DiffiXgUeRRfBv2zyAnxBopMv4Y5
    -----END CERTIFICATE-----