Compare commits

...

6 Commits

Author SHA1 Message Date
philipp lang 95531f4e59 Lint
continuous-integration/drone/push Build is failing Details
2025-03-30 21:52:17 +02:00
philipp lang cec6a05284 Add configs for User Seeder 2025-03-30 21:44:59 +02:00
philipp lang 78bcf18e63 Lint 2025-03-30 21:41:12 +02:00
philipp lang faacf1d892 Update larastan 2025-03-30 21:40:45 +02:00
philipp lang df2b38a8f2 Update laravel-nami 2025-03-30 21:40:31 +02:00
philipp lang 1bc1f620b4 Mod copydb 2025-03-30 16:26:01 +02:00
17 changed files with 116 additions and 125 deletions

View File

@ -129,6 +129,7 @@ class Principal implements PrincipalBackendInterface
*/ */
public function findByUri($uri, $principalPrefix) public function findByUri($uri, $principalPrefix)
{ {
return null;
} }
/** /**

View File

@ -15,7 +15,6 @@ class Fee extends Model
use HasFactory; use HasFactory;
use HasNamiField; use HasNamiField;
/** @var array<int, string> */
public $fillable = ['name', 'nami_id']; public $fillable = ['name', 'nami_id'];
/** @var bool */ /** @var bool */

View File

