From c3eaebb0b9a444d0ed13a803f7fd1da9c3ef8565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Kr=C3=A1l?= Date: Thu, 12 Nov 2026 15:08:07 +0100 Subject: [PATCH] fix(ruleset): resolve contradictory and duplicate rule declarations Closes #66 --- CHANGELOG.md | 4 ++++ ruleset.xml | 8 ++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 025008a..6068e28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ All notable changes to this project will be documented in this file. - Minimum required PHP version lowered to 8.4 — `composer.json` now requires `php: ^8.4` (before: `^8.5`). The ruleset and the build tooling use no PHP 8.5 feature. - CI runs every check (tests, PHPCS, PHPStan, Rector, unused-sniffs) on PHP 8.4 and 8.5 again. +### Fixed +- `DisallowMultiConstantDefinition` and `DisallowMultiPropertyDefinition` are no longer listed as excluded while enabled; both stay enabled (#66). +- `ForbiddenPublicProperty` is declared once, with all four path exclusions (#66). + ## [0.5.0] - 2026-06-29 ### Changed - **BREAKING: Minimum required PHP version raised to 8.5** — `composer.json` now requires `php: ^8.5`. Projects still on PHP 8.4 should stay on the 0.4.x line. diff --git a/ruleset.xml b/ruleset.xml index 0fea695..e7398d3 100644 --- a/ruleset.xml +++ b/ruleset.xml @@ -42,6 +42,8 @@ app/Livewire/** app/Models/** + */Livewire/**/*.php + */Models/**/*.php @@ -59,10 +61,6 @@ - - */Livewire/**/*.php - */Models/**/*.php - @@ -88,8 +86,6 @@ - -