Leo Viezens
Leo Viezens
This solves #30. Please also see my comment here https://github.com/openai-php/client/issues/30#issuecomment-1367486440 `BaseUri::toString` will now check, if the given base URI starts with a protocol. If not, it adds `https://` as protocol...
Hi, what do you think about making the base URI configurable? At the moment, the base URI is hardcoded to `https://api.openai.com/v1`. Making it configurable would make end-to-end testing of applications...
### Bug report The arms of match expressions depend on order. Example: While this is perfectly fine: ```php function foo(int $bar, int $baz): int { return match (true) { $bar...
Add an option to the command to allow the user to calculate the estimated costs of compressing all images.
By passing the --countFiles option to the command, the user is able to see a price calculation before running the compression. This produces an output like: | Files compressed this...
Currently, php-dry gives user information, *that* two functions are clone instances, but not *why*. This is especially relevant in type-2 to type-4 clone detection, as there are multiple normalizations of...
When they are multiple clones of same type, all clone instances are printed in *one list*. This should be multiple lists. For example, this is the current state: ``` TYPE_1:...
- Normalize language constructs (e.g. array_map -> foreach -> for -> while) and compare normalized methods - Can be enabled via configuration option enableConstructNormalization - Is very slow at the...
No concrete to do here. We should think about how we can use more caching for better performance.
Hopefully we can do this after attending the workshop "Profiling Symfony & PHP apps" at Symfony World conference.