Skip to content

Commit 0cc74ac

Browse files
committed
Updated all test (PHPUnit 4.8 compatibility)
1 parent 8328c3d commit 0cc74ac

File tree

3 files changed

+171
-138
lines changed

3 files changed

+171
-138
lines changed

Symfony/src/Codebender/BuilderBundle/Tests/Controller/DefaultControllerFunctionalTest.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ public function testHandleRequestCompile() {
4040
->request(
4141
'POST',
4242
"/{$authorizationKey}/{$apiVersion}/",
43-
$parameters = array(),
44-
$files = array(),
45-
$server = array(),
43+
$parameters = [],
44+
$files = [],
45+
$server = [],
4646
$content = '{"type":"compiler","data":{"files":[{"filename":"project.ino","content":"void setup(){\n\n}\nvoid loop(){\n\n}\n"}],"format":"binary","version":"105","build":{"mcu":"atmega328p","f_cpu":"16000000L","core":"arduino","variant":"standard"}}}',
4747
$changeHistory = true);
4848

@@ -61,9 +61,9 @@ public function testHandleRequestLibraryFetching() {
6161
->request(
6262
'POST',
6363
"/{$authorizationKey}/{$apiVersion}/",
64-
$parameters = array(),
65-
$files = array(),
66-
$server = array(),
64+
$parameters = [],
65+
$files = [],
66+
$server = [],
6767
$content = '{"type":"library","data":{"type":"fetch","library":"Ethernet"}}',
6868
$changeHistory = true);
6969

@@ -83,9 +83,9 @@ public function testHandleRequestLibraryKeywords() {
8383
->request(
8484
'POST',
8585
"/{$authorizationKey}/{$apiVersion}/",
86-
$parameters = array(),
87-
$files = array(),
88-
$server = array(),
86+
$parameters = [],
87+
$files = [],
88+
$server = [],
8989
$content = '{"type":"library","data":{"type":"getKeywords","library":"Ethernet"}}',
9090
$changeHistory = true);
9191

0 commit comments

Comments
 (0)