diff --git a/README.md b/README.md index 319d1ae..c6bfa8f 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The package provides an ability to record performance profiles. The package could be installed with [Composer](https://getcomposer.org): ```shell -composer require yiisoft/profiler +composer require --dev yiisoft/profiler ``` If you use this package with [Yii Config](https://github.com/yiisoft/config) and there will be no `@runtime` alias in `yiisoft/aliases` configuration defined, application will throw "Invalid path alias" error. diff --git a/composer.json b/composer.json index 88e16e6..c60d167 100644 --- a/composer.json +++ b/composer.json @@ -63,4 +63,4 @@ "test": "phpunit --testdox --no-interaction", "test-watch": "phpunit-watcher watch" } -} \ No newline at end of file +} diff --git a/docs/internals.md b/docs/internals.md index 8dc4049..087a514 100644 --- a/docs/internals.md +++ b/docs/internals.md @@ -25,7 +25,7 @@ The code is statically analyzed with [Psalm](https://psalm.dev/). To run static ./vendor/bin/psalm ``` -## Rector +## Code style Use [Rector](https://github.com/rectorphp/rector) to make codebase follow some specific rules or use either newest or any specific version of PHP: @@ -34,11 +34,10 @@ use either newest or any specific version of PHP: ./vendor/bin/rector ``` -## Composer require checker +## Dependencies -This package uses [composer-require-checker](https://github.com/maglnet/ComposerRequireChecker) to check if all dependencies are correctly defined in `composer.json`. - -To run the checker, execute the following command: +This package uses [composer-require-checker](https://github.com/maglnet/ComposerRequireChecker) to check if +all dependencies are correctly defined in `composer.json`. To run the checker, execute the following command: ```shell ./vendor/bin/composer-require-checker