mirror of
https://github.com/MetaProvide/nextcloud-swarm-plugin.git
synced 2025-01-26 20:59:58 +00:00
f2501b13ea
* feat(cs): update cs config * feat(cs): update composer deps * feat(cs): gitignore * feat(cs): add pipeline * feat(cs): code style * perf(cs): update pipeline - refactor: changed name to Lint - add: auto commit action - add: fast fail - update: install only cs-fixer dep * Apply automatic changes * feat(cs): update auto commit - update: commit message * feat(cs): enable PSR12 and PhpCsFixer rules - add: extend NC rules - chore: lint new rules - fix: OC PSR4 detection - add: global imports - add: trailing comma in arrays and etc * refactor(file): find_exists return value * chore: fix code style * refactor(swarm): ref check and param arg type * refactor(swarm): param arg type * chore: fix code style --------- Co-authored-by: mahiarirani <mahiarirani@users.noreply.github.com> Co-authored-by: JoaoSRaposo <joaosraposo@gmail.com>
22 lines
609 B
JSON
22 lines
609 B
JSON
{
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"OC\\": "dev-environment/nextcloud_source/lib/",
|
|
"OCP\\": "dev-environment/nextcloud_source/lib/public/",
|
|
"OCA\\Files_External\\": "dev-environment/nextcloud_source/apps/files_external/lib/",
|
|
"OCA\\Files_External_Ethswarm\\": "lib/"
|
|
}
|
|
},
|
|
"require": {
|
|
"ext-curl": "*"
|
|
},
|
|
"require-dev": {
|
|
"nextcloud/coding-standard": "^1.3.2",
|
|
"ext-fileinfo": "*",
|
|
"friendsofphp/php-cs-fixer": "*"
|
|
},
|
|
"scripts": {
|
|
"cs:check": "./vendor/php-cs-fixer/shim/php-cs-fixer.phar fix --dry-run --diff",
|
|
"cs:fix": "./vendor/php-cs-fixer/shim/php-cs-fixer.phar fix"
|
|
}
|
|
}
|