upgrade to laravel 11

laraval had a milestone update to version 11, so the codebase needed an
updgrade.

there was one package that wasn't needed that was blocking the upgrade
because it was attached to a hard coded dependency in an older version
of laravel so it was removed.

this changed required an edit of some template files, so those changes
were made as well
This commit is contained in:
ro 2024-04-15 15:54:13 -06:00
parent 70e984dc96
commit 08b79cecdf
No known key found for this signature in database
GPG key ID: 29B551CDBD4D3B50
5 changed files with 458 additions and 514 deletions

View file

@ -16,14 +16,13 @@
"issues": "https://koodu.h-i.works/projects/fipamo/issues" "issues": "https://koodu.h-i.works/projects/fipamo/issues"
}, },
"require": { "require": {
"php": "^8.1", "php": "^8.2",
"guzzlehttp/guzzle": "^7.2", "guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.10", "laravel/framework": "^11.0",
"laravel/sanctum": "^3.3", "laravel/sanctum": "^4.0",
"laravel/tinker": "^2.8", "laravel/tinker": "^2.8",
"league/commonmark": "^2.4", "league/commonmark": "^2.4",
"lodash-php/lodash-php": "^0.09.0", "lodash-php/lodash-php": "^0.09.0",
"mindtwo/laravel-blade-spaceless": "^1.2",
"mnapoli/front-yaml": "^2.0", "mnapoli/front-yaml": "^2.0",
"nesbot/carbon": "^2.72", "nesbot/carbon": "^2.72",
"olegatro/html-sanitizer-relative": "^1.0", "olegatro/html-sanitizer-relative": "^1.0",
@ -36,7 +35,7 @@
"laravel/pint": "^1.0", "laravel/pint": "^1.0",
"laravel/sail": "^1.18", "laravel/sail": "^1.18",
"mockery/mockery": "^1.4.4", "mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0", "nunomaduro/collision": "^8.1",
"phpunit/phpunit": "^10.1", "phpunit/phpunit": "^10.1",
"spatie/laravel-ignition": "^2.0" "spatie/laravel-ignition": "^2.0"
}, },

953
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -87,10 +87,8 @@
</nav> </nav>
</header> </header>
<div id="main-content" class="container"> <div id="main-content" class="container">
@spaceless
@section('main-content') @section('main-content')
@show @show
@endspaceless
</div> </div>
<footer> <footer>
<div class="inner"> <div class="inner">

View file

@ -159,9 +159,7 @@
</div> </div>
<div class="page-options"> <div class="page-options">
<strong>OPTIONS</strong> <strong>OPTIONS</strong>
@spaceless
@include('includes.options') @include('includes.options')
@endspaceless
</div> </div>
<div class="page-updated"> <div class="page-updated">
<strong>UPDATED</strong> <strong>UPDATED</strong>
@ -181,9 +179,7 @@
</div> </div>
</section> </section>
<section class="text-editor"> <section class="text-editor">
@spaceless
@include('includes.editor') @include('includes.editor')
@endspaceless
<div class="edit-post-wrapper"> <div class="edit-post-wrapper">
<textarea id="edit" spellcheck="false" class="language-md">{{ $content }}</textarea> <textarea id="edit" spellcheck="false" class="language-md">{{ $content }}</textarea>
<pre id="highlight"><code id="highlight-content" class="language-md"></code></pre> <pre id="highlight"><code id="highlight-content" class="language-md"></code></pre>

View file

@ -31,10 +31,8 @@
@endif @endif
</header> </header>
<main> <main>
@spaceless
@section('main-content') @section('main-content')
@show @show
@endspaceless
</main> </main>
<footer> <footer>