Update Laravel Pint

Also fixes some of the filesaftersome new rules were added to the
default pint configuration.
This commit is contained in:
Jonny Barnes 2024-07-13 10:55:19 +01:00
parent 1475ecdde5
commit 8e077045d2
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
12 changed files with 22 additions and 34 deletions

View file

@ -2,6 +2,4 @@
namespace App\Exceptions;
class InternetArchiveException extends \Exception
{
}
class InternetArchiveException extends \Exception {}

View file

@ -24,8 +24,7 @@ class DownloadWebMention implements ShouldQueue
*/
public function __construct(
protected string $source
) {
}
) {}
/**
* Execute the job.

View file

@ -25,8 +25,7 @@ class ProcessBookmark implements ShouldQueue
*/
public function __construct(
protected Bookmark $bookmark
) {
}
) {}
/**
* Execute the job.

View file

@ -30,8 +30,7 @@ class ProcessLike implements ShouldQueue
*/
public function __construct(
protected Like $like
) {
}
) {}
/**
* Execute the job.

View file

@ -25,8 +25,7 @@ class ProcessMedia implements ShouldQueue
*/
public function __construct(
protected string $filename
) {
}
) {}
/**
* Execute the job.

View file

@ -30,8 +30,7 @@ class ProcessWebMention implements ShouldQueue
public function __construct(
protected Note $note,
protected string $source
) {
}
) {}
/**
* Execute the job.

View file

@ -25,8 +25,7 @@ class SaveProfileImage implements ShouldQueue
*/
public function __construct(
protected array $microformats
) {
}
) {}
/**
* Execute the job.

View file

@ -23,8 +23,7 @@ class SaveScreenshot implements ShouldQueue
*/
public function __construct(
protected Bookmark $bookmark
) {
}
) {}
/**
* Execute the job.

View file

@ -27,8 +27,7 @@ class SendWebMentions implements ShouldQueue
*/
public function __construct(
protected Note $note
) {
}
) {}
/**
* Execute the job.

View file

@ -22,8 +22,7 @@ class SyndicateNoteToBluesky implements ShouldQueue
*/
public function __construct(
protected Note $note
) {
}
) {}
/**
* Execute the job.

View file

@ -22,8 +22,7 @@ class SyndicateNoteToMastodon implements ShouldQueue
*/
public function __construct(
protected Note $note
) {
}
) {}
/**
* Execute the job.

22
composer.lock generated
View file

@ -10243,16 +10243,16 @@
},
{
"name": "laravel/pint",
"version": "v1.15.0",
"version": "v1.16.2",
"source": {
"type": "git",
"url": "https://github.com/laravel/pint.git",
"reference": "c52de679b3ac01207016c179d7ce173e4be128c4"
"reference": "51f1ba679a6afe0315621ad143d788bd7ded0eca"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/pint/zipball/c52de679b3ac01207016c179d7ce173e4be128c4",
"reference": "c52de679b3ac01207016c179d7ce173e4be128c4",
"url": "https://api.github.com/repos/laravel/pint/zipball/51f1ba679a6afe0315621ad143d788bd7ded0eca",
"reference": "51f1ba679a6afe0315621ad143d788bd7ded0eca",
"shasum": ""
},
"require": {
@ -10263,13 +10263,13 @@
"php": "^8.1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.49.0",
"illuminate/view": "^10.43.0",
"larastan/larastan": "^2.8.1",
"laravel-zero/framework": "^10.3.0",
"mockery/mockery": "^1.6.7",
"friendsofphp/php-cs-fixer": "^3.59.3",
"illuminate/view": "^10.48.12",
"larastan/larastan": "^2.9.7",
"laravel-zero/framework": "^10.4.0",
"mockery/mockery": "^1.6.12",
"nunomaduro/termwind": "^1.15.1",
"pestphp/pest": "^2.33.6"
"pestphp/pest": "^2.34.8"
},
"bin": [
"builds/pint"
@ -10305,7 +10305,7 @@
"issues": "https://github.com/laravel/pint/issues",
"source": "https://github.com/laravel/pint"
},
"time": "2024-03-26T16:40:24+00:00"
"time": "2024-07-09T15:58:08+00:00"
},
{
"name": "laravel/sail",