Skip to content

Commit

Permalink
Add Pest.php to default excluded files
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-chetan committed Jan 6, 2024
1 parent a248c5e commit 52d9681
Show file tree
Hide file tree
Showing 10 changed files with 270 additions and 257 deletions.
2 changes: 1 addition & 1 deletion .env.dev
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
APP_NAME=Revive
APP_VERSION=1.2.0
APP_VERSION=1.3.0
4 changes: 4 additions & 0 deletions app/Support/ReviveConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public static function scopeConfigPaths(array $config): array
'build',
'node_modules',
'storage',
'tests/Pest.php',
]
);

Expand All @@ -106,6 +107,9 @@ public static function globPath(string $path): array
// Finder uses forward slashes even on windows
$path = Str::of($path)->replace('\\', '/')->__toString();

// Remove trailing / or /* from path before passing to finder
$path = Str::of($path)->replaceMatches('/(\/|\/\*)$/', '')->__toString();

if (Str::of($path)->endsWith(self::$phpSuffixes)) {
$endsWith = Str::of($path)->afterLast('/');
$path = Str::of($path)->beforeLast('/');
Expand Down
Binary file modified builds/revive
Binary file not shown.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@
}
],
"require": {
"php": "^8.1.0",
"larastan/larastan": "^2.7",
"php": "^8.1",
"larastan/larastan": "^2.8",
"mrchetan/php_standard": "^4.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^v3.41",
"friendsofphp/php-cs-fixer": "^v3.46",
"laravel-zero/framework": "^v10.3",
"laravel/pint": "^v1.13",
"nunomaduro/termwind": "^v1.15",
"pestphp/pest": "^v2.28",
"pestphp/pest": "^v2.30",
"rector/rector": "^0.17",
"spatie/invade": "^1.1",
"tightenco/tlint": "^9.1"
"tightenco/tlint": "^9.2"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 52d9681

Please sign in to comment.