Kevin Bond

Results 135 issues of Kevin Bond

### Description Consider the [following code](https://3v4l.org/5Arcr): ```php function foo(int $a = 0, int $b = 0, string ...$flags) {} ``` It is not possible to pass more than one value...

bug

| Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | Fix...

Feature
Status: Needs Review
Mailer

| Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | yes | Deprecations? | no | Issues | n/a...

DependencyInjection
Feature
Status: Reviewed
Contracts

TODO: - [ ] sqlite changes. We don't currently test but there are some breaking changes when using `ResetDatabase` with sqlite

_(to be moved to 2.x PR)_ - [x] remove deprecated code - [ ] migrate remaining features from foundry-next - [ ] deprecate `Zenstruck\Foundry\anonymous()` in favor of `Zenstruck\Foundry\factory()` - [...

Related: #244, #373. Currently, if you want an attribute calculated for every object created by the factory you need to wrap the attribute array in a closure: ```php UserFactory::new(fn() =>...

https://github.com/OskarStark/doctor-rst

Possible solution for #305. When forcing properties with the `Instantiator`, covert `array`'s to `ArrayCollection`'s if the typehint demands it. Not a huge fan of this solution... I think I'd prefer...

Closes #388. This PR splits the Instantator into 2 separate objects: - `Instantiator`: now only create the object (using constructor/no constructor/callback/named constructor) - `Hydrator`: takes the instantiated object and hydrates...

Fixes #235.