Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit adfbce1

Browse files
authored
Bump version v0.7 (#36)
* Replace composer scripts with Makefile * Update CHANGELOG * Clean README
1 parent b5d64f0 commit adfbce1

File tree

4 files changed

+32
-14
lines changed

4 files changed

+32
-14
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file
33
using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
44
This project adheres to [Semantic Versioning](http://semver.org/).
55

6+
## [0.7.0] 2019-05-25
7+
8+
### Changed
9+
10+
- Use multi-byte functions (#34)
11+
- Use more strict code (comparisons, assertions, type-hints) (#35)
12+
613
## [0.6.0] 2018-12-18
714

815
### Changed

Makefile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
TMP_DIR=./build
3+
4+
.PHONY: clean
5+
6+
help:
7+
@echo "Use 'make (composer | cs-check | cs-fix | all-tests | clean)'"
8+
9+
composer:
10+
composer install
11+
12+
cs-check:
13+
./vendor/bin/php-cs-fixer fix --verbose --dry-run --diff
14+
15+
cs-fix:
16+
./vendor/bin/php-cs-fixer fix --verbose
17+
18+
all-tests:
19+
./vendor/bin/phpunit
20+
21+
clean:
22+
@echo "Cleans all temporary files"
23+
rm -fR $(TMP_DIR)
24+
25+
all: composer cs-check all-tests clean

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
[![Coverage Status][ico-scrutinizer]][link-scrutinizer]
77
[![Quality Score][ico-code-quality]][link-code-quality]
88
[![Total Downloads][ico-downloads]][link-downloads]
9-
<!-- [![Code Style][ico-cs]][link-cs] -->
109

1110
## Install
1211

@@ -23,11 +22,6 @@ composer require rebilly/openapi-php
2322
## Testing
2423

2524
```bash
26-
# install required files
27-
composer self-update
28-
composer install
29-
30-
# run the test (from project root)
3125
phpunit
3226
```
3327

@@ -46,11 +40,9 @@ The MIT License (MIT). Please see [License File](LICENSE) for more information.
4640
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/Rebilly/openapi-php.svg?style=flat-square
4741
[ico-code-quality]: https://img.shields.io/scrutinizer/g/Rebilly/openapi-php.svg?style=flat-square
4842
[ico-downloads]: https://img.shields.io/packagist/dt/Rebilly/openapi-php.svg?style=flat-square
49-
[ico-cs]: https://styleci.io/repos/58494094/shield
5043

5144
[link-packagist]: https://packagist.org/packages/rebilly/openapi-php
5245
[link-travis]: https://travis-ci.org/Rebilly/openapi-php
5346
[link-scrutinizer]: https://scrutinizer-ci.com/g/Rebilly/openapi-php/code-structure
5447
[link-code-quality]: https://scrutinizer-ci.com/g/Rebilly/openapi-php
5548
[link-downloads]: https://packagist.org/packages/rebilly/openapi-php
56-
[link-cs]: https://styleci.io/repos/58494094

composer.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@
3838
"suggest": {
3939
"guzzlehttp/guzzle": "~6.2"
4040
},
41-
"scripts": {
42-
"cs": "./vendor/bin/php-cs-fixer fix --verbose --dry-run",
43-
"cs-fix": "./vendor/bin/php-cs-fixer fix --verbose",
44-
"test-wip": "./vendor/bin/phpunit --group=wip",
45-
"test": "./vendor/bin/phpunit"
46-
},
4741
"extra": {
4842
"branch-alias": {
4943
"dev-master": "1.0.x-dev"

0 commit comments

Comments
 (0)