Skip to content

Commit ab1192c

Browse files
committed
Add php-cs-fixer and composer script
1 parent 347f30b commit ab1192c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,16 @@
3333
},
3434
"require-dev": {
3535
"phpunit/phpunit": "^6.3",
36-
"mikey179/vfsStream": "^1.6"
36+
"mikey179/vfsStream": "^1.6",
37+
"friendsofphp/php-cs-fixer": "^2.7"
3738
},
3839
"autoload": {
3940
"psr-0": {
4041
"Pdp\\": "src/"
4142
}
4243
},
4344
"scripts": {
44-
"post-install-cmd": "php bin/update-psl"
45+
"post-install-cmd": "php bin/update-psl",
46+
"pcf": "php-cs-fixer fix --verbose"
4547
}
4648
}

0 commit comments

Comments
 (0)