Skip to content

Conversation

@Derkades
Copy link
Member

@Derkades Derkades commented Feb 2, 2023

Why?

  • It no longer needs to be set manually (like in CLI installer, seeder, etc), reducing the possibility of errors when files are moved
  • Tools like phpstan do not like global constants

@Derkades Derkades added this to the 2.2.0 milestone Feb 2, 2023
@tadhgboyle tadhgboyle changed the title Move ROOT_PATH constant to a class Move ROOT_PATH constant to a class Feb 9, 2023
@tadhgboyle tadhgboyle force-pushed the root-path-constant-class branch from e729252 to 992da70 Compare February 9, 2023 20:58
@tadhgboyle tadhgboyle modified the milestones: 2.2.0, 2.1.0 Feb 9, 2023
@tadhgboyle
Copy link
Member

I think we should keep the ROOT_PATH constant for 2.1.0, and then remove it in 2.2.0 - just to spread out the massive breaking changes a bit for module devs

@Derkades Derkades dismissed stale reviews from partydragen and supercrafter100 April 25, 2023 07:52

resolved

@samerton samerton modified the milestones: 2.2.0, 2.3.0 Jun 7, 2024
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.

6 participants