42 new issues (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
+ Solved 70
- Added 42
Complexity increasing per file
==============================
- Src/lib/request.php 3
Complexity decreasing per file
==============================
+ Src/lib/appveyor.php -3
+ Src/lib/github.php -1
See the complete overview on Codacy
Annotations
Check notice on line 12 in Src/lib/github.php
codacy-production / Codacy Static Code Analysis
Src/lib/github.php#L12
Concat operator must not be surrounded by spaces
Check notice on line 1 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L1
Whitespace found at end of line
Check notice on line 3 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L3
Avoid excessively long variable names like $authorizationBearerToken. Keep variable name length under 20.
Check notice on line 3 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L3
Expected 2 blank lines before function; 1 found
Check notice on line 3 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L3
Incorrect spacing between argument "$data" and equals sign; expected 0 but found 1
Check notice on line 3 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L3
Opening brace should be on a new line
Check notice on line 4 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L4
Short array syntax must be used to define arrays
Check notice on line 7 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L7
Concat operator must not be surrounded by spaces
Check notice on line 9 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L9
Short array syntax must be used to define arrays
Check notice on line 10 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L10
Array key not aligned correctly; expected 15 spaces but found 8
Check notice on line 11 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L11
Array key not aligned correctly; expected 15 spaces but found 8
Check notice on line 12 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L12
Array key not aligned correctly; expected 15 spaces but found 8
Check notice on line 13 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L13
Array key not aligned correctly; expected 15 spaces but found 8
Check notice on line 16 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L16
Array key not aligned correctly; expected 15 spaces but found 8
Check notice on line 20 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L20
Array key not aligned correctly; expected 15 spaces but found 8
Check warning on line 28 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L28
The use of function curl_init() is discouraged
Check failure on line 35 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L35
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'htmlspecialchars'.
Check failure on line 36 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L36
Use of echo language construct is discouraged.
Check warning on line 37 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L37
The function doRequest() contains an exit expression.
Check warning on line 40 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L40
The use of function curl_getinfo() is discouraged
Check warning on line 44 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L44
The use of function curl_getinfo() is discouraged
Check warning on line 45 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L45
The use of function curl_close() is discouraged
Check notice on line 47 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L47
Array with multiple values cannot be declared on a single line
Check notice on line 47 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L47
Short array syntax must be used to define arrays
Check notice on line 48 in Src/lib/request.php
codacy-production / Codacy Static Code Analysis
Src/lib/request.php#L48
Expected 1 blank line before closing function brace; 0 found