Skip to content
Snippets Groups Projects
Commit 3a2115b6 authored by catch's avatar catch
Browse files

Issue #3259142 by longwave, murilohp: PHPStan commit check fails if a file is deleted

parent 45d838fc
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,9 @@
# Build up a list of absolute file names.
ABS_FILES=
for FILE in $FILES; do
ABS_FILES="$ABS_FILES $TOP_LEVEL/$FILE"
if [ -f "$TOP_LEVEL/$FILE" ]; then
ABS_FILES="$ABS_FILES $TOP_LEVEL/$FILE"
fi
if [[ $FILE == "core/phpcs.xml.dist" ]]; then
PHPCS_XML_DIST_FILE_CHANGED=1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment