Skip to content

Commit 4064175

Browse files
authored
Merge pull request #22 from nextmcloud/nmc/raise-version-number
raised max version number, added composer.json
2 parents 69a28fd + e864ca5 commit 4064175

21 files changed

Lines changed: 2093 additions & 258 deletions

.github/workflows/lint-eslint.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.idea
2+
*.iml
3+
/vendor/
4+
/build/
5+
node_modules/
6+
/.php_cs.cache
7+
/.php-cs-fixer.cache
8+
/lib/Vendor
9+
tests/.phpunit.result.cache
10+
/vendor-bin/mozart/vendor
11+
.DS_Store
12+
/css/**/*.css
13+
/css/**/*.css.map
14+
/dist/
15+
/js/

.php-cs-fixer.dist.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
require_once './vendor/autoload.php';
6+
7+
use Nextcloud\CodingStandard\Config;
8+
9+
$config = new Config();
10+
$config
11+
->getFinder()
12+
->notPath('node_modules')
13+
->notPath('l10n')
14+
->notPath('src')
15+
->notPath('vendor')
16+
->in(__DIR__);
17+
return $config;

appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<category>customization</category>
1212

1313
<dependencies>
14-
<nextcloud min-version="17" max-version="25" />
14+
<nextcloud min-version="17" max-version="27" />
1515
</dependencies>
1616

1717
<types>

composer.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "nextmcloud/nmc_email_template",
3+
"description": "NMC E-Mail Template",
4+
"type": "project",
5+
"license": "AGPL",
6+
"authors": [
7+
{
8+
"name": "Marius Blüm"
9+
}
10+
],
11+
"config": {
12+
"optimize-autoloader": true,
13+
"classmap-authoritative": true
14+
},
15+
"require-dev": {
16+
"nextcloud/coding-standard": "^1.1",
17+
"phpunit/phpunit": "^9.6"
18+
},
19+
"scripts": {
20+
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
21+
"cs:check": "php-cs-fixer fix --dry-run --diff",
22+
"cs:fix": "php-cs-fixer fix"
23+
}
24+
}

0 commit comments

Comments
 (0)