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:
Abdul Malik Ikhsan 2021-10-03 05:13:11 +07:00 committed by GitHub
parent e20ae4ae26
commit c7841107c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 6 deletions

View File

@ -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",

View File

@ -11,7 +11,6 @@ set -u
composer install --no-dev --ansi
rsync --exclude rector-build -av * rector-build --quiet

View File

@ -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;
}

View File

@ -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

View File

@ -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#'

View File

@ -27,7 +27,7 @@ final class VendorLocationDetector
return false;
}
$normalizedFileName = $this->pathNormalizer->normalizePath($fileName, '/');
$normalizedFileName = $this->pathNormalizer->normalizePath($fileName);
return str_contains($normalizedFileName, '/vendor/');
}

View File

@ -76,7 +76,7 @@ final class ParentClassMethodTypeOverrideGuard
return false;
}
$normalizedFileName = $this->pathNormalizer->normalizePath($fileName, '/');
$normalizedFileName = $this->pathNormalizer->normalizePath($fileName);
return ! str_contains($normalizedFileName, '/vendor/');
}

View File

@ -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;
}
}