{
	"repositories": [
		{
			"type": "pear",
			"url": "https://pear.horde.org"
		},
		{
			"type": "vcs",
			"url": "https://github.com/kwi-dk/UrlLinker",
			"branch": "bleeding"
		}
	],
	"config": {
		"platform": {
			"php": "7.3"
		},
		"sort-packages": true
	},
	"require": {
		"php": ">=7.3",
		"arthurhoaro/favicon": "^1.2",
		"bamarni/composer-bin-plugin": "^1.4",
		"cerdic/css-tidy": "v1.7.3",
		"christophwurst/kitinerary": "^0.2",
		"christophwurst/kitinerary-bin": "^0.2",
		"christophwurst/kitinerary-flatpak": "^0.2",
		"christophwurst/kitinerary-sys": "^0.1.0",
		"ezyang/htmlpurifier": "4.14.0",
		"gravatarphp/gravatar": "^2.0",
		"pear-pear.horde.org/horde_date": "^2.4.1@stable",
		"pear-pear.horde.org/horde_exception": "^2.0.8@stable",
		"pear-pear.horde.org/horde_imap_client": "^2.29.16@stable",
		"pear-pear.horde.org/horde_mail": "^2.6.4@stable",
		"pear-pear.horde.org/horde_managesieve": "^1.0",
		"pear-pear.horde.org/horde_mime": "^2.11.0@stable",
		"pear-pear.horde.org/horde_nls": "^2.2.1@stable",
		"pear-pear.horde.org/horde_smtp": "^1.9.5@stable",
		"pear-pear.horde.org/horde_stream": "^1.6.3@stable",
		"pear-pear.horde.org/horde_stringprep": "^1.0",
		"pear-pear.horde.org/horde_support": "^2.2.0@stable",
		"pear-pear.horde.org/horde_text_filter": "^2.3.5@stable",
		"pear-pear.horde.org/horde_text_flowed": "^2.0.3@stable",
		"pear-pear.horde.org/horde_util": "^2.5.8@stable",
		"psr/log": "^1",
		"rubix/ml": "0.4.1",
		"sabberworm/php-css-parser": "^8.3",
		"youthweb/urllinker": "^1.3"
	},
	"require-dev": {
		"christophwurst/nextcloud": "^21.0.0",
		"psalm/phar": "^4.6",
		"roave/security-advisories": "dev-master"
	},
	"autoload": {
		"files": [
			"lib/functions.php"
		]
	},
	"scripts": {
		"cs:check": "php-cs-fixer fix --dry-run --diff",
		"cs:fix": "php-cs-fixer fix",
		"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
		"psalm": "psalm.phar",
		"psalm:fix": "psalm.phar --alter --issues=InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType",
		"post-install-cmd": [
			"@composer bin all install --ansi",
			"\"vendor/bin/mozart\" compose",
			"composer dump-autoload"
		],
		"post-update-cmd": [
			"@composer bin all update --ansi",
			"\"vendor/bin/mozart\" compose",
			"composer dump-autoload"
		],
		"test:integration": "phpunit -c tests/phpunit.integration.xml --fail-on-warning",
		"test:integration:dev": "phpunit -c tests/phpunit.integration.xml --no-coverage --order-by=defects --stop-on-defect --fail-on-warning --stop-on-error --stop-on-failure",
		"test:unit": "phpunit -c tests/phpunit.unit.xml --fail-on-warning",
		"test:unit:dev": "phpunit -c tests/phpunit.unit.xml --no-coverage --order-by=defects --stop-on-defect --fail-on-warning --stop-on-error --stop-on-failure"
	},
	"extra": {
		"mozart": {
			"dep_namespace": "OCA\\Mail\\Vendor\\",
			"dep_directory": "/lib/Vendor/",
			"classmap_directory": "/lib/autoload/",
			"classmap_prefix": "NEXTCLOUDMAIL_",
			"packages": [
				"arthurhoaro/favicon",
				"gravatarphp/gravatar"
			]
		}
	}
}
