Skip to content

Commit 5c359f5

Browse files
committed
chore: update psalm and add support for NC32
Signed-off-by: Jana Peper <[email protected]>
1 parent c173071 commit 5c359f5

File tree

17 files changed

+2088
-582
lines changed

17 files changed

+2088
-582
lines changed

appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ or any place where the smart picker is integrated.]]></description>
2020
<screenshot>https://github.com/julien-nc/text_templates/raw/main/img/screenshot3.jpg</screenshot>
2121
<screenshot>https://github.com/julien-nc/text_templates/raw/main/img/screenshot4.jpg</screenshot>
2222
<dependencies>
23-
<nextcloud min-version="26" max-version="31"/>
23+
<nextcloud min-version="26" max-version="32"/>
2424
</dependencies>
2525
<settings>
2626
<admin>OCA\TextTemplates\Settings\Admin</admin>

appinfo/routes.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Nextcloud - TextTemplates
45
*

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
],
1313
"scripts": {
1414
"lint": "find . -name \\*.php -not -path './vendor*' -print0 | xargs -0 -n1 php -l",
15-
"cs:check": "php-cs-fixer fix --dry-run --diff",
16-
"cs:fix": "php-cs-fixer fix",
15+
"cs:check": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix --dry-run --diff",
16+
"cs:fix": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix",
1717
"psalm": "psalm --no-cache",
1818
"test:unit": "phpunit --config tests/phpunit.xml",
1919
"post-install-cmd": [
@@ -26,11 +26,12 @@
2626
]
2727
},
2828
"require": {
29-
"php": "^8.0 || ^8.1 || ^8.2 || ^8.3",
29+
"php": "^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4",
3030
"bamarni/composer-bin-plugin": "^1.8"
3131
},
3232
"require-dev": {
33-
"nextcloud/ocp": "dev-master"
33+
"nextcloud/ocp": "dev-master",
34+
"doctrine/dbal": "^3.9.1"
3435
},
3536
"autoload": {
3637
"psr-4": {
@@ -45,7 +46,7 @@
4546
"config": {
4647
"optimize-autoloader": true,
4748
"platform": {
48-
"php": "8.0"
49+
"php": "8.1"
4950
},
5051
"allow-plugins": {
5152
"bamarni/composer-bin-plugin": true,

0 commit comments

Comments
 (0)