Skip to content

Commit edbc519

Browse files
committed
Update README
1 parent 7a09d87 commit edbc519

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
[![Downloads](https://img.shields.io/packagist/dt/olvlvl/composer-attribute-collector.svg)](https://packagist.org/packages/olvlvl/composer-attribute-collector)
77

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

1314

1415

src/MemoizeAttributeCollector.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
use Composer\IO\IOInterface;
66
use ReflectionException;
7-
8-
use RuntimeException;
97
use Throwable;
108

119
use function array_filter;

0 commit comments

Comments
 (0)