File tree 6 files changed +12
-10
lines changed
6 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 54
54
- composer config minimum-stability dev
55
55
- travis_retry composer update -n --prefer-dist
56
56
57
+ - stage : Code Quality
58
+ install : travis_retry composer install --prefer-dist
59
+ script : vendor/bin/phpstan analyse -c phpstan.neon src
60
+
57
61
after_script :
58
62
# upload clover.xml file to Scrutinizer to analyze it
59
63
- |
Original file line number Diff line number Diff line change 17
17
"ext-curl" : " *"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " ^7.0"
20
+ "phpunit/phpunit" : " ^7.0" ,
21
+ "phpstan/phpstan" : " ^0.9.2"
21
22
},
22
23
"autoload" : {
23
24
"psr-4" : {
Original file line number Diff line number Diff line change
1
+ includes :
2
+ # Enable Level 1
3
+ - vendor/phpstan/phpstan/conf/config.level1.neon
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ class Statement
35
35
*/
36
36
private $ query ;
37
37
38
+ /** @var mixed */
39
+ private $ format ;
40
+
38
41
/**
39
42
* @var string
40
43
*/
Original file line number Diff line number Diff line change 3
3
namespace ClickHouseDB \Tests ;
4
4
5
5
use ClickHouseDB \Client ;
6
- use ClickHouseDB \Exception ;
7
6
use ClickHouseDB \Exception \DatabaseException ;
8
7
use ClickHouseDB \Exception \QueryException ;
9
8
use ClickHouseDB \Query \WhereInFile ;
@@ -24,9 +23,6 @@ class ClientTest extends TestCase
24
23
{
25
24
use WithClient;
26
25
27
- /**
28
- * @throws Exception
29
- */
30
26
public function setUp ()
31
27
{
32
28
date_default_timezone_set ('Europe/Moscow ' );
You can’t perform that action at this time.
0 commit comments