Files
itflow/plugins/vendor/php-di/php-di/composer.json
johnnyq 2204bd52f4 Rewrite email parser using ImapEngine, harden processing loop
Replace webklex/php-imap with directorytree/imapengine in the ticket
email parser. ImapEngine is pure PHP over sockets.

Parser improvements:
- Wrap per-message processing in try/catch so one malformed email
  can't abort the run; failures are flagged and logged with UID
- Query unseen + unflagged so previously-failed (flagged) messages
  are no longer re-processed on every cron run
- Skip vacation/auto-responder emails (RFC 3834) to prevent mail
  loops with the ticket auto-reply
- Cap messages per run (50) and attachment size (15MB); inline
  images over 2MB are stored as attachments instead of base64-embedded
  in ticket details
- Atomic lock file creation
- preg_quote() the ticket prefix in subject matching
- Dedupe CC watchers and exclude the sender
- Map webklex 'tls' encryption setting to STARTTLS for compatibility

NDR/DSN parsing now walks MIME parts via the underlying
zbateson parser instead of relying on attachment extraction.
2026-06-12 16:56:39 -04:00

46 lines
1.3 KiB
JSON

{
"name": "php-di/php-di",
"type": "library",
"description": "The dependency injection container for humans",
"keywords": ["di", "dependency injection", "container", "ioc", "psr-11", "psr11", "container-interop"],
"homepage": "https://php-di.org/",
"license": "MIT",
"autoload": {
"psr-4": {
"DI\\": "src/"
},
"files": [
"src/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"DI\\Test\\IntegrationTest\\": "tests/IntegrationTest/",
"DI\\Test\\UnitTest\\": "tests/UnitTest/"
}
},
"scripts": {
"test": "phpunit",
"format-code": "php-cs-fixer fix --allow-risky=yes"
},
"require": {
"php": ">=8.0",
"psr/container": "^1.1 || ^2.0",
"php-di/invoker": "^2.0",
"laravel/serializable-closure": "^1.0 || ^2.0"
},
"require-dev": {
"phpunit/phpunit": "^9.6 || ^10 || ^11",
"mnapoli/phpunit-easymock": "^1.3",
"friendsofphp/proxy-manager-lts": "^1",
"friendsofphp/php-cs-fixer": "^3",
"vimeo/psalm": "^5|^6"
},
"provide": {
"psr/container-implementation": "^1.0"
},
"suggest": {
"friendsofphp/proxy-manager-lts": "Install it if you want to use lazy injection (version ^1)"
}
}