### Install sebastian/object-enumerator with Composer Source: https://github.com/sebastianbergmann/object-enumerator/blob/main/README.md This snippet shows how to install the sebastian/object-enumerator library using Composer. It covers both project-local and development-time dependencies. ```bash composer require sebastian/object-enumerator ``` ```bash composer require --dev sebastian/object-enumerator ``` -------------------------------- ### Configuration and Export Changes Source: https://github.com/sebastianbergmann/object-enumerator/blob/main/ChangeLog.md Notes changes related to project configuration and how tests and other artifacts are handled for archive exports. ```PHP * Changed PHP version constraint in `composer.json` from `^7.3 || ^8.0` to `>=7.3` * Tests etc. are now ignored for archive exports ``` -------------------------------- ### Static Analysis Tooling Updates Source: https://github.com/sebastianbergmann/object-enumerator/blob/main/ChangeLog.md Documents the transition of static analysis tools used in the project. It highlights the switch from Psalm to PHPStan. ```PHP * This project now uses PHPStan instead of Psalm for static analysis ``` -------------------------------- ### Compatibility Updates Source: https://github.com/sebastianbergmann/object-enumerator/blob/main/ChangeLog.md Documents compatibility updates with other libraries, such as `sebastian/recursion-context`. ```PHP * This component is now compatible with `sebastian/recursion-context: ~1.0.4` ``` -------------------------------- ### Initial Release Source: https://github.com/sebastianbergmann/object-enumerator/blob/main/ChangeLog.md Marks the initial release of the object-enumerator component. ```PHP * Initial release ``` -------------------------------- ### Dependency Updates and Changes Source: https://github.com/sebastianbergmann/object-enumerator/blob/main/ChangeLog.md Records changes related to project dependencies, such as bumping the required version of 'sebastian/object-reflector' or making it a direct dependency. ```PHP * Bumped required version of `sebastian/object-reflector` * `sebastian/object-reflector` is now a dependency ``` -------------------------------- ### Bug Fixes and Improvements Source: https://github.com/sebastianbergmann/object-enumerator/blob/main/ChangeLog.md Details specific bug fixes and improvements made to the library. This includes handling exceptions in reflection methods and addressing issues with object enumeration in inherited attributes. ```PHP * `SebastianBergmann\ObjectEnumerator\Exception` now correctly extends `\Throwable` * Objects aggregated in inherited attributes are not enumerated * Fixed [#2](https://github.com/sebastianbergmann/phpunit/pull/2): Exceptions in `ReflectionProperty::getValue()` are not handled ``` -------------------------------- ### PHP Version Support Changes Source: https://github.com/sebastianbergmann/object-enumerator/blob/main/ChangeLog.md Tracks changes in PHP version compatibility for the object-enumerator component. This includes removal of support for older PHP versions and addition of support for newer ones. ```PHP * This component is no longer supported on PHP 8.2 * This component is no longer supported on PHP 8.1 * This component is no longer supported on PHP 7.3, PHP 7.4 and PHP 8.0 * This component is now supported on PHP 8 * This component is no longer supported on PHP 7.0, PHP 7.1, and PHP 7.2 * This component is no longer supported on PHP 5.6 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.