Skip to content

Commit bd0f8a4

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: [Serializer] Make data provider return type match its PHPDoc fix fixture files locations resolve conflict [Console] Fix `TreeHelper::addChild` when providing a string [Serializer] Handle invalid mapping type property type [Config] Do not generate unreachable configuration paths [WebProfilerBundle] Fix missing indent on non php files opended in the profiler [Serializer] Add missing CHANGELOG entry [Validator] Add `min` and `max` in both error messages of `LengthValidator` remove docblocks for deprecated argument types [ObjectMapper] skip reading uninitialized values [Security] Support union type for `#[CurrentUser]` attribute Fix typos [Serializer] Add CDATA_WRAPPING_NAME_PATTERN support to XmlEncoder [JsonPath] Fix parsing invalid Unicode codepoints [FrameworkBundle] Fix cache warmers tests [AssetMapper] Add support for loading JSON using import statements [BrowserKit] Add PHPUnit constraints: `BrowserHistoryIsOnFirstPage` and `BrowserHistoryIsOnLastPage`
2 parents 7fc1e06 + 7df3972 commit bd0f8a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/FilesystemTestCase.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ protected function getFileOwner($filepath)
103103
{
104104
$this->markAsSkippedIfPosixIsMissing();
105105

106-
return ($datas = posix_getpwuid($this->getFileOwnerId($filepath))) ? $datas['name'] : null;
106+
return ($data = posix_getpwuid($this->getFileOwnerId($filepath))) ? $data['name'] : null;
107107
}
108108

109109
protected function getFileGroupId($filepath)
@@ -119,8 +119,8 @@ protected function getFileGroup($filepath)
119119
{
120120
$this->markAsSkippedIfPosixIsMissing();
121121

122-
if ($datas = posix_getgrgid($this->getFileGroupId($filepath))) {
123-
return $datas['name'];
122+
if ($data = posix_getgrgid($this->getFileGroupId($filepath))) {
123+
return $data['name'];
124124
}
125125

126126
$this->markTestSkipped('Unable to retrieve file group name');

0 commit comments

Comments
 (0)