diff --git a/docs/configuration.md b/docs/configuration.md index c9eb0674ced0a0accef65bdad2234cc44a97c4b0..3ba49a8a6099fa573a625671f569b99f8d05c853 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -36,7 +36,7 @@ definitions for a DI container to create objects. Pass a path to a file, which w definitions. Refer to [php-di documentation](https://php-di.org/doc/definitions.html) for more information on such file content. -> Warning +> *Warning* > > If you are using _shortcut_ functions from `php-di/php-di` (e.g. `DI\autowire`, `DI\create`), you > must load them first. Add `require __DIR__ . '/vendor_prefixed/php-di/php-di/src/functions.php';` diff --git a/docs/prefixing.md b/docs/prefixing.md index 5af1bbde394a3ffb7590b36c516cfad62b6aa1b8..b5e9589d7003ff92d28b4c10a6448d862663da8f 100644 --- a/docs/prefixing.md +++ b/docs/prefixing.md @@ -7,7 +7,7 @@ introduce following configuration to your `scoper.inc.php` file. - Whitelist `vendor/php-di/php-di/src/Compiler/Template.php` - Include `php-di` and it's dependencies in finders -> Note +> *Note* > > Pay attention to actual installed `php-di/php-di` version, as it's dependencies may change, > requiring to update `scoper.inc.php` accordingly.