You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2019/10/17 18:55:15 UTC
[thrift] branch master updated: Fix PHP style errors (by means of
phpcbf)
This is an automated email from the ASF dual-hosted git repository.
jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
The following commit(s) were added to refs/heads/master by this push:
new dd14e86 Fix PHP style errors (by means of phpcbf)
dd14e86 is described below
commit dd14e869ce5262307f796fee20baee17eb00a608
Author: Jens Geyer <je...@apache.org>
AuthorDate: Thu Oct 17 20:54:34 2019 +0200
Fix PHP style errors (by means of phpcbf)
---
lib/php/test/Fixtures.php | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/lib/php/test/Fixtures.php b/lib/php/test/Fixtures.php
index fd57d83..996f4af 100644
--- a/lib/php/test/Fixtures.php
+++ b/lib/php/test/Fixtures.php
@@ -66,32 +66,32 @@ class Fixtures
self::$testArgs['testStruct'] =
new Xtruct(
- array(
+ array(
'string_thing' => 'worked',
'byte_thing' => 0x01,
'i32_thing' => pow(2, 30),
'i64_thing' => self::$testArgs['testI64']
)
- );
+ );
self::$testArgs['testNestNested'] =
new Xtruct(
- array(
+ array(
'string_thing' => 'worked',
'byte_thing' => 0x01,
'i32_thing' => pow(2, 30),
'i64_thing' => self::$testArgs['testI64']
)
- );
+ );
self::$testArgs['testNest'] =
new Xtruct2(
- array(
+ array(
'byte_thing' => 0x01,
'struct_thing' => self::$testArgs['testNestNested'],
'i32_thing' => pow(2, 15)
)
- );
+ );
self::$testArgs['testMap'] =
array(
@@ -138,23 +138,23 @@ class Fixtures
$xtruct1 =
new Xtruct(
- array(
+ array(
'string_thing' => 'Goodbye4',
'byte_thing' => 4,
'i32_thing' => 4,
'i64_thing' => 4
)
- );
+ );
$xtruct2 =
new Xtruct(
- array(
+ array(
'string_thing' => 'Hello2',
'byte_thing' => 2,
'i32_thing' => 2,
'i64_thing' => 2
)
- );
+ );
$userMap =
array(
@@ -164,21 +164,21 @@ class Fixtures
$insanity2 =
new Insanity(
- array(
+ array(
'userMap' => $userMap,
'xtructs' => array($xtruct1, $xtruct2)
)
- );
+ );
$insanity3 = $insanity2;
$insanity6 =
new Insanity(
- array(
+ array(
'userMap' => null,
'xtructs' => null
)
- );
+ );
self::$testArgs['testInsanityExpectedResult'] =
array(