Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
olvlvl committed Sep 17, 2023
1 parent 7a09d87 commit edbc519
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
[![Downloads](https://img.shields.io/packagist/dt/olvlvl/composer-attribute-collector.svg)](https://packagist.org/packages/olvlvl/composer-attribute-collector)

composer-attribute-collector is a plugin for [Composer][]. Its ambition is to provide a convenient
and near zero-cost way to retrieve targets of PHP 8 attributes. After the autoloader has been
way—and near zero-costto retrieve targets of PHP 8 attributes. After the autoloader has been
dumped, the plugin collects attribute targets and generates a static file. Later, these targets can
be retrieved through a convenient interface, without involving reflexion.
be retrieved through a convenient interface, without involving reflection. The plugin is useful when
you need to _discover_ attributes in a codebase—for known classes you can use reflection.



Expand Down
2 changes: 0 additions & 2 deletions src/MemoizeAttributeCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

use Composer\IO\IOInterface;
use ReflectionException;

use RuntimeException;
use Throwable;

use function array_filter;
Expand Down

0 comments on commit edbc519

Please sign in to comment.