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