Skip to content

Commit 8295324

Browse files
committed
Format code with pint & modernize the code
1 parent 9922b51 commit 8295324

25 files changed

+141
-346
lines changed

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@
2323
"ext-json": "*",
2424
"illuminate/cache": "^9.19",
2525
"illuminate/routing": "^9.19",
26-
"illuminate/support": "^9.19",
26+
"illuminate/support": "^9.42",
2727
"mobiledetect/mobiledetectlib": "~2.8",
2828
"ua-parser/uap-php": "~3.9"
2929
},
3030
"require-dev": {
3131
"illuminate/http": "^9.19",
32+
"laravel/pint": "^1.2",
3233
"mockery/mockery": "^1.5.1",
3334
"phpunit/phpunit": "^9.5.26",
3435
"psy/psysh": "^0.11",

pint.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"preset": "laravel",
3+
"rules": {
4+
"no_superfluous_phpdoc_tags": true
5+
}
6+
}

src/Exceptions/FilterTypeNotSetException.php

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Class FilterTypeNotSetException
9-
*
10-
* @package Spinen\BrowserFilter\Exceptions
119
*/
1210
class FilterTypeNotSetException extends Exception
1311
{

src/Exceptions/InvalidFilterTypeException.php

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Class InvalidFilterTypeException
9-
*
10-
* @package Spinen\BrowserFilter\Exceptions
119
*/
1210
class InvalidFilterTypeException extends Exception
1311
{

src/Exceptions/InvalidRuleDefinitionsException.php

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Class InvalidRuleDefinitionsException
9-
*
10-
* @package Spinen\BrowserFilter\Exceptions
119
*/
1210
class InvalidRuleDefinitionsException extends Exception
1311
{

0 commit comments

Comments
 (0)