Update to laravel 10
continuous-integration/drone/push Build is failing Details

This commit is contained in:
philipp lang 2024-09-21 17:42:11 +02:00
parent b335c20777
commit bbcf2fd768
7 changed files with 1896 additions and 1927 deletions

View File

@ -58,11 +58,6 @@ class Member extends Model implements Geolocatable
*/ */
public static array $namiFields = ['firstname', 'lastname', 'joined_at', 'birthday', 'send_newspaper', 'address', 'zip', 'location', 'nickname', 'other_country', 'further_address', 'main_phone', 'mobile_phone', 'work_phone', 'fax', 'email', 'email_parents', 'gender_id', 'confession_id', 'region_id', 'country_id', 'fee_id', 'nationality_id', 'slug', 'subscription_id']; public static array $namiFields = ['firstname', 'lastname', 'joined_at', 'birthday', 'send_newspaper', 'address', 'zip', 'location', 'nickname', 'other_country', 'further_address', 'main_phone', 'mobile_phone', 'work_phone', 'fax', 'email', 'email_parents', 'gender_id', 'confession_id', 'region_id', 'country_id', 'fee_id', 'nationality_id', 'slug', 'subscription_id'];
/**
* @var array<int, string>
*/
public $dates = ['try_created_at', 'recertified_at', 'joined_at', 'birthday', 'efz', 'ps_at', 'more_ps_at', 'without_education_at', 'without_efz_at'];
/** /**
* @var array<string, string> * @var array<string, string>
*/ */
@ -82,6 +77,16 @@ class Member extends Model implements Geolocatable
'is_leader' => 'boolean', 'is_leader' => 'boolean',
'bill_kind' => BillKind::class, 'bill_kind' => BillKind::class,
'mitgliedsnr' => 'integer', 'mitgliedsnr' => 'integer',
'try_created_at' => 'datetime',
'recertified_at' => 'datetime',
'joined_at' => 'datetime',
'birthday' => 'datetime',
'efz' => 'datetime',
'ps_at' => 'datetime',
'more_ps_at' => 'datetime',
'without_education_at' => 'datetime',
'without_efz_at' => 'datetime',
]; ];
/** /**

View File

@ -48,27 +48,26 @@
"php": "^8.1", "php": "^8.1",
"barryvdh/laravel-debugbar": "^3.9", "barryvdh/laravel-debugbar": "^3.9",
"beyondcode/laravel-dump-server": "^1.8", "beyondcode/laravel-dump-server": "^1.8",
"cviebrock/eloquent-sluggable": "^9.0", "cviebrock/eloquent-sluggable": "^10.0",
"doctrine/dbal": "^3.1", "doctrine/dbal": "^3.1",
"guzzlehttp/guzzle": "^7.0.1", "guzzlehttp/guzzle": "^7.0.1",
"inertiajs/inertia-laravel": "^0.6.9", "inertiajs/inertia-laravel": "^0.6.9",
"laravel/framework": "^9.0", "laravel/framework": "^10.0",
"laravel/horizon": "^5.0", "laravel/horizon": "^5.0",
"laravel/passport": "^11.8", "laravel/passport": "^11.8",
"laravel/scout": "^9.8", "laravel/scout": "^9.8",
"laravel/telescope": "^4.13", "laravel/telescope": "^4.13",
"laravel/tinker": "^2.0", "laravel/tinker": "^2.0",
"laravel/ui": "^3.0", "laravel/ui": "^4.0",
"league/csv": "^9.9", "league/csv": "^9.9",
"lorisleiva/laravel-actions": "^2.4", "lorisleiva/laravel-actions": "^2.4",
"meilisearch/meilisearch-php": "^1.6", "meilisearch/meilisearch-php": "^1.6",
"monicahq/laravel-sabre": "^1.6", "monicahq/laravel-sabre": "^1.6",
"nunomaduro/collision": "^6.1", "nunomaduro/collision": "^7.0",
"phake/phake": "^4.2", "phake/phake": "^4.2",
"pusher/pusher-php-server": "^7.2", "pusher/pusher-php-server": "^7.2",
"spatie/laravel-data": "^3.0", "spatie/laravel-data": "^3.0",
"spatie/laravel-ignition": "^1.0", "spatie/laravel-ignition": "^2.0",
"spatie/laravel-medialibrary": "^10.0",
"spatie/laravel-settings": "^2.2", "spatie/laravel-settings": "^2.2",
"worksome/request-factories": "^2.5", "worksome/request-factories": "^2.5",
"zoomyboy/laravel-nami": "dev-master", "zoomyboy/laravel-nami": "dev-master",
@ -84,9 +83,9 @@
"laravel/envoy": "^2.8", "laravel/envoy": "^2.8",
"mockery/mockery": "^1.4.4", "mockery/mockery": "^1.4.4",
"larastan/larastan": "^2.0", "larastan/larastan": "^2.0",
"orchestra/testbench": "^7.0", "orchestra/testbench": "^8.0",
"phpstan/phpstan-mockery": "^1.1", "phpstan/phpstan-mockery": "^1.1",
"phpunit/phpunit": "^9.5.10" "phpunit/phpunit": "^10.0"
}, },
"config": { "config": {
"optimize-autoloader": true, "optimize-autoloader": true,

3718
composer.lock generated

File diff suppressed because it is too large Load Diff

@ -1 +1 @@
Subproject commit 84103d40521d77f936635a7f992cf1ae4b01dafe Subproject commit de5d8173ea9c7326071512e1094a09f7f3822e91

@ -1 +1 @@
Subproject commit 59d7647720ab2791e954944b38c986143db9de8e Subproject commit 6d8e9de3d72ce1e117999564a46eda51fbb85b54

@ -1 +1 @@
Subproject commit 8aefd17b06ee3c26d00b472a154a48898b884d15 Subproject commit 82d52774c65bf527233c637f5f7969de2d31099c

View File

@ -1,38 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" cacheDirectory=".phpunit.cache">
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd" <testsuites>
bootstrap="vendor/autoload.php" <testsuite name="Unit">
colors="true"> <directory suffix="Test.php">./tests/Unit</directory>
<testsuites> </testsuite>
<testsuite name="Unit"> <testsuite name="Feature">
<directory suffix="Test.php">./tests/Unit</directory> <directory suffix="Test.php">./tests/Feature</directory>
</testsuite> </testsuite>
<testsuite name="Feature"> <testsuite name="Fileshare">
<directory suffix="Test.php">./tests/Feature</directory> <directory suffix="Test.php">./tests/Fileshare</directory>
</testsuite> </testsuite>
<testsuite name="Fileshare"> <testsuite name="NamiUnit">
<directory suffix="Test.php">./tests/Fileshare</directory> <directory suffix="Test.php">./packages/laravel-nami/tests/Unit</directory>
</testsuite> </testsuite>
<testsuite name="NamiUnit"> <testsuite name="EndToEnd">
<directory suffix="Test.php">./packages/laravel-nami/tests/Unit</directory> <directory suffix="Test.php">./tests/EndToEnd</directory>
</testsuite> </testsuite>
<testsuite name="EndToEnd"> </testsuites>
<directory suffix="Test.php">./tests/EndToEnd</directory> <php>
</testsuite> <server name="APP_ENV" value="testing"/>
</testsuites> <server name="BCRYPT_ROUNDS" value="4"/>
<filter> <server name="CACHE_DRIVER" value="array"/>
<whitelist processUncoveredFilesFromWhitelist="true"> <server name="BROADCAST_DRIVER" value="log"/>
<directory suffix=".php">./app</directory> <server name="MAIL_MAILER" value="array"/>
</whitelist> <server name="QUEUE_CONNECTION" value="sync"/>
</filter> <server name="SESSION_DRIVER" value="array"/>
<php> <server name="TELESCOPE_ENABLED" value="false"/>
<server name="APP_ENV" value="testing"/> </php>
<server name="BCRYPT_ROUNDS" value="4"/> <source>
<server name="CACHE_DRIVER" value="array"/> <include>
<server name="BROADCAST_DRIVER" value="log"/> <directory suffix=".php">./app</directory>
<server name="MAIL_MAILER" value="array"/> </include>
<server name="QUEUE_CONNECTION" value="sync"/> </source>
<server name="SESSION_DRIVER" value="array"/>
<server name="TELESCOPE_ENABLED" value="false"/>
</php>
</phpunit> </phpunit>