Skip to content

Commit

Permalink
2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
steevanb committed Oct 11, 2019
1 parent ba69143 commit 18ad4f6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![version](https://img.shields.io/badge/version-2.0.1-green.svg)](https://github.com/steevanb/php-typed-array/tree/2.0.1)
[![version](https://img.shields.io/badge/version-2.1.0-green.svg)](https://github.com/steevanb/php-typed-array/tree/2.1.0)
[![php](https://img.shields.io/badge/php-^7.1-blue.svg)](https://php.net)
![Lines](https://img.shields.io/badge/code%20lines-1267-green.svg)
![Lines](https://img.shields.io/badge/code%20lines-1738-green.svg)
![Total Downloads](https://poser.pugx.org/steevanb/php-typed-array/downloads)
[![Scrutinizer](https://scrutinizer-ci.com/g/steevanb/php-typed-array/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/steevanb/php-typed-array/)

Expand All @@ -15,7 +15,7 @@ With `php-typed-array`, you can type your array values. How ? Cause now you will
### Installation

```
composer require steevanb/php-typed-array ^2.0
composer require steevanb/php-typed-array ^2.1
```

### Typed array available
Expand All @@ -26,6 +26,12 @@ composer require steevanb/php-typed-array ^2.0

`ObjectArray`: can store `object`

`ByteStringArray`: can store `Symfony\Component\String\ByteString` (need `symfony/string` to work)

`CodePointStringArray`: can store `Symfony\Component\String\CodePointStringArray` (need `symfony/string` to work)

`UnicodeStringArray`: can store `Symfony\Component\String\UnicodeStringArray` (need `symfony/string` to work)

### Usage

/!\ See [Limitations](https://github.com/steevanb/php-typed-array#limitations) before using it, PHP have a lot of limitations with objects as array /!\
Expand Down
14 changes: 12 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
### [2.0.1](../../compare/2.0.0...2.0.1) - 2018-05-10
### [2.1.0](../../compare/2.0.1...2.1.0) - 2019-10-11

- [[BaBeuloula](https://github.com/babeuloula)] Add `steevanb\PhpTypedArray\ObjectArray\ByteStringArray`
- [[BaBeuloula](https://github.com/babeuloula)] Add `steevanb\PhpTypedArray\ObjectArray\CodePointStringArray`
- [[BaBeuloula](https://github.com/babeuloula)] Add `steevanb\PhpTypedArray\ObjectArray\UnicodeStringArray`
- Add composerRequireChecker
- Add phpcf
- Update phpcs to 2.0.10
- Add phpstan

### [2.0.1](../../compare/2.0.0...2.0.1) - 2019-05-10

- Add `/** @return $this */` when a method return self for PHPStorm autocompletion.

### [2.0.0](../../compare/1.1.0...2.0.0) - 2018-04-27
### [2.0.0](../../compare/1.1.0...2.0.0) - 2019-04-27

- Moved `steevanb\PhpTypedArray\IntArray`, `steevanb\PhpTypedArray\IntNullableArray`, `steevanb\PhpTypedArray\StringArray` and `steevanb\PhpTypedArray\StringNullableArray` into `steevanb\PhpTypedArray\ScalarArray` namespace.
- Moved `steevanb\PhpTypedArray\ObjectArray` into `steevanb\PhpTypedArray\ObjectArray` namespace.
Expand Down

0 comments on commit 18ad4f6

Please sign in to comment.