diff --git a/README.md b/README.md index 1a35015..7c78914 100644 --- a/README.md +++ b/README.md @@ -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/) @@ -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 @@ -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 /!\ diff --git a/changelog.md b/changelog.md index 5e2f2a2..5581c08 100644 --- a/changelog.md +++ b/changelog.md @@ -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.