Skip to content

chore(testing): remove ParanoiaProfileStrategy, a rename leftover - #27

Merged
syntaxwanderer merged 1 commit into
masterfrom
develop
Jul 25, 2026
Merged

chore(testing): remove ParanoiaProfileStrategy, a rename leftover#27
syntaxwanderer merged 1 commit into
masterfrom
develop

Conversation

@syntaxwanderer

Copy link
Copy Markdown
Member

Summary

  • ParanoidProfileStrategy is the live strategy with five references; the misspelled twin ParanoiaProfileStrategy had none. A leftover from a rename that only ever half-landed.

Scope note: this PR targets master, and develop is 8 commits ahead of it. The diff therefore carries everything accumulated since the last release, not only the work described above. The commits added by this work are listed below.

Commits added by this work

27d9a3d chore(testing): remove ParanoiaProfileStrategy, a rename leftover

Changed in those commits: 1 file changed, 56 deletions(-)

Checks

No repo-defined automated checks exist in this package, so verification was run at workspace level
(this gap is tracked as epic ep-package-test-standard):

  • bin/semitexa ai:verify --files=... on every edited file — pass
  • bin/semitexa test:run — PHPUnit 6013 tests, 0 failures, 3 skipped
  • Playwright E2E — 86/86 pass
  • Full PHPStan — 625 → 624 errors, zero new; one pre-existing error cleared

Backwards compatibility

Public classes are removed from a published package. Every symbol was proven unreferenced twice before
deletion: once by a token index over the whole workspace (.php .neon .twig .yaml .yml .json .md .sh .js .css .xml plus bin/semitexa), and once by a raw grep -rlw with no extension filter. Neither found a
single reference in any of the 42 packages or the local modules. A #[As*] / #[Satisfies*] attribute
sweep was applied first so discovery-registered classes were never treated as dead.

Removal was chosen deliberately over a deprecation cycle: the only consumers are this project's own
installs.

What to Review

  • Confirm no profile is selected by the string paranoia anywhere in consumer config.

What to Verify

  • bin/semitexa test:run packages/semitexa-testing/tests — green.

Epics: ep-dead-code-sweep, ep-orm-delete-query-adoption. Full inventory, method and false-positive analysis: var/docs/dead-code-inventory.md.

🤖 Generated with Claude Code

ParanoidProfileStrategy is the live strategy with five references;
the misspelled twin had none.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

💤 Files selected but had no reviewable changes (1)
  • src/Strategy/Profile/ParanoiaProfileStrategy.php
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 2284c809-cda1-47bc-ae30-eb61cc712d4c

📥 Commits

Reviewing files that changed from the base of the PR and between 37cfb2e and 27d9a3d.

📒 Files selected for processing (1)
  • src/Strategy/Profile/ParanoiaProfileStrategy.php

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch develop

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

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 unused ParanoiaProfileStrategy class, which the description indicates was a misspelled leftover from a prior rename (with ParanoidProfileStrategy being the intended live implementation).

Changes:

  • Deleted src/Strategy/Profile/ParanoiaProfileStrategy.php (dead/unused profile strategy implementation).
  • Confirmed (by repository-wide search) there are no remaining references to ParanoiaProfileStrategy or the string selector paranoia.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@syntaxwanderer
syntaxwanderer merged commit 521d346 into master Jul 25, 2026
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.

2 participants