You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Config Setup: the hierarchy flag is removed in 3.2.0 #190
Framework 3.2.0 removes the hierarchy flag of Quantum\Config\Setup (quantum-php/framework#619): the $hierarchical constructor argument, setHierarchy() and getHierarchy(). The fallback from a module's config file to shared/config is always on, and the constructor is now ($pathPrefix, $fileName, $module, $exceptionMessage). The docs still describe the flag as deprecated.
Changes
v3.0/advanced-features/configuration.md, under "Path Resolution Table": the sentence that says the shared fallback is on by default and that $hierarchical and setHierarchy() are deprecated becomes: the shared fallback is always on.
v3.0/upgrade-guide.md, "Upgrading from 3.1 to 3.2":
a new section on the removed flag: new Setup('config', 'app', true, 'Admin') becomes new Setup('config', 'app', module: 'Admin'); what an old positional call does now (a TypeError with strict_types, the wrong module without it); setHierarchy() and getHierarchy() are gone.
"Check the upgrade": the grep also looks for setHierarchy( and getHierarchy(.
Section 13 of "Upgrading from 3.0 to 3.1" (the 3.1.2 deprecation) stays as it is.
Every statement is checked against the 3.2.x code. The changes wait in staging until 3.2.0 is released.
Activity