Skip to content

fix updater API Client

Codacy Production / Codacy Static Code Analysis required action Jun 26, 2024 in 0s

7 new issues (1 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 7
           

Complexity increasing per file
==============================
- inc/Engine/Plugin/UpdaterAPIClient.php  1
- inc/Engine/Plugin/InformationAPIClient.php  1
- inc/Engine/Common/JobManager/APIHandler/UserInformationClient.php  1
- inc/Engine/Common/JobManager/APIHandler/AbstractSafeAPIClient.php  4
         

Complexity decreasing per file
==============================
+ inc/Engine/License/API/PricingClient.php  -1
         

See the complete overview on Codacy

Annotations

Check notice on line 59 in inc/Engine/Common/JobManager/APIHandler/AbstractSafeAPIClient.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

inc/Engine/Common/JobManager/APIHandler/AbstractSafeAPIClient.php#L59

Equals sign not aligned correctly; expected 1 space but found 7 spaces

Check notice on line 62 in inc/Engine/Common/JobManager/APIHandler/AbstractSafeAPIClient.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

inc/Engine/Common/JobManager/APIHandler/AbstractSafeAPIClient.php#L62

Mismatched text domain. Expected 'rocket' but got 'wp-rocket'.

Check notice on line 100 in inc/Engine/Common/JobManager/APIHandler/AbstractSafeAPIClient.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

inc/Engine/Common/JobManager/APIHandler/AbstractSafeAPIClient.php#L100

Missing doc comment for function delete_timeout_transients()

Check notice on line 34 in inc/Engine/Plugin/InformationSubscriber.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

inc/Engine/Plugin/InformationSubscriber.php#L34

Missing member variable doc comment

Check notice on line 45 in inc/Engine/Plugin/InformationSubscriber.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

inc/Engine/Plugin/InformationSubscriber.php#L45

Missing parameter type

Check notice on line 83 in inc/Engine/Plugin/UpdaterSubscriber.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

inc/Engine/Plugin/UpdaterSubscriber.php#L83

Missing member variable doc comment

Check notice on line 107 in inc/Engine/Plugin/UpdaterSubscriber.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

inc/Engine/Plugin/UpdaterSubscriber.php#L107

Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space