Releases: alekitto/class-finder
Releases · alekitto/class-finder
0.6.0
0.5.4
0.5.1
What's changed
- Added support for phpdocumentor 6
- Added FileFinder to abstract recursive and file-based finders
- Added ClassMap finder and iterator
Fixes
- Updated GHA actions
- Do not call
rewind
on iteration construction - Add list of files known to cause errors to be skipped
Full Changelog: 0.5.0...0.5.1
0.5.0
What's changed
useAutoloading
can now be used to instruct the finder to use autloading orinclude_once
while iterating classes- Autoloading method is used by default from
ComposerFinder
- Expose
skipNonInstantiable
method to skipabstract
classes, interfaces and traits - Add
skipBogonFiles
method to reflection finders to prevent fatal errors in well-known cases - Add
roave/better-reflection
reflection factory
Fixes
- unwind error handlers stack to remove class-finder error handler
- fix a typo in README by @szepeviktor in #16
New Contributors
- @szepeviktor made their first contribution in #16
Full Changelog: 0.4.0...0.5.0
0.4.0
What's Changed
- add filter for files by @alleknalle in #10
You can now callpathFilter
on the finders to filter files by filepath before inclusion
New Contributors
- @alleknalle made their first contribution in #10
Full Changelog: 0.3.2...0.4.0
0.3.2
What's Changed
- fix github actions on pr by @alekitto in #7
- allow safe ^2.0 by @lemorragia in #6
- chore(ci): update gha jobs by @alekitto in #8
New Contributors
- @lemorragia made their first contribution in #6
Full Changelog: 0.3.1...0.3.2
0.3.1
0.3.0
BREAKING CHANGES
- Added
ReflectorFactoryInterface
: reflector objects can be customized or filtered before being yielded.
Anythrow
-ed error inside thereflect
method will result in the class to be skipped from the iteration.
CHANGES
notInNamespace
filter added to finders- Fixed namespace filtering error in
phpdocumentor
finder