diff --git a/README.md b/README.md index c388ead..7115de8 100644 --- a/README.md +++ b/README.md @@ -155,13 +155,11 @@ $car = new Car(); $data = $car->toArray(['type', 'color']); // ['type' => 'Crossover', 'color' => 'Red'] ``` -## Testing - ### Unit testing The package is tested with [PHPUnit](https://phpunit.de/). To run tests: -``` +```shell ./vendor/bin/phpunit ``` @@ -169,7 +167,7 @@ The package is tested with [PHPUnit](https://phpunit.de/). To run tests: The package tests are checked with [Infection](https://infection.github.io/) mutation framework. To run it: -``` +```shell ./vendor/bin/infection ``` @@ -177,10 +175,22 @@ The package tests are checked with [Infection](https://infection.github.io/) mut The code is statically analyzed with [Psalm](https://psalm.dev/). To run static analysis: -``` +```shell ./vendor/bin/psalm ``` +### Support the project + +[![Open Collective](https://img.shields.io/badge/Open%20Collective-sponsor-7eadf1?logo=open%20collective&logoColor=7eadf1&labelColor=555555)](https://opencollective.com/yiisoft) + +### Follow updates + +[![Official website](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=flat)](https://www.yiiframework.com/) +[![Twitter](https://img.shields.io/badge/twitter-follow-1DA1F2?logo=twitter&logoColor=1DA1F2&labelColor=555555?style=flat)](https://twitter.com/yiiframework) +[![Telegram](https://img.shields.io/badge/telegram-join-1DA1F2?style=flat&logo=telegram)](https://t.me/yii3en) +[![Facebook](https://img.shields.io/badge/facebook-join-1DA1F2?style=flat&logo=facebook&logoColor=ffffff)](https://www.facebook.com/groups/yiitalk) +[![Slack](https://img.shields.io/badge/slack-join-1DA1F2?style=flat&logo=slack)](https://yiiframework.com/go/slack) + ## License The Yii Arrays is free software. It is released under the terms of the BSD License. diff --git a/composer.json b/composer.json index b99f6b3..088b0bc 100644 --- a/composer.json +++ b/composer.json @@ -20,11 +20,11 @@ "prefer-stable": true, "require": { "php": "^7.4|^8.0", - "yiisoft/strings": "^1.0.1" + "yiisoft/strings": "^1.1" }, "require-dev": { "phpunit/phpunit": "^9.4", - "roave/infection-static-analysis-plugin": "^1.3", + "roave/infection-static-analysis-plugin": "^1.4", "vimeo/psalm": "^4.1" }, "autoload": {