Compare commits
1 commit
master
...
renovate/f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
645e7b4703 |
3 changed files with 458 additions and 387 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "deblan/clivern-imap",
|
||||
"name": "clivern/imap",
|
||||
"type": "library",
|
||||
"description": "Access Mailbox Using PHP IMAP",
|
||||
"keywords": ["clivern", "imap"],
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "5.7.27",
|
||||
"friendsofphp/php-cs-fixer": "2.16.1",
|
||||
"friendsofphp/php-cs-fixer": "2.19.3",
|
||||
"squizlabs/php_codesniffer": "3.5.4"
|
||||
},
|
||||
"autoload": {
|
||||
|
|
|
|||
843
composer.lock
generated
843
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -226,7 +226,7 @@ class Attachment
|
|||
$this->attachment['ifdparameters'] = (isset($this->part->ifdparameters)) ? $this->part->ifdparameters : false;
|
||||
$this->attachment['ifparameters'] = (isset($this->part->ifparameters)) ? $this->part->ifparameters : false;
|
||||
|
||||
if (isset($this->part->dparameters) && \is_array($this->part->dparameters)) {
|
||||
if (\is_array($this->part->dparameters)) {
|
||||
foreach ($this->part->dparameters as $obj) {
|
||||
if (\in_array(mb_strtolower($obj->attribute), ['filename', 'name'], true)) {
|
||||
$this->attachment[mb_strtolower($obj->attribute)] = pathinfo($obj->value, PATHINFO_FILENAME);
|
||||
|
|
@ -235,7 +235,7 @@ class Attachment
|
|||
}
|
||||
}
|
||||
|
||||
if (isset($this->part->parameters) && \is_array($this->part->parameters)) {
|
||||
if (\is_array($this->part->parameters)) {
|
||||
foreach ($this->part->parameters as $obj) {
|
||||
if (\in_array(mb_strtolower($obj->attribute), ['filename', 'name'], true)) {
|
||||
$this->attachment[mb_strtolower($obj->attribute)] = pathinfo($obj->value, PATHINFO_FILENAME);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue