summaryrefslogtreecommitdiffstats
path: root/lib/autoloader.php
Commit message (Collapse)AuthorAgeFilesLines
* move log constants to ILoggerArthur Schiwon2018-04-261-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Make lib/autoloader.php strictly typed and properly type hintedMorris Jobke2018-02-131-6/+9
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Change @georgehrke's emailMorris Jobke2017-11-061-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Revert "Add a magic wrapper to allow phpunit4 to run the code again "Roeland Jago Douma2017-03-201-7/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add a magic wrapper from hell to allow phpunit4 to run the code againJoas Schilling2016-11-151-0/+7
| | | | | | | Remove this once phpunit 5 is the lowest supported version, by reverting: https://github.com/nextcloud/server/pull/2137 Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-3/+4
|
* Update license headersLukas Reschke2016-05-261-1/+2
|
* \OCP is handled by composer autoloaderRoeland Jago Douma2016-05-201-2/+0
|
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-201-2/+0
| | | | | | | | | | | | | | | | | | | | * Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader
* Create a Fallback in the old autoloader for PSR-4 Test\TestCaseJoas Schilling2016-05-191-0/+4
|
* No more Test_* files exist, remove autoloadingJoas Schilling2016-05-191-3/+1
|
* All \OC\ classes are handled by the composer autoloaderRoeland Jago Douma2016-05-131-17/+0
|
* OC_xx all live in the legacy folderRoeland Jago Douma2016-05-131-1/+0
|
* Merge pull request #23819 from owncloud/move-core-completely-to-psr4Roeland Douma2016-04-061-1/+1
|\ | | | | Move OC/Core completely to PSR-4
| * Remove OC/Core autoloading from old autoloaderLukas Reschke2016-04-061-1/+1
| |
* | Remove OC/Settings from old autoloaderLukas Reschke2016-04-061-1/+1
|/
* Dont double load classLukas Reschke2016-03-221-0/+4
| | | | | | If the class already exists we should not load it twice. Since the composer autoloader is also used in core this could otherwise load a file twice. This leads to problems otherwise with case insensitive operating systems like OS X. We can get rid of this once all file names in OC follow PSR-4, until then we probably need this check.
* Happy new year!Thomas Müller2016-01-121-3/+4
|
* Move lib/repair to lib/private/repairMorris Jobke2016-01-071-3/+0
|
* Revert "Dont bother with stream_resolve_include_path if the path is already ↵Vincent Petry2015-11-291-5/+1
| | | | absolute"
* Dont bother with stream_resolve_include_path if the path is already absoluteRobin Appelman2015-11-271-1/+5
|
* [autoloader] Make sure to load construct full pathsRoeland Jago Douma2015-11-061-8/+24
| | | | | This reduces a lot of the autoloader magic and makes sure that we generate full paths in the autoloader.
* Update license headersLukas Reschke2015-10-261-0/+1
|
* Remove dead codeLukas Reschke2015-10-251-8/+7
| | | | Those variables are never written to. Thus this is dead code which should be removed.
* deduplicate @xenopathicMorris Jobke2015-10-061-1/+1
|
* update licence headers via scriptMorris Jobke2015-10-051-0/+1
|
* Restore loadApp() autoload registrationRobin McCorkell2015-09-161-3/+6
| | | | | Also changes the autoloader validRoots into a hashmap to try and reduce duplicate entries
* Unique exception for invalid autoload paths, better handlingRobin McCorkell2015-09-051-1/+3
| | | | | Background jobs are tolerant of stale entries left by disabled apps, which will cause an autoload exception.
* Resolve autoloader valid roots before checkingRobin McCorkell2015-09-051-1/+1
| | | | Allows symlinked app directories to work properly
* Show the path as part of the exception for not allowed autoloading pathsRobin Appelman2015-09-011-1/+1
|
* verify the path in the autoloaderRobin Appelman2015-09-011-1/+32
|
* Remove OC_LogThomas Müller2015-07-031-1/+1
|
* Update license headersJenkins for ownCloud2015-03-261-4/+23
|
* Revert "Updating license headers"Morris Jobke2015-02-261-23/+5
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-5/+23
|
* use Composer autoloader not OC for non-Composer 3rdparty (#9643)Adam Williamson2014-10-281-28/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* add additional type checkGeorg Ehrke2014-06-061-1/+1
|
* update autoloaderGeorg Ehrke2014-06-041-6/+5
|
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-1/+1
| | | | * test case added to avoid adding them later
* Allow null as cache parameter (if no cache was found) and for cache removal.Andreas Fischer2013-10-221-1/+1
|
* Only write-back on cache miss.Andreas Fischer2013-10-221-3/+3
|
* Inject memoryCache into Autoloader. Remove recursion-prevention hack.Andreas Fischer2013-10-221-27/+28
|
* Merge pull request #5071 from owncloud/fix-autoloader-masterThomas Müller2013-10-021-0/+1
|\ | | | | Fix autoloader regression
| * Fix autoloader regressionVictor Dubiniuk2013-10-021-0/+1
| |
* | Merge branch 'master' into fixing-4620-masterThomas Müller2013-10-011-3/+3
|\|
| * move the private namespace OC into lib/private - OCP will stay in lib/publicThomas Müller2013-09-301-3/+3
| | | | | | | | | | Conflicts: lib/private/vcategories.php
* | in case the cache cannot be initialized within the autoloader we just shoul ↵Thomas Müller2013-09-181-1/+5
|/ | | | not use it
* Class Auto Loader: Cache paths in APCMarkus Goetz2013-08-181-1/+25
| | | | | | Using benchmark_single.php (from administration repo) I can measure a speed improvement of 5% to 20% loading the /index.php when logged in. (when using APC and php-fpm).
* Let's just use '/' as we do almost everywhere - this change fixes two ↵Thomas Mueller2013-06-101-2/+2
| | | | failing unit tests