File tree Expand file tree Collapse file tree 6 files changed +42
-24
lines changed Expand file tree Collapse file tree 6 files changed +42
-24
lines changed Original file line number Diff line number Diff line change 10
10
- uses : shivammathur/setup-php@v2
11
11
with :
12
12
php-version : ' 7.2'
13
- tools : php-cs-fixer:3.2.1
13
+ tools : php-cs-fixer:3.4.0
14
14
coverage : none
15
15
- name : php-cs-fixer
16
16
run : php-cs-fixer fix --dry-run --diff
Original file line number Diff line number Diff line change 27
27
28
28
class Application extends SymfonyApplication
29
29
{
30
- const APPLICATION_NAME = 'SymfonyInsight CLI ' ;
31
- const APPLICATION_VERSION = '1.7.4 ' ;
30
+ public const APPLICATION_NAME = 'SymfonyInsight CLI ' ;
31
+
32
+ public const APPLICATION_VERSION = '1.7.4 ' ;
32
33
33
34
private $ api ;
34
35
private $ apiConfig ;
Original file line number Diff line number Diff line change 7
7
8
8
class PmdDescriptor extends AbstractDescriptor
9
9
{
10
- const PHPMD_PRIORITY_HIGH = 1 ;
11
- const PHPMD_PRIORITY_MEDIUM_HIGH = 2 ;
12
- const PHPMD_PRIORITY_MEDIUM = 3 ;
13
- const PHPMD_PRIORITY_MEDIUM_LOW = 4 ;
14
- const PHPMD_PRIORITY_LOW = 5 ;
10
+ public const PHPMD_PRIORITY_HIGH = 1 ;
11
+
12
+ public const PHPMD_PRIORITY_MEDIUM_HIGH = 2 ;
13
+
14
+ public const PHPMD_PRIORITY_MEDIUM = 3 ;
15
+
16
+ public const PHPMD_PRIORITY_MEDIUM_LOW = 4 ;
17
+
18
+ public const PHPMD_PRIORITY_LOW = 5 ;
15
19
16
20
protected function describeAnalysis (Analysis $ analysis , array $ options = [])
17
21
{
Original file line number Diff line number Diff line change 31
31
32
32
class Api
33
33
{
34
- const ENDPOINT = 'https://insight.symfony.com ' ;
34
+ public const ENDPOINT = 'https://insight.symfony.com ' ;
35
35
36
36
private $ baseUrl ;
37
37
private $ httpClient ;
Original file line number Diff line number Diff line change 17
17
18
18
class Analysis
19
19
{
20
- const STATUS_ORDERED = 'ordered ' ;
21
- const STATUS_RUNNING = 'running ' ;
22
- const STATUS_MEASURED = 'measured ' ;
23
- const STATUS_ANALYZED = 'analyzed ' ;
24
- const STATUS_FINISHED = 'finished ' ;
20
+ public const STATUS_ORDERED = 'ordered ' ;
21
+
22
+ public const STATUS_RUNNING = 'running ' ;
23
+
24
+ public const STATUS_MEASURED = 'measured ' ;
25
+
26
+ public const STATUS_ANALYZED = 'analyzed ' ;
27
+
28
+ public const STATUS_FINISHED = 'finished ' ;
25
29
26
30
/**
27
31
* @Type("array<SensioLabs\Insight\Sdk\Model\Link>")
Original file line number Diff line number Diff line change @@ -21,16 +21,25 @@ class Project
21
21
/**
22
22
* @see https://github.com/sensiolabs/connect/blob/master/src/SensioLabs/Connect/Api/Entity/Project.php
23
23
*/
24
- const TYPE_PHP_WEBSITE = 0 ;
25
- const TYPE_PHP_LIBRARY = 1 ;
26
- const TYPE_SYMFONY2_BUNDLE = 2 ;
27
- const TYPE_SYMFONY1_PLUGIN = 4 ;
28
- const TYPE_OTHER = 6 ;
29
- const TYPE_DRUPAL_MODULE = 7 ;
30
- const TYPE_LARAVAL_WEB_PROJECT = 8 ;
31
- const TYPE_SILEX_WEB_PROJECT = 9 ;
32
- const TYPE_SYMFONY2_WEB_PROJECT = 10 ;
33
- const TYPE_SYMFONY1_WEB_PROJECT = 11 ;
24
+ public const TYPE_PHP_WEBSITE = 0 ;
25
+
26
+ public const TYPE_PHP_LIBRARY = 1 ;
27
+
28
+ public const TYPE_SYMFONY2_BUNDLE = 2 ;
29
+
30
+ public const TYPE_SYMFONY1_PLUGIN = 4 ;
31
+
32
+ public const TYPE_OTHER = 6 ;
33
+
34
+ public const TYPE_DRUPAL_MODULE = 7 ;
35
+
36
+ public const TYPE_LARAVAL_WEB_PROJECT = 8 ;
37
+
38
+ public const TYPE_SILEX_WEB_PROJECT = 9 ;
39
+
40
+ public const TYPE_SYMFONY2_WEB_PROJECT = 10 ;
41
+
42
+ public const TYPE_SYMFONY1_WEB_PROJECT = 11 ;
34
43
35
44
/**
36
45
* @Exclude()
You can’t perform that action at this time.
0 commit comments