Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
213 changes: 109 additions & 104 deletions benchmark.php

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"phpstan-simplified": "vendor/bin/phpstan analyse --memory-limit=2G --error-format symplify",
"phpstan-clear-cache": "vendor/bin/phpstan clear-result-cache",
"tag-currency": "bash scripts/verify-tag-currency.sh",
"format": "vendor/bin/pint",
"format": "@pint-fix",
"rector": "vendor/bin/rector process",
"test": "vendor/bin/pest",
"test-coverage": "vendor/bin/pest --coverage",
Expand All @@ -139,6 +139,13 @@
"@rector",
"@format",
"@phpstan-simplified"
],
"pint": "vendor/bin/pint --test --config vendor/laranail/package-tools/pint.json",
"pint-fix": "vendor/bin/pint --parallel --config vendor/laranail/package-tools/pint.json",
"lint": [
"@pint",
"@phpstan",
"@rector"
]
},
"extra": {
Expand Down
6 changes: 4 additions & 2 deletions config/laranail-validation.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

return [

Expand All @@ -22,7 +24,7 @@

'aliases' => [
'enabled' => env('LARANAIL_VALIDATION_ALIASES', false),
'prefix' => 'laranail_',
'prefix' => 'laranail_',
],

/*
Expand Down
58 changes: 0 additions & 58 deletions pint.json

This file was deleted.

2 changes: 1 addition & 1 deletion rector-migrate-1.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
declare(strict_types=1);

use Rector\Config\RectorConfig;
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;
use Rector\Renaming\ValueObject\MethodCallRename;
use Simtabi\Laranail\Validation\Builder\Nodes\ArrayRule;
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;

/**
* The 0.x → 1.0 migration set (UPGRADING.md, v1.0.0). Run it against an
Expand Down
20 changes: 11 additions & 9 deletions rector.php
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

use Rector\Config\RectorConfig;
use RectorPest\Set\PestSetList;
use RectorLaravel\Set\LaravelSetList;
use RectorPest\Rules\UseToMatchRector;
use Rector\Caching\ValueObject\Storage\FileCacheStorage;
use Rector\Carbon\Rector\FuncCall\DateFuncCallToCarbonRector;
use Rector\CodeQuality\Rector\BooleanOr\RepeatedOrEqualToInArrayRector;
use Rector\CodeQuality\Rector\ClassMethod\InlineArrayReturnAssignRector;
use Rector\CodeQuality\Rector\If_\ExplicitBoolCompareRector;
use Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector;
use Rector\Config\RectorConfig;
use Rector\Carbon\Rector\FuncCall\DateFuncCallToCarbonRector;
use Rector\DeadCode\Rector\ClassMethod\RemoveUselessParamTagRector;
use Rector\DeadCode\Rector\ClassMethod\RemoveUselessReturnTagRector;
use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector;
use Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector;
use Rector\CodeQuality\Rector\BooleanOr\RepeatedOrEqualToInArrayRector;
use Rector\CodeQuality\Rector\ClassMethod\InlineArrayReturnAssignRector;
use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector;
use Rector\TypeDeclaration\Rector\ArrowFunction\AddArrowFunctionReturnTypeRector;
use RectorLaravel\Set\LaravelSetList;
use RectorPest\Rules\UseToMatchRector;
use RectorPest\Set\PestSetList;

return RectorConfig::configure()
->withCache(
Expand Down
Loading
Loading