Simplify codebase: replace ConstantToClassConstantBase with configurable rule

Created on 6 July 2023, almost 2 years ago
Updated 2 December 2023, over 1 year ago

Problem / Motivation

The codebase can be simplified a lot by using configururable rector rules. This change replaces all rules based on `ConstantToClassConstantBase` to a new rule `ConstantToClassConstantRule`. This means we can remove a lot of classes.

Also added a new option to the testbase so we can send actual configuration to the testcases.

There is a new tests added that uses the testbase from one of the removed classes.

πŸ“Œ Task
Status

Fixed

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands bbrala Netherlands

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024