Laravel 5 IDE Helper 生成器
Laravel 5 IDE Helper 生成器
v2.8.2
barryvdh released this
…els. (#1113) * Fix code that was causing the test to break and fix bug with not built in types * Run cs fixer * Remove fetching the doc block type and the putting it as a type hint as a php doc block is sufficient * Revert doc block type hinting * Enchance doc block type hinting * Combine replacements * Use the full builder class instead of the parsed one after the getClassName function and remove in array check * Get the builder from the model itself instead of passing a string directly the function * Use the full builder class to get the builder methods and reflection, but use the parsed builder class after setting its method in the doc * Add test for fqn support on external eloquent builder * Use the external builder if necessary when building the magic wheres * Use the default eloquent builder if the user has disabled the external builder option
Assets
2
v2.8.1
Added
- Support Laravel 8 #1022 / barryvdh
- Add option to force usage of FQN #1031 / edvordo
- Add support for macros of all macroable classes #1006 / domkrm
Assets
2
v2.8.0
barryvdh released this
…mmit fixer (#1003) * phpcs: enable also for config, resources and tests * composer fix-style * vendor/bin/phpunit -d --update-snapshots * gha: instead of checking the style, fix and auto-commit it 💪
Assets
2
v2.7.0
Lots of tweaks/improvements, big thanks to @mfn for the help and bringing the Test Suite up to date!
- Generate noinspections PHPStorm tags (option) #905
- Added support for Laravel 7 custom casts #913
- Ability to use patterns for model_locations #921
- Prevent generation of invalid code for certain parameter default values #901
- Infer return type from reflection if no phpdoc given #906
- if a model implements interfaces, include them in the stub #920
- fix: unregister meta command custom autoloader when it is no longer needed #919
- Remove unnecessary and wrong definition of SoftDelete methods #918
- Add custom collection support for get and all methods #903
- Make hasOne and morphOne nullable. #864
- Add ignored_models as config option #890
- Fix camelCase duplicated properties generator. #881
Assets
2
v2.6.7
Allow L7
Assets
2
v2.6.6
Create FUNDING.yml
Assets
2
v2.6.5
v2.6.5 Fix CS
Assets
2
v2.6.4
Update readme.md
Assets
2
v2.6.2
v2.6.1
v2.6.0
Macros can be used with invokable classes, like so. ``` <?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Response; class ResponseMacroServiceProvider extends ServiceProvider { public function boot() { Response::macro('foo', new Foo()); } } class Foo { public function __invoke() { return 'foobar'; } } ``` When running `ide-helper:generate` the following fatal error was thrown. ``` Symfony\Component\Debug\Exception\FatalThrowableError : ReflectionFunction::__construct() expects parameter 1 to be string, object given``` This commit fixes this error.
Assets
2
v2.5.3
v2.5.2
v2.4.3
v2.4.3: Merge pull request #624 from iPaat/Fix/623
barryvdh released this
Fixes a bug where a missing DocBlock caused errors
v2.4.2
Support L5.6
barryvdh released this
v2.4.2 Allow L5.6
热门度与活跃度
9.0
3.7
Watchers:280 |
Star:10887 |
Fork:948 |
创建时间: 2013-03-10 08:12:55 |
最后Commits: 13天前 |
64a6b90
Compare
Verified
Changed
Fixed
Macro::initPhpDoc()
will save original docblock if present #1116 / LastDragon-ruAlias
will grab macros from\Illuminate\Database\Eloquent\Builder
too #1118 / LastDragon-ru