mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2024-11-26 20:34:48 +01:00
chore: drop support for Laravel 7
Laravel 7 has reached its end-of-life.
This commit is contained in:
parent
c032e4eb8a
commit
d475892ecc
@ -5,15 +5,15 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": "^7.3|^8",
|
"php": "^7.3|^8",
|
||||||
"ext-simplexml": "*",
|
"ext-simplexml": "*",
|
||||||
"illuminate/config": "^6.0 || ^7.0 || ^8.0",
|
"illuminate/config": "^6.0 || ^8.0",
|
||||||
"illuminate/container": "^6.0 || ^7.0 || ^8.0",
|
"illuminate/container": "^6.0 || ^8.0",
|
||||||
"illuminate/contracts": "^6.0 || ^7.0 || ^8.0",
|
"illuminate/contracts": "^6.0 || ^8.0",
|
||||||
"illuminate/database": "^6.0 || ^7.0 || ^8.0",
|
"illuminate/database": "^6.0 || ^8.0",
|
||||||
"illuminate/events": "^6.0 || ^7.0 || ^8.0",
|
"illuminate/events": "^6.0 || ^8.0",
|
||||||
"illuminate/http": "^6.0 || ^7.0 || ^8.0",
|
"illuminate/http": "^6.0 || ^8.0",
|
||||||
"illuminate/routing": "^6.0 || ^7.0 || ^8.0",
|
"illuminate/routing": "^6.0 || ^8.0",
|
||||||
"illuminate/support": "^6.0 || ^7.0 || ^8.0",
|
"illuminate/support": "^6.0 || ^8.0",
|
||||||
"illuminate/view": "^6.0 || ^7.0 || ^8.0",
|
"illuminate/view": "^6.0 || ^8.0",
|
||||||
"vimeo/psalm": "^4.8.1",
|
"vimeo/psalm": "^4.8.1",
|
||||||
"orchestra/testbench": "^3.8 || ^4.0 || ^5.0 || ^6.0",
|
"orchestra/testbench": "^3.8 || ^4.0 || ^5.0 || ^6.0",
|
||||||
"barryvdh/laravel-ide-helper": ">=2.8.0 <2.9.2"
|
"barryvdh/laravel-ide-helper": ">=2.8.0 <2.9.2"
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @template TModel of \Illuminate\Database\Eloquent\Model
|
|
||||||
* @template TNameOrCountOrNull of string|int|null
|
|
||||||
* @template TCountOrNull of int|null
|
|
||||||
*
|
|
||||||
* @param class-string<TModel> $modelClassName
|
|
||||||
* @param TNameOrCountOrNull $nameOrCount
|
|
||||||
* @param TCountOrNull $count
|
|
||||||
*
|
|
||||||
* @return (
|
|
||||||
TCountOrNull is int
|
|
||||||
? Illuminate\Database\Eloquent\FactoryBuilder<TModel, TCountOrNull>
|
|
||||||
: (
|
|
||||||
TNameOrCountOrNull is int
|
|
||||||
? Illuminate\Database\Eloquent\FactoryBuilder<TModel, TNameOrCountOrNull>
|
|
||||||
: Illuminate\Database\Eloquent\FactoryBuilder<TModel, 1>
|
|
||||||
)
|
|
||||||
|
|
||||||
)
|
|
||||||
*/
|
|
||||||
function factory(string $modelClassName, $nameOrCount = null, $count = null)
|
|
||||||
{
|
|
||||||
}
|
|
@ -25,7 +25,7 @@ Feature: factory()
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
Scenario: can use factory helper in Laravel 6.x and 7.x
|
Scenario: can use factory helper in Laravel 6.x and 7.x
|
||||||
Given I have the "laravel/framework" package satisfying the "6.* || 7.*"
|
Given I have the "laravel/framework" package satisfying the "6.*"
|
||||||
And I have the following code
|
And I have the following code
|
||||||
"""
|
"""
|
||||||
class FactoryTest {
|
class FactoryTest {
|
||||||
|
Loading…
Reference in New Issue
Block a user