ekmungai / eloquent-ifrs

Eloquent Double Entry Accounting with a focus on IFRS Compliant Reporting
MIT License
334 stars 68 forks source link

Upgrade: Bump nunomaduro/larastan from 0.7.12 to 1.0.0 #100

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps nunomaduro/larastan from 0.7.12 to 1.0.0.

Release notes

Sourced from nunomaduro/larastan's releases.

1.0.0

What's Changed

Added

You can read more details about the rules here.

Fixed

BC breaking changes

New Contributors

Full Changelog: https://github.com/nunomaduro/larastan/compare/v0.7.14...1.0.0

0.7.15

What changed?

Fixed

  • Removed tags from conditional rules.

Full Changelog: https://github.com/nunomaduro/larastan/compare/v0.7.14...v0.7.15

0.7.14

What's Changed

Fixed

  • Fixed template resolution when flatMap's callback returns an Enumerable (#970) Thanks @​bastien-phi

Added

  • Detection of fields added/modified a migration $table->after() method (Added in Laravel 8.27). (#972) Thanks @​jimohalloran
  • Add new rule NoModelMake to prevent inefficient model instantiation (#976) Thanks @​spawnia

New Contributors

Full Changelog: https://github.com/nunomaduro/larastan/compare/v0.7.13...v0.7.14

0.7.13

Fixed

... (truncated)

Changelog

Sourced from nunomaduro/larastan's changelog.

[1.0.0] - 2021-01-11

Added

Fixed

BC breaking changes

[0.7.15] - 2021-10-26

Fixed

  • Removed tags from conditional rules.

[0.7.14] - 2021-10-25

Fixed

  • Fixed template resolution when flatMap's callback returns an Enumerable (#970) Thanks @​bastien-phi

Added

  • Detection of fields added/modified a migration $table->after() method (Added in Laravel 8.27). (#972) Thanks @​jimohalloran
  • Add new rule NoModelMake to prevent inefficient model instantiation (#976) Thanks @​spawnia

[0.7.13] - 2021-10-14

Fixed

Added

  • Support global macros on the eloquent query builder.
  • Partial support for defining columns with foreignIdFor in migrations. (#932) Thanks @​Josh-G
  • Extension for collect helper and Collection::make (#904)
  • Support for scopes defined in model docblocks (88422fb)
  • rescue helper stub (#961) Thanks @​jrmajor
  • Added trait_exists to ensure orchestra/testbench is installed for packages. (#957) Thanks @​rajyan
Upgrade guide

Sourced from nunomaduro/larastan's upgrade guide.

Upgrade Guide

Upgrading to 0.7.11

Laravel 8 Model Factory support

0.7.11 adds support for Laravel 8 model factory return types and methods. But there is one step you need to do before taking advantage of this.

Because Factory class is marked as generic now, you need to also specify this in your model factories.

So for example if you have UserFactory class, the following change needs to be made:

<?php

/** @​extends Factory<User> */ class UserFactory extends Factory { // ... }

So general rule is that @extends Factory<MODELNAME> PHPDoc needs to be added to factory class, where MODELNAME is the model class name which this factory is using.

Upgrading to 0.7.0

databaseMigrationsPath parameter is now an array

databaseMigrationsPath parameter is changed to be an array from string. To allow multiple migration paths.

Upgrading to 0.6

In previous versions of Larastan, reportUnmatchedIgnoredErrors config value was set to false by Larastan. Larastan no longer ignores errors on your behalf. Here is how you can fix them yourself:

Result of function abort (void) is used

Stop return-ing abort.

-return abort(401);
+abort(401);

Call to an undefined method Illuminate\Support\HigherOrder

Larastan still does not understand this particular magic, you can ignore it yourself for now.

Method App\Exceptions\Handler::render() should return Illuminate\Http\Response but returns Symfony\Component\HttpFoundation\Response

Fix the docblock.

... (truncated)

Commits
  • a5a6bda docs(release): 1.0.0
  • e67a1b0 refactor(tests): update test data
  • be8cfb1 docs: add new rules to documentation
  • 2b83727 refactor: removes license header
  • 8ad88e5 refactor: remove unused trait HasBroker
  • 37f9ce8 refactor!: JsonResource is not generic
  • c5b81cf feat: update stubs to use non-empty-string
  • 37e10b5 Update laravel-test.sh
  • 6d42547 Update laravel-test.sh
  • 05f1444 Merge pull request #993 from nunomaduro/analysis-OMGlgR
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #101.