chore: bump dependencies for php8.2 (#500)

This commit is contained in:
paranarimasu
2022-12-30 16:40:26 -06:00
committed by GitHub
parent cea28e61f1
commit 9028557f4c
20 changed files with 1122 additions and 1925 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
tools: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, phpunit
- uses: actions/checkout@v3
- name: Copy .env
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
tools: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, phpunit
- uses: actions/checkout@v3
- name: Copy .env
+9 -9
View File
@@ -23,7 +23,7 @@
}
],
"require": {
"php": "^8.1",
"php": "^8.2",
"ext-fileinfo": "*",
"ext-gd": "*",
"ext-intl": "*",
@@ -34,14 +34,14 @@
"bensampo/laravel-enum": "^6.0",
"bepsvpt/secure-headers": "^7.2",
"cyrildewit/eloquent-viewable": "^6.1",
"fakerphp/faker": "^1.17",
"guzzlehttp/guzzle": "^7.4",
"fakerphp/faker": "^1.21",
"guzzlehttp/guzzle": "^7.5",
"laravel-notification-channels/discord": "^1.3",
"laravel/fortify": "^1.13",
"laravel/framework": "^9.38",
"laravel/framework": "^9.45",
"laravel/horizon": "^5.8",
"laravel/jetstream": "^2.8",
"laravel/nova": "^4.7",
"laravel/jetstream": "^2.13",
"laravel/nova": "^4.19",
"laravel/sanctum": "^3.0",
"laravel/scout": "^9.4",
"laravel/telescope": "^4.7",
@@ -49,7 +49,7 @@
"league/flysystem-aws-s3-v3": "^3.0",
"livewire/livewire": "^2.10",
"olssonm/l5-zxcvbn": "^5.0",
"pbmedia/laravel-ffmpeg": "^8.1",
"pbmedia/laravel-ffmpeg": "^8.2",
"spatie/db-dumper": "^3.1.1",
"spatie/laravel-permission": "^5.5",
"spatie/laravel-route-discovery": "^1.0",
@@ -58,9 +58,9 @@
"symfony/mailgun-mailer": "^6.0"
},
"require-dev": {
"brianium/paratest": "^6.4",
"brianium/paratest": "^6.7",
"laravel/pint": "^1.0",
"mockery/mockery": "^1.4.4",
"mockery/mockery": "^1.5.1",
"nunomaduro/collision": "^6.1",
"nunomaduro/larastan": "^2.0",
"phpunit/phpunit": "^9.5.10",
Generated
+583 -488
View File
File diff suppressed because it is too large Load Diff
+485 -1400
View File
File diff suppressed because it is too large Load Diff
+9 -8
View File
@@ -6,14 +6,15 @@
},
"devDependencies": {
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/typography": "^0.5.7",
"alpinejs": "^3.10.3",
"autoprefixer": "^10.4.12",
"axios": "^0.27.2",
"laravel-vite-plugin": "^0.6.1",
"@tailwindcss/typography": "^0.5.8",
"alpinejs": "^3.10.5",
"@alpinejs/focus": "^3.10.5",
"autoprefixer": "^10.4.13",
"axios": "^1.2.1",
"laravel-vite-plugin": "^0.7.3",
"lodash": "^4.17.21",
"postcss": "8.4.16",
"tailwindcss": "^3.1.8",
"vite": "^3.1.3"
"postcss": "8.4.20",
"tailwindcss": "^3.2.4",
"vite": "^4.0.3"
}
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -1,7 +1,7 @@
{
"/app.js": "/app.js?id=aa5f8de615929862069b7a106671c399",
"/app.js": "/app.js?id=fc87559387788aba14201a8d24757d03",
"/manifest.js": "/manifest.js?id=d75058ce2144a4049857d3ff9e02de1e",
"/app.css": "/app.css?id=316ed829ac86fe103756e9781acc55cc",
"/app.css": "/app.css?id=c50093a39cdeeb8d1fb37e4b14e73bc7",
"/vendor.js": "/vendor.js?id=de86bde8857e857b607852d11627d8e4",
"/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty10iurt9w6fk2a.woff2": "/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty10iurt9w6fk2a.woff2?id=c8390e146be0a3c8a5498355dec892ae",
"/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty14iurt9w6fk2a.woff2": "/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty14iurt9w6fk2a.woff2?id=b0735c7dd6126471acbaf9d6e9f5e41a",
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,5 +1,5 @@
{
"/app.js": "/app.js?id=7328e77177db89b6ec830fb908e3df6c",
"/app.js": "/app.js?id=08317cb3c83c7035246fe3d474db3454",
"/app-dark.css": "/app-dark.css?id=3ae28ef5f7b987d68dc611118c646308",
"/app.css": "/app.css?id=7c970f699ed9cf60d80b273b4ad2ad61"
}
+3 -3
View File
@@ -1,3 +1,3 @@
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
@tailwind base;
@tailwind components;
@tailwind utilities;
+3 -1
View File
@@ -1,7 +1,9 @@
import './bootstrap';
import Alpine from 'alpinejs';
import focus from '@alpinejs/focus';
window.Alpine = Alpine;
Alpine.plugin(focus);
Alpine.start();
@@ -64,11 +64,11 @@
<div class="space-y-6">
@foreach ($this->user->tokens->sortBy('name') as $token)
<div class="flex items-center justify-between">
<div>
<div class="break-all">
{{ $token->name }}
</div>
<div class="flex items-center">
<div class="flex items-center ml-2">
@if ($token->last_used_at)
<div class="text-sm text-gray-400">
{{ __('Last used') }} {{ $token->last_used_at->diffForHumans() }}
@@ -105,7 +105,7 @@
</div>
<x-jet-input x-ref="plaintextToken" type="text" readonly :value="$plainTextToken"
class="mt-4 bg-gray-100 px-4 py-2 rounded font-mono text-sm text-gray-500 w-full"
class="mt-4 bg-gray-100 px-4 py-2 rounded font-mono text-sm text-gray-500 w-full break-all"
autofocus autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
@showing-token-modal.window="setTimeout(() => $refs.plaintextToken.select(), 250)"
/>
+1 -1
View File
@@ -33,7 +33,7 @@
<div class="mt-4">
<x-jet-label for="terms">
<div class="flex items-center">
<x-jet-checkbox name="terms" id="terms"/>
<x-jet-checkbox name="terms" id="terms" required />
<div class="ml-2">
{!! __('I agree to the :terms_of_service and :privacy_policy', [
@@ -31,7 +31,7 @@
<div class="ml-3">
<div class="text-sm text-gray-600">
{{ $session->agent->platform() ? $session->agent->platform() : 'Unknown' }} - {{ $session->agent->browser() }}
{{ $session->agent->platform() ? $session->agent->platform() : __('Unknown') }} - {{ $session->agent->browser() ? $session->agent->browser() : __('Unknown') }}
</div>
<div>
@@ -25,6 +25,7 @@ class BrowserSessionsTest extends TestCase
Livewire::test(LogoutOtherBrowserSessionsForm::class)
->set('password', 'password')
->call('logoutOtherBrowserSessions');
->call('logoutOtherBrowserSessions')
->assertSuccessful();
}
}
@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace Tests\Feature\Actions\Jetstream;
use App\Models\Auth\User;
use Laravel\Fortify\Features;
use Laravel\Jetstream\Http\Livewire\TwoFactorAuthenticationForm;
use Livewire\Livewire;
use Tests\TestCase;
@@ -21,6 +22,10 @@ class TwoFactorAuthenticationSettingsTest extends TestCase
*/
public function testTwoFactorAuthenticationCanBeEnabled(): void
{
if (! Features::canManageTwoFactorAuthentication()) {
$this->markTestSkipped('Two factor authentication is not enabled.');
}
$this->actingAs($user = User::factory()->createOne());
$this->withSession(['auth.password_confirmed_at' => time()]);
@@ -41,6 +46,10 @@ class TwoFactorAuthenticationSettingsTest extends TestCase
*/
public function testRecoveryCodesCanBeRegenerated(): void
{
if (! Features::canManageTwoFactorAuthentication()) {
$this->markTestSkipped('Two factor authentication is not enabled.');
}
$this->actingAs($user = User::factory()->createOne());
$this->withSession(['auth.password_confirmed_at' => time()]);
@@ -64,6 +73,10 @@ class TwoFactorAuthenticationSettingsTest extends TestCase
*/
public function testTwoFactorAuthenticationCanBeDisabled(): void
{
if (! Features::canManageTwoFactorAuthentication()) {
$this->markTestSkipped('Two factor authentication is not enabled.');
}
$this->actingAs($user = User::factory()->createOne());
$this->withSession(['auth.password_confirmed_at' => time()]);