laravel-ide-macros icon indicating copy to clipboard operation
laravel-ide-macros copied to clipboard

Generating a helper file for IDEs to support Laravel's macros, as a supplementary to barryvdh's Laravel Ide Helper.

Results 6 laravel-ide-macros issues
Sort by recently updated
recently updated
newest added

For whatever reason, I am not able to make PhpStorm jump to the file & line. So, if you know what syntax I need to make it do that let...

Currently, if a macro is registered improperly or in a format that this package doesn't recognize, it throws an exception. e.g. ``` ReflectionException: Method Illuminate\Support\Carbon::__invoke() does not exist ``` This...

- We make sure we manipulate a 'macro' in the handle() method - We make sure we retrieve the proper parameter type in case it references a class (by adding...

Hello here, This is an example of a macro : ```php use Carbon\Carbon; Carbon::macro('example', function (Carbon $otherDate) { // ... some any code }); ``` When I generate macro via...

This PR prevents appending `?` to nullable return types if the return type is `mixed` because `mixed` already includes null. Appending the `?` causes php-lint to complain. For now, I've...

Incorrect code gets generated, when using `...` token. Example: ```php /** * @instantiated */ Browser::macro('assertSeeMultiple', function (string ...$searchKeys): Browser { foreach ($searchKeys as $key) { /** @var Browser $this */...