Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPunyapal committed Dec 14, 2024
1 parent acbf263 commit f093fc8
Show file tree
Hide file tree
Showing 6 changed files with 1,732 additions and 1,129 deletions.
3 changes: 2 additions & 1 deletion app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use Illuminate\Http\UploadedFile;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Str;
use Override;

class AppServiceProvider extends ServiceProvider
Expand All @@ -23,7 +24,7 @@ public function boot(): void
{
// @codeCoverageIgnoreStart
UploadedFile::macro('makeFromUrl', function (string $url): ?UploadedFile {
$tempFile = tempnam(sys_get_temp_dir(), str()->random(32));
$tempFile = tempnam(sys_get_temp_dir(), Str::random(32));

if ($tempFile === false) {
return null;
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.12",
"driftingly/rector-laravel": "^1.1",
"driftingly/rector-laravel": "^2.0",
"fakerphp/faker": "^1.9.1",
"larastan/larastan": "^2.0",
"larastan/larastan": "^3.0",
"laravel-lang/common": "^6.0",
"laravel/pint": "^1.0",
"laravel/sail": "^1.26",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^8.1",
"nunomaduro/phpinsights": "^2.11",
"pestphp/pest": "^2.28",
"pestphp/pest-plugin-laravel": "^2.2",
"pestphp/pest-plugin-type-coverage": "^2.8",
"phpunit/phpunit": "^10.1",
"rector/rector": "^1.0.0",
"pestphp/pest": "^3.0",
"pestphp/pest-plugin-laravel": "^3.0",
"pestphp/pest-plugin-type-coverage": "^3.2",
"phpunit/phpunit": "^11.0",
"rector/rector": "^2.0",
"spatie/laravel-ignition": "^2.0"
},
"autoload": {
Expand Down
Loading

0 comments on commit f093fc8

Please sign in to comment.