Skip to content

fix: add missing use statements in README usage snippet#19

Merged
makomweb merged 2 commits intonextfrom
copilot/sub-pr-18
Feb 24, 2026
Merged

fix: add missing use statements in README usage snippet#19
makomweb merged 2 commits intonextfrom
copilot/sub-pr-18

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 24, 2026

The README code snippet instantiated YieldViolations and Blacklist without importing them, making the example non-runnable as written.

Changes

  • Added use Tactix\Blacklist and use Tactix\YieldViolations to the manual-check usage snippet
use Tactix\Blacklist;
use Tactix\Check;
use Tactix\YieldViolations;

$check = new Check(new YieldViolations(new Blacklist(Blacklist::DEFAULT_DATA)));
$check->className(User::class);

// or:
$check->folder(__DIR__.'/src');

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…README snippet

Co-authored-by: makomweb <1567373+makomweb@users.noreply.github.com>
Copilot AI changed the title [WIP] WIP Address feedback on support for various PHP framework constellations fix: add missing use statements in README usage snippet Feb 24, 2026
Copilot AI requested a review from makomweb February 24, 2026 08:03
@makomweb makomweb marked this pull request as ready for review February 24, 2026 08:08
@makomweb makomweb merged commit d935955 into next Feb 24, 2026
@makomweb makomweb deleted the copilot/sub-pr-18 branch February 24, 2026 08:08
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