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'];
/**
* @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>
*/
@ -82,6 +77,16 @@ class Member extends Model implements Geolocatable
'is_leader' => 'boolean',
'bill_kind' => BillKind::class,
'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",
"barryvdh/laravel-debugbar": "^3.9",
"beyondcode/laravel-dump-server": "^1.8",
"cviebrock/eloquent-sluggable": "^9.0",
"cviebrock/eloquent-sluggable": "^10.0",
"doctrine/dbal": "^3.1",
"guzzlehttp/guzzle": "^7.0.1",
"inertiajs/inertia-laravel": "^0.6.9",
"laravel/framework": "^9.0",
"laravel/framework": "^10.0",
"laravel/horizon": "^5.0",
"laravel/passport": "^11.8",
"laravel/scout": "^9.8",
"laravel/telescope": "^4.13",
"laravel/tinker": "^2.0",
"laravel/ui": "^3.0",
"laravel/ui": "^4.0",
"league/csv": "^9.9",
"lorisleiva/laravel-actions": "^2.4",
"meilisearch/meilisearch-php": "^1.6",
"monicahq/laravel-sabre": "^1.6",
"nunomaduro/collision": "^6.1",
"nunomaduro/collision": "^7.0",
"phake/phake": "^4.2",
"pusher/pusher-php-server": "^7.2",
"spatie/laravel-data": "^3.0",
"spatie/laravel-ignition": "^1.0",
"spatie/laravel-medialibrary": "^10.0",
"spatie/laravel-ignition": "^2.0",
"spatie/laravel-settings": "^2.2",
"worksome/request-factories": "^2.5",
"zoomyboy/laravel-nami": "dev-master",
@ -84,9 +83,9 @@
"laravel/envoy": "^2.8",
"mockery/mockery": "^1.4.4",
"larastan/larastan": "^2.0",
"orchestra/testbench": "^7.0",
"orchestra/testbench": "^8.0",
"phpstan/phpstan-mockery": "^1.1",
"phpunit/phpunit": "^9.5.10"
"phpunit/phpunit": "^10.0"
},
"config": {
"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"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<testsuite name="Fileshare">
<directory suffix="Test.php">./tests/Fileshare</directory>
</testsuite>
<testsuite name="NamiUnit">
<directory suffix="Test.php">./packages/laravel-nami/tests/Unit</directory>
</testsuite>
<testsuite name="EndToEnd">
<directory suffix="Test.php">./tests/EndToEnd</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./app</directory>
</whitelist>
</filter>
<php>
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_DRIVER" value="array"/>
<server name="BROADCAST_DRIVER" value="log"/>
<server name="MAIL_MAILER" value="array"/>
<server name="QUEUE_CONNECTION" value="sync"/>
<server name="SESSION_DRIVER" value="array"/>
<server name="TELESCOPE_ENABLED" value="false"/>
</php>
<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">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<testsuite name="Fileshare">
<directory suffix="Test.php">./tests/Fileshare</directory>
</testsuite>
<testsuite name="NamiUnit">
<directory suffix="Test.php">./packages/laravel-nami/tests/Unit</directory>
</testsuite>
<testsuite name="EndToEnd">
<directory suffix="Test.php">./tests/EndToEnd</directory>
</testsuite>
</testsuites>
<php>
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_DRIVER" value="array"/>
<server name="BROADCAST_DRIVER" value="log"/>
<server name="MAIL_MAILER" value="array"/>
<server name="QUEUE_CONNECTION" value="sync"/>
<server name="SESSION_DRIVER" value="array"/>
<server name="TELESCOPE_ENABLED" value="false"/>
</php>
<source>
<include>
<directory suffix=".php">./app</directory>
</include>
</source>
</phpunit>