From 52f1234ebde4bf31e2deaa97c4658ebe214f11de Mon Sep 17 00:00:00 2001 From: sorge-it <3419073+sorge-it@users.noreply.github.com> Date: Tue, 6 Oct 2026 19:27:17 +0200 Subject: [PATCH] chore: declare the package as a PHPStan extension Packagist lists packages of type phpstan-extension among the extensions of PHPStan. The rules load as before, through extra.phpstan. --- CHANGELOG.md | 8 ++++++++ composer.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d7bfcd..cc93efa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.4.1 + +### Changed + +- The package type is `phpstan-extension`, so Packagist lists the package among the extensions of + PHPStan. A project sees no change: `phpstan/extension-installer` loaded the rules before, through + `extra.phpstan`. + ## 1.4.0 ### Added diff --git a/composer.json b/composer.json index 226f48b..6db31b7 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "sorge-it/phpunit-pest-html-assertions", "description": "HTML assertions for PHPUnit and Pest: check rendered HTML with CSS selectors, never as a string. With PHPStan rules, a Rector rule and a skill for AI coding agents.", - "type": "library", + "type": "phpstan-extension", "license": "MIT", "keywords": ["phpunit", "pest", "html", "dom", "css-selector", "assertions", "testing", "laravel", "livewire", "blade", "symfony", "typo3", "dom-crawler", "phpstan", "phpstan-extension", "rector", "tailwind", "laravel-boost", "ai-agents", "agent-skills", "claude-code"], "homepage": "https://github.com/sorge-it/phpunit-pest-html-assertions",