File tree Expand file tree Collapse file tree 4 files changed +77
-10
lines changed Expand file tree Collapse file tree 4 files changed +77
-10
lines changed Original file line number Diff line number Diff line change 1+ filter :
2+ paths : [src/*]
3+ excluded_paths : [tests/*]
4+ tools :
5+ php_analyzer : true
6+ php_sim : true
7+ php_pdepend : true
8+ sensiolabs_security_checker : true
9+ php_changetracking : true
10+ php_mess_detector :
11+ enabled : true
12+ config :
13+ ruleset : ~
14+ code_size_rules :
15+ cyclomatic_complexity : true
16+ npath_complexity : true
17+ excessive_method_length : true
18+ excessive_class_length : true
19+ excessive_parameter_list : true
20+ excessive_public_count : true
21+ too_many_fields : true
22+ too_many_methods : true
23+ excessive_class_complexity : true
24+ design_rules :
25+ exit_expression : true
26+ eval_expression : true
27+ goto_statement : true
28+ number_of_class_children : true
29+ depth_of_inheritance : true
30+ coupling_between_objects : true
31+ unused_code_rules :
32+ unused_private_field : true
33+ unused_local_variable : true
34+ unused_private_method : true
35+ unused_formal_parameter : true
36+ naming_rules :
37+ short_variable :
38+ minimum : 3
39+ long_variable :
40+ maximum : 20
41+ short_method :
42+ minimum : 3
43+ constructor_conflict : true
44+ constant_naming : true
45+ boolean_method_name : true
46+ controversial_rules :
47+ superglobals : true
48+ camel_case_class_name : true
49+ camel_case_property_name : true
50+ camel_case_method_name : true
51+ camel_case_parameter_name : true
52+ camel_case_variable_name : true
53+ external_code_coverage :
54+ timeout : 600
55+ checks :
56+ php :
57+ code_rating : true
58+
59+ build :
60+ nodes :
61+ analysis :
62+ environment :
63+ php :
64+ version : 7.4.5
65+ project_setup :
66+ override : true
67+ tests :
68+ override :
69+ - php-scrutinizer-run --enable-security-analysis
Original file line number Diff line number Diff line change 55 "license" : " MIT" ,
66 "minimum-stability" : " stable" ,
77 "require" : {
8- "php" : " >=7.3 " ,
8+ "php" : " >=7.4 " ,
99 "ext-json" : " *" ,
10- "php-service-bus/service-bus" : " v4.0.*" ,
11- "php-service-bus/module-phpinnacle-transport" : " v4.0.*"
10+ "php-service-bus/service-bus" : " v4.1.*"
1211 },
1312 "require-dev" : {
1413 "php-service-bus/code-style-config" : " v1.2.*" ,
15- "phpunit/phpunit" : " v8.4 .*" ,
16- "vimeo/psalm" : " v3.7 .*" ,
17- "phpstan/phpstan" : " v0.11 .*"
14+ "phpunit/phpunit" : " v9.1 .*" ,
15+ "vimeo/psalm" : " v3.11 .*" ,
16+ "phpstan/phpstan" : " v0.12 .*"
1817 },
1918 "config" : {
2019 "sort-packages" : true ,
Original file line number Diff line number Diff line change 2323
2424 <filter >
2525 <whitelist >
26- <directory >./</directory >
26+ <directory >./src </directory >
2727 <exclude >
2828 <directory >./tests</directory >
29- <directory >./vendor</directory >
3029 </exclude >
3130 </whitelist >
3231 </filter >
Original file line number Diff line number Diff line change 1010use ServiceBus \Transport \Amqp \AmqpTransportLevelDestination ;
1111use ServiceBus \Transport \Common \Package \OutboundPackage ;
1212use ServiceBus \Transport \Common \Transport ;
13- use ServiceBus \Transport \PhpInnacle \PhpInnacleTransport ;
13+ use ServiceBus \Transport \Amqp \ PhpInnacle \PhpInnacleTransport ;
1414use Symfony \Component \Dotenv \Dotenv ;
1515
1616/**
@@ -36,7 +36,7 @@ final class ToolsPublisher
3636 */
3737 public function __construct (string $ envPath )
3838 {
39- (new Dotenv (true ) )->load ($ envPath );
39+ (new Dotenv ())-> usePutenv ( true )->load ($ envPath );
4040
4141 $ this ->encoder = new SymfonyMessageSerializer ();
4242 }
You can’t perform that action at this time.
0 commit comments