Skip to content

feat: updates data api and scheduler add #30

feat: updates data api and scheduler add

feat: updates data api and scheduler add #30

Triggered via pull request August 20, 2024 09:46
Status Failure
Total duration 31s
Artifacts

wpcs.yml

on: pull_request
Run PHPCS inspection
22s
Run PHPCS inspection
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Run PHPCS inspection: includes/Api/UpdatesData.php#L20
Method name "initializeRoutes" in class UpdatesData is not in snake case format, try "initialize_routes"
Run PHPCS inspection: includes/Api/UpdatesData.php#L27
Method name "initializeCronJob" in class UpdatesData is not in snake case format, try "initialize_cron_job"
Run PHPCS inspection: includes/Api/UpdatesData.php#L38
Method name "sendUpdatesDataToApi" in class UpdatesData is not in snake case format, try "send_updates_data_to_api"
Run PHPCS inspection: includes/Api/UpdatesData.php#L39
Variable "$updatesData" is not in valid snake_case format, try "$updates_data"
Run PHPCS inspection: includes/Api/UpdatesData.php#L40
Variable "$updatesData" is not in valid snake_case format, try "$updates_data"
Run PHPCS inspection: includes/Api/UpdatesData.php#L46
Method name "handleApiRequest" in class UpdatesData is not in snake case format, try "handle_api_request"
Run PHPCS inspection: includes/Api/UpdatesData.php#L55
Method name "getUpdatesData" in class UpdatesData is not in snake case format, try "get_updates_data"
Run PHPCS inspection: includes/Api/UpdatesData.php#L67
Method name "getFormattedUpdatesData" in class UpdatesData is not in snake case format, try "get_formatted_updates_data"
Run PHPCS inspection: includes/Api/UpdatesData.php#L80
Method name "getFormattedCoreUpdates" in class UpdatesData is not in snake case format, try "get_formatted_core_updates"
Run PHPCS inspection: includes/Api/UpdatesData.php#L81
Variable "$coreData" is not in valid snake_case format, try "$core_data"
Run PHPCS inspection
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/