Skip to content

Commit 589fbdb

Browse files
committed
Reformatted composer.json and added phpunit to scripts
1 parent 3929279 commit 589fbdb

File tree

1 file changed

+26
-18
lines changed

1 file changed

+26
-18
lines changed

composer.json

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,37 @@
11
{
2-
"name" : "nerou/formula",
3-
"description" : "An open source PHP formula parser based on https://github.com/socialist/formula",
4-
"require" : {
5-
"php" : ">=8.1"
2+
"name": "nerou/formula",
3+
"description": "An open source PHP formula parser based on https://github.com/socialist/formula",
4+
"require": {
5+
"php": ">=8.1"
66
},
7-
"autoload" : {
8-
"psr-4" : {
9-
"TimoLehnertz\\formula\\" : "src/"
7+
"autoload": {
8+
"psr-4": {
9+
"TimoLehnertz\\formula\\": "src/"
1010
}
1111
},
12-
"keywords" : [
12+
"keywords": [
1313
"formula",
1414
"math"
1515
],
16-
"readme" : "README.md",
17-
"license" : "MIT",
18-
"authors" : [{
19-
"name" : "Social IST",
20-
"email" : "[email protected]"
21-
}, {
22-
"name" : "Timo Lehnertz"
16+
"readme": "README.md",
17+
"license": "MIT",
18+
"authors": [
19+
{
20+
"name": "Social IST",
21+
"email": "[email protected]"
22+
},
23+
{
24+
"name": "Timo Lehnertz"
2325
}
2426
],
25-
"require-dev" : {
27+
"scripts": {
28+
"phpunit": "phpunit test",
29+
"tests": [
30+
"@phpunit"
31+
]
32+
},
33+
"require-dev": {
2634
"psalm/phar": "5.23",
27-
"phpunit/phpunit" : "9.5.*"
35+
"phpunit/phpunit": "9.5.*"
2836
}
29-
}
37+
}

0 commit comments

Comments
 (0)