Casper Bloemendaal
271682a2a6
feat: use generics of return type to determine resulting models ( #1653 )
v3.5.3
2025-01-08 11:01:30 +01:00
Barry vd. Heuvel and laravel-ide-helper
bb1caed698
Check if macro is valid ( #1655 )
...
* Check if macro is valid
* composer fix-style
---------
Co-authored-by: laravel-ide-helper <[email protected] >
2025-01-08 11:00:53 +01:00
Barry vd. Heuvel and laravel-ide-helper
55268cd47a
Catch meta, tweak auth ( #1654 )
...
* Catch meta, tweak auth
* composer fix-style
* Catch meta, tweak auth
---------
Co-authored-by: laravel-ide-helper <[email protected] >
2025-01-08 11:00:41 +01:00
barryvdh
088968c3fc
Update CHANGELOG
2025-01-06 15:42:30 +00:00
Barry vd. Heuvel
655e057626
Fix empty closure
v3.5.2
2025-01-06 16:29:58 +01:00
barryvdh
c8d85a0d34
Update CHANGELOG
2025-01-06 14:09:45 +00:00
Barry vd. Heuvel
4c656cc71d
Remove duplicate config, fix ->can() ( #1650 )
v3.5.1
2025-01-06 15:08:47 +01:00
barryvdh
0fe9774dfb
Update CHANGELOG
2025-01-06 13:53:52 +00:00
Jesper Noordsij
030f6f1f35
Add special 'dev' to composer keywords ( #1649 )
v3.5.0
2025-01-03 15:21:18 +01:00
laravel-ide-helper
154300fb06
composer fix-style
2025-01-01 12:17:43 +00:00
Mathieu TUDISCO and Barry vd. Heuvel
05d9c3cd65
Allow adding custom Macroable classes. ( #1629 )
...
* Allow adding custom Macroable classes.
* Remove duplication, tweak config
* Remove test
---------
Co-authored-by: Barry vd. Heuvel <[email protected] >
2025-01-01 13:17:20 +01:00
Barry vd. Heuvel and laravel-ide-helper
beda399e7e
Feat guess macro types ( #1648 )
...
* Add default class for HttpClient macro
* composer fix-style
---------
Co-authored-by: laravel-ide-helper <[email protected] >
2025-01-01 10:44:43 +01:00
Nereo Berardozzi
0bbca8f5e2
Fixed generating PHPDoc for methods with class templates ( #1647 )
...
* Fixed generating PHPDoc for methods with class templates
* Fix style
* Use getter for alias template names
* Fixed missing class in static analysis
2024-12-31 17:18:28 +01:00
Barry vd. Heuvel and laravel-ide-helper
f8381565ad
Add more metadata ( #1646 )
...
* Add more metadata
* composer fix-style
* Parse .env
* composer fix-style
* Check if .env exists
---------
Co-authored-by: laravel-ide-helper <[email protected] >
2024-12-30 15:06:36 +01:00
Barry vd. Heuvel
cffcd07e98
Also add eloquent template tags from base class ( #1645 )
2024-12-30 12:58:28 +01:00
Barry vd. Heuvel and laravel-ide-helper
9c6380da4a
Remove php parser ( #1644 )
...
* Remove php parser
* composer fix-style
---------
Co-authored-by: laravel-ide-helper <[email protected] >
2024-12-30 12:42:35 +01:00
Barry vd. Heuvel and laravel-ide-helper
e509790805
Use forked ContextFactory ( #1643 )
...
* Use forked ContextFactory
* composer fix-style
* Trim slashes
---------
Co-authored-by: laravel-ide-helper <[email protected] >
2024-12-30 12:03:45 +01:00
Barry vd. Heuvel and laravel-ide-helper
791ba555f4
Add meta override for user return types ( #1642 )
...
* Add meta override for user return types
* composer fix-style
---------
Co-authored-by: laravel-ide-helper <[email protected] >
2024-12-30 10:31:30 +01:00
Barry vd. Heuvel
c324438731
Bump to 3.5
2024-12-29 19:44:30 +01:00
Barry vd. Heuvel and laravel-ide-helper
4e4da0825a
Add phpstorm meta argument hints ( #1640 )
...
* Add phpstorm meta hints
* composer fix-style
* Use php-templates from vs-code
* Fix view instance
* composer fix-style
* Add translations
* composer fix-style
* map to string
* composer fix-style
* Fix test
---------
Co-authored-by: laravel-ide-helper <[email protected] >
2024-12-29 19:44:08 +01:00
barryvdh
66ea6aa57b
Update CHANGELOG
2024-12-29 13:26:59 +00:00
Barry vd. Heuvel
2a41415f01
Add TLDR section, update options ( #1639 )
v3.4.0
2024-12-29 13:10:58 +01:00
Barry vd. Heuvel and laravel-ide-helper
a7fc73e8e4
Format IDE helper ( #1638 )
...
* Format IDE helper
* composer fix-style
* Format IDE helper
* composer fix-style
---------
Co-authored-by: laravel-ide-helper <[email protected] >
2024-12-29 12:56:55 +01:00
Barry vd. Heuvel and pb30
f343efa140
Pb30 version var rename ( #1637 )
...
* Update view "version" variable name to avoid potential conflicts
* Remove version
---------
Co-authored-by: pb30 <[email protected] >
2024-12-29 12:11:06 +01:00
Barry vd. Heuvel
0fa0403e57
Check if alias is valid
2024-12-29 12:03:42 +01:00
Barry vd. Heuvel
97e3b5eaa0
Bump to 3.4
2024-12-29 11:57:30 +01:00
Martin Tillmann
99554aef3c
Update README.md ( #1587 )
...
Added Laravel 11 path to readme to make installation easier for newer installs
2024-12-29 11:52:58 +01:00
hms5232
0b2eeb4627
Make all "note" in README apply quote style ( #1590 )
...
Now, those "note" stand out in text sea
2024-12-29 11:52:24 +01:00
Lau Ernebjerg Josefsen
4ad74ba241
Add weak generics for array type objects ( #1621 )
2024-12-29 11:52:05 +01:00
Barry vd. Heuvel and laravel-ide-helper
347483be03
Add option for only eloquent ( #1636 )
...
* Add option for only eloquent
* composer fix-style
* Add snapshot
* Add option to models command
* composer fix-style
* Fix namespace
---------
Co-authored-by: laravel-ide-helper <[email protected] >
2024-12-29 11:51:09 +01:00
Barry vd. Heuvel and laravel-ide-helper
14fdb572bb
Update testsuite for Generator, simplify service provider and mock ( #1635 )
...
* Add templates to Eloquent
* Test generator, update constructor
* composer fix-style
* Add filename test
* UPdate test
---------
Co-authored-by: laravel-ide-helper <[email protected] >
2024-12-28 19:56:36 +01:00
Barry vd. Heuvel
c33eacdefc
Add templates to Eloquent ( #1634 )
2024-12-28 11:17:17 +01:00
Yifans_Z and Yifan Zhao
a25b947851
fix: add @template TModel of static for Eloquent ( #1631 )
...
* fix: add @template TModel of static for Eloquent
* fix: use `===` instead of `==`
---------
Co-authored-by: Yifan Zhao <[email protected] >
2024-12-26 12:51:40 +01:00
barryvdh
59eb26742b
Update CHANGELOG
2024-12-18 08:36:48 +00:00
Lito
b7675670f7
Assign $output method parameter to $this->output on Generator ( #1623 )
...
The `$output` method parameter is not being assigned to the `$this->output` class variable.
v3.3.0
2024-12-18 09:24:19 +01:00
Jeppe Knockaert and laravel-ide-helper
edb56754d1
Fix PHP 8.4 deprecations ( #1618 )
...
* Replace implicitly nullable parameters for PHP 8.4
* composer fix-style
---------
Co-authored-by: laravel-ide-helper <[email protected] >
2024-12-14 11:06:34 +01:00
laravel-ide-helper
4d2728c4f0
composer fix-style
2024-12-09 15:03:45 +00:00
Lito
5da09fad67
Fixed PHP 8.4 deprecation warning ( #1622 )
...
* Fixed PHP 8.4 deprecation warning
* Fix PHP 8.4 deprecation warning
2024-12-09 16:03:20 +01:00
Bob Conan
788e72e7dd
Updated CHANGELOG.md, fix typo(s) ( #1613 )
2024-11-13 22:38:24 +01:00
Carl-Philipp Jung and laravel-ide-helper
e3ec773374
Improve replacement of return type for methods from Query\Builder ( #1575 )
...
* Add return type `|static` to Query\Builder methods (#1574 )
* Replace return type Query\Builder with Eloquent\Builder (#1574 )
* Replace return type Query\Builder only for facade Eloquent (#1574 )
* Add special return type replacement for Macros of \Eloquent
* Restrict special return type to methods from Eloquent\Builder and Query\Builder
* Do not overwrite return type in normalizeReturn() with conditional call of setType()
* Use generic return type for builder methods in \Eloquent
* composer fix-style
---------
Co-authored-by: laravel-ide-helper <[email protected] >
2024-10-31 15:47:27 +01:00
Barry vd. Heuvel
64588afe8b
Update snapshots
2024-10-31 15:39:02 +01:00
Jeramy Hing
472c1bad5d
Feature: Add Config Option to Enforce Nullable Relationships ( #1580 )
...
* feat: add config option for nullable relationships
Introduce enforce_nullable_relationships configuration to control nullable Eloquent relationships.
* refactor: update logic for nullable relationships
Update isRelationNullable method to respect new config option.
* test: add tests for nullable relationship config
- Verify behavior of enforce_nullable_relationships configuration option.
- Create snapshot to reflect enforce_nullable_relationships set to false.
* docs: improve documented context and usage
* docs: update CHANGELOG with enforce_nullable_relationships option
2024-10-30 22:35:58 +01:00
barryvdh
90e7c5ac47
Update CHANGELOG
2024-10-29 14:05:10 +00:00
Pieter Willekens and laravel-ide-helper
07e3bd8796
fix(pivot): only use unique classes in the pivot union ( Fixes #1606 ) ( #1607 )
...
* fix(pivot): only use unique classes in the pivot union (Fixes #1606 )
* composer fix-style
---------
Co-authored-by: laravel-ide-helper <[email protected] >
v3.2.2
2024-10-29 15:00:16 +01:00
Pieter Willekens
7c2fa01d36
docs(pr): remove the changelog checklist item ( #1608 )
2024-10-29 10:37:06 +01:00
Barry vd. Heuvel
75b05a9f74
Create release-drafter.yml
2024-10-28 15:17:58 +01:00
Barry vd. Heuvel
71aa6a6cf3
Create update-changelog.yaml ( #1605 )
...
* Create update-changelog.yaml
* Create release-drafter.yml
2024-10-28 15:16:33 +01:00
Barry vd. Heuvel
be806dc316
Update CHANGELOG.md
2024-10-28 15:11:38 +01:00
Ramon Dantas and Barry vd. Heuvel
800e2347a6
feat: use numeric type on fields with decimal casts ( #1583 )
...
* feat: use `numeric` type on fields with `decimal` casts
* docs: update CHANGELOG.md
---------
Co-authored-by: Barry vd. Heuvel <[email protected] >
v3.2.1
2024-10-28 12:32:31 +01:00
Barry vd. Heuvel
7549f58a30
Smarter reset ( #1603 )
...
* Smarter reset
* Changelog
* Fix phpdocs
2024-10-28 12:21:53 +01:00