Skip to content

Commit

Permalink
Hardening (#5)
Browse files Browse the repository at this point in the history
* Adding dependencies to keep psr-2 compliance.

* Updating code climate id.

* Update code climate and circleci badges.
  • Loading branch information
fmizzell authored Aug 1, 2019
1 parent 6acf625 commit 9ebb112
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.0
jobs:
build:
environment:
CC_TEST_REPORTER_ID: b7cf8a6ece88a3d25d7f7e17598ff78f7baae88e66c8903b478f8e65b53ed876
CC_TEST_REPORTER_ID: 2ecadaa1fe4b1917c00e1e9e79591bfa4dad375145696201016a1fd090e33577
docker:
- image: circleci/php:7-cli-node-browsers-legacy
working_directory: ~/repo
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CSV Parser
![CircleCI (all branches)](https://img.shields.io/circleci/project/github/fmizzell/csv-parser.svg)
[![Maintainability](https://api.codeclimate.com/v1/badges/4a8830b21fcd4debff22/maintainability)](https://codeclimate.com/github/fmizzell/csv-parser/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/4a8830b21fcd4debff22/test_coverage)](https://codeclimate.com/github/fmizzell/csv-parser/test_coverage)
[![CircleCI](https://circleci.com/gh/GetDKAN/csv-parser.svg?style=svg)](https://circleci.com/gh/GetDKAN/csv-parser)
[![Maintainability](https://api.codeclimate.com/v1/badges/fd8b0e84a063da2ebfe6/maintainability)](https://codeclimate.com/github/GetDKAN/csv-parser/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/fd8b0e84a063da2ebfe6/test_coverage)](https://codeclimate.com/github/GetDKAN/csv-parser/test_coverage)
[![GPLv3 license](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.en.html)

A state-machine driven CSV parser and validator.
16 changes: 13 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,21 @@
"CsvParserTest\\": "test/"
}
},
"require-dev": {
"phpunit/phpunit": "^7.5",
"bugatino/phpcs-git-pre-commit": "dev-master",
"squizlabs/php_codesniffer": "^3.4"
},
"scripts": {
"post-install-cmd": [
"sh ./vendor/bugatino/phpcs-git-pre-commit/src/setup.sh"
],
"post-update-cmd": [
"sh ./vendor/bugatino/phpcs-git-pre-commit/src/setup.sh"
]
},
"require": {
"fmizzell/maquina": "1.0.0",
"getdkan/contracts": "~0.1.0"
},
"require-dev": {
"phpunit/phpunit": "^7.4"
}
}

0 comments on commit 9ebb112

Please sign in to comment.