aboutsummaryrefslogtreecommitdiffstats
path: root/composer.json
Commit message (Collapse)AuthorAgeFilesLines
* build(psalm): Configure unstable namespacebuild/psalm/unstable-namespaceprovokateurin2024-11-121-0/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(core): setting NCU namespaceenh/noid/testing-namespaceMaxence Lange2024-11-071-1/+2
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* ci: Add psalm baseline for security and make CI fail on changeci/noid/improve-running-psalm-locallyJoas Schilling2024-10-011-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* ci: Improve usability of running different psalm modes locallyJoas Schilling2024-09-301-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore(rector): Move rector.php into the build folderfeat/add-rector-configCôme Chilliet2024-09-231-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Add rector script to composer.jsonCôme Chilliet2024-09-201-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: drop support for php 8.0Richard Steinmetz2024-04-081-2/+2
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* chore: Add extra options to silence composer warningsCôme Chilliet2024-02-051-0/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Let git ignore composer dev dependenciesFerdinand Thiessen2023-12-061-2/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Unify running a dev server (for automated testing)Christoph Wurst2023-11-021-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add all required PHP extensions to the composer.jsonCôme Chilliet2023-10-241-1/+11
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Install phpunit via vendor binChristoph Wurst2023-10-021-1/+4
| | | | | | | | This means we can all run the same version. And when switching to stableX it can pull the corresponding version too. Also local dev envs and CI run the same phpunit. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* psalm: Disable cachejld31032023-07-031-3/+3
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* fix(CI): Temporary workaround - Run Psalm CI with 1 thread only so it finishesJoas Schilling2023-06-011-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>