Skip to content

Commit

Permalink
Changed the arrays [] to array()
Browse files Browse the repository at this point in the history
  • Loading branch information
MASNathan committed May 28, 2015
1 parent 11663a6 commit 7f0b39c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ before_script:
- travis_retry composer self-update
- alias composer="php -d zend.enable_gc=0 /usr/bin/composer"
- composer require --dev satooshi/php-coveralls:dev-master
- travis_retry composer install --no-interaction --prefer-source --dev
- travis_retry composer install --no-interaction --prefer-source

after_script:
- export COVERALLS_RUN_LOCALLY=1
Expand Down
2 changes: 1 addition & 1 deletion tests/Builder/Syntax/ColumnWriterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function itShouldWriteValueAsColumns()
public function itShouldWriteFuncAsColumns()
{
$select = new Select('user');
$select->setFunctionAsColumn('MAX', ['user_id'], 'max_value');
$select->setFunctionAsColumn('MAX', array('user_id'), 'max_value');

$result = $this->columnWriter->writeFuncAsColumns($select);

Expand Down
4 changes: 2 additions & 2 deletions tests/Manipulation/InsertTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function itShouldGetPartName()
*/
public function itShouldSetValues()
{
$values = ['user_id' => 1, 'username' => 'nilportugues'];
$values = array('user_id' => 1, 'username' => 'nilportugues');

$this->query->setValues($values);

Expand All @@ -55,7 +55,7 @@ public function itShouldSetValues()
*/
public function itShouldGetColumns()
{
$values = ['user_id' => 1, 'username' => 'nilportugues'];
$values = array('user_id' => 1, 'username' => 'nilportugues');

$this->query->setValues($values);

Expand Down
2 changes: 1 addition & 1 deletion tests/Manipulation/UpdateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function itShouldReturnLimit1()
*/
public function itShouldReturnValues()
{
$values = ['user_id' => 1];
$values = array('user_id' => 1);

$this->query->setValues($values);

Expand Down

0 comments on commit 7f0b39c

Please sign in to comment.