Skip to content

Removes unnecessary files#18

Merged
brunobasto merged 3 commits intoproductionfrom
remove/unnecessary-files
May 8, 2025
Merged

Removes unnecessary files#18
brunobasto merged 3 commits intoproductionfrom
remove/unnecessary-files

Conversation

@brunobasto
Copy link
Copy Markdown
Contributor

Description

Changelog Description

class-integration.php will live in mu-plugins (PR) and is not really necessary for the dev env. Removing to keep the codebase cleaner.

Pre-review checklist

Please make sure the items below have been covered before requesting a review:

  • This change works and has been tested locally or in Codespaces (or has an appropriate fallback).
  • This change has relevant unit tests (if applicable).
  • This change has relevant documentation additions / updates (if applicable).
  • I've created a changelog description that aligns with the provided examples.

Pre-deploy checklist

  • VIP staff: Ensure any alerts added/updated conform to internal standards (see internal documentation).

Steps to Test

@brunobasto brunobasto requested review from a team and Copilot May 7, 2025 18:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the now-unneeded integration file and its dependent code in order to clean up the codebase.

  • Removed all references to class-integration.php and its related integration functionality in vip-security-boost.php.
  • Updated dev-env.php to trigger an error when VIP_CONFIG_API_URL is missing.
  • Deleted the obsolete class-integration.php file.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
vip-security-boost.php Removed integration requires and integration registration code.
utils/dev-env.php Added an error trigger for missing VIP_CONFIG_API_URL environment variable.
class-integration.php Removed obsolete integration class file.

Comment thread utils/dev-env.php Outdated
@brunobasto brunobasto force-pushed the remove/unnecessary-files branch from 13e53c0 to 8309d56 Compare May 7, 2025 20:19
@brunobasto brunobasto force-pushed the remove/unnecessary-files branch from 8309d56 to 54b2e40 Compare May 7, 2025 20:20
Copy link
Copy Markdown
Contributor

@kat3samsin kat3samsin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the cleanup!

@brunobasto brunobasto merged commit 3bff939 into production May 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants