0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

try relaxing composer dependencies to allow php8.2 dev support, reformat so composer format passes

This commit is contained in:
David Goodwin 2024-04-22 21:02:01 +01:00
parent d3dfe6382b
commit f01274ec94
No known key found for this signature in database
31 changed files with 273 additions and 273 deletions

View File

@ -32,11 +32,12 @@
"ext-mysqli": "*", "ext-mysqli": "*",
"ext-sqlite3": "*", "ext-sqlite3": "*",
"ext-mbstring": "*", "ext-mbstring": "*",
"friendsofphp/php-cs-fixer": "^3.0", "friendsofphp/php-cs-fixer": "^3.54.0",
"php-parallel-lint/php-parallel-lint": "^1.0", "php-parallel-lint/php-parallel-lint": "^1.0",
"php": ">= 7.4", "php": ">= 7.4",
"php-coveralls/php-coveralls": "*", "php-coveralls/php-coveralls": "*",
"phpunit/phpunit": "8.*", "phpunit/phpunit": "8.*|9.*",
"psalm/phar":"^4.0", "psalm/phar":"^4.0",
"shardj/zf1-future" : "^1.12" "shardj/zf1-future" : "^1.12"
}, },

View File

@ -392,7 +392,6 @@ class MailboxHandler extends PFAHandler
} }
protected function _prefill_domain($field, $val) protected function _prefill_domain($field, $val)
{ {
if (in_array($val, $this->struct[$field]['options'])) { if (in_array($val, $this->struct[$field]['options'])) {
@ -469,7 +468,6 @@ class MailboxHandler extends PFAHandler
# public function _formatted_quota ($item) { return $item['used_quota'] . ' / ' . $item['quota'] ; } # public function _formatted_quota ($item) { return $item['used_quota'] . ' / ' . $item['quota'] ; }
/** /**
* calculate maildir path for the mailbox * calculate maildir path for the mailbox
*/ */

View File

@ -1,5 +1,6 @@
#!/bin/env php #!/bin/env php
<?php <?php
// Get positional arguments // Get positional arguments
$USERNAME = $argv[1]; $USERNAME = $argv[1];
$DOMAIN = $argv[2]; $DOMAIN = $argv[2];