Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
338974b0
Commit
338974b0
authored
Mar 04, 2019
by
Carsten Rose
Browse files
phpDoc updated
parent
be41d819
Pipeline
#1673
failed with stage
in 2 minutes and 4 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Source/core/helper/HelperFile.php
View file @
338974b0
...
...
@@ -20,6 +20,7 @@ class HelperFile {
* Iterate over array $files. Delete only named files which are stored in '/tmp/' . DOWNLOAD_FILE_PREFIX.
*
* @param array $files
* @throws CodeException
* @throws UserFormException
*/
public
static
function
cleanTempFiles
(
array
$files
)
{
...
...
@@ -63,6 +64,8 @@ class HelperFile {
* Creates a temporary directory.
* Be aware: '/tmp' is under systemd/apache2 (Ubuntu 18...) remapped to something like: '/tmp/systemd-private-...-apache2.service-.../tmp'
*
* @return bool|string
* @throws CodeException
* @throws UserFormException
*/
public
static
function
mktempdir
()
{
...
...
@@ -111,7 +114,7 @@ class HelperFile {
return
array
();
}
$pathFileName
=
self
::
correctRelativPathFileName
(
$pathFileName
);
$pathFileName
=
self
::
correctRelativ
e
PathFileName
(
$pathFileName
);
if
(
!
file_exists
(
$pathFileName
))
{
return
array
();
...
...
@@ -129,7 +132,7 @@ class HelperFile {
* @param $pathFileName
* @return string
*/
public
static
function
correctRelativPathFileName
(
$pathFileName
)
{
public
static
function
correctRelativ
e
PathFileName
(
$pathFileName
)
{
if
(
empty
(
$pathFileName
))
{
return
''
;
...
...
@@ -283,6 +286,7 @@ class HelperFile {
* @param $filename
* @param string $logFilename
* @return string
* @throws CodeException
* @throws UserFormException
*/
public
static
function
unlink
(
$filename
,
$logFilename
=
''
)
{
...
...
extension/Source/core/helper/Support.php
View file @
338974b0
...
...
@@ -1259,6 +1259,7 @@ class Support {
* @param $pathFileName
* @param bool $overwrite
* @param bool|int $chmodDir , 'false' if not change
* @throws CodeException
* @throws UserFormException
*/
public
static
function
moveFile
(
$srcFile
,
$pathFileName
,
$overwrite
,
$chmodDir
=
false
)
{
...
...
extension/Source/core/store/Config.php
View file @
338974b0
...
...
@@ -189,6 +189,7 @@ class Config {
/**
* @param array $config
* @throws CodeException
* @throws UserFormException
* @throws UserReportException
*/
...
...
@@ -243,6 +244,7 @@ class Config {
/**
* @param array $config
* @param string $reason
* @throws CodeException
* @throws UserFormException
* @throws UserReportException
*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment