Barry vd. Heuvel
cff155b0d3
Replace psalm with larastan ( #1755 )
...
* Use larastan instead of psalm
* Fix cs
* Fix baseline
2026-02-07 14:32:53 +01:00
8eec4f1ff5
feat(ModelsCommand): add support for the new Scope attribute ( #1694 )
...
* composer fix-style
* feat(model): add support for new Scope attribute
* composer fix-style
* snapshot
* check if class_exists for psalm
* check if class_exists for psalm
* resolve psalm issue
* remove prefix slash
* revert whitespace changes
* composer fix-style
* Update composer.json
---------
Co-authored-by: laravel-ide-helper <[email protected] >
Co-authored-by: Barry vd. Heuvel <[email protected] >
2025-04-04 16:14:00 +02:00
KentarouTakeda
09623f216c
Add extends declaration for Macroable classes to fix missing inherited methods ( #1674 )
2025-02-22 16:59:08 +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 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 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
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
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
laravel-ide-helper
4d2728c4f0
composer fix-style
2024-12-09 15:03:45 +00:00
Barry vd. Heuvel
2535f8e6ab
Fix tests and CS
2024-02-07 21:44:48 +01:00
Filip Iulian Pacurar
04c1a8d444
Support generating helper files for real-time facades ( #1455 )
...
* Support generating helper files for real-time facades
Add changelog entry for real-time facades support
Mention real-time facades support in readme
Fix code style
Import
* Remove useless assertions
We cannot 100% control the output file has only the real-time facades, anything else can be in the final output
2024-02-07 21:35:02 +01:00
netpok
f4656256fc
Fix non-facade classes will result in no autocomplete ( #841 )
...
* Filter out non-facade base classes
* Remove Model as it is already skipped because it's not a facade
2024-02-07 21:06:31 +01:00
Jackey Cheung
cc9ed4423b
disable inspections of helper files ( #1486 )
...
* disables all jetbrains inspections
* disables all jetbrains' & phpcs' inspections
2024-02-07 19:30:35 +01:00
Bentley O'Kane-Chase
f055d42b39
Add phpstorm metadata for mock methods when testing ( #1405 )
...
* Add phpstorm metadata for testing
* Update CHANGELOG.md
2023-01-17 12:37:15 +01:00
Yehuda Katz
ac1e27167d
Disabled PHPCS ( #1301 )
...
PHPCS is a common development tool. It makes sense to disable it in addition to Eclipse/IntelliJ formatting disable
2022-01-20 14:27:58 +01:00
Markus Podar and laravel-ide-helper
ca0cf7355a
[GHA] Misc improvements ( #1101 )
...
* gha: be more specific which OS to use
Avoids "surprises" when Github changes the underlying version, like they
currently announce with a warning:
> Ubuntu-latest workflows will use Ubuntu-20.04 soon. For more details, see https://github.com/actions/virtual-environments/issues/1816
Note: basically right now "latest" is actually 18.04 and not 20.04
* composer fix-style
* gha: require league/flysystem:^1 for lumen
2.* doesn't work out of the box
* gha: explicit version of composer isn't necessary anymore
v2 is already the default
* Be explicit to require the pdo SQLite extension for tests
Co-authored-by: laravel-ide-helper <[email protected] >
2020-11-30 15:13:01 +01:00
Markus Podar
ba95d18ef5
[PHPCS] Extend to check/fix all source code and turn GHA into auto-commit 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 💪
2020-08-10 10:22:48 +02:00
Markus Podar
ead6d4f89b
Remove timestamps in generated files ( #1000 )
...
In https://github.com/barryvdh/laravel-ide-helper/pull/990#issuecomment-664590457 it was agreed upon to just remove them.
2020-07-27 21:42:55 +02:00
Hamid Alaei Varnosfaderani
7515cd206d
add optional ( #932 )
2020-05-05 10:27:37 +02:00
Barry vd. Heuvel
f80887914b
Update helper.php
2020-04-19 07:51:00 +02:00
小克
7be6afbe5f
Update the version in the comment
2020-04-06 18:52:32 +08:00
Chris Morrell
6c8e847430
Add support for factory()->create() return types ( #758 )
...
* Revert "Forked release"
* Initial factory builder support
* Oops — fixed tabs
* Revert "Forked release"
* Whitespace
* Reverted more code
* Whitespace
* More whitespace
* Fixed PHPCS line
2019-10-01 20:18:19 +02:00
+pikari
190bf07c05
fix: warning when call the instance method ( #735 )
2018-12-19 13:12:44 +01:00
Barry vd. Heuvel
8174730714
Merge pull request #714 from pahan35/fix-missed-autocomplete-in-header-view
...
Fix missed autocomplete in helper view
2018-10-06 11:34:14 +02:00
Pavlo Zhukov
eff51d41b3
Add missed getRealName() call for $namespaces_by_alias group
2018-10-01 03:25:34 +03:00
Pavlo Zhukov
b14d983f74
Change comments style to allow folding and make its clear
2018-10-01 00:50:28 +03:00
Pavlo Zhukov
1fdc866fb0
Fix missed autocomplete in helper view
2018-10-01 00:39:40 +03:00
Pavlo Zhukov
5d8d93273f
Fix missed helpers for abstract methods the same name but different classes
2018-10-01 00:02:03 +03:00
BinotaLIU
f472c26601
add change modifier
2018-07-05 19:31:23 +08:00
Jonas De Smet
e1d1352ac5
bugfix - Space/Enter between starting php tag and comment for PHPStan
2018-06-19 14:59:59 +02:00
Barry vd. Heuvel
efd7e51566
Merge pull request #671 from eidng8/patch-2
...
suppress formatter in meta file
2018-06-13 10:16:01 +02:00
Jackey Cheung
6577af8464
suppress formatter in helper file
2018-06-13 10:24:58 +08:00
Jackey Cheung
6c7bc371f9
suppress formatter in meta file
2018-06-13 10:21:51 +08:00
BinotaLIU
1a3d32f0d1
nullable actually support an argument
2018-05-29 22:28:49 +08:00
Timur Zurbaev
4691bc5fbd
Remove mixed typehint from Fluent::default method
2018-05-05 10:09:30 +08:00
Jonas De Smet
e29e035135
Add DocBlocks for classes too
2018-02-01 15:53:32 +01:00
M. Vugteveen
28f0ac3781
also show time in generated files ( #574 )
2017-09-13 14:18:03 +02:00
Barry vd. Heuvel
ce72ff4663
Remove exit for static code analysers
2017-08-28 13:39:24 +02:00
Chris Morrell
a9ea231679
Support higher order tap() ( #554 )
2017-08-28 13:35:56 +02:00
Stidges
08d39c125f
Add back leading slash on meta class names ( #532 )
2017-07-06 21:25:44 +02:00
Stidges
dca7fa7b10
Use new PhpStorm advanced metadata format ( #523 )
2017-06-14 20:49:19 +02:00
Florian Lefèvre
b611cb5eff
Add namespaced aliases ( #456 )
...
* Add namespaced aliases
* Move aliases regouping logic in Generator
* Fix getValidAliases return type
2017-03-05 20:04:42 +01:00
Barry vd. Heuvel
e82de98cef
Add Eloquent methods back
2017-02-22 13:27:33 +01:00
Barry vd. Heuvel
25c8de637d
Skip eloquent
...
Fixes #https://github.com/barryvdh/laravel-ide-helper/issues/451
2017-02-20 13:54:53 +01:00
Emmanuel Maggion
5a841a209d
Fix case ( #452 )
2017-02-20 11:52:55 +01:00
Tommi Finnilae
963ead0a01
Correct Fluent helper output ( #445 )
...
'references()' and 'on()' argument names were backwards
2017-02-13 12:53:06 +01:00
Florian Lefèvre
8c306035aa
Fix facades fullpath autocomplete ( #441 )
...
* Add method to retrieve namespace of extended class
* Regroup classes by namespace of the class they extends
* Restore facades shortnames
* Fix classnames used for methods declaration
2017-02-13 12:52:36 +01:00
Barry vd. Heuvel
f1e93f042d
Update helper.php
2017-02-03 15:05:31 +01:00