Passed
Branchdev (e5aa74)
by Plamen
02:31
created
TraitQuery.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@
 block discarded – undo
17 17
         array $order = [],
18 18
         $limit = 0,
19 19
         $useHaving = false
20
-    )
21
-    {
20
+    ) {
22 21
         //Condition: '' | ' (HAVING|WHERE|AND) ' . $cond
23 22
         self::queryConditions($query, $cond, $useHaving);
24 23
 
Please login to merge, or discard this patch.
tests/bootstrap.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 require_once __DIR__.'/../vendor/autoload.php';
3 3
 
4
-spl_autoload_register(function($class) { 
4
+spl_autoload_register(function($class) {
5 5
     if($class !== 'PHPUnit_Framework_TestSuite.php') {
6 6
         include dirname(__DIR__).'/'.$class.'.php'; 
7 7
     }
Please login to merge, or discard this patch.
tests/TableTest.php 1 patch
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,7 +30,8 @@  discard block
 block discarded – undo
30 30
      * @covers Table::prepare
31 31
      * @covers Table::confirmValue
32 32
      */
33
-    public function testprepare(){
33
+    public function testprepare()
34
+    {
34 35
         $_SERVER['REQUEST_URI'] = 'test.json';
35 36
 
36 37
         //Table::prepare(true);
@@ -52,7 +53,8 @@  discard block
 block discarded – undo
52 53
      * @covers Table::error
53 54
      * @covers Table::config
54 55
      */
55
-    public function testcreate(){
56
+    public function testcreate()
57
+    {
56 58
         $_SERVER['REQUEST_URI'] = 'test/users';
57 59
 
58 60
         Table::prepare();
@@ -130,7 +132,8 @@  discard block
 block discarded – undo
130 132
     }
131 133
 
132 134
 
133
-    public static function prepare($classMethod, $setOrCheck = false){
135
+    public static function prepare($classMethod, $setOrCheck = false)
136
+    {
134 137
         self::$pageExtension = pathinfo($_SERVER['REQUEST_URI'], PATHINFO_EXTENSION)?:null;
135 138
         $continuePreparation = $setOrCheck === false;
136 139
         if($setOrCheck === true){
Please login to merge, or discard this patch.