From 17b300680dbe39079bbf09197f5992586e00c0b0 Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Mon, 16 Mar 2026 22:31:40 -0400 Subject: [PATCH] apply lsp-intelephense format to flight folder --- flight/net/UploadedFile.php | 2 +- phpcs.xml.dist | 58 ++++++++----------------------------- 2 files changed, 13 insertions(+), 47 deletions(-) diff --git a/flight/net/UploadedFile.php b/flight/net/UploadedFile.php index c2f3ad3..a8868be 100644 --- a/flight/net/UploadedFile.php +++ b/flight/net/UploadedFile.php @@ -154,7 +154,7 @@ class UploadedFile $uploadFunctionToCall = $isUploadedFile === true ? // Standard POST upload - use move_uploaded_file for security 'move_uploaded_file' : - // Handle non-POST uploads (PATCH, PUT, DELETE) or other valid temp files + // Handle non-POST uploads (PATCH, PUT, DELETE) or other valid temp files 'rename'; $result = $uploadFunctionToCall($this->tmpName, $targetPath); diff --git a/phpcs.xml.dist b/phpcs.xml.dist index e320c09..e21e213 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -1,54 +1,20 @@ - - Created with the PHP Coding Standard Generator. - http://edorian.github.io/php-coding-standard-generator/ - + xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"> + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - flight/ - tests/ - tests/views/* + + index.php + flight + tests