mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-02 09:20:52 +00:00
Re-Trigger build scopped as prev quoted commit message cause build failure and there is symplify update (#950)
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
parent
e20ae4ae26
commit
c7841107c9
|
@ -56,7 +56,7 @@
|
|||
"phpstan/extension-installer": "^1.1",
|
||||
"phpstan/phpstan-nette": "^0.12.19",
|
||||
"phpunit/phpunit": "^9.5",
|
||||
"rector/phpstan-rules": "^0.3.8",
|
||||
"rector/phpstan-rules": "^0.4.2",
|
||||
"rector/rector-generator": "^0.3",
|
||||
"spatie/enum": "^3.9",
|
||||
"symplify/coding-standard": "^9.4.65",
|
||||
|
|
|
@ -11,7 +11,6 @@ set -u
|
|||
|
||||
|
||||
|
||||
|
||||
composer install --no-dev --ansi
|
||||
|
||||
rsync --exclude rector-build -av * rector-build --quiet
|
||||
|
|
|
@ -138,7 +138,7 @@ final class ClassMethodParamVendorLockResolver
|
|||
return true;
|
||||
}
|
||||
|
||||
$normalizedFileName = $this->pathNormalizer->normalizePath($fileName, '/');
|
||||
$normalizedFileName = $this->pathNormalizer->normalizePath($fileName);
|
||||
if (str_contains($normalizedFileName, $filePathPartName)) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -10,6 +10,7 @@ parameters:
|
|||
disableRuntimeReflectionProvider: true
|
||||
|
||||
includes:
|
||||
- vendor/symplify/phpstan-rules/packages/symfony/config/services.neon
|
||||
- vendor/rector/phpstan-rules/config/config.neon
|
||||
- vendor/symplify/phpstan-extensions/config/config.neon
|
||||
|
||||
|
|
|
@ -503,3 +503,5 @@ parameters:
|
|||
- '#Access to an undefined property PhpParser\\Node\\Arg\|PhpParser\\Node\\VariadicPlaceholder\:\:\$value#'
|
||||
- '#(.*?), array<PhpParser\\Node\\Arg\|PhpParser\\Node\\VariadicPlaceholder\> given#'
|
||||
- '#(.*?) but returns array<int, PhpParser\\Node\\Arg\|PhpParser\\Node\\VariadicPlaceholder\>#'
|
||||
|
||||
- '#Parameter "\w+" cannot have default value#'
|
||||
|
|
|
@ -27,7 +27,7 @@ final class VendorLocationDetector
|
|||
return false;
|
||||
}
|
||||
|
||||
$normalizedFileName = $this->pathNormalizer->normalizePath($fileName, '/');
|
||||
$normalizedFileName = $this->pathNormalizer->normalizePath($fileName);
|
||||
return str_contains($normalizedFileName, '/vendor/');
|
||||
}
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ final class ParentClassMethodTypeOverrideGuard
|
|||
return false;
|
||||
}
|
||||
|
||||
$normalizedFileName = $this->pathNormalizer->normalizePath($fileName, '/');
|
||||
$normalizedFileName = $this->pathNormalizer->normalizePath($fileName);
|
||||
return ! str_contains($normalizedFileName, '/vendor/');
|
||||
}
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ final class FilesystemTweaker
|
|||
$absoluteDirectories = array_merge($absoluteDirectories, $foundDirectories);
|
||||
} else {
|
||||
// is classic directory
|
||||
$this->fileSystemGuard->ensureDirectoryExists($directory);
|
||||
$this->fileSystemGuard->ensureDirectoryExists($directory, '');
|
||||
$absoluteDirectories[] = $directory;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user