Barry vd. Heuvel
98d6087a1e
Merge pull request #568 from fisharebest/artisan-optimize
...
The 'artisan optimize' command is now deprecated.
2018-03-26 12:18:59 +02:00
Jackey Cheung
c7b7ebf1b5
suppress PHPStorm formatter
2018-03-21 11:36:02 +08:00
Jeppe Knockaert
17982029f0
Move long one-line array to multiple lines
2018-02-14 12:15:38 +01:00
Jeppe Knockaert
bda5120e9a
Add morphedByMany relationship
2018-02-14 12:06:45 +01:00
Steve Guns
d961482d22
Fixed PHPCS PSR2 issues
2018-02-14 08:59:19 +01:00
Steve Guns
8852b1ca9d
Added "smart-reset": Reset properties/methods, but keep the docBlock text, if any
2018-02-11 19:09:33 +01:00
Barry vd. Heuvel
b644e48801
Merge pull request #618 from glamorous/feature/docblocks-on-classes
...
Add DocBlocks for classes too
2018-02-10 14:47:48 +01:00
Barry vd. Heuvel
09610da602
Merge pull request #626 from barryvdh/revert-624-Fix/623
...
Revert "Fixes a bug where a missing DocBlock caused errors"
2018-02-08 17:01:01 +01:00
Barry vd. Heuvel
2d56afce8e
Revert "Fixes a bug where a missing DocBlock caused errors"
2018-02-08 17:00:48 +01:00
Barry vd. Heuvel
5c304db44f
Merge pull request #624 from iPaat/Fix/623
...
Fixes a bug where a missing DocBlock caused errors
v2.4.3
2018-02-08 08:56:07 +01:00
Patrick
1fc4284af6
Fixes for Travis.
2018-02-07 13:24:36 +01:00
Patrick
ea113e8c0b
Fixes a bug where a missing DocBlock caused errors
2018-02-07 13:17:03 +01:00
Barry vd. Heuvel
387efb9b42
Allow L5.6
v2.4.2
2018-02-07 09:31:35 +01:00
Ezra Pool
8ab907f219
Support php's array callable format for macro's.
...
This allows you to define methods like this as well: Str::macro('name', [$this, 'method']);
2018-02-03 21:10:48 +01:00
Jonas De Smet
e29e035135
Add DocBlocks for classes too
2018-02-01 15:53:32 +01:00
Jurrien Dokter
7b2786ac2b
Fixing issue #253
2018-01-27 13:01:07 +01:00
Sune Westphalen
76bd86dbaf
Added Validator and Gate facades for Lumen.
2018-01-23 13:56:22 +07:00
Xiang Liu
7b067198a6
Sort keys for generating stable .phpstorm.meta.php
2018-01-15 12:44:44 +08:00
Mike
b6f525b320
Use Illuminate\Support\Carbon instead of Carbon\Carbon in config/ide-helper.php
2017-12-27 17:26:16 -05:00
Mike
d65f1cedcd
Use Illuminate\Support\Carbon instead of Carbon\Carbon in readme.md
2017-12-27 17:25:44 -05:00
Mike
df6b1b6f82
Use Illuminate\Support\Carbon instead of Carbon\Carbon
2017-12-27 17:17:00 -05:00
Markus Fischer
76a1952c41
Keep "null"-ness of column even with model casts
...
A cast in Laravel should only affect the type, but not the database intrinsics whether a column accepts `null` or not.
As an example, consider this table (Postgres syntax):
```sql
CREATE TABLE foo (
some_column jsonb
);
```
This will be generated as: `@property string|null $some_column`
When providing a the following casts on the model:
```php
protected $casts = [
'some_column' => 'array',
];
```
then the generated property changes to: `@property array $some_column`
However the DB still accepts `null`, but this can't be expressed via the casts.
This change will make the null "sticky" and generate: `@property array|null $some_column`
2017-10-28 18:01:18 +02:00
Chris Morrell
d45b02efb1
Support for ::fake() calls
2017-10-13 11:41:30 -04:00
Mariusz
b0abafb8c7
Changed overwriting confirmation message
...
When running php artisan ide-helper:models below message was presented:
"Do you want to overwrite the existing model files? Choose no to write to _ide_helper_models.php instead? (Yes/No): (yes/no) [no]:"
This commit changes message to:
"Do you want to overwrite the existing model files? Choose no to write to _ide_helper_models.php instead? (yes/no) [no]:"
2017-10-11 11:43:16 +01:00
Yulia Kostrikova
6b0e9ec48d
Add notice about "Package Auto-Discovery" to docs
2017-09-21 00:40:49 +03:00
M. Vugteveen
28f0ac3781
also show time in generated files ( #574 )
2017-09-13 14:18:03 +02:00
Greg Roach
721a7cd3f7
The 'artisan optimize' command is deprecated
2017-09-02 21:25:00 +01:00
Carl Evison
ea6d6d0105
update to the latest code intel ( #567 )
2017-09-02 17:44:59 +02:00
Subodh Dahal
01320a48e3
Bugfix: Undefined property: Barryvdh\LaravelIdeHelper\Console\MetaCommand::$config ( #562 )
2017-08-28 15:16:15 +02:00
Charles Peterson
fedcb57295
Add an eloquent command ( #544 )
...
* Add an eloquent command for adding the `@mixin \Eloquent` to the Illuminate\Database\Eloquent\Model
* spacing updates...
* multi-line function call syntax
* Write helper mixin to Eloquent/Model after helper created
* Cleanup into helper - similar to Generator
* syntax cleanup
2017-08-28 15:12:54 +02:00
Barry vd. Heuvel
ce72ff4663
Remove exit for static code analysers
2017-08-28 13:39:24 +02:00
Zakaria Acharki
cb6f52f4d6
Minor typo fix ( #548 )
2017-08-28 13:38:22 +02:00
Chris Morrell
55c9bfc33b
Allow for configurable meta filename ( #553 )
2017-08-28 13:37:22 +02:00
Chris Morrell
a9ea231679
Support higher order tap() ( #554 )
2017-08-28 13:35:56 +02:00
Jan.Weskamp
2b1273c45e
Fix for Laravel 5.5 ( #540 )
...
Command fire method is now handle
v2.4.1
2017-07-16 02:24:12 +02:00
Stidges
08d39c125f
Add back leading slash on meta class names ( #532 )
2017-07-06 21:25:44 +02:00
dannehl
87a02ff574
added L55-support ( #525 )
v2.4.0
2017-06-16 16:08:59 +02:00
Michael Tsang
9e42ce11f4
return eloquent builder instead of plain database builder from model methods ( #522 )
2017-06-15 17:22:20 +02:00
Stidges
dca7fa7b10
Use new PhpStorm advanced metadata format ( #523 )
2017-06-14 20:49:19 +02:00
Abdelrahman Omran
0e4b9b77c3
Support Auto-Discovery ( #524 )
2017-06-14 19:56:10 +02:00
leo
46901d2c80
set include_fluent default to true ( #512 )
2017-06-08 12:19:59 +02:00
Max Matiukhin
25b5576f57
generate methods for the SoftDeletes trait ( #518 )
2017-06-08 12:19:38 +02:00
Michael Tsang
d6d99994c3
return eloquent builder instead of plain database builder from model methods ( #521 )
2017-06-08 12:19:27 +02:00
Barry vd. Heuvel
7e78d02d0a
Update .travis.yml
2017-06-06 16:29:23 +02:00
Victor Isadov
35d954fc39
Note for \Eloquent ( #515 )
...
https://github.com/barryvdh/laravel-ide-helper/issues/514
2017-06-06 16:18:54 +02:00
Jez McKean
5eeda63958
replaced curly quotes and other minor tweaks ( #510 )
2017-05-29 19:44:30 +02:00
Matthew Erwin
b76156b24c
Adds support for macros ( #500 )
...
* Adds support for macros
* Fixes formatting
2017-05-05 11:22:12 +02:00
Emir Beganović
2a63d51496
Add PHP 7.1 to build script ( #492 )
2017-04-14 17:57:13 +02:00
Neil Farrington
3814fe86ca
Resolve displaying @return types with descriptions ( #491 )
2017-04-14 08:56:19 +02:00
JC Lee
3ab73555d9
Add support for pgsql for boolean types. ( #489 )
2017-04-11 07:31:58 +02:00