Renamed CheckJobDispatchArgumentTypesCompatibleWithClassConstructorRule to CheckDispatchArgumentTypesCompatibleWithClassConstructorRule by @canvural in nunomaduro/larastan#1003
CheckDispatchArgumentTypesCompatibleWithClassConstructorRule now checks for argument types compatibility with the class constructor for both Event and Job classes. by @canvural in nunomaduro/larastan#1003
Renamed CheckJobDispatchArgumentTypesCompatibleWithClassConstructorRule to CheckDispatchArgumentTypesCompatibleWithClassConstructorRule by @canvural in nunomaduro/larastan#1003
CheckDispatchArgumentTypesCompatibleWithClassConstructorRule now checks for argument types compatibility with the class constructor for both Event and Job classes. by @canvural in nunomaduro/larastan#1003
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
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)
Bumps nunomaduro/larastan from 0.6.12 to 1.0.2.
Release notes
Sourced from nunomaduro/larastan's releases.
... (truncated)
Changelog
Sourced from nunomaduro/larastan's changelog.
... (truncated)
Upgrade guide
Sourced from nunomaduro/larastan's upgrade guide.
... (truncated)
Commits
3e0beab
docs(release): 1.0.267c45f6
Update FUNDING.yml33a0e57
feat: run tests on PHP 8.1 (#1043)d2cd336
Merge pull request #1042 from nunomaduro/analysis-ajK9nVd15e98d
Apply fixes from StyleCI813b3b4
fix: improve return types for Collectionfirst
,firstWhere
,last
(#1025)50ef079
fix: respect ancestor property tags in model extensions (#1037)19098c7
fix: the tap helper should not enforce any return type for the callback53ef50c
fix: Laravel container can have scalar bindings (#1028)22b4a19
fix: Eloquent collection has array-key for the key type (#1027)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)