-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add Factories::define() to explicitly override a class #7733
Merged
Commits on Jul 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a8b528e - Browse repository at this point
Copy the full SHA a8b528eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85dd31b - Browse repository at this point
Copy the full SHA 85dd31bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79d3f35 - Browse repository at this point
Copy the full SHA 79d3f35View commit details -
feat: [BC] add Factories::define() to override module classes
Except for Config, if FQCN is specified, preferApp is ignored and that class is loaded.
Configuration menu - View commit details
-
Copy full SHA for d7ed053 - Browse repository at this point
Copy the full SHA d7ed053View commit details -
Configuration menu - View commit details
-
Copy full SHA for 510c73f - Browse repository at this point
Copy the full SHA 510c73fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8629fdd - Browse repository at this point
Copy the full SHA 8629fddView commit details -
fix: when injecting Config mock with
Validation
, register the same ……instance as `Config\Validation` When you call `Factories::injectMock('config', 'Validation', $config)`, but if the production code calls `config(\Config\Validation::class)`, the mock instance will not be used and fail the test: CodeIgniter\Database\ModelFactoryTest::testBasenameReturnsExistingNamespaceInstance
Configuration menu - View commit details
-
Copy full SHA for 3f23901 - Browse repository at this point
Copy the full SHA 3f23901View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86ca97b - Browse repository at this point
Copy the full SHA 86ca97bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74177ef - Browse repository at this point
Copy the full SHA 74177efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88bbbcf - Browse repository at this point
Copy the full SHA 88bbbcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for da9ea30 - Browse repository at this point
Copy the full SHA da9ea30View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd4d88c - Browse repository at this point
Copy the full SHA fd4d88cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fac66c - Browse repository at this point
Copy the full SHA 0fac66cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d385e98 - Browse repository at this point
Copy the full SHA d385e98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8880351 - Browse repository at this point
Copy the full SHA 8880351View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1fa03f - Browse repository at this point
Copy the full SHA a1fa03fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b05bf9 - Browse repository at this point
Copy the full SHA 5b05bf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b482774 - Browse repository at this point
Copy the full SHA b482774View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3c768a - Browse repository at this point
Copy the full SHA a3c768aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3c223b - Browse repository at this point
Copy the full SHA e3c223bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 244c5fb - Browse repository at this point
Copy the full SHA 244c5fbView commit details -
fix: remove logic for preferApp for no namespaced Config classname
preferApp should work only for no namespaced (Config) classname.
Configuration menu - View commit details
-
Copy full SHA for 340a930 - Browse repository at this point
Copy the full SHA 340a930View commit details -
Configuration menu - View commit details
-
Copy full SHA for a13c53d - Browse repository at this point
Copy the full SHA a13c53dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 886fa87 - Browse repository at this point
Copy the full SHA 886fa87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fdd3f1 - Browse repository at this point
Copy the full SHA 9fdd3f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c48b523 - Browse repository at this point
Copy the full SHA c48b523View commit details
Commits on Jul 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 89d6f37 - Browse repository at this point
Copy the full SHA 89d6f37View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.