ergebnis/classy
ergebnis/classy adds convenient helpers for working with PHP classes and reflection. Generate class names, namespaces, and short names, and inspect class metadata in a clean, test-friendly way—useful for tooling, libraries, and code generation.
For a full diff see [2.0.0...3.0.0][2.0.0...3.0.0].
Source ([#1128]), by [@localheinz]File instead of string when referencing paths to files ([#1123]), by [@localheinz]InvalidFile exception when attempting to create a File from blank or empty strings ([#1124]), by [@localheinz]ExceptionInterface to Exception ([#1125]), by [@localheinz]File to FilePath ([#1126]), by [@localheinz]FileCouldNotBeParsed::fromFileAndParseError() to FileCouldNotBeParsed::atFilePathWithParseError() ([#1127]), by [@localheinz]Source instead of string when referencing source code ([#1130]), by [@localheinz]FileCouldNotBeParsed when attempting to collect Constructs from a Finder yielding SplFileInfos with unparseable source code ([#1131]), by [@localheinz]FileCouldNotBeRead::at() and FileDoesNotExist::at() to FileCouldNotBeRead::atFilePath() and FileDoesNotExist::atFilePath() ([#1132]), by [@localheinz]ConstructFromFile to ConstructFromFilePath ([#1133]), by [@localheinz]ConstructFromFileCollector and DefaultConstructFromFileCollector to ConstructFromFilePathCollector and DefaultConstructFromFilePathCollector ([#1134]), by [@localheinz]For a full diff see [1.9.0...2.0.0][1.9.0...2.0.0].
Constructs are collected, using Collector\ConstructFromSourceCollector, Collector\ConstructFromFileCollector, Collector\ConstructFromSplFileInfoCollector, and Collector\ConstructFromFinderCollector, instead of Constructs, which return lists of ConstructFromSource, ConstructFromFile, and ConstructFromSplFileInfo, each of which compose the Name and the Type of a Construct ([#1119]), by [@localheinz]For a full diff see [1.8.0...1.9.0][1.8.0...1.9.0].
For a full diff see [1.7.0...1.8.0][1.7.0...1.8.0].
For a full diff see [1.6.0...1.7.0][1.6.0...1.7.0].
For a full diff see [1.5.0...1.6.0][1.5.0...1.6.0].
For a full diff see [1.4.0...1.5.0][1.4.0...1.5.0].
For a full diff see [1.3.0...1.4.0][1.3.0...1.4.0].
For a full diff see [1.2.0...1.3.0][1.2.0...1.3.0].
For a full diff see [1.1.1...1.2.0][1.1.0...1.2.0].
enum ([#478]), by [@localheinz]Construct::__toString() ([#467]), by [@localheinz]For a full diff see [1.1.0...1.1.1][1.1.0...1.1.1].
For a full diff see [1.0.1...1.1.0][1.0.1...1.1.0].
For a full diff see [1.0.0...1.0.1][1.0.0...1.0.1].
For a full diff see [0.5.2...1.0.0][0.5.2...1.0.0].
For a full diff see [0.5.1...0.5.2][0.5.1...0.5.2].
For a full diff see [0.5.0...0.5.1][0.5.0...0.5.1].
replace configuration from composer.json ([#100]), by [@localheinz]For a full diff see 0.4.0...0.5.0.
Renamed vendor namespace Localheinz to Ergebnis after move to [@ergebnis] (#88), by [@localheinz]
Run
$ composer remove localheinz/classy
and
$ composer require ergebnis/classy
to update.
Run
$ find . -type f -exec sed -i '.bak' 's/Localheinz\\Classy/Ergebnis\\Classy/g' {} \;
to replace occurrences of Localheinz\Classy with Ergebnis\Classy.
Run
$ find -type f -name '*.bak' -delete
to delete backup files created in the previous step.
[@ergebnis]: https://github.com/ergebnis [@localheinz]: https://github.com/localheinz [@tacman]: https://github.com/tacman
How can I help you explore Laravel packages today?