di icon indicating copy to clipboard operation
di copied to clipboard

Joomla Framework DI Package

Results 6 di issues
Sort by recently updated
recently updated
newest added

### Summary of Changes Update gitignore ### Testing Instructions Review ### Documentation Changes Required None

See the results of phan in 3.x-dev. In `src/Container.php` line 467 and 483, the methods `\ReflectionType::isBuiltin()` and `\ReflectionType::getName()` are used, which don't exist in PHP 8 anymore. This needs to...

Some libraries require psr/container v2, but this component does not declare such compatibility. The only [difference between v1 and v2](https://github.com/php-fig/container/compare/1.1.2...2.0.2) is that `has()` now specifies a return type.

### Steps to reproduce the issue Use Joomla fw/ DI on my platform, install by composer ``` composer install "joomla/di" ``` ### Expected result Install without warning ### Actual result...

### Summary of Changes This PR introduces a new container method `def()` which returns a special resource builder allowing to configure service in a more convenient way using fluent interface:...

Changes the code base to arrow functions.