Skip to content

Commit bdae989

Browse files
committed
feat: add new customer creation script with metadata handling
1 parent 02ae2eb commit bdae989

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

composer.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
},
2323
"require-dev": {
2424
"phpunit/phpunit": "~5.7 || ~9.5",
25-
"squizlabs/php_codesniffer": "~3.6",
26-
"friendsofphp/php-cs-fixer": "^3.75"
25+
"squizlabs/php_codesniffer": "~3.6"
2726
},
2827
"autoload": {
2928
"psr-4": { "Payjp\\" : "lib/" }
@@ -39,7 +38,14 @@
3938
"phpunit"
4039
],
4140
"fix": [
41+
"@php -r \"if (PHP_VERSION_ID < 70400) { echo 'PHP 7.4 or higher is required. Current version: ' . PHP_VERSION . PHP_EOL; exit(1); }\"",
4242
"PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes"
4343
]
44+
},
45+
"config": {
46+
"platform-check": false
47+
},
48+
"suggest": {
49+
"friendsofphp/php-cs-fixer": "Required for the fix command (requires PHP >= 7.4)"
4450
}
4551
}

0 commit comments

Comments
 (0)