summaryrefslogtreecommitdiffstats
path: root/composer.json
Commit message (Collapse)AuthorAgeFilesLines
* fix(CI): Temporary workaround - Run Psalm CI with 1 thread only so it finishesJoas Schilling2023-06-081-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use all available threads for running psalm from composerjld31032023-03-311-2/+2
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* chore(deps): Declare ext-openssl as requiredChristoph Wurst2023-02-201-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Drop PHP 7.4 support for master (26)Côme Chilliet2023-01-201-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add a helper function that makes it easier to log from anywhereChristoph Wurst2022-05-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Our DI is able to inject a logger implementation to any server and app class if they want one. However, sometimes DI isn't applicable or hard to add. In those cases we typically fell back to the *service locator* pattern where we acquired a logger from the server via a global variable. There were some issues with that * `\OC` is a private class, apps are not supposed to use it * `\OC::$server` is a global variable, a well known anti-pattern * `\OC::$server->get(...)` uses the service locator anti-pattern * `\OC::$server->get(...)` may throw * `\OC::$server->get(LoggerInterface::class)` is not scoped to an app With this patch I'm proposing a new helper function ``\OCP\Log\logger`` that can be used to acquire a logger more easily. This function is meant to be public API and therefore apps may use it and there is an optional parameter to specifiy the app ID. The function hides all the ugly details about the global variable and the potentially thrown exceptions from the user. Therefore it's guaranteed that you always get a logger instance. In the worst case you get a noop, though those occasions should be rare. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix mexitek/phpcolorsJohn Molakvoæ2022-04-261-2/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Start theming providersJoas Schilling2022-04-211-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #29286 from nextcloud/enhancement/drop-php-7-3Côme Chilliet2022-02-011-1/+1
|\ | | | | Drop PHP7.3
| * Drop PHP7.3Christoph Wurst2022-01-251-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix registerEventListener issuesCarl Schwan2022-01-271-1/+1
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix a few psalm issues and moved back to psalm/phar 4.18Carl Schwan2022-01-121-2/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Allow using composer plugin with composer 2.2Julius Härtl2021-12-301-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Bump Symfony family and friends to v4.4.30Christoph Wurst2021-10-211-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Scope composer tools with the bin pluginChristoph Wurst2021-08-191-30/+41
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add mbstring as dependencyDaniel Kesselberg2021-06-011-0/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add ext-zip as platform dependencyChristoph Wurst2021-05-031-2/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Require ext-simplexml via composerChristoph Wurst2020-11-261-0/+1
| | | | | | This makes phpunit (and static analysis?) happy Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Require xmlreader via composerChristoph Wurst2020-11-201-2/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Require libxml in composerChristoph Wurst2020-11-201-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump vimeo/psalm from 3.17.2 to 4.0.1dependabot-preview[bot]2020-10-201-1/+1
| | | | | | | Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 3.17.2 to 4.0.1. - [Release notes](https://github.com/vimeo/psalm/releases) - [Commits](https://github.com/vimeo/psalm/compare/3.17.2...4.0.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump vimeo/psalm from 3.15 to 3.17.1Christoph Wurst2020-10-141-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use own psalm instead of a global oneChristoph Wurst2020-10-131-2/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove phan config - was replaced by PsalmMorris Jobke2020-09-161-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add psalm as composer dependencyDaniel Kesselberg2020-08-181-2/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Remove unused jakub-onderka/php-parallel-lintDaniel Kesselberg2020-06-261-2/+0
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* List ext-pdo as hard requirement for composerChristoph Wurst2020-05-281-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Respect exit code of lint run - changed from -exec to xargs as this exits ↵Morris Jobke2020-05-131-1/+1
| | | | | | properly Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Declare ext-json as dependency in composer.jsonChristoph Wurst2020-05-131-0/+3
| | | | | | | This makes phpstorm happy as it knows that the functions like json_encode are available. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Print diff in cs:check commandChristoph Wurst2020-04-151-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump coding standard lib for PSR2Christoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move legacy classes from PSR0 to PSR4Christoph Wurst2020-04-071-4/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add shared php-cs configChristoph Wurst2020-03-311-4/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Lint on github actionsRoeland Jago Douma2020-02-101-1/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move settings to an appChristoph Wurst2019-09-281-1/+0
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Add the legacy classes to the composer classmapRoeland Jago Douma2019-05-301-0/+3
| | | | | | | To have a faster autoloading. We should get rid of those of course. But for now I do not see it happening any time soon. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use classmap to load core filesRoeland Jago Douma2016-07-181-1/+2
| | | | | | We can't use an authoritive classmap in the current state as it would kill app loading. However we can use a proper classmap for the normal core stuff.
* Move OC\Core and OC\Settings to composer autoloaderLukas Reschke2016-04-051-0/+2
|
* Allos OCP classes to be PSR-4 as wellRoeland Jago Douma2016-03-221-1/+4
| | | | | This adds the OCP namespace to the composer autoloader as well. This means that now we can use proper PSR-4 filenames in OCP.
* Execute PHP Parallel Linter on TravisLukas Reschke2016-03-161-0/+4
|
* Add composers default autoloader to coreRoeland Jago Douma2016-03-091-0/+8
| | | | | | | | This introduces the defacto standard PSR-4 autoloader from composer into core. This will allow proper PSR-4 naming of our classes. Since our original autoloader is still available we can slowly switch over classes to PSR-4.
* Include copy of Symfony routing component, and don't use composerBart Visscher2012-10-271-18/+0
|
* More info for composer.jsonBart Visscher2012-10-271-0/+10
|
* Change Symfony/Component/Routing from submodule to composer fetchingBart Visscher2012-10-271-0/+8