composer.json
{
"name": "keboola/php-utils",
"description": "Misc utility functions",
"license": "MIT",
"keywords": [
"utility"
],
"authors": [
{
"name": "Keboola",
"email": "devel@keboola.com"
}
],
"require": {
"php": ">=7.4",
"seld/jsonlint": "^1.4",
"keboola/sanitizer": "^0.1"
},
"require-dev": {
"keboola/coding-standard": "^13.0",
"phpunit/phpunit": "~5.0"
},
"scripts": {
"phpcs": "phpcs --standard=psr2 --ignore=vendor -n src tests",
"phpunit": "phpunit --whitelist=src/",
"ci": [
"@phpcs",
"@phpunit"
]
},
"autoload": {
"files": [
"src/Keboola/Utils/jsonDecode.php",
"src/Keboola/Utils/sanitizeUtf8.php",
"src/Keboola/Utils/objectToArray.php",
"src/Keboola/Utils/formatDateTime.php",
"src/Keboola/Utils/replaceDates.php",
"src/Keboola/Utils/replaceDatesInArray.php",
"src/Keboola/Utils/buildUrl.php",
"src/Keboola/Utils/httpBuildUrl.php",
"src/Keboola/Utils/returnBytes.php",
"src/Keboola/Utils/camelize.php",
"src/Keboola/Utils/getDataFromPath.php",
"src/Keboola/Utils/isValidDateTimeString.php",
"src/Keboola/Utils/flattenArray.php",
"src/Keboola/Utils/arrayToObject.php",
"src/Keboola/Utils/isEmptyObject.php",
"src/Keboola/Utils/stripInvalidUtf16.php",
"src/Keboola/Utils/toAscii.php",
"src/Keboola/Utils/sanitizeColumnName.php",
"src/Keboola/Utils/formatBytes.php",
"src/Keboola/Utils/castToBool.php"
],
"psr-0": {
"Keboola\\Utils": "src/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": false
}
}
}