when defined:
// use the defined class::constant just defined in the file.
return DowngradeRectorConfig::DEPENDENCY_EXCLUDE_PATHS;
/** the DowngradeRectorConfig is clearly defined in the target file here */
final class DowngradeRectorConfig
{
public const DEPENDENCY_EXCLUDE_PATHS = [
// definition here ...
];
}
in single definition and run, it cause the error:
Found 1 unknown class!
(unable to autoload those, so we cannot check them)
• DowngradeRectorConfig
in build/config/config-downgrade.php:10
seems DowngradeRectorConfig not detected while it actually defined.
see https://github.com/rectorphp/rector-src/actions/runs/19675350225/job/56354827988?pr=7667#step:5:13