aboutsummaryrefslogtreecommitdiffstats
path: root/lib/autoloader.php
Commit message (Collapse)AuthorAgeFilesLines
* Add a built-in profiler inside NextcloudCarl Schwan2022-04-041-2/+3
| | | | | | The webui is provided by a seperate application named profiler Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Some more strict_typesJ0WI2021-04-261-4/+4
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-1/+1
| | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+1
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-2/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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
|