Welcome Guest, Not a member yet? Register   Sign In
PRs for 4.4 are waiting for reviews
#9

(This post was last modified: 08-18-2023, 01:28 PM by kenjis.)

@ozornick Oh, thank you for checking!

1. Why BC? What will be broken? It just adds a new method.

2. Oh, because your code was wrong. 
"Config\App::class" means "\Some\Where\Config\App::class" if the file has "namespace Some\Where;".
And even if it does not exist, v4.3.x looks for "App" (short classname) in "\Config" (because of preferApp).
But in 4.4, the framework looks for "\Some\Where\Config\App::class" because you specify class with the namespace,

See https://github.com/codeigniter4/CodeIgni...-factories
Reply


Messages In This Thread
PRs for 4.4 are waiting for reviews - by kenjis - 04-07-2023, 07:20 PM
RE: PRs for 4.4 are waiting for reviews - by kenjis - 08-18-2023, 01:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB