* 8.0: (21 commits)
[ObjectMapper] apply conditions to constructor arguments
Fix merge
[FrameworkBundle] Clean `http_cache` dir in `KernelTestCase::ensureKernelShutdown()`
fix tests on Windows
[PropertyInfo] Conflict with phpdocumentor/reflection-docblock >= 6
[Finder] Fix appending empty iterators
Fix attributeLoader
Bump Symfony version to 8.0.5
Update VERSION for 8.0.4
Update CHANGELOG for 8.0.4
Bump Symfony version to 7.4.5
Update VERSION for 7.4.4
Update CHANGELOG for 7.4.4
Bump Symfony version to 7.3.11
Update VERSION for 7.3.10
Update CHANGELOG for 7.3.10
Bump Symfony version to 6.4.33
Update VERSION for 6.4.32
Update CONTRIBUTORS for 6.4.32
Update CHANGELOG for 6.4.32
...
* 7.4:
Fix merge
[FrameworkBundle] Clean `http_cache` dir in `KernelTestCase::ensureKernelShutdown()`
fix tests on Windows
[PropertyInfo] Conflict with phpdocumentor/reflection-docblock >= 6
[Finder] Fix appending empty iterators
Fix attributeLoader
Bump Symfony version to 7.4.5
Update VERSION for 7.4.4
Update CHANGELOG for 7.4.4
Bump Symfony version to 7.3.11
Update VERSION for 7.3.10
Update CHANGELOG for 7.3.10
Bump Symfony version to 6.4.33
Update VERSION for 6.4.32
Update CONTRIBUTORS for 6.4.32
Update CHANGELOG for 6.4.32
[Process] Fix escaping for MSYS on Windows
* 7.3:
Fix merge
[FrameworkBundle] Clean `http_cache` dir in `KernelTestCase::ensureKernelShutdown()`
fix tests on Windows
[PropertyInfo] Conflict with phpdocumentor/reflection-docblock >= 6
[Finder] Fix appending empty iterators
Fix attributeLoader
Bump Symfony version to 7.3.11
Update VERSION for 7.3.10
Update CHANGELOG for 7.3.10
Bump Symfony version to 6.4.33
Update VERSION for 6.4.32
Update CONTRIBUTORS for 6.4.32
Update CHANGELOG for 6.4.32
[Process] Fix escaping for MSYS on Windows
* 6.4:
fix tests on Windows
[PropertyInfo] Conflict with phpdocumentor/reflection-docblock >= 6
[Finder] Fix appending empty iterators
Fix attributeLoader
Bump Symfony version to 6.4.33
Update VERSION for 6.4.32
Update CONTRIBUTORS for 6.4.32
Update CHANGELOG for 6.4.32
[Process] Fix escaping for MSYS on Windows
* 8.0:
fix high deps tests
[ObjectMapper] Fix mapping for missing source properties
[HttpFoundation] Fix double-prefixing of session keys when using redis/memcached
[TypeInfo] Fix static type resolution when called class is in different namespace
[FrameworkBundle] Revert destination file change for secrets:decrypt-to-local
[Process] Ignore invalid env var names
[FrameworkBundle] Don't list ExpressionConfigurator if expression-language is not installed on reference config shape
[JsonStreamer] Fix memory leak by caching stream readers/writers
[FrameworkBundle] Skip extensions with empty configuration in reference.php
Also bypass `Return-Path` header within `MicrosoftGraphApiTransport`
* 7.4:
fix high deps tests
[ObjectMapper] Fix mapping for missing source properties
[HttpFoundation] Fix double-prefixing of session keys when using redis/memcached
[TypeInfo] Fix static type resolution when called class is in different namespace
[FrameworkBundle] Revert destination file change for secrets:decrypt-to-local
[Process] Ignore invalid env var names
[FrameworkBundle] Don't list ExpressionConfigurator if expression-language is not installed on reference config shape
[JsonStreamer] Fix memory leak by caching stream readers/writers
[FrameworkBundle] Skip extensions with empty configuration in reference.php
Also bypass `Return-Path` header within `MicrosoftGraphApiTransport`
* 7.3:
fix high deps tests
[HttpFoundation] Fix double-prefixing of session keys when using redis/memcached
[TypeInfo] Fix static type resolution when called class is in different namespace
[FrameworkBundle] Revert destination file change for secrets:decrypt-to-local
[Process] Ignore invalid env var names
[JsonStreamer] Fix memory leak by caching stream readers/writers
* 6.4:
fix high deps tests
[HttpFoundation] Fix double-prefixing of session keys when using redis/memcached
[FrameworkBundle] Revert destination file change for secrets:decrypt-to-local
[Process] Ignore invalid env var names
* 8.0:
[JsonPath] Use composer packages for JsonPath compliance test suite
Fix negative delays with AMQP messenger transport
[TwigBundle] Align TemplateIterator handling of @! original bundle templates with TwigExtension
[AssetMapper] Batch concurrent requests to prevent flooding jsdelivr
[HttpFoundation][Cache] Fix VARBINARY columns on sqlsrv
[Cache] Fix calling the callback wrapper for ChainAdapter
[Routing] Fix simple parameter mappings in routes
[Process] Fix dealing with broken stdin pipes
* 7.4:
[JsonPath] Use composer packages for JsonPath compliance test suite
Fix negative delays with AMQP messenger transport
[TwigBundle] Align TemplateIterator handling of @! original bundle templates with TwigExtension
[AssetMapper] Batch concurrent requests to prevent flooding jsdelivr
[HttpFoundation][Cache] Fix VARBINARY columns on sqlsrv
[Cache] Fix calling the callback wrapper for ChainAdapter
[Routing] Fix simple parameter mappings in routes
[Process] Fix dealing with broken stdin pipes
* 7.3:
[JsonPath] Use composer packages for JsonPath compliance test suite
Fix negative delays with AMQP messenger transport
[TwigBundle] Align TemplateIterator handling of @! original bundle templates with TwigExtension
[AssetMapper] Batch concurrent requests to prevent flooding jsdelivr
[HttpFoundation][Cache] Fix VARBINARY columns on sqlsrv
[Cache] Fix calling the callback wrapper for ChainAdapter
[Routing] Fix simple parameter mappings in routes
[Process] Fix dealing with broken stdin pipes
* 6.4:
Fix negative delays with AMQP messenger transport
[TwigBundle] Align TemplateIterator handling of @! original bundle templates with TwigExtension
[AssetMapper] Batch concurrent requests to prevent flooding jsdelivr
[HttpFoundation][Cache] Fix VARBINARY columns on sqlsrv
[Cache] Fix calling the callback wrapper for ChainAdapter
[Process] Fix dealing with broken stdin pipes
* 7.2:
[VarExporter] Fix support for hooks and asymmetric visibility
[TypeInfo] Fix promoted property with `@var` tag
fix(process): use a pipe for stderr in pty mode to avoid mixed output between stdout and stderr
[Cache] fix data collector
* 6.4:
[VarExporter] Fix support for hooks and asymmetric visibility
fix(process): use a pipe for stderr in pty mode to avoid mixed output between stdout and stderr
[Cache] fix data collector
* 6.4:
[Process] Fix process status tracking
[HttpClient] Fix buffering AsyncResponse with no passthru
[HttpClient] Fix uploading files > 2GB
[Mime] use isRendered method to avoid rendering an email twice
This PR was merged into the 7.2 branch.
Discussion
----------
[Process] On Windows, don't rely on the OS to find executables
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues | -
| License | MIT
Porting part of https://github.com/composer/composer/pull/12180 here:
On Windows, when searching for an executable, the OS always looks at the current directory before using the PATH variable. This makes it easier than desired to hijack executables. Unix-like OSes don't have this issue.
This PR proposes to rely on ExecutableFinder instead.
Commits
-------
b35a7d42931 [Process] On Windows, don't rely on the OS to find executables
* 7.1:
[Validator] Fix 58691 (missing plural-options in serbian language translation)
profiler form data collector extart value property if it is setted
[Process] Fix escaping /X arguments on Windows
fix the constant being used
fix the path separator being used
fix the directory separator being used
ignore case of built-in cmd.exe commands
[Process] Improve test cleanup by unlinking in a `finally` block
[Notifier] Fix test with hard coded date in `SmsboxTransportTest`
[Process] Return built-in cmd.exe commands directly in ExecutableFinder
Re-add missing Profiler shortcuts on Profiler homepage
[Config] Handle Phar absolute path in `FileLocator`
[Runtime] Remove unused `SKIPIF` from `dotenv_overload.phpt`
* 6.4:
[Validator] Fix 58691 (missing plural-options in serbian language translation)
profiler form data collector extart value property if it is setted
[Process] Fix escaping /X arguments on Windows
[Config] Handle Phar absolute path in `FileLocator`
[Runtime] Remove unused `SKIPIF` from `dotenv_overload.phpt`
* 5.4:
[Validator] Fix 58691 (missing plural-options in serbian language translation)
profiler form data collector extart value property if it is setted
[Process] Fix escaping /X arguments on Windows
[Config] Handle Phar absolute path in `FileLocator`
* 7.1:
Fix ProcessTest - testIgnoringSignal for local
[Console][PhpUnitBridge][VarDumper] Fix `NO_COLOR` empty value handling
[Translation] Fix CSV escape char in `CsvFileLoader` on PHP >= 7.4
[DoctrineBridge] fix messenger bus dispatch inside an active transaction
[HttpFoundation] Add tests for uncovered sections
treat uninitialized properties referenced by property paths as null
[PropertyInfo] Check if property is nullable when using `ReflectionExtractor`
properly set up constraint options
[ErrorHandler][VarDumper] Remove PHP 8.4 deprecations
move adding detailed JSON error messages to the validate phase
[Profiler] Add word wrap in tables in dialog to see all the text
[Core] Fix & Enhance security arabic translation.
[HttpFoundation] Add tests for `MethodRequestMatcher` and `SchemeRequestMatcher`
* 7.0:
[VarExporter] Uniform unitialized property error message under ghost and non-ghost objects
[AssetMapper] Ignore comment lines in JavaScriptImportPathCompiler
Update configuration path in help message
[Validator] Review Albanian translation
[Process] Fix Inconsistent Exit Status in proc_get_status for PHP Versions Below 8.3
[Validator] Update Czech (cz) translation
Sync translations
[Mailer][Postmark][Webhook] Make allowed IPs configurable
Review portuguese translations
[Validator] Fix fields without constraints in `Collection`
deal with fields for which no constraints have been configured
[DomCrawler] [Form] Fix the exclusion of <template>
* 5.4:
Update configuration path in help message
[Validator] Review Albanian translation
[Process] Fix Inconsistent Exit Status in proc_get_status for PHP Versions Below 8.3
[Validator] Update Czech (cz) translation
Sync translations
Review portuguese translations
[Validator] Fix fields without constraints in `Collection`
deal with fields for which no constraints have been configured