Skip to content
This repository has been archived by the owner on Feb 27, 2021. It is now read-only.

Migrate #2

Open
wants to merge 633 commits into
base: master
Choose a base branch
from
Open

Migrate #2

wants to merge 633 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Aug 20, 2020

  1. readme: be clear that models require FQN (#1012)

    I've tested this and yes, it *always* requires a FQN.
    
    Therefore I removed the extra note regarding namespace/wrapping because
    even by default Laravel has the `App\` namesapce, which requires this.
    
    Fixes #995
    mfn authored Aug 20, 2020
    Configuration menu
    Copy the full SHA
    c760c9a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4443252 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2020

  1. Configuration menu
    Copy the full SHA
    1ad23fd View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2020

  1. tests: ensure output mocking is disabled so we can actually catch the…

    … output (#1018)
    
    Discovered via #1017 (comment)
    
    This only happens if you run an artisan command _before_ `runCommand`,
    but since every of these tests performs migrations, using artisan,
    the mocked output instance is left behind and also affected us.
    
    The call added in `runCommand` explicitly unregisters
    `\Illuminate\Console\OutputStyle` and thus also throwing away possibly
    mocked versions.
    mfn authored Aug 25, 2020
    Configuration menu
    Copy the full SHA
    ac6fbff View commit details
    Browse the repository at this point in the history
  2. Test dynamic relationships (#1017)

    * Test dynamic
    
    * Try/catch relationships
    
    * Update snapshot
    
    * Test output
    barryvdh authored Aug 25, 2020
    Configuration menu
    Copy the full SHA
    c852650 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9599cfb View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2020

  1. Configuration menu
    Copy the full SHA
    1d9e82f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8287f02 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a12f902 View commit details
    Browse the repository at this point in the history
  4. Bump Laravel versions (#1022)

    * Bump Laravel versions
    
    * Test Laravel 8
    
    * Update composer.json
    
    * Update composer.json
    
    * normalize composer.json
    
    * Tweak MethodTest for Laravel 8
    
    Co-authored-by: barryvdh <[email protected]>
    barryvdh and barryvdh authored Aug 28, 2020
    Configuration menu
    Copy the full SHA
    a49cb46 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2020

  1. Configuration menu
    Copy the full SHA
    707ec99 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2020

  1. Configuration menu
    Copy the full SHA
    3b66fea View commit details
    Browse the repository at this point in the history
  2. Remove unused use vars (#1027)

    mfn authored Aug 30, 2020
    Configuration menu
    Copy the full SHA
    bd5b6ec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    462989a View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2020

  1. Make createLocalViewFactory compatible with Laravel 8 (#1026)

    * Make createLocalViewFactory compatible with Laravel 8
    
    Fixes #1024
    
    * tests: move up mockFilesystem so it get be re-used in other tests
    
    Note: removed `$this->mockOutput = '';` as it was a no-op, that property
    doesn't exist (it was probably a typo, but I guess we don't need it
    anyway)
    
    * tests: show basic features for ide-helper:meta working
    mfn authored Aug 31, 2020
    Configuration menu
    Copy the full SHA
    1ca875f View commit details
    Browse the repository at this point in the history
  2. Improve gitignore a bit (#1029)

    - build isn't used AFAIK?
    - add `/` prefix were we know they're only expected to be in the root anyway
      except `.phpunit.result.cache` which may appear anywhere it's run from
    mfn authored Aug 31, 2020
    Configuration menu
    Copy the full SHA
    4a6d127 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2020

  1. Configuration menu
    Copy the full SHA
    a96add6 View commit details
    Browse the repository at this point in the history
  2. [CODESTYLE] Replace phpcs with php-cs-fixer (#1030)

    * composer require --dev friendsofphp/php-cs-fixer:^2
    
    * php-cs-fixer: ignore cache and custom local config file
    
    * php-cs-fixer: initial config
    
    * php-cs-fixer: replace commands in composer
    
    * php-cs-fixer: add PSR12 "as good as it currently gets"
    
    * php-cs-fixer: apply PSR12 to codebase
    
    * tests: add workaround to keep unused imports for snapshot testing
    
    * php-cs-fixer: apply no_unused_imports
    
    * php-cs-fixer: apply array_syntax short
    
    * php-cs-fixer: apply single_quote
    
    * php-cs-fixer: switch ordered_imports sort_algorithm to alpha
    
    Let's be opinionated here for consistency
    
    * php-cs-fixer: split between non-tests and tests and share config
    
    * php-cs-fixer: apply declare_strict_types for tests
    
    * php-cs-fixer: apply fully_qualified_strict_types
    
    * php-cs-fixer: apply space_after_semicolon
    
    * php-cs-fixer: apply trailing_comma_in_multiline_array
    
    * php-cs-fixer: apply trim_array_spaces
    
    * php-cs-fixer: apply unary_operator_spaces
    
    * php-cs-fixer: apply whitespace_after_comma_in_array
    
    * php-cs-fixer: apply native_function_invocation
    
    * php-cs-fixer: apply concat_space
    
    * grumphp: reflect we're using phpcsfixer now
    
    * composer remove --dev squizlabs/php_codesniffer
    
    * gha: simplify fix-style approach
    
    Not really necessary to remove packages and then manually prevent
    unrelated commits creeping in
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    mfn and barryvdh authored Sep 1, 2020
    Configuration menu
    Copy the full SHA
    764bc02 View commit details
    Browse the repository at this point in the history
  3. Run composer fix-style and `vendor/bin/phpunit -d --update-snapshot…

    …s` to solve failed build (#1032)
    mfn authored Sep 1, 2020
    Configuration menu
    Copy the full SHA
    007d3ad View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2020

  1. Add initial changelog (#1035)

    At least until 2.6.6; quite a chore ;)
    
    The idea is to keep it updated; ideally each PR updates the changelog
    otherwise we/I will keep track of the "notable" changes.
    
    The goal would be that once the next release is about to happen, the
    changes collected here so far can just be copy-pasted to the release
    notes and the top link has to be bumped.
    
    I would define "notable" as user-facing, thus many internal changes
    (readme, test suite, etc.) have not been added to give end-users a
    clearer focus what may have changed/improved _for them_.
    mfn authored Sep 3, 2020
    Configuration menu
    Copy the full SHA
    3ea232d View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2020

  1. Remove GrumPHP (#1036)

    * composer remove --dev phpro/grumphp
    
    * Remove remains of grumphp
    mfn authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    d978986 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2020

  1. New --write-mixin option. (#764)

    * New --write-mixin option.
    
    * Keep all tags from the existing docblock.
    
    * Update argument description to be more descriptive
    
    Co-authored-by: Markus Podar <[email protected]>
    
    * Add the new --write-mixin option to the docs
    
    * Add test for the new --write-mixin option
    
    * Update README.md
    
    * composer fix-style
    
    * Adapt test after refactoring recently done
    
    Co-authored-by: Markus Podar <[email protected]>
    edcoreweb and mfn authored Sep 6, 2020
    Configuration menu
    Copy the full SHA
    24596b6 View commit details
    Browse the repository at this point in the history
  2. Add better support for macros and mixins (#1006)

    Co-authored-by: Dominik Krämer <[email protected]>
    domkrm and Dominik Krämer authored Sep 6, 2020
    Configuration menu
    Copy the full SHA
    3a22b8d View commit details
    Browse the repository at this point in the history
  3. Change $this->app->environment() !== 'production' to $this->app->isLo…

    …cal() (#886)
    
    * README.md: $this->app->environment() !== 'production' to $this->app->isLocal()
    
    * Renamed to README.md
    
    * Remove unrelated changes
    Daniel-Mendes authored Sep 6, 2020
    Configuration menu
    Copy the full SHA
    4df96b5 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2020

  1. GHA Composer v2 (#968)

    * Update run-tests.yml
    
    * Update run-tests.yml
    
    * Update run-tests.yml
    
    * Update run-tests.yml
    
    * Update run-tests.yml
    
    * Update run-tests.yml
    
    * Update run-tests.yml
    
    * gha: no need for self-update, setup-php `composer:v2` already gives the version we want
    
    Co-authored-by: Markus Podar <[email protected]>
    barryvdh and mfn authored Sep 7, 2020
    Configuration menu
    Copy the full SHA
    b7d8478 View commit details
    Browse the repository at this point in the history
  2. [TESTS] Running in CI should not create but rather fail on missing sn…

    …apshots (#1039)
    
    * tests: running in CI should not create but rather fail on missing snapshots
    
    Otherwise they get created on the CI infrastructure but that's it, the
    build won't fail although it was forgotten to add the snapshot.
    
    * Bump minimum phpunit version which correctly accepts the `-d` parameter
    
    The `prefer-lowest` version we get with L6 is 8.0.0 which throws this error:
    ```
    PHP Fatal error:  Uncaught TypeError: ini_set() expects parameter 2 to be string, bool given in /home/runner/work/laravel-ide-helper/laravel-ide-helper/vendor/phpunit/phpunit/src/TextUI/Command.php:379
    ```
    
    * Update composer.json
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    mfn and barryvdh authored Sep 7, 2020
    Configuration menu
    Copy the full SHA
    affa551 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9baf93a View commit details
    Browse the repository at this point in the history
  4. Update CHANGELOG.md (#1040)

    mfn authored Sep 7, 2020
    Configuration menu
    Copy the full SHA
    4aa2e6a View commit details
    Browse the repository at this point in the history
  5. Fix phpdoc generate for custom cast with parameter (#986)

    * Fix phpdoc generate for custom cast with parameter
    
    * Add param for cast
    
    * Simplify cast class name normalizing
    
    Co-authored-by: Markus Podar <[email protected]>
    
    * Update changelog
    
    * composer fix-style
    
    Co-authored-by: Markus Podar <[email protected]>
    artelkr and mfn authored Sep 7, 2020
    Configuration menu
    Copy the full SHA
    186340b View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2020

  1. Created a positiblity to add custom relation type (#987)

    * Created a positiblity to add custom relation type
    
    * Changed access modifier
    
    Co-authored-by: Markus Podar <[email protected]>
    
    * fixed hints from code review
    
    * Added Test for #987
    
    * composer fix-style
    
    * Clarify doc in config entry
    
    * Update CHANGELOG.md
    
    Co-authored-by: Markus Podar <[email protected]>
    efinder2 and mfn authored Sep 8, 2020
    Configuration menu
    Copy the full SHA
    7305504 View commit details
    Browse the repository at this point in the history
  2. [PSALM] Update baseline (#1044)

    * composer: add script to set psalm baseline
    
    * composer psalm-set-baseline
    mfn authored Sep 8, 2020
    Configuration menu
    Copy the full SHA
    594534e View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2020

  1. implement DeferrableProvider (#914)

    $defer has been deprecated after laravel 5.8
    (https://laravel.com/docs/5.8/upgrade#deferred-service-providers)
    
    and removed after laravel 6.x
    (laravel/framework#27505)
    
    Co-authored-by: Markus Podar <[email protected]>
    kon-shou and mfn authored Sep 9, 2020
    Configuration menu
    Copy the full SHA
    b677af8 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md (#1046)

    mfn authored Sep 9, 2020
    Configuration menu
    Copy the full SHA
    2a3c7fb View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2020

  1. Give feedback when a relation can't be resolved (#1052)

    Improves #1017 slightly
    mfn authored Sep 10, 2020
    Configuration menu
    Copy the full SHA
    5db6029 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2020

  1. Fix compatibility with Lumen (#1043)

    * Fix compatibility with Lumen
    
    Fixes #1042
    
    Got broken by #1026
    
    TL;DR: can't use anything in the `Illuminate\Foundation` namespace
    without safety check, as it doesn't exist in Lumen.
    
    * Add helper to check for Laravel
    
    * Use helper to check for Laravel
    mfn authored Sep 11, 2020
    Configuration menu
    Copy the full SHA
    4ef3876 View commit details
    Browse the repository at this point in the history
  2. Add integration test workflow (#1050)

    * Add fresh run workflow
    
    * Change name of step
    
    * Update .github/workflows/run-fresh.yml
    
    Co-authored-by: Markus Podar <[email protected]>
    
    * Apply suggestions from code review
    
    Co-authored-by: Markus Podar <[email protected]>
    
    * Fix feedback
    
    * Fix feedback, add file existence check
    
    * Improve test
    
    * Change way of checking files
    
    * Fix tests
    
    * Add log count check
    
    * Add fi
    
    Co-authored-by: Markus Podar <[email protected]>
    pataar and mfn authored Sep 11, 2020
    Configuration menu
    Copy the full SHA
    00ee13e View commit details
    Browse the repository at this point in the history
  3. Add @see location for macros & mixins to PhpDoc (#1054)

    * Add @see location for macros & mixins to PhpDoc
    
    * Fix CS
    
    * Add entry to changelog
    
    * Improve changelog entry
    
    * Adjust CS
    
    * Update CHANGELOG.md
    
    Co-authored-by: Markus Podar <[email protected]>
    riesjart and mfn authored Sep 11, 2020
    Configuration menu
    Copy the full SHA
    2ff9672 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2020

  1. [LARAVEL 8] include_factory_builders does not work anymore (#1047) (#…

    …1049)
    
    * [LARAVEL 8] include_factory_builders does not work anymore (#1047)
    
    * Change skip expression
    Append comment about deprecated to config file
    Append comment about deprecated to README file
    finagin authored Sep 20, 2020
    Configuration menu
    Copy the full SHA
    fd4d280 View commit details
    Browse the repository at this point in the history
  2. allow model_locations to have glob patterns (#1059)

    * allow model_locations to have glob patterns
    
    This if statement check for a valid directory was happening to early.  It was checking the string that contained the wildcards to see if it is a valid directory and always failing.  Need to check after the foreach starts. fixes #1058 .
    
    * test(#1059) Allow glob directories
    
    * Fix tests to chdir() into where to expect the glob to work
    
    * Update CHANGELOG.md
    
    Co-authored-by: Markus Podar <[email protected]>
    isaackearl and mfn authored Sep 20, 2020
    Configuration menu
    Copy the full SHA
    1044f46 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2020

  1. Configuration menu
    Copy the full SHA
    0168e72 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2020

  1. Configuration menu
    Copy the full SHA
    336ae44 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2020

  1. [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 actions/runner-images#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]>
    mfn and laravel-ide-helper authored Nov 30, 2020
    Configuration menu
    Copy the full SHA
    ca0cf73 View commit details
    Browse the repository at this point in the history
  2. Test enhancement (#1100)

    * Improve PHPUnit assertions
    
    * composer fix-style
    
    Co-authored-by: laravel-ide-helper <[email protected]>
    peter279k and laravel-ide-helper authored Nov 30, 2020
    Configuration menu
    Copy the full SHA
    3178898 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2020

  1. composer.json: remove -dev from composer/composer dependency (#1109)

    Stable 2 has been released some time ago
    mfn authored Dec 4, 2020
    Configuration menu
    Copy the full SHA
    c4d1f78 View commit details
    Browse the repository at this point in the history
  2. [PHP8] Add initial compatibility (#1106)

    * gha: run on PHP8 too
    
    The composer.json constraint is unbound, so it's already "allowed" at least.
    
    * gha: remove php-cs-fixer when running unit tests
    
    - not necessary anyway
    - not compatible with PHP8 currently
    
    * gha: lumen 6 and 7 don't support PHP8
    
    * composer.json: allow spatie/phpunit-snapshot-assertions 4.* for PHP8 compatibility
    
    * php8-compat: Method ReflectionParameter::getClass() is deprecated
    
    * php8-compat: adapt expected error message depending on PHP version
    
    * composer.json: bump mockery to 1.3.3 minimum
    
    This is the minimum version also supporting PHP8
    
    * gha: disable prefer-lowest for PHP8
    
    Some lower version requirements like doctrone/dbal won't work and
    would require at least dbal 2.12.0, which in turn doesn't support PHP 7.2
    anymore.
    
    So instead of bumping dbal and excluding PHP 7.2 users, we ignore the
    lowest version for PHP 8 for the time being.
    
    * Update CHANGELOG.md
    mfn authored Dec 4, 2020
    Configuration menu
    Copy the full SHA
    b4138e5 View commit details
    Browse the repository at this point in the history
  3. Allow casts with a return type of static or this to reference themsel…

    …ves (#1103)
    
    * Allow casts with a return type of static or this to reference themselves
    
    Supports
    
    ```php
    /**
         * @param $model
         * @param string $key
         * @param $value
         * @param array $attributes
         * @return static
         */
        public function get($model, string $key, $value, array $attributes)
        {
            return new static($value);
        }
    ```
    
    or
    
    ```php
    /**
         * @param $model
         * @param string $key
         * @param $value
         * @param array $attributes
         * @return $this
         */
        public function get($model, string $key, $value, array $attributes)
        {
            return new static($value);
        }
    ```
    
    * Update CHANGELOG.md
    hailwood authored Dec 4, 2020
    Configuration menu
    Copy the full SHA
    b3a79fe View commit details
    Browse the repository at this point in the history
  4. Add support for dedicated eloquent builders and type/doc parameter su…

    …pport. (#1089)
    
    * Add support for generating helpers for external eloquent builders
    
    * Extract external builder methods generator to its own method and add an option to toggle this feature
    
    * Check if we are using the default name of the eloquent builder
    
    * Add tests with snapshots for external eloquent builder feature
    
    * Refactor codegs
    
    * Allow for type hinting
    
    * Update test
    
    * Run cs fix
    
    * Update readme
    
    * Use getName for parameter instead of relying on __toString()
    
    * Do not use str_contains and use built in php method
    KaloyanYosifov authored Dec 4, 2020
    Configuration menu
    Copy the full SHA
    db53e8e View commit details
    Browse the repository at this point in the history
  5. Fix CS

    barryvdh committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    ff54a20 View commit details
    Browse the repository at this point in the history
  6. Fix snapshot

    barryvdh committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    113545b View commit details
    Browse the repository at this point in the history
  7. Remove format and broken generateJsonHelper (#1053)

    The JSON generate doesn't work, always generates an empty list.
    
    I looked a bit around and seems changes around 3 years ago broke it.
    
    Since there was no bug report ever about this, I conclude this feature
    isn't used and suggest to remove it.
    
    This also changes the config `filename` as there's no need for the
    extension-less version and the format is gone too. This change is
    backwards compatible as we just add back the `.php` in case it's missing
    though users are encouraged to update it.
    mfn authored Dec 4, 2020
    Configuration menu
    Copy the full SHA
    ae5d770 View commit details
    Browse the repository at this point in the history
  8. Fix broken test "GeneratePhpdocWithExternalEloquentBuilder" (#1111)

    * 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
    KaloyanYosifov authored Dec 4, 2020
    Configuration menu
    Copy the full SHA
    9859958 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2020

  1. FQCN bugfix when writing external eloquent builder methods inside mod…

    …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
    KaloyanYosifov authored Dec 6, 2020
    Configuration menu
    Copy the full SHA
    5515cab View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2020

  1. Configuration menu
    Copy the full SHA
    9ba2f5c View commit details
    Browse the repository at this point in the history
  2. Alias will grab macros from \Illuminate\Database\Eloquent\Builder

    … too (#1118)
    
    * `Alias` will grab macros from `\Illuminate\Database\Eloquent\Builder` too.
    
    * `@return` will contains `|static` for Eloquent Builder macros which return Eloquent Builder instance.
    
    * `Macro` tests.
    
    * `Alias::detectMethods()` tests.
    
    * Mock classes rename.
    LastDragon-ru authored Dec 21, 2020
    Configuration menu
    Copy the full SHA
    36c4406 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2020

  1. Macro::initPhpDoc() will save original docblock if present. (#1116)

    * `Macro::initPhpDoc()` will save original docblock if present.
    
    * Added `MacroTest::testInitPhpDocClosureWithoutDocBlock()`.
    
    * Mock class rename.
    
    * Code cleanup.
    LastDragon-ru authored Dec 23, 2020
    Configuration menu
    Copy the full SHA
    25cc68c View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2020

  1. [2.9] Drop support for: Laravel 6, Laravel 7, PHP 7.2 and add doctrin…

    …e/dbal ^3 (#1114)
    
    * composer.json: drop support for PHP 7.2/Laravel 6+7 and bump dependencies
    
    * tests: remove framework version tests
    
    They don't apply anymore, we're Laravel 8+ only from now on
    
    * changelog: update for ending support for L6/7 and PHP7.2
    mfn authored Dec 29, 2020
    Configuration menu
    Copy the full SHA
    64a6b90 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2020

  1. Configuration menu
    Copy the full SHA
    0fee1c4 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2021

  1. Generate PHPDoc for laravel 8.x factories (#1074)

    * Generate PHPDoc for laravel 8.x factories
    
    * formatting
    
    * sorting imports
    
    * fix code style
    
    * fix tests in laravel 7.x and lower
    
    * use markTestSkipped
    
    * fix test failing ~_~
    
    * add  argument
    
    * determine the laravel vertion is 8.2.x or upper
    
    * use version_compare instead of artisan command
    
    * use correct namespace
    
    * formatting
    
    * formatting
    
    * formatting
    
    * update next release notes
    ahmed-aliraqi authored Jan 6, 2021
    Configuration menu
    Copy the full SHA
    4f13ba8 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2021

  1. Fix issues with parsing invokable macros (#1124)

    * Fix issues with parsing invokable macros
    
    * Add macro test
    
    # Conflicts:
    #	tests/MacroTest.php
    standaniels authored Jan 9, 2021
    Configuration menu
    Copy the full SHA
    fd30d11 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2021

  1. tests: fix assertion (#1139)

    * tests: fix assertion
    
    * composer fix-style
    
    Co-authored-by: laravel-ide-helper <[email protected]>
    mfn and laravel-ide-helper authored Jan 11, 2021
    Configuration menu
    Copy the full SHA
    a83df51 View commit details
    Browse the repository at this point in the history
  2. changelog: re-order entry after recent merges in master (#1138)

    * changelog: re-order entry after recent merges in master
    
    * composer fix-style
    
    Co-authored-by: laravel-ide-helper <[email protected]>
    mfn and laravel-ide-helper authored Jan 11, 2021
    Configuration menu
    Copy the full SHA
    3376522 View commit details
    Browse the repository at this point in the history
  3. Fix broken ReflectionUnionTypes (#1132)

    * Fix exceptions on ReflectionUnionTypes
    this commit fixes exceptions thrown on ReflectionUnionType::isBuiltIn() and ReflectionUnionType::getNme() called on php8 union types
    
    * Fix exceptions on ReflectionUnionTypes
    this commit fixes exceptions thrown on ReflectionUnionType::isBuiltIn() and ReflectionUnionType::getNme() called on php8 union types
    
    * add check for php8.0
    
    * fix static analysis error
    
    * fix $types variable undefined
    
    * fix failing test
    
    * fix failing test
    
    * fixed style with php-cs-fixer
    
    * add test for union types in parameters and return type
    
    * add test for nullable union types in parameters and return type
    
    * updated CHANGELOG.md
    fabio-ivona authored Jan 11, 2021
    Configuration menu
    Copy the full SHA
    73c502d View commit details
    Browse the repository at this point in the history
  4. Update changelog and also automagically apply style fix (#1140)

    * changelog: re-order entry after recent merges in master
    
    * composer fix-style
    
    Co-authored-by: laravel-ide-helper <[email protected]>
    mfn and laravel-ide-helper authored Jan 11, 2021
    Configuration menu
    Copy the full SHA
    f0959c1 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2021

  1. Apply "@psr12" in php-cs-fixer (#1150)

    * Apply "@psr12" in php-cs-fixer
    
    * Run fix-style
    yaegassy authored Feb 5, 2021
    Configuration menu
    Copy the full SHA
    4f42af1 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2021

  1. Remove extra single quote

    zjbarg authored Feb 19, 2021
    Configuration menu
    Copy the full SHA
    db83fb8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1156 from ZaidBarghouthi/fix-zb-extra-quote

    Remove extra single quote
    mfn authored Feb 19, 2021
    Configuration menu
    Copy the full SHA
    b21324b View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2021

  1. Fix typo in README

    wilsenhc authored Feb 27, 2021
    Configuration menu
    Copy the full SHA
    aaade4e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1164 from wilsenhc/readme-fix

    Fix typo in README
    mfn authored Feb 27, 2021
    Configuration menu
    Copy the full SHA
    6c4dcd9 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2021

  1. Fix Relative class names are not converted to fully-qualified class n…

    …ames (FQCNs) (#1005)
    
    * Fix #627
    
    * Fix codestyle
    
    * Init
    
    * composer fix-style
    
    * Actualize
    
    * Fix
    
    * normalize composer.json
    
    * Fix
    
    * composer fix-style
    
    * Replace NamespaceUses with UsesResolver
    
    * Add UsesResolver tests
    
    * Add MethodTest::testClassAliases
    
    * Fix code style
    
    * Get rid of laravel support helpers
    
    * Make class UsesResolver stateless, update tests for it
    
    * composer fix-style
    
    Co-authored-by: Andrii Savluk <[email protected]>
    Co-authored-by: laravel-ide-helper <[email protected]>
    Co-authored-by: SavKS <[email protected]>
    Co-authored-by: Taras Fomin <[email protected]>
    5 people authored Mar 15, 2021
    Configuration menu
    Copy the full SHA
    c5e18be View commit details
    Browse the repository at this point in the history
  2. Add comments like table columns. (#1168)

    * add comment with @method & @property-read & property-write in models
    
    * add readme comment
    
    * add readme comment
    
    * add comment tag unit-test
    
    * add comment tag unit-test
    
    * both a getter and a setter has a @comment test
    
    * Update README.md
    
    improve README
    
    Co-authored-by: Markus Podar <[email protected]>
    
    * Update CHANGELOG.md
    
    Co-authored-by: Markus Podar <[email protected]>
    biiiiiigmonster and mfn authored Mar 15, 2021
    Configuration menu
    Copy the full SHA
    c5c9b2b View commit details
    Browse the repository at this point in the history
  3. Auto generate models (#1163)

    * Add illuminate/events as suggestion
    
    * Add post migration to config
    
    * Add listener to generate model helper
    
    * Add event listeners if enabled
    
    * Fix config file format
    
    * Add docblock for shouldRun flag
    
    * Allow running multiple commands after migrations
    
    * Simplify config
    
    * Change default value
    netpok authored Mar 15, 2021
    Configuration menu
    Copy the full SHA
    202395b View commit details
    Browse the repository at this point in the history
  4. chore: add missing changelog entries (#1176)

    * chore: mention the fix from #1005
    
    * chore: mention #1163
    mfn authored Mar 15, 2021
    Configuration menu
    Copy the full SHA
    8d8302f View commit details
    Browse the repository at this point in the history
  5. chore: adapt for release of 2.9.1

    mfn committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    b246d9a View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1178 from barryvdh/mp-release

    chore: adapt for release of 2.9.1
    mfn authored Mar 15, 2021
    Configuration menu
    Copy the full SHA
    d58731c View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2021

  1. Update CHANGELOG.md

    barryvdh authored Mar 17, 2021
    Configuration menu
    Copy the full SHA
    1a81370 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7f7e9e View commit details
    Browse the repository at this point in the history
  3. Remove dead code and unused helper (#1183)

    * Remove unnecessary check
    
    * Remove helper class
    netpok authored Mar 17, 2021
    Configuration menu
    Copy the full SHA
    244e936 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2021

  1. Add missing changelog entry

    netpok committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    172e430 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04c1139 View commit details
    Browse the repository at this point in the history
  3. Add changelog entry

    netpok committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    40c02c5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dedd69e View commit details
    Browse the repository at this point in the history
  5. Remove unused import

    netpok committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    c2dec69 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1192 from netpok/add_missing_changelog_entry

    Add missing changelog entry for #1184
    mfn authored Mar 22, 2021
    Configuration menu
    Copy the full SHA
    0cae143 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2021

  1. Configuration menu
    Copy the full SHA
    df994eb View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1193 from netpok/skip_generate_in_phpunit

    Skip post_migrate when running tests
    mfn authored Mar 23, 2021
    Configuration menu
    Copy the full SHA
    b8d5fc3 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2021

  1. Model hooks (#945)

    * Model hooks
    
    * composer fix-style
    
    * Fix test for ModelHooks
    
    Co-authored-by: laravel-ide-helper <[email protected]>
    wimski and laravel-ide-helper authored Mar 29, 2021
    Configuration menu
    Copy the full SHA
    f0c138c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    92d7f2e View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2021

  1. testing

    ahmed-aliraqi committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    b19b1d6 View commit details
    Browse the repository at this point in the history
  2. update changelog

    ahmed-aliraqi committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    e1af93f View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2021

  1. formatting

    ahmed-aliraqi committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    f0f7051 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1196 from ahmed-aliraqi/master

    Fix ide-helper:models exception if model doesn't have factory
    mfn authored Apr 1, 2021
    Configuration menu
    Copy the full SHA
    843067b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c8ebf56 View commit details
    Browse the repository at this point in the history
  4. Allowing Methods to be set in ModelHooks

    Rob Porter committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    16a4297 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9fe65e7 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2021

  1. Configuration menu
    Copy the full SHA
    2f61602 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1010cdb View commit details
    Browse the repository at this point in the history
  3. Adding tests to Set / unset methods

    Rob Porter committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    057efb0 View commit details
    Browse the repository at this point in the history
  4. run composer fix-style

    Rob Porter committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    39a96c3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    867a6fd View commit details
    Browse the repository at this point in the history
  6. chore: update changelog

    mfn committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    dcbe6c9 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2021

  1. Merge pull request #1198 from jenga201/master

    Allowing Methods to be set or unset in ModelHooks
    mfn authored Apr 3, 2021
    Configuration menu
    Copy the full SHA
    c1ddd30 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2021

  1. Fixing issue where incorrect autoloader unregistered (#1210)

    Co-authored-by: Terence Marks <[email protected]>
    tezhm and Terence Marks authored Apr 9, 2021
    Configuration menu
    Copy the full SHA
    ca94ffd View commit details
    Browse the repository at this point in the history
  2. chore: prepare 2.10.0 release (#1207)

    * chore: prepare 2.10.0 release
    
    * composer fix-style
    
    Co-authored-by: laravel-ide-helper <[email protected]>
    mfn and laravel-ide-helper authored Apr 9, 2021
    Configuration menu
    Copy the full SHA
    73b1012 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2021

  1. Fix link to DBAL types

    Documentation has been moved, old reference landing on 404.
    Pointed to 2.x as for the moment we end up with 2.x because of many other package dependencies.
    Madalin Ignisca authored Apr 12, 2021
    Configuration menu
    Copy the full SHA
    7cf8a51 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2021

  1. Update config/ide-helper.php

    Let's hope users know to switch to the version locked by composer.
    
    Co-authored-by: Markus Podar <[email protected]>
    Madalin Ignisca and mfn authored Apr 13, 2021
    Configuration menu
    Copy the full SHA
    c82529b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1211 from madalinignisca/patch-1

    Fix link to DBAL types
    mfn authored Apr 13, 2021
    Configuration menu
    Copy the full SHA
    dc5282e View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2021

  1. Update FUNDING.yml

    barryvdh authored Jun 12, 2021
    Configuration menu
    Copy the full SHA
    eb8c572 View commit details
    Browse the repository at this point in the history
  2. Update composer.json

    barryvdh authored Jun 12, 2021
    Configuration menu
    Copy the full SHA
    3a4eee9 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2021

  1. composer.json: remove --prefer-lowest (#1217)

    IMHO it's impractical to expect this package to have to work with the
    "first release of Laravel for any major release" even when there are
    already sever more releases: no one is/should stick to that version.
    
    This is a re-submit of #1076
    
    See also:
    - #1216 (comment)
    - #1185 (comment)
    mfn authored Jun 20, 2021
    Configuration menu
    Copy the full SHA
    df67074 View commit details
    Browse the repository at this point in the history
  2. Check for traits recursively (#1216)

    * Check for traits recursively
    
    * Remove autoload bool from class_uses_recursive
    
    * Add test
    
    * Update src/Console/ModelsCommand.php
    
    Co-authored-by: Markus Podar <[email protected]>
    
    * Updated changelog
    
    Co-authored-by: Markus Podar <[email protected]>
    daniel-de-wit and mfn authored Jun 20, 2021
    Configuration menu
    Copy the full SHA
    e71f3d5 View commit details
    Browse the repository at this point in the history
  3. Use platformName to determine db type (#1212)

    * Use current connection platform (driver) instead of default connection name to determine used dbms. Previous solution isn't working, when multiple connections with custom names are used.
    
    * chore: add changelog
    
    Co-authored-by: Markus Podar <[email protected]>
    stockalexander and mfn authored Jun 20, 2021
    Configuration menu
    Copy the full SHA
    af84c78 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2021

  1. Allow for PhpDoc for macros with union types (#1148)

    * Allow for PhpDoc for macros with union types
    
    * Replace null coalescing operator
    
    * Test init PhpDoc for macros with parameter union types
    
    * Allow for PhpDoc for macros with union return types
    
    * Add helper method to Macro class
    
    * Add changelog entry
    
    * Format
    
    * Complement changelog with PR link
    
    * Add missing return
    
    * Fix test for PHP < 8
    
    * Rewrite PHP 8 test using eval()
    
    * Remove obsolete test class
    
    * Suppress Psalm errors for undefined ReflectionUnionType class
    
    * Remove unreachable return statement
    riesjart authored Jul 30, 2021
    Configuration menu
    Copy the full SHA
    f4e0fc3 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2021

  1. fix when no enclosingClass can be found (#1239)

    In certain situations no enclosingClass can be found, quick fix is to just return then.
    JanMisker authored Aug 4, 2021
    Configuration menu
    Copy the full SHA
    b162347 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b75048 View commit details
    Browse the repository at this point in the history
  3. Bugfix/custom types cause exception (#1228)

    * bugfix/custom-types-cause-exception
    
    - Added use statements for DBAL Exception and Type
    - Added @throws tag to getPropertiesFromTable method
    - Added Type::addType() to properly register types
    - Added Try-Catch around Type::addType() to give users a proper error message, then throw the exception up.
    
    * bugfix/custom-types-cause-exception
    
    - Updated CHANGELOG.MD
    
    * bugfix/custom-types-cause-exception
    
    - Fixed `Type enum_string_boolean already exists.` error from being triggered when multiple models are loaded
    ZeroThe2nd authored Aug 4, 2021
    Configuration menu
    Copy the full SHA
    b6871d0 View commit details
    Browse the repository at this point in the history
  4. Make tests pass on Windows (#1205)

    * Make all tests pass cross platform
    
    * Add job to run tests on Windows
    
    * Merge test jobs with conditional Windows step for line endings
    
    * Prefix job name with OS
    
    * Update git lf step if statement
    
    * Exclude all tests for Windows except PHP 8.0
    
    * composer fix-style
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    Co-authored-by: laravel-ide-helper <[email protected]>
    3 people authored Aug 4, 2021
    Configuration menu
    Copy the full SHA
    37f0832 View commit details
    Browse the repository at this point in the history
  5. Fix #1173 Use FQN for write-mixin (#1174)

    * Fix #1173 Use FQN for write-mixin
    
    * Fix #1173 Use FQN for write-mixin: Update Test cases
    ajay-mm authored Aug 4, 2021
    Configuration menu
    Copy the full SHA
    2fc2396 View commit details
    Browse the repository at this point in the history
  6. Fix tests

    barryvdh committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    b268871 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2021

  1. Consider foreign key constraints with isRelationNullable (#1231)

    * Consider foreign key constraints with isRelationNullable
    
    * test: add belongsTo Variation
    
    * command: composer test-regenerate
    atushi-koga authored Aug 7, 2021
    Configuration menu
    Copy the full SHA
    52a4b64 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2021

  1. Move default models filename to config (#1241)

    * Move default models filename to config
    
    * Add default value when getting models helper filename from config
    
    * composer fix-style
    
    Co-authored-by: laravel-ide-helper <[email protected]>
    wimski and laravel-ide-helper authored Aug 10, 2021
    Configuration menu
    Copy the full SHA
    c733bde View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2021

  1. Update dependency composer/composer to 1.10.23 and 2.1.9 due to secur…

    …ity issue (#1271)
    
    * Update composer/composer to 2.0.23
    
    * Update composer/composer to 2.1.9
    
    * Also update composer/composer 1.x
    stijink authored Oct 25, 2021
    Configuration menu
    Copy the full SHA
    ae48e1e View commit details
    Browse the repository at this point in the history
  2. Generate cleaner model mixin classes (#1268)

    * Generate cleaner model mixin classes
    
    * Fix test
    georgeboot authored Oct 25, 2021
    Configuration menu
    Copy the full SHA
    dd12b7c View commit details
    Browse the repository at this point in the history
  3. Allow casts without property (#1267)

    * Allow casts without property
    
    * Update changelog
    Sparclex authored Oct 25, 2021
    Configuration menu
    Copy the full SHA
    a091b9c View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2021

  1. PHP 8.1 Support (#1274)

    * test against php 8.1
    
    * fix tests
    Sergiy Petrov authored Oct 31, 2021
    Configuration menu
    Copy the full SHA
    01be015 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2021

  1. Improve casts support (#1262)

    * support for all possible `Model::$casts` types
    
    * add testing for casts
    
    * update changelog
    
    * update changelog (again?)
    miken32 authored Nov 14, 2021
    Configuration menu
    Copy the full SHA
    ebea962 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2022

  1. Update README.md (#1290)

    Shorten links to texts from artisan commands so it will be easy to copy those commands to use.
    madurapa authored Jan 3, 2022
    Configuration menu
    Copy the full SHA
    6244a93 View commit details
    Browse the repository at this point in the history
  2. Support Laravel 8.77 Attributes (#1289)

    * ✨ Set properties from model functions returning an Attribute
    
    * ✅ Add test for model Attributes
    
    * 🎨 Fix code style
    
    * 🔖 Update changelog
    
    * ✅ Update test to not require php 8
    
    * 🐛 Fix PHP 7.3 incompatibility
    
    * ✅ Update tests to only run when Illuminate Attribute exists
    SimonJnsson authored Jan 3, 2022
    Configuration menu
    Copy the full SHA
    29dd57e View commit details
    Browse the repository at this point in the history
  3. Improve performance for supporting Laravel 8.77+ cast attributes (#1292)

    #1289 calls `getReturnType` for every method on every model, which in
    turn calls `getReturnTypeFromDocBlock` which has this code:
    ```php
    $phpDocContext = (new ContextFactory())->createFromReflector($reflection);
    ```
    Extracting the docblock is super slow, always has been. Now that we do
    this for every method, this adds up a lot.
    
    Performance on a private commercial project _before_ #1289 was introduced:
    ```
    $ time ./artisan ide-helper:models --write --reset >/dev/null
    
    real	0m2.857s
    user	0m1.835s
    sys	0m0.129s
    ```
    After #1289 :
    ```
    $ time ./artisan ide-helper:models --write --reset >/dev/null
    
    real	0m54.147s
    user	0m47.132s
    sys	0m1.047s
    ```
    
    However, in this case we **do not need** the phpdoc fallback (which is
    legitimate and by design for many other cases), because also the Laravel
    implementation only works by inspecting the _actual type_, see
    https://github.com/laravel/framework/blob/e0c2620b57be6416820ea7ca8e46fd2f71d2fe35/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php#L570-L575
    ```php
    $returnType = (new ReflectionMethod($this, $method))->getReturnType();
    
    return static::$attributeMutatorCache[get_class($this)][$key] = $returnType &&
                $returnType instanceof ReflectionNamedType &&
                $returnType->getName() === Attribute::class &&
                is_callable($this->{$method}()->get);
    ```
    
    This side-stepping the phpdoc parsing a) still works correctly and b)
    brings us back to the previous performance characteristics:
    ```
    time ./artisan ide-helper:models --write --reset >/dev/null
    
    real	0m2.987s
    user	0m1.915s
    sys	0m0.120s
    ```
    mfn authored Jan 3, 2022
    Configuration menu
    Copy the full SHA
    f2a7f9d View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2022

  1. Configuration menu
    Copy the full SHA
    744a9cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93d9873 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2022

  1. added laravel 9 support (#1297)

    * added laravel 9 support
    
    * added exclude directives to matrix
    
    * fixed matrix
    
    * Update composer.json
    
    * Update run-integration-tests.yml
    
    * Update CHANGELOG.md
    
    Co-authored-by: Ricardo Čerljenko <[email protected]>
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    3 people authored Jan 13, 2022
    Configuration menu
    Copy the full SHA
    de64d66 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2022

  1. Disabled PHPCS (#1301)

    PHPCS is a common development tool. It makes sense to disable it in addition to Eclipse/IntelliJ formatting disable
    yakatz authored Jan 20, 2022
    Configuration menu
    Copy the full SHA
    ac1e271 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2022

  1. Prepare 2.12 release

    ### Added
    - Add support for custom casts that using `Castable` [#1287 / binotaliu](#1287)
    - Added Laravel 9 support [#1297 / rcerljenko](#1297)
    mfn committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    7052b4f View commit details
    Browse the repository at this point in the history
  2. normalize composer.json

    mfn authored and actions-user committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    acb2df9 View commit details
    Browse the repository at this point in the history
  3. Update composer.json

    barryvdh authored Jan 23, 2022
    Configuration menu
    Copy the full SHA
    8835353 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1304 from mfn/mfn-release

    Prepare 2.12 release
    mfn authored Jan 23, 2022
    Configuration menu
    Copy the full SHA
    771770e View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2022

  1. Configuration menu
    Copy the full SHA
    2673bf4 View commit details
    Browse the repository at this point in the history
  2. Prepare 2.12.1 patch release (#1307)

    ### Fixed
    - Properly handle `Castable`s without return type. [#1306 / binotaliu](#1306)
    mfn authored Jan 24, 2022
    Configuration menu
    Copy the full SHA
    999167d View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2022

  1. Update README.md

    barryvdh authored Jan 30, 2022
    Configuration menu
    Copy the full SHA
    a227fca View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. Replace composer with copy of classmap generator (#1313)

    * Replace composer with copy of classmap generator
    
    * composer fix-style
    
    * Remove phpcleaner
    
    * composer fix-style
    
    * Use filecleaner copy
    
    * composer fix-style
    
    Co-authored-by: laravel-ide-helper <[email protected]>
    barryvdh and laravel-ide-helper authored Feb 8, 2022
    Configuration menu
    Copy the full SHA
    3b03e40 View commit details
    Browse the repository at this point in the history
  2. Normalize composer.json

    barryvdh committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    6627cb9 View commit details
    Browse the repository at this point in the history
  3. Update CHANGELOG.md

    barryvdh authored Feb 8, 2022
    Configuration menu
    Copy the full SHA
    7917cce View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2022

  1. Configuration menu
    Copy the full SHA
    ddb74fb View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Add support for Carbon serialization options (#1324)

    * Add Carbon serialization option handling
    
    * Tests Added
    
    * Add changelog
    
    * Spellcheck
    FLeudts authored Mar 4, 2022
    Configuration menu
    Copy the full SHA
    6041681 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2022

  1. Update composer.json (#1327)

    * Update composer.json
    
    * normalize composer.json
    
    Co-authored-by: barryvdh <[email protected]>
    barryvdh and barryvdh authored Mar 6, 2022
    Configuration menu
    Copy the full SHA
    6b58c23 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    barryvdh authored Mar 6, 2022
    Configuration menu
    Copy the full SHA
    3ba1e25 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2022

  1. Fix integration tests by fixing a PHP 8.1+ deprecation warnings in Re…

    …flectionClass (#1351)
    
    * gha: get more insights when/if logs exist
    
    * Better handle cases when we can receive a concrete instance
    
    The problem with `null` being passed to `ReflectionClass` was always
    there but in PHP 8.1+ it triggers a deprecation warnings.
    
    Since having `null` in `$concrete` doesn't make sense to reflect
    anything anyway, we just throw a custom exception (which gets caught a
    couple lines below) and just carry on.
    
    When using `-v` this can be seen, example:
    ```
    $ ./artisan ide-helper:meta -v
    Cannot make 'Faker\Generator': Class 'Faker\Provider\en_US\Barcode' not found.
    Cannot make 'Illuminate\Contracts\Auth\Authenticatable': Class  does not exist
    Cannot make 'cache.psr6': Class 'Symfony\Component\Cache\Adapter\Psr16Adapter' not found.
    Cannot make 'csp-nonce': Class 'Wza3Mf4CXIvCkcp9K3boMUGJoK6S9maO' not found.
    Cannot make 'env': Class 'local' not found.
    Cannot make 'filesystem.cloud': Disk [s3] does not have a configured driver.
    Cannot make 'redis.connection': Redis connection [default] not configured.
    A new meta file was written to .phpstorm.meta.php
    ```
    
    * gha: make sure to run meta with -v to see all output
    
    Helps when debugging things
    
    * Add CHANGELOG.md entry
    mfn authored May 21, 2022
    Configuration menu
    Copy the full SHA
    6a461a7 View commit details
    Browse the repository at this point in the history
  2. readme: explicitly state supported version (#1348)

    Based on the discussion in #1347
    mfn authored May 21, 2022
    Configuration menu
    Copy the full SHA
    a567f73 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2022

  1. Implement new config to specify return type of custom relations (#1300)

    * Implement new config to specify return type of custom relations
    
    * Apply suggestions from code review
    
    Co-authored-by: Markus Podar <[email protected]>
    
    * add test for morphed
    
    * fix test output
    
    * add info about how to add custom relationships
    
    * fix wording
    
    Co-authored-by: Markus Podar <[email protected]>
    Jefemy and mfn authored May 22, 2022
    Configuration menu
    Copy the full SHA
    ee9188a View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

  1. Feat useclassmappackage (#1357)

    * Use composer/class-map-generator
    
    * composer fix-style
    
    Co-authored-by: laravel-ide-helper <[email protected]>
    barryvdh and laravel-ide-helper authored Jun 20, 2022
    Configuration menu
    Copy the full SHA
    6e26f22 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2022

  1. Configuration menu
    Copy the full SHA
    5eadd2c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c40fee2 View commit details
    Browse the repository at this point in the history
  3. Allow for proper database resolve with schemas (#1349)

    * Allow for proper database resolve with schemas
    
    * Remove need to explode database and table name
    SimplyCorey authored Aug 11, 2022
    Configuration menu
    Copy the full SHA
    c76fbb5 View commit details
    Browse the repository at this point in the history
  4. Fix return type of methods provided by SoftDeletes (#1345)

    * Fix return type of methods provided by `SoftDeletes`
    
    * Update CHANGELOG
    
    * fix test / update snapshot
    KentarouTakeda authored Aug 11, 2022
    Configuration menu
    Copy the full SHA
    07f5eae View commit details
    Browse the repository at this point in the history
  5. Fix issue where \Eloquent is not included when using write_mixin (#1352)

    * Check for exact mixin name when writing
    
    * changelog
    
    * add mixin to test class
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    Jefemy and barryvdh authored Aug 11, 2022
    Configuration menu
    Copy the full SHA
    c8f0f91 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2022

  1. Fix database name (#1364)

    Co-authored-by: Simon Verwaard <[email protected]>
    sforward and sforward authored Aug 13, 2022
    Configuration menu
    Copy the full SHA
    532ae5b View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2022

  1. Fix typos

    krsriq authored Aug 20, 2022
    Configuration menu
    Copy the full SHA
    2c96c45 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2022

  1. Fix typo

    krsriq authored Aug 21, 2022
    Configuration menu
    Copy the full SHA
    e49c455 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8ecb3d View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. Add support for CastsInboundAttributes (#1329)

    * Add support for CastsInboundAttributes
    
    * Update changelog
    
    Co-authored-by: Simon Verwaard <[email protected]>
    sforward and sforward authored Sep 13, 2022
    Configuration menu
    Copy the full SHA
    dda200f View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Add phpstorm metadata for mock methods when testing (#1405)

    * Add phpstorm metadata for testing
    
    * Update CHANGELOG.md
    bentleyo authored Jan 17, 2023
    Configuration menu
    Copy the full SHA
    f055d42 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2023

  1. Use dev instead of stable (#1409)

    * Update run-integration-tests.yml
    
    * composer fix-style
    
    * Update run-integration-tests.yml
    
    Co-authored-by: laravel-ide-helper <[email protected]>
    barryvdh and laravel-ide-helper authored Jan 22, 2023
    Configuration menu
    Copy the full SHA
    b557692 View commit details
    Browse the repository at this point in the history
  2. Added support for Laravel 10 (#1406)

    * Added support for Laravel 10
    
    * Update run-tests.yml
    
    * Update run-tests.yml
    
    * Update run-integration-tests.yml
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    stefvanesch and barryvdh authored Jan 22, 2023
    Configuration menu
    Copy the full SHA
    9e50460 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2023

  1. gha: fix workflow by allowing the composer-normalize plugin (#1412)

    * gha: fix workflow by allowing the composer-normalize plugin
    
    We don't need to enable it in the project itself, but at least in this
    workflow which explicitly uses it.
    
    See https://github.com/barryvdh/laravel-ide-helper/actions/runs/3980013548/jobs/6822812621#step:4:34
    ```
    Error: ergebnis/composer-normalize (installed globally) contains a Composer plugin which is blocked by your allow-plugins config. You may add it to the list if you consider it safe.
    You can run "composer global config --no-plugins allow-plugins.ergebnis/composer-normalize [true|false]" to enable it (true) or disable it explicitly and suppress this exception (false)
    ```
    
    * gha: also run this workflow when it is changed itself
    mfn authored Jan 24, 2023
    Configuration menu
    Copy the full SHA
    5d9925b View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2023

  1. Generics annotations support (#1298)

    * option to use generics syntax, default to yes in laravel 9
    
    * rename `use_generics_syntax` to `use_generics_annotations`
    
    * update readme and changelog
    
    * remove laravel 9 default override
    
    * include key type in generics annotations
    
    * readme rewording
    
    * set `use_generics_annotations` to `true` by default
    
    * update tests to reflect `use_generics_annotations` being set to `true` by default
    
    * default `use_generics_annotations` setting to true when not set in config
    
    Co-authored-by: Markus Podar <[email protected]>
    
    ---------
    
    Co-authored-by: Markus Podar <[email protected]>
    tanerkay and mfn authored Jan 28, 2023
    Configuration menu
    Copy the full SHA
    f0e4cf5 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2023

  1. IDE Helper for Laravel

    barryvdh authored Feb 1, 2023
    Configuration menu
    Copy the full SHA
    edfb056 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2023

  1. Added support for Laravel 10 (+ update testing matrix) (#1407)

    * Laravel 10 support
    
    * Add events v10 to suggestions
    
    * Exclude invalid combinations from testing matrix, test on PHP 8.2
    
    * Update CHANGELOG.md
    
    * Use laravel/laravel dev-master as 10.x version
    
    * Exclude one more laravel-php combination
    
    * Use 10.* instead if dev-master
    
    * Update run-integration-tests.yml
    
    ---------
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    lptn and barryvdh authored Feb 4, 2023
    Configuration menu
    Copy the full SHA
    ce24d4b View commit details
    Browse the repository at this point in the history
  2. Fix Castables issue #1312 (#1388)

    * Return Castable class if failed to detect it from return types
    
    * fix-style
    
    * Add CHANGELOG.md entry
    kwarcu authored Feb 4, 2023
    Configuration menu
    Copy the full SHA
    81d5b22 View commit details
    Browse the repository at this point in the history
  3. Update composer.json

    barryvdh authored Feb 4, 2023
    Configuration menu
    Copy the full SHA
    1d30243 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9f5670b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    97fd0e0 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2023

  1. Refactor resolving of null information for custom casted attribute ty…

    …pes (#1330)
    
    * Refactor resolving of null information for custom casted attribute types
    
    * composer fix-style
    
    ---------
    
    Co-authored-by: laravel-ide-helper <[email protected]>
    wimski and laravel-ide-helper authored Feb 20, 2023
    Configuration menu
    Copy the full SHA
    9f97f7c View commit details
    Browse the repository at this point in the history
  2. add immutable_date/time:* casts (#1380)

    * add immutable_date/time:* casts
    
    * fix style
    
    * Update CHANGELOG.md
    
    ---------
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    3 people authored Feb 20, 2023
    Configuration menu
    Copy the full SHA
    b70a9f5 View commit details
    Browse the repository at this point in the history
  3. Update CHANGELOG.md

    barryvdh authored Feb 20, 2023
    Configuration menu
    Copy the full SHA
    aa1aa66 View commit details
    Browse the repository at this point in the history
  4. Add support for protected Attribute accessors (#1339)

    * Add support for protected Attribute accessors
    
    * Fix formatting
    
    * Prevent accessors methods marked as private from being added
    
    * Exclude specific accessors based on trait instead of class
    
    * Add changelog entry
    
    * Add clarifying comment
    
    * Fix accessor attributes not working on PHP < 8.1
    
    * Reintroduce method variable to reduce PR clutter
    
    * Change variable name to reduce PR clutter
    
    * Update CHANGELOG.md
    
    ---------
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    3 people authored Feb 20, 2023
    Configuration menu
    Copy the full SHA
    3988564 View commit details
    Browse the repository at this point in the history
  5. Remove offical support for Lumen (#1425)

    I'm proposing to drop official suport for Lumen for the following reasons:
    - Lumen itself is dead, per [1]
      > **Note:** In the years since releasing Lumen, PHP has made a variety of wonderful performance improvements. For this reason, along with the availability of [Laravel Octane](https://laravel.com/docs/octane), we no longer recommend that you begin new projects with Lumen. Instead, we recommend always beginning new projects with [Laravel](https://laravel.com).
    
      Laravel Octact is just Laravel and no one using ide-helper with it
      needs anything special.
    - For now, the change is mostly on the logistics side (readme, run tests,
      issues). In the past we had some special code but over time this was
      already removed.
      For now people still can use it and nothing will break out of the blue,
      but eventually it might
    
    There are a only a few Lumen related issues open currently which would
    be closed by this (#1105, #1069, #438).
    
    [1] laravel/lumen@69b2657
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    mfn and barryvdh authored Feb 20, 2023
    Configuration menu
    Copy the full SHA
    4dc20b0 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. Configuration menu
    Copy the full SHA
    edc422c View commit details
    Browse the repository at this point in the history
  2. Fix tests for edc422c (#1457)

    I just ran `composer test-regenerate`
    mfn authored Jul 31, 2023
    Configuration menu
    Copy the full SHA
    0801d00 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Catch error and exception (#1431) (#1465)

    Credit goes to @dongm2ez
    mfn authored Sep 6, 2023
    Configuration menu
    Copy the full SHA
    1a3affd View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. Configuration menu
    Copy the full SHA
    c751d3e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3cdd3af View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Test against php 8.2 and 8.3

    Integration tests against 8.3
    Unit tests against 8.2 and 8.3
    sergiy-petrov authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    3908742 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    21352a1 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. Bump the deps group with 1 update (#1478)

    Bumps the deps group with 1 update: [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action).
    
    - [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
    - [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
    - [Commits](stefanzweifel/git-auto-commit-action@v4...v5)
    
    ---
    updated-dependencies:
    - dependency-name: stefanzweifel/git-auto-commit-action
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: deps
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    6336db0 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2024

  1. Add support for nikic/php-parser:^5 and (hopefully) doctrine/dbal:^4 (#…

    …1502)
    
    * Add support for nikic/php-parser:^5
    
    - `createForHostVersion` has been added to php-parse 4.18 so code can
      run with both versions [1]
    - therefore also bumped the minimum required version to it
    
    Note:
    The dev dependency vimeo/psalm is **not** compatible with
    php-parser:^5 currently. This does not impact usages of this library,
    but sometimes cause friction when working on this library.
    For our CI this isn't a problem, because we already remove that
    dependency before running the test suite.
    
    [1] https://github.com/nikic/PHP-Parser/blob/master/UPGRADE-5.0.md#changes-to-the-parser-factory
    
    * gha: prevent cancelling of all jobs if one fails
    
    * Update CHANGELOG.md
    
    * gha: remove unsupported Laravel / PHP combinations
    
    According to https://laravel.com/docs/10.x/releases
    
    * Add dbal:^4 too
    mfn authored Jan 28, 2024
    Configuration menu
    Copy the full SHA
    726e595 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. test: case for the issue #1505;

    duplication of properties that have generic types specified and descriptions;
    olexoliinyk0 committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    850fc5f View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2024

  1. Adapt snapshot testcase

    mfn committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    9374952 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1506 from olexoliinyk0/test/case-of-1505

    test: case for the issue #1505;
    mfn authored Feb 3, 2024
    Configuration menu
    Copy the full SHA
    416e0ab View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. Remove doctrine/dbal:^4 support (#1507)

    * Remove doctrine/dbal:^4 support
    
    Tests fail with:
    `PHP Fatal error:  Declaration of Illuminate\Database\PDO\Concerns\ConnectsToDatabase::connect(array $params, $username = null, $password = null, array $driverOptions = []) must be compatible with Doctrine\DBAL\Driver::connect(array $params): Doctrine\DBAL\Driver\Connection in /home/runner/work/laravel-ide-helper/laravel-ide-helper/vendor/laravel/framework/src/Illuminate/Database/PDO/Concerns/ConnectsToDatabase.php on line 22`
    
    * gha: install with downgrading all dependencies
    
    * Add note to readme
    mfn authored Feb 5, 2024
    Configuration menu
    Copy the full SHA
    e65d30b View commit details
    Browse the repository at this point in the history
  2. Prepare 2.14.0 release (#1503)

    mfn authored Feb 5, 2024
    Configuration menu
    Copy the full SHA
    cf4687f View commit details
    Browse the repository at this point in the history
  3. Prepare 2.14.0 release

    barryvdh authored Feb 5, 2024
    Configuration menu
    Copy the full SHA
    485c756 View commit details
    Browse the repository at this point in the history
  4. Removed support for Laravel 8 and therefore for PHP < 8.0 (#1504)

    * Removed support for Laravel 8 and therefore for PHP < 8.0
    
    * Update php-cs-fixer to v3
    
    * composer fix-style
    mfn authored Feb 5, 2024
    Configuration menu
    Copy the full SHA
    a8b34ad View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Clarify use of --reset and --smart-reset flags in documentation (#1494)

    * Update README.md
    
    Clarified model behaviour when using the --reset option
    
    * Add --smart-reset to the documentation
    
    ---------
    
    Co-authored-by: Toby Twigger <[email protected]>
    tobytwigger and Toby Twigger authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    115068e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    512612f View commit details
    Browse the repository at this point in the history
  3. disable inspections of helper files (#1486)

    * disables all jetbrains inspections
    
    * disables all jetbrains' & phpcs' inspections
    eidng8 authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    cc9ed44 View commit details
    Browse the repository at this point in the history
  4. 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
    netpok authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    f465625 View commit details
    Browse the repository at this point in the history
  5. skip swoole, otherwise fatal error (#1477)

    Co-authored-by: Timo Frenzel <[email protected]>
    TimoFrenzel and Timo Frenzel authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    9d14b01 View commit details
    Browse the repository at this point in the history
  6. FIX vulnerability CVE-2021-43608 (#1392)

    Doctrine DBAL 3.x before 3.1.4 allows SQL Injection: https://www.cve.org/CVERecord?id=CVE-2021-43608
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    allanlaal and barryvdh authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    f3ad134 View commit details
    Browse the repository at this point in the history
  7. Add support for enum default arguments using enum cases (#1464)

    * add case when default value is of type enum
    
    * Update CHANGELOG.md
    
    * add tests for enum arguments default values
    
    * ignore psalm issue (built-in `\UnitEnum` class does not exists in PHP7)
    
    * Update run-static-analysis.yml to use PHP8.1
    
    ---------
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    3 people authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    f64ff9c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c290af8 View commit details
    Browse the repository at this point in the history
  9. 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
    filipac authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    04c1a8d View commit details
    Browse the repository at this point in the history
  10. Update CHANGELOG.md

    barryvdh authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    872b470 View commit details
    Browse the repository at this point in the history
  11. Update README.md (#1451)

    Fix intra page link for PHPDocs for models
    jamesbhatta authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    16548fc View commit details
    Browse the repository at this point in the history
  12. Fix tests and CS

    barryvdh committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    2535f8e View commit details
    Browse the repository at this point in the history
  13. Fix unsetMethod in ModelsCommand (#1453)

    * Fix unsetMethod in ModelsCommand
    
    * composer fix-style
    
    ---------
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    Co-authored-by: laravel-ide-helper <[email protected]>
    3 people authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    409bbf6 View commit details
    Browse the repository at this point in the history
  14. Reintroduce support for multi-db setups (#1426)

    This snipet was lost in the 2.12.x => 2.13.x change. Needs to be reintroduced to allow those who use fully qualified db+table names. (Eg, `database.table`)
    benpoulson authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    62fc436 View commit details
    Browse the repository at this point in the history
  15. CS

    barryvdh committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    7d69dc6 View commit details
    Browse the repository at this point in the history
  16. Support the BINARY(...) database field type (#1434)

    In singlestore we define some strings as
    $table->char($columnName, 40)->charset('binary')->collation('binary');
    
    In singelstore, this becomes 'BINARY(40)' instead of 'CHAR(40) CHARACTER SET 'binary' COLLATE 'binary'
    
    This change would allow the generated proeperties to be 'string' instead of 'mixed', as using a string is correct in this case.
    Sfonxs authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    5c886fb View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Add support for composite keys (#1479)

    * Add support for composite keys
    
    * chore: add composite foreign key test
    calebdw authored Feb 8, 2024
    Configuration menu
    Copy the full SHA
    6115100 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4751420 View commit details
    Browse the repository at this point in the history
  3. Add support for non type-hinted attribute accessors with no backed pr…

    …operty (#1411)
    
    * Read Attribute type from parameter
    
    * Update CHANGELOG.md
    
    * Update ModelsCommand.php
    
    ---------
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    3 people authored Feb 8, 2024
    Configuration menu
    Copy the full SHA
    f12d933 View commit details
    Browse the repository at this point in the history
  4. CS

    barryvdh committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    9343d3a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cee441c View commit details
    Browse the repository at this point in the history
  6. feat: add support for AsCollection and AsArrayObject casts (#1393)

    * feat: add support for AsCollection and AsArrayObject casts
    
    * update changelog
    
    * improve tests
    
    * remove change
    
    * composer fix-style
    
    * snapshot
    
    ---------
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    Co-authored-by: laravel-ide-helper <[email protected]>
    3 people authored Feb 8, 2024
    Configuration menu
    Copy the full SHA
    341c0ab View commit details
    Browse the repository at this point in the history
  7. Add AllowDynamicProperties Attribute to cooperate with php8.2 depre…

    …cation (#1428)
    
    * Add `AllowDynamicProperties` Attribute to cooperate with php8.2 deprecation
    
    * lint snapshot
    GeoSot authored Feb 8, 2024
    Configuration menu
    Copy the full SHA
    bc158a1 View commit details
    Browse the repository at this point in the history
  8. CS

    barryvdh committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    c119e89 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. Prepare 2.15 release (#1514)

    * Prepare 2.15 release
    
    * Prepare 2.15 release
    
    * Add missing CHANGELOG.md entries
    
    ---------
    
    Co-authored-by: Markus Podar <[email protected]>
    barryvdh and mfn authored Feb 14, 2024
    Configuration menu
    Copy the full SHA
    dca3ebe View commit details
    Browse the repository at this point in the history
  2. Adjust gitattribute (#1515)

    and make up for the missing php-cs-fixer changes
    
    The rest of the changes is just:
    - sorted alphabetically
    - align the `export-ignore` column
    mfn authored Feb 14, 2024
    Configuration menu
    Copy the full SHA
    b47a118 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. Fix final class keyword (#1517)

    * Fix final class keyword
    
    * Add changelog
    barryvdh authored Feb 15, 2024
    Configuration menu
    Copy the full SHA
    7783185 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. [TEST] Show that custom phpdoc tags without space afterwards are unex…

    …pectedly changed (#981)
    
    * tests: show that custom phpdoc tags without space afterwards are unexpectedly changed
    
    This adds a test for the (current bug) behaviour of #666
    
    If this ever gets fixed, this fails and needs to be adapted,
    ensuring it won't break again.
    
    * test: adapt now that #666 has been fixed
    mfn authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    bcc2332 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2024

  1. Switch to 3.0 tag (#1519)

    barryvdh authored Feb 17, 2024
    Configuration menu
    Copy the full SHA
    ed39977 View commit details
    Browse the repository at this point in the history
  2. Remove doctrine (#1512)

    * Remove doctrine
    
    * Fix tests
    
    * normalize composer.json
    
    * Add back platform
    
    * Bump integration versions
    
    * composer fix-style
    
    * Fix stability
    
    * Bump minimum to 10.36
    
    * Bump minimum to 10.38
    
    * More types
    
    * Fast fail off
    
    * Bump docblock
    
    * composer fix-style
    
    * add bpchar
    
    * Use match for type detection
    
    Co-authored-by: Hafez Divandari <[email protected]>
    
    * Use driverName
    
    Co-authored-by: Hafez Divandari <[email protected]>
    
    * fix match
    
    * TWeak types
    
    * Update snapshots
    
    * Remove testbench 7
    
    * composer fix-style
    
    * Update src/Console/ModelsCommand.php
    
    Co-authored-by: Hafez Divandari <[email protected]>
    
    * Update src/Console/ModelsCommand.php
    
    Co-authored-by: Hafez Divandari <[email protected]>
    
    * Tweak bool
    
    * Update src/Console/ModelsCommand.php
    
    Co-authored-by: Hafez Divandari <[email protected]>
    
    * composer fix-style
    
    * Remove custom types, default to string
    
    ---------
    
    Co-authored-by: barryvdh <[email protected]>
    Co-authored-by: laravel-ide-helper <[email protected]>
    Co-authored-by: Hafez Divandari <[email protected]>
    4 people authored Feb 17, 2024
    Configuration menu
    Copy the full SHA
    6579c03 View commit details
    Browse the repository at this point in the history
  3. Update CHANGELOG.md

    barryvdh authored Feb 17, 2024
    Configuration menu
    Copy the full SHA
    8bfe918 View commit details
    Browse the repository at this point in the history
  4. Add support for Laravel 11 (#1520)

    * update dependencies
    
    * Implement new methods for `Authenticatable` contract
    
    * Added Laravel 11 to CI test target
    
    * normalize composer.json
    
    * Remove obsolete migration method (column type) from test
    
    * Update snapshots
    
    * Add changelog entry
    
    * Update readme
    
    ---------
    
    Co-authored-by: 武田 憲太郎 <[email protected]>
    Co-authored-by: barryvdh <[email protected]>
    3 people authored Feb 17, 2024
    Configuration menu
    Copy the full SHA
    05259b6 View commit details
    Browse the repository at this point in the history
  5. Bump minimum PHP version to 8.1 & misc maintenance (#1521)

    * Bump minimum PHP version to 8.1
    
    Laravel 10 doesn't support 8.0 anyway
    
    * Remove phpunit 9
    
    * gha: remove unused matrix dimension
    
    * gha: bump runner os
    
    * tests: remove outdated version checks
    mfn authored Feb 17, 2024
    Configuration menu
    Copy the full SHA
    9af62e2 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. Use int/bool instead of longer variant (#1524)

    * Use int/bool instead of longer variant
    
    * Add changelog
    
    * Update snapshots
    barryvdh authored Feb 19, 2024
    Configuration menu
    Copy the full SHA
    d7ed749 View commit details
    Browse the repository at this point in the history
  2. Merge reset/smart reset, don't set class (#1523)

    * Merge reset/smart reset, don't set class
    
    * Add changelog
    barryvdh authored Feb 19, 2024
    Configuration menu
    Copy the full SHA
    02af2a2 View commit details
    Browse the repository at this point in the history
  3. Remove --smart-reset completely (#1525)

    * Remove `--smart-reset` completely
    
    See #1523 (comment)
    
    * Update CHANGELOG.md
    
    ---------
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    mfn and barryvdh authored Feb 19, 2024
    Configuration menu
    Copy the full SHA
    49ac75d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8eab699 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Prepare 3.0 release (#1530)

    * Prepare 3.0 release
    
    * Update CHANGELOG.md
    
    * Update CHANGELOG.md
    barryvdh authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    bc1d67f View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. Add pivot class property (#1518)

    * Add pivot class property
    
    * Add test for pivot class properties
    
    * Fix failed test for pivot class properties
    
    * Update CHANGELOG.md
    
    * Fix failed test
    d3v2a authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    ac7e186 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2024

  1. Configuration menu
    Copy the full SHA
    6338abb View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Improved attribute handling with types and Attribute support (#1567)

    * Add `AllowDynamicProperties` Attribute to cooperate with php8.2 deprecation
    
    * lint snapshot
    
    * Fix collection attribute typing
    
    * Update CHANGELOG.md
    
    * Update CHANGELOG.md
    
    * Update CHANGELOG.md
    
    * Update composer.json
    
    * Fix collectino with template types WIP
    
    * Add `AllowDynamicProperties` Attribute to cooperate with php8.2 deprecation
    
    * Fix collection attribute typing
    
    * Update CHANGELOG.md
    
    * Update CHANGELOG.md
    
    * Update composer.json
    
    * composer fix-style
    
    * Fix tests
    
    * Fix tests
    
    * composer fix-style
    
    * Fix collectino with complex template types{
    
    * Delete phpactor
    
    * Install from scrumble repo
    
    * Implemented correct attribute handling
    
    * composer fix-style
    
    * Revert "Install from scrumble repo"
    
    This reverts commit 3f1057a.
    
    * Re-add barryvdh links
    
    * Revert "Update composer.json"
    
    This reverts commit 98252fe.
    
    * Fix pivot test
    
    * Correct CHANGELOG.md with attribute merge request
    
    * More clear PhpDocTypeParser filename and clarified directory according to PSR12
    
    ---------
    
    Co-authored-by: GeoSot <[email protected]>
    Co-authored-by: laravel-ide-helper <[email protected]>
    Co-authored-by: Luukdewaaier <[email protected]>
    Co-authored-by: Luuk de Weijer <[email protected]>
    5 people authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    c6509b6 View commit details
    Browse the repository at this point in the history
  2. composer fix-style (#1558)

    mfn authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    0cf178a View commit details
    Browse the repository at this point in the history
  3. Update CHANGELOG.md

    barryvdh authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    a157391 View commit details
    Browse the repository at this point in the history
  4. Improve config file (#1564)

    * Improve config file
    
    - Terminate all descriptions with a dot .
    - Update outdated descriptions
    - Add missing examples
    
    * Fix capitalizations
    spawnia authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    67c00c0 View commit details
    Browse the repository at this point in the history
  5. feat: add support for AsEnumCollection casts (#1557)

    * Adding support for casting to AsEnumCollection
    
    * Adding missing string to advanced_casts table for enum_collection
    
    * Added to snapshots and ArrayCastsWithComment
    
    * Update CHANGELOG.md
    
    * Reverted automated whitespace, strict changes
    
    * Updated test snapshots, tests passing
    
    * Whitespace revert
    
    ---------
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    Braunson and barryvdh authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    672acce View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f7a3dc8 View commit details
    Browse the repository at this point in the history
  7. Add static to isBuiltin() check in ide-helper:models (#1541)

    * Add `\\static` as check
    
    For some reason, the `static` keyword as a return type, does not return `isBuiltin()` === true, so a `\\` is added. We need to manually add it to the built in check.
    
    * Update ModelsCommand.php
    
    * Add tests
    
    * Add CHANGELOG.md entry
    
    ---------
    
    Co-authored-by: Markus Podar <[email protected]>
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    3 people authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    f5759e2 View commit details
    Browse the repository at this point in the history
  8. Bump dev alias to 3.1

    barryvdh authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    ccac27c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    001091e View commit details
    Browse the repository at this point in the history
  10. Fix style again (#1569)

    barryvdh authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    2dba191 View commit details
    Browse the repository at this point in the history
  11. Update CHANGELOG.md (#1570)

    barryvdh authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    591e7d6 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Fix type of hased model property (#1579)

    * set hashed properity as string
    
    * add to changelog
    
    * add test
    khaled-sadek authored Aug 7, 2024
    Configuration menu
    Copy the full SHA
    643329d View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Fix badges (#1576)

    erikn69 authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    4f588b9 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. fix: Model's --write duplicates array properties (#1594)

    * Use the bug-fixed version of the upstream library
    
    * Updated the test for fixed features to correctly expect
    KentarouTakeda authored Oct 17, 2024
    Configuration menu
    Copy the full SHA
    d3965aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec61b82 View commit details
    Browse the repository at this point in the history
  3. Compatible with Generics Eloquent Builder in Laravel 11.15 (#1591)

    * feat: support generics eloquent builder
    
    * fix: required laravel version
    
    * fix: ci execution is only for Laravel-11
    
    * docs: add CHANGELOG
    
    * docs: update supported Laravel versions and adjust output examples
    KentarouTakeda authored Oct 17, 2024
    Configuration menu
    Copy the full SHA
    085ca3e View commit details
    Browse the repository at this point in the history
  4. Test against php 8.4 (#1592)

    * Test against php 8.4
    
    * Test against php 8.4
    
    ---------
    
    Co-authored-by: Barry vd. Heuvel <[email protected]>
    sergiy-petrov and barryvdh authored Oct 17, 2024
    Configuration menu
    Copy the full SHA
    2acec73 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7956ccb View commit details
    Browse the repository at this point in the history