-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
35 lines (35 loc) · 1.17 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"name": "rajatahirqaiser/php_code_challenge",
"description": "PHP Code challenge as Technical Test for Hivelocity Inc.",
"autoload": {
"classmap": [
"src/"
]
},
"require-dev": {
"phpunit/phpunit": "^9"
},
"scripts": {
"test-case-sample-file-not-exists": [
"rm -f tests/support/data_sample.csv",
"./vendor/bin/phpunit tests"
],
"test-case-sample-file-permissions-error": [
"rm -f tests/support/data_sample.csv",
"cp tests/support/data_sample.tmp.csv tests/support/data_sample.csv",
"chmod 0 tests/support/data_sample.csv",
"./vendor/bin/phpunit tests"
],
"test-case-sample-file-empty": [
"rm -f tests/support/data_sample.csv",
"echo \"\" > tests/support/data_sample.csv",
"chmod 755 tests/support/data_sample.csv",
"./vendor/bin/phpunit tests",
"rm tests/support/data_sample.csv"
],
"run-unit-test": [
"cp tests/support/data_sample.tmp.csv tests/support/data_sample.csv",
"./vendor/bin/phpunit tests"
]
}
}