None
None
None
None
- Fix PHP 8.4 deprecation notice "Implicitly marking parameter * as nullable is deprecated."
- Simplify attribute creation functions.
None
None
None
None
- #26 Fix enum support on PHP < 8.2.0 – @mnavarrocarter
None
- The plugin now collects attributes on properties.
Attributes::findTargetProperties()
returns target properties, andfilterTargetProperties()
filters properties with a predicate.
- The
ignore-paths
directive has been replaced byexclude
.
- The paths defined by the
include
andexclude
directives are relative to thecomposer.json
file. The{vendor}
placeholder is replaced by the absolute path to the vendor directory.
- The plugin no longer uses a file cache by default. To persist a cache between runs, set the environment variable
COMPOSER_ATTRIBUTE_COLLECTOR_USE_CACHE
to1
,yes
, ortrue
.
None
- #11 Attribute instantiation errors are decorated to help find origin (@withinboredom @olvlvl)
- #12
Attributes::filterTargetClasses()
can filter target classes using a predicate (@olvlvl) - #12
Attributes::filterTargetMethods()
can filter target methods using a predicate.Attributes::predicateForAttributeInstanceOf()
can be used to create a predicate to filter classes or methods targeted by an attribute class or subclass (@olvlvl) - #10 3 types of cache speed up generation by limiting updates to changed files (@xepozz @olvlvl)
None
None
None
None
- File paths matching
symfony/cache/Traits
are ignored. - The option
extra.composer-attribute-collection.ignore-paths
can be used to ignore paths.
None
None
None