@ -11,7 +11,7 @@ class Authenticate extends Middleware
* *
* @param \Illuminate\Http\Request $request * @param \Illuminate\Http\Request $request
* *
* @return string|null * @return void
*/ */
protected function redirectTo($request) protected function redirectTo($request)
{ {

View File

@ -39,7 +39,7 @@ class MassStoreAction
foreach ($memberGroup as $members) { foreach ($memberGroup as $members) {
$invoice = Invoice::createForMember($members->first(), $members, $year); $invoice = Invoice::createForMember($members->first(), $members, $year);
$invoice->save(); $invoice->save();
$invoice->positions()->createMany($invoice->positions); $invoice->positions()->createMany($invoice->positions->toArray());
$invoices->push($invoice->fresh('positions')); $invoices->push($invoice->fresh('positions'));
} }

View File

@ -8,7 +8,7 @@ use Spatie\LaravelData\Data;
/** /**
* @template T of Model * @template T of Model
* @property Builder $query * @property Builder<T> $query
*/ */
abstract class Filter extends Data abstract class Filter extends Data
{ {
@ -40,7 +40,7 @@ abstract class Filter extends Data
} }
/** /**
* @return static(self<T>) * @return static
*/ */
public function toDefault(): self public function toDefault(): self
{ {

View File

@ -8,7 +8,7 @@ use Spatie\LaravelData\Data;
/** /**
* @template T of Model * @template T of Model
* @property Builder $query * @property Builder<T> $query
*/ */
abstract class ScoutFilter extends Data abstract class ScoutFilter extends Data
{ {

View File

@ -68,9 +68,9 @@ abstract class Type
} }
/** /**
* @return array<string, array<string, mixed>> * @return mixed
*/ */
public function toResource(): array public function toResource()
{ {
return [ return [
'cls' => get_class($this), 'cls' => get_class($this),
@ -93,8 +93,8 @@ abstract class Type
} }
$this->list($name, $domain) $this->list($name, $domain)
->filter(fn ($listEntry) => $results->doesntContain(fn ($r) => $r->is($listEntry))) ->filter(fn ($listEntry) => $results->doesntContain(fn ($r) => $r->is($listEntry)))
->each(fn ($listEntry) => $this->remove($name, $domain, $listEntry->email)); ->each(fn ($listEntry) => $this->remove($name, $domain, $listEntry->email));
} }
/** /**

View File

@ -14,9 +14,6 @@ class Subscription extends Model
/** @use HasFactory<SubscriptionFactory> */ /** @use HasFactory<SubscriptionFactory> */
use HasFactory; use HasFactory;
/**
* @var array<int, string>
*/
public $fillable = ['name', 'fee_id']; public $fillable = ['name', 'fee_id'];
public function getAmount(): int public function getAmount(): int

View File

@ -16,9 +16,6 @@ class Subactivity extends Model
use HasNamiField; use HasNamiField;
use Sluggable; use Sluggable;
/**
* @var array<int, string>
*/
public $fillable = ['is_age_group', 'is_filterable', 'slug', 'name', 'nami_id']; public $fillable = ['is_age_group', 'is_filterable', 'slug', 'name', 'nami_id'];
/** /**
@ -26,9 +23,6 @@ class Subactivity extends Model
*/ */
public $timestamps = false; public $timestamps = false;
/**
* @var array<string, string>
*/
public $casts = [ public $casts = [
'is_age_group' => 'boolean', 'is_age_group' => 'boolean',
'is_filterable' => 'boolean', 'is_filterable' => 'boolean',

View File

@ -3,8 +3,8 @@
echo "drop database scoutrobot;" | sudo mysql echo "drop database scoutrobot;" | sudo mysql
echo "create database scoutrobot;" | sudo mysql echo "create database scoutrobot;" | sudo mysql
ssh -l stammsilva zoomyboy.de "cd /usr/share/webapps/nami_silva && docker compose exec db mysqldump -udb -p$SCOUTROBOT_DB_PASSWORD db" > db.tmp ssh -l stamm-silva zoomyboy.de "cd /usr/share/webapps/adrema_silva && docker compose exec db mysqldump -udb -p$SCOUTROBOT_DB_PASSWORD db" > db.tmp
sudo mysql scoutrobot < db.tmp sudo mysql adrema < db.tmp
rm db.tmp rm db.tmp
echo 'app(\App\Form\FormSettings::class)->fill(["registerUrl" => "http://stammsilva.test/anmeldung/{slug}/register", "clearCacheUrl" => "http://stammsilva.test/adrema/clear-cache"])->save();' | php artisan tinker echo 'app(\App\Form\FormSettings::class)->fill(["registerUrl" => "http://stammsilva.test/anmeldung/{slug}/register", "clearCacheUrl" => "http://stammsilva.test/adrema/clear-cache"])->save();' | php artisan tinker

View File

@ -80,12 +80,12 @@
}, },
"require-dev": { "require-dev": {
"fakerphp/faker": "^1.9.1", "fakerphp/faker": "^1.9.1",
"larastan/larastan": "^2.0", "larastan/larastan": "^3.0",
"laravel/envoy": "^2.8", "laravel/envoy": "^2.8",
"mockery/mockery": "^1.4.4", "mockery/mockery": "^1.4.4",
"orchestra/testbench": "^9.0", "orchestra/testbench": "^9.0",
"pestphp/pest": "^3.0", "pestphp/pest": "^3.0",
"phpstan/phpstan-mockery": "^1.1" "phpstan/phpstan-mockery": "^2.0"
}, },
"config": { "config": {
"optimize-autoloader": true, "optimize-autoloader": true,

185
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "10f0b0d2a8dee4a8dad4821de9935f85", "content-hash": "b901e66375d81c04e5067a7352780f13",
"packages": [ "packages": [
{ {
"name": "amphp/amp", "name": "amphp/amp",
@ -904,16 +904,16 @@
}, },
{ {
"name": "brianium/paratest", "name": "brianium/paratest",
"version": "v7.7.0", "version": "v7.8.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/paratestphp/paratest.git", "url": "https://github.com/paratestphp/paratest.git",
"reference": "4fb3f73bc5a4c3146bac2850af7dc72435a32daf" "reference": "a585c346ddf1bec22e51e20b5387607905604a71"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/paratestphp/paratest/zipball/4fb3f73bc5a4c3146bac2850af7dc72435a32daf", "url": "https://api.github.com/repos/paratestphp/paratest/zipball/a585c346ddf1bec22e51e20b5387607905604a71",
"reference": "4fb3f73bc5a4c3146bac2850af7dc72435a32daf", "reference": "a585c346ddf1bec22e51e20b5387607905604a71",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -924,23 +924,23 @@
"fidry/cpu-core-counter": "^1.2.0", "fidry/cpu-core-counter": "^1.2.0",
"jean85/pretty-package-versions": "^2.1.0", "jean85/pretty-package-versions": "^2.1.0",
"php": "~8.2.0 || ~8.3.0 || ~8.4.0", "php": "~8.2.0 || ~8.3.0 || ~8.4.0",
"phpunit/php-code-coverage": "^11.0.8", "phpunit/php-code-coverage": "^11.0.9 || ^12.0.4",
"phpunit/php-file-iterator": "^5.1.0", "phpunit/php-file-iterator": "^5.1.0 || ^6",
"phpunit/php-timer": "^7.0.1", "phpunit/php-timer": "^7.0.1 || ^8",
"phpunit/phpunit": "^11.5.1", "phpunit/phpunit": "^11.5.11 || ^12.0.6",
"sebastian/environment": "^7.2.0", "sebastian/environment": "^7.2.0 || ^8",
"symfony/console": "^6.4.14 || ^7.2.1", "symfony/console": "^6.4.17 || ^7.2.1",
"symfony/process": "^6.4.14 || ^7.2.0" "symfony/process": "^6.4.19 || ^7.2.4"
}, },
"require-dev": { "require-dev": {
"doctrine/coding-standard": "^12.0.0", "doctrine/coding-standard": "^12.0.0",
"ext-pcov": "*", "ext-pcov": "*",
"ext-posix": "*", "ext-posix": "*",
"phpstan/phpstan": "^2.0.3", "phpstan/phpstan": "^2.1.6",
"phpstan/phpstan-deprecation-rules": "^2.0.1", "phpstan/phpstan-deprecation-rules": "^2.0.1",
"phpstan/phpstan-phpunit": "^2.0.1", "phpstan/phpstan-phpunit": "^2.0.4",
"phpstan/phpstan-strict-rules": "^2", "phpstan/phpstan-strict-rules": "^2.0.3",
"squizlabs/php_codesniffer": "^3.11.1", "squizlabs/php_codesniffer": "^3.11.3",
"symfony/filesystem": "^6.4.13 || ^7.2.0" "symfony/filesystem": "^6.4.13 || ^7.2.0"
}, },
"bin": [ "bin": [
@ -981,7 +981,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/paratestphp/paratest/issues", "issues": "https://github.com/paratestphp/paratest/issues",
"source": "https://github.com/paratestphp/paratest/tree/v7.7.0" "source": "https://github.com/paratestphp/paratest/tree/v7.8.3"
}, },
"funding": [ "funding": [
{ {
@ -993,7 +993,7 @@
"type": "paypal" "type": "paypal"
} }
], ],
"time": "2024-12-11T14:50:44+00:00" "time": "2025-03-05T08:29:11+00:00"
}, },
{ {
"name": "brick/math", "name": "brick/math",
@ -6626,38 +6626,38 @@
}, },
{ {
"name": "pestphp/pest", "name": "pestphp/pest",
"version": "v3.7.4", "version": "v3.8.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pestphp/pest.git", "url": "https://github.com/pestphp/pest.git",
"reference": "4a987d3d5c4e3ba36c76fecbf56113baac2d1b2b" "reference": "42e1b9f17fc2b2036701f4b968158264bde542d4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pestphp/pest/zipball/4a987d3d5c4e3ba36c76fecbf56113baac2d1b2b", "url": "https://api.github.com/repos/pestphp/pest/zipball/42e1b9f17fc2b2036701f4b968158264bde542d4",
"reference": "4a987d3d5c4e3ba36c76fecbf56113baac2d1b2b", "reference": "42e1b9f17fc2b2036701f4b968158264bde542d4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"brianium/paratest": "^7.7.0", "brianium/paratest": "^7.8.3",
"nunomaduro/collision": "^8.6.1", "nunomaduro/collision": "^8.7.0",
"nunomaduro/termwind": "^2.3.0", "nunomaduro/termwind": "^2.3.0",
"pestphp/pest-plugin": "^3.0.0", "pestphp/pest-plugin": "^3.0.0",
"pestphp/pest-plugin-arch": "^3.0.0", "pestphp/pest-plugin-arch": "^3.1.0",
"pestphp/pest-plugin-mutate": "^3.0.5", "pestphp/pest-plugin-mutate": "^3.0.5",
"php": "^8.2.0", "php": "^8.2.0",
"phpunit/phpunit": "^11.5.3" "phpunit/phpunit": "^11.5.15"
}, },
"conflict": { "conflict": {
"filp/whoops": "<2.16.0", "filp/whoops": "<2.16.0",
"phpunit/phpunit": ">11.5.3", "phpunit/phpunit": ">11.5.15",
"sebastian/exporter": "<6.0.0", "sebastian/exporter": "<6.0.0",
"webmozart/assert": "<1.11.0" "webmozart/assert": "<1.11.0"
}, },
"require-dev": { "require-dev": {
"pestphp/pest-dev-tools": "^3.3.0", "pestphp/pest-dev-tools": "^3.4.0",
"pestphp/pest-plugin-type-coverage": "^3.2.3", "pestphp/pest-plugin-type-coverage": "^3.5.0",
"symfony/process": "^7.2.0" "symfony/process": "^7.2.5"
}, },
"bin": [ "bin": [
"bin/pest" "bin/pest"
@ -6722,7 +6722,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/pestphp/pest/issues", "issues": "https://github.com/pestphp/pest/issues",
"source": "https://github.com/pestphp/pest/tree/v3.7.4" "source": "https://github.com/pestphp/pest/tree/v3.8.0"
}, },
"funding": [ "funding": [
{ {
@ -6734,7 +6734,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-01-23T14:03:29+00:00" "time": "2025-03-30T17:49:10+00:00"
}, },
{ {
"name": "pestphp/pest-plugin", "name": "pestphp/pest-plugin",
@ -6808,16 +6808,16 @@
}, },
{ {
"name": "pestphp/pest-plugin-arch", "name": "pestphp/pest-plugin-arch",
"version": "v3.0.0", "version": "v3.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pestphp/pest-plugin-arch.git", "url": "https://github.com/pestphp/pest-plugin-arch.git",
"reference": "0a27e55a270cfe73d8cb70551b91002ee2cb64b0" "reference": "ebec636b97ee73936ee8485e15a59c3f5a4c21b2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/0a27e55a270cfe73d8cb70551b91002ee2cb64b0", "url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/ebec636b97ee73936ee8485e15a59c3f5a4c21b2",
"reference": "0a27e55a270cfe73d8cb70551b91002ee2cb64b0", "reference": "ebec636b97ee73936ee8485e15a59c3f5a4c21b2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6826,8 +6826,8 @@
"ta-tikoma/phpunit-architecture-test": "^0.8.4" "ta-tikoma/phpunit-architecture-test": "^0.8.4"
}, },
"require-dev": { "require-dev": {
"pestphp/pest": "^3.0.0", "pestphp/pest": "^3.7.5",
"pestphp/pest-dev-tools": "^3.0.0" "pestphp/pest-dev-tools": "^3.4.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@ -6862,7 +6862,7 @@
"unit" "unit"
], ],
"support": { "support": {
"source": "https://github.com/pestphp/pest-plugin-arch/tree/v3.0.0" "source": "https://github.com/pestphp/pest-plugin-arch/tree/v3.1.0"
}, },
"funding": [ "funding": [
{ {
@ -6874,7 +6874,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2024-09-08T23:23:55+00:00" "time": "2025-03-30T17:28:50+00:00"
}, },
{ {
"name": "pestphp/pest-plugin-mutate", "name": "pestphp/pest-plugin-mutate",
@ -8190,16 +8190,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "11.5.3", "version": "11.5.15",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "30e319e578a7b5da3543073e30002bf82042f701" "reference": "4b6a4ee654e5e0c5e1f17e2f83c0f4c91dee1f9c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/30e319e578a7b5da3543073e30002bf82042f701", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4b6a4ee654e5e0c5e1f17e2f83c0f4c91dee1f9c",
"reference": "30e319e578a7b5da3543073e30002bf82042f701", "reference": "4b6a4ee654e5e0c5e1f17e2f83c0f4c91dee1f9c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -8209,24 +8209,24 @@
"ext-mbstring": "*", "ext-mbstring": "*",
"ext-xml": "*", "ext-xml": "*",
"ext-xmlwriter": "*", "ext-xmlwriter": "*",
"myclabs/deep-copy": "^1.12.1", "myclabs/deep-copy": "^1.13.0",
"phar-io/manifest": "^2.0.4", "phar-io/manifest": "^2.0.4",
"phar-io/version": "^3.2.1", "phar-io/version": "^3.2.1",
"php": ">=8.2", "php": ">=8.2",
"phpunit/php-code-coverage": "^11.0.8", "phpunit/php-code-coverage": "^11.0.9",
"phpunit/php-file-iterator": "^5.1.0", "phpunit/php-file-iterator": "^5.1.0",
"phpunit/php-invoker": "^5.0.1", "phpunit/php-invoker": "^5.0.1",
"phpunit/php-text-template": "^4.0.1", "phpunit/php-text-template": "^4.0.1",
"phpunit/php-timer": "^7.0.1", "phpunit/php-timer": "^7.0.1",
"sebastian/cli-parser": "^3.0.2", "sebastian/cli-parser": "^3.0.2",
"sebastian/code-unit": "^3.0.2", "sebastian/code-unit": "^3.0.3",
"sebastian/comparator": "^6.3.0", "sebastian/comparator": "^6.3.1",
"sebastian/diff": "^6.0.2", "sebastian/diff": "^6.0.2",
"sebastian/environment": "^7.2.0", "sebastian/environment": "^7.2.0",
"sebastian/exporter": "^6.3.0", "sebastian/exporter": "^6.3.0",
"sebastian/global-state": "^7.0.2", "sebastian/global-state": "^7.0.2",
"sebastian/object-enumerator": "^6.0.1", "sebastian/object-enumerator": "^6.0.1",
"sebastian/type": "^5.1.0", "sebastian/type": "^5.1.2",
"sebastian/version": "^5.0.2", "sebastian/version": "^5.0.2",
"staabm/side-effects-detector": "^1.0.5" "staabm/side-effects-detector": "^1.0.5"
}, },
@ -8271,7 +8271,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy", "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.3" "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.15"
}, },
"funding": [ "funding": [
{ {
@ -8287,7 +8287,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2025-01-13T09:36:00+00:00" "time": "2025-03-23T16:02:11+00:00"
}, },
{ {
"name": "psr/cache", "name": "psr/cache",
@ -14887,40 +14887,40 @@
}, },
{ {
"name": "larastan/larastan", "name": "larastan/larastan",
"version": "v2.10.0", "version": "v3.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/larastan/larastan.git", "url": "https://github.com/larastan/larastan.git",
"reference": "05519d721277604487a3ca71bdee87739d8d8716" "reference": "d84d5a3b6536a586899ad6855a3e098473703690"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/larastan/larastan/zipball/05519d721277604487a3ca71bdee87739d8d8716", "url": "https://api.github.com/repos/larastan/larastan/zipball/d84d5a3b6536a586899ad6855a3e098473703690",
"reference": "05519d721277604487a3ca71bdee87739d8d8716", "reference": "d84d5a3b6536a586899ad6855a3e098473703690",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"iamcal/sql-parser": "^0.5.0", "iamcal/sql-parser": "^0.5.0",
"illuminate/console": "^9.52.20 || ^10.48.28 || ^11.41.3", "illuminate/console": "^11.41.3 || ^12.0",
"illuminate/container": "^9.52.20 || ^10.48.28 || ^11.41.3", "illuminate/container": "^11.41.3 || ^12.0",
"illuminate/contracts": "^9.52.20 || ^10.48.28 || ^11.41.3", "illuminate/contracts": "^11.41.3 || ^12.0",
"illuminate/database": "^9.52.20 || ^10.48.28 || ^11.41.3", "illuminate/database": "^11.41.3 || ^12.0",
"illuminate/http": "^9.52.20 || ^10.48.28 || ^11.41.3", "illuminate/http": "^11.41.3 || ^12.0",
"illuminate/pipeline": "^9.52.20 || ^10.48.28 || ^11.41.3", "illuminate/pipeline": "^11.41.3 || ^12.0",
"illuminate/support": "^9.52.20 || ^10.48.28 || ^11.41.3", "illuminate/support": "^11.41.3 || ^12.0",
"php": "^8.0.2", "php": "^8.2",
"phpstan/phpstan": "^1.12.17" "phpstan/phpstan": "^2.1.3"
}, },
"require-dev": { "require-dev": {
"doctrine/coding-standard": "^12.0", "doctrine/coding-standard": "^12.0",
"laravel/framework": "^9.52.20 || ^10.48.28 || ^11.41.3", "laravel/framework": "^11.41.3 || ^12.0",
"mockery/mockery": "^1.5.1", "mockery/mockery": "^1.6",
"nikic/php-parser": "^4.19.1", "nikic/php-parser": "^5.3",
"orchestra/canvas": "^7.11.1 || ^8.11.0 || ^9.0.2", "orchestra/canvas": "^v9.1.3 || ^10.0",
"orchestra/testbench-core": "^7.33.0 || ^8.13.0 || ^9.0.9", "orchestra/testbench-core": "^9.5.2 || ^10.0",
"phpstan/phpstan-deprecation-rules": "^1.2", "phpstan/phpstan-deprecation-rules": "^2.0.0",
"phpunit/phpunit": "^9.6.13 || ^10.5.16" "phpunit/phpunit": "^10.5.35 || ^11.3.6"
}, },
"suggest": { "suggest": {
"orchestra/testbench": "Using Larastan for analysing a package needs Testbench" "orchestra/testbench": "Using Larastan for analysing a package needs Testbench"
@ -14933,7 +14933,7 @@
] ]
}, },
"branch-alias": { "branch-alias": {
"dev-master": "2.0-dev" "dev-master": "3.0-dev"
} }
}, },
"autoload": { "autoload": {
@ -14955,7 +14955,7 @@
"email": "enunomaduro@gmail.com" "email": "enunomaduro@gmail.com"
} }
], ],
"description": "Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel", "description": "Larastan - Discover bugs in your code without running it. A phpstan/phpstan wrapper for Laravel",
"keywords": [ "keywords": [
"PHPStan", "PHPStan",
"code analyse", "code analyse",
@ -14968,7 +14968,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/larastan/larastan/issues", "issues": "https://github.com/larastan/larastan/issues",
"source": "https://github.com/larastan/larastan/tree/v2.10.0" "source": "https://github.com/larastan/larastan/tree/v3.2.0"
}, },
"funding": [ "funding": [
{ {
@ -14976,7 +14976,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-03-14T21:52:58+00:00" "time": "2025-03-14T21:54:26+00:00"
}, },
{ {
"name": "laravel/envoy", "name": "laravel/envoy",
@ -15538,20 +15538,20 @@
}, },
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "1.12.23", "version": "2.1.11",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan.git", "url": "https://github.com/phpstan/phpstan.git",
"reference": "29201e7a743a6ab36f91394eab51889a82631428" "reference": "8ca5f79a8f63c49b2359065832a654e1ec70ac30"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/29201e7a743a6ab36f91394eab51889a82631428", "url": "https://api.github.com/repos/phpstan/phpstan/zipball/8ca5f79a8f63c49b2359065832a654e1ec70ac30",
"reference": "29201e7a743a6ab36f91394eab51889a82631428", "reference": "8ca5f79a8f63c49b2359065832a654e1ec70ac30",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.2|^8.0" "php": "^7.4|^8.0"
}, },
"conflict": { "conflict": {
"phpstan/phpstan-shim": "*" "phpstan/phpstan-shim": "*"
@ -15592,33 +15592,32 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-03-23T14:57:32+00:00" "time": "2025-03-24T13:45:00+00:00"
}, },
{ {
"name": "phpstan/phpstan-mockery", "name": "phpstan/phpstan-mockery",
"version": "1.1.3", "version": "2.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan-mockery.git", "url": "https://github.com/phpstan/phpstan-mockery.git",
"reference": "98cac6e256b4ee60fdeb26a7dd81bb271b454e80" "reference": "89a949d0ac64298e88b7c7fa00caee565c198394"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-mockery/zipball/98cac6e256b4ee60fdeb26a7dd81bb271b454e80", "url": "https://api.github.com/repos/phpstan/phpstan-mockery/zipball/89a949d0ac64298e88b7c7fa00caee565c198394",
"reference": "98cac6e256b4ee60fdeb26a7dd81bb271b454e80", "reference": "89a949d0ac64298e88b7c7fa00caee565c198394",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.2 || ^8.0", "php": "^7.4 || ^8.0",
"phpstan/phpstan": "^1.12" "phpstan/phpstan": "^2.0"
}, },
"require-dev": { "require-dev": {
"mockery/mockery": "^1.6.11", "mockery/mockery": "^1.6.11",
"nikic/php-parser": "^4.13.0",
"php-parallel-lint/php-parallel-lint": "^1.2", "php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/phpstan-phpunit": "^1.4", "phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^1.6", "phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^9.5" "phpunit/phpunit": "^9.6"
}, },
"type": "phpstan-extension", "type": "phpstan-extension",
"extra": { "extra": {
@ -15640,9 +15639,9 @@
"description": "PHPStan Mockery extension", "description": "PHPStan Mockery extension",
"support": { "support": {
"issues": "https://github.com/phpstan/phpstan-mockery/issues", "issues": "https://github.com/phpstan/phpstan-mockery/issues",
"source": "https://github.com/phpstan/phpstan-mockery/tree/1.1.3" "source": "https://github.com/phpstan/phpstan-mockery/tree/2.0.0"
}, },
"time": "2024-09-11T15:47:29+00:00" "time": "2024-10-14T03:18:12+00:00"
}, },
{ {
"name": "symfony/polyfill-php84", "name": "symfony/polyfill-php84",

6
config/init.php Normal file
View File

@ -0,0 +1,6 @@
<?php
return [
'email' => env('USER_EMAIL', 'admin@example.com'),
'password' => env('USER_PASSWORD', 'admin'),
];

View File

@ -16,9 +16,9 @@ class UserSeeder extends Seeder
public function run() public function run()
{ {
User::create([ User::create([
'email' => env('USER_EMAIL', 'admin@example.com'), 'email' => config('init.email'),
'email_verified_at' => now(), 'email_verified_at' => now(),
'password' => Hash::make(env('USER_PASSWORD', 'admin')), 'password' => Hash::make(config('init.password')),
'name' => 'Adrema Benutzer', 'name' => 'Adrema Benutzer',
]); ]);
} }

@ -1 +1 @@
Subproject commit 1c6e32d44d0c4abc6268b59ba50f2c5feb39d9d9 Subproject commit f905c316ee7913cbf85c386021fbaa28b4b2a158

@ -1 +1 @@
Subproject commit 74800de149bf2ca250a17263cfaf59e48b76186f Subproject commit 0c6c948378d6f28636e4de36cc2c3a62c6975440

View File

@ -450,11 +450,6 @@ parameters:
count: 1 count: 1
path: app/Form/Fields/NamiField.php path: app/Form/Fields/NamiField.php
-
message: "#^Method App\\\\Fileshare\\\\ConnectionTypes\\\\ConnectionType\\:\\:types\\(\\) should return Illuminate\\\\Support\\\\Collection\\<int, class\\-string\\<App\\\\Fileshare\\\\ConnectionTypes\\\\ConnectionType\\>\\> but returns Illuminate\\\\Support\\\\Collection\\<int, string\\>\\.$#"
count: 1
path: app/Fileshare/ConnectionTypes/ConnectionType.php
- -
message: "#^Call to an undefined method Phake\\\\Proxies\\\\StubberProxy\\:\\:check\\(\\)\\.$#" message: "#^Call to an undefined method Phake\\\\Proxies\\\\StubberProxy\\:\\:check\\(\\)\\.$#"
count: 1 count: 1