mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
coding standards
This commit is contained in:
parent
7624884240
commit
4048c686b7
1 changed files with 2 additions and 2 deletions
|
@ -396,7 +396,7 @@ class FileTest extends CakeTestCase {
|
||||||
public function testWrite() {
|
public function testWrite() {
|
||||||
if (!$tmpFile = $this->_getTmpFile()) {
|
if (!$tmpFile = $this->_getTmpFile()) {
|
||||||
return false;
|
return false;
|
||||||
};
|
}
|
||||||
if (file_exists($tmpFile)) {
|
if (file_exists($tmpFile)) {
|
||||||
unlink($tmpFile);
|
unlink($tmpFile);
|
||||||
}
|
}
|
||||||
|
@ -426,7 +426,7 @@ class FileTest extends CakeTestCase {
|
||||||
public function testAppend() {
|
public function testAppend() {
|
||||||
if (!$tmpFile = $this->_getTmpFile()) {
|
if (!$tmpFile = $this->_getTmpFile()) {
|
||||||
return false;
|
return false;
|
||||||
};
|
}
|
||||||
if (file_exists($tmpFile)) {
|
if (file_exists($tmpFile)) {
|
||||||
unlink($tmpFile);
|
unlink($tmpFile);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue