319 Commits

Author SHA1 Message Date
Dariusz Ruminski
7d571c714f PHP CS Fixer: enable @PHP8x1Migration:risky 2026-01-29 10:42:44 +01:00
Nicolas Grekas
132d67f50a Merge branch '8.0' into 8.1
* 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
  ...
2026-01-26 17:02:50 +01:00
Nicolas Grekas
b5f3aa6762 Merge branch '7.4' into 8.0
* 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
2026-01-26 16:08:38 +01:00
Nicolas Grekas
608476f460 Merge branch '7.3' into 7.4
* 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
2026-01-26 16:07:59 +01:00
Nicolas Grekas
81fe4ea2c3 Merge branch '6.4' into 7.3
* 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
2026-01-26 14:14:40 +01:00
Nicolas Grekas
c46e854e79 [Process] Fix escaping for MSYS on Windows 2026-01-23 17:02:12 +01:00
Christian Flothmann
ea61d34ff5 Merge branch '8.0' into 8.1
* 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`
2026-01-09 13:30:45 +01:00
Christian Flothmann
a9d633eb14 Merge branch '7.4' into 8.0
* 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`
2026-01-09 13:15:10 +01:00
Christian Flothmann
f532042054 Merge branch '7.3' into 7.4
* 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
2026-01-09 13:14:21 +01:00
Christian Flothmann
6d13a93007 Merge branch '6.4' into 7.3
* 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
2026-01-09 12:56:19 +01:00
Nicolas Grekas
e579464d74 [Process] Ignore invalid env var names 2026-01-08 15:20:42 +01:00
Nicolas Grekas
17ad335298 Merge branch '8.0' into 8.1
* 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
2025-12-19 11:01:25 +01:00
Nicolas Grekas
0cbbd88ec8 Merge branch '7.4' into 8.0
* 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
2025-12-19 11:01:18 +01:00
Nicolas Grekas
2f8e1a6cdf Merge branch '7.3' into 7.4
* 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
2025-12-19 11:00:43 +01:00
Nicolas Grekas
cbfa8595e8 Merge branch '6.4' into 7.3
* 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
2025-12-19 09:58:15 +01:00
Dariusz Ruminski
322711f767 PHP CS Fixer: enable static_lambda 2025-12-19 09:33:17 +01:00
Nicolas Grekas
8541b7308f [Process] Fix dealing with broken stdin pipes 2025-12-15 20:26:35 +01:00
Nicolas Grekas
db98876814 Merge branch '7.4' into 8.0
* 7.4:
  replace PHPUnit annotations with attributes
2025-08-04 09:36:47 +02:00
Christian Flothmann
14f8bb0226 replace PHPUnit annotations with attributes 2025-08-04 09:05:15 +02:00
Nicolas Grekas
8eb6dc555b CS fixes 2025-07-10 10:14:14 +02:00
Nicolas Grekas
e364119194 Remove deadcode after the bump to PHP >= 8.4 2025-06-04 12:38:30 +02:00
Nicolas Grekas
d65479e099 Merge branch '7.2' into 7.3
* 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
2025-03-13 13:25:57 +01:00
Nicolas Grekas
87b7c93e57 Merge branch '6.4' into 7.2
* 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
2025-03-13 13:21:46 +01:00
Joel Wurtz
e2a61c16af fix(process): use a pipe for stderr in pty mode to avoid mixed output between stdout and stderr 2025-03-10 18:11:00 +01:00
Christian Flothmann
0596c465ef replace assertEmpty() with stricter assertions 2025-03-05 11:15:41 +01:00
Christian Flothmann
d8f411ff3c skip transient test on GitHub Actions 2025-02-05 09:33:46 +01:00
Christian Flothmann
9e3b9d4f53 skip transient test on GitHub Actions 2025-02-05 09:21:03 +01:00
Nicolas Grekas
26a081982d Merge branch '6.4' into 7.2
* 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
2025-02-04 15:21:00 +01:00
Nicolas Grekas
7a1c12e87b [Process] Fix process status tracking 2025-02-04 14:35:48 +01:00
Nicolas Grekas
4b3cae7b39 minor #58710 [Process] On Windows, don't rely on the OS to find executables (nicolas-grekas)
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
2024-11-04 16:44:54 +01:00
Nicolas Grekas
8b1744ee82 Merge branch '7.1' into 7.2
* 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`
2024-11-04 12:36:24 +01:00
Nicolas Grekas
f4fb6b85c0 Merge branch '6.4' into 7.1
* 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`
2024-11-04 12:34:07 +01:00
Nicolas Grekas
0776b9944b Merge branch '5.4' into 6.4
* 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`
2024-11-04 12:33:53 +01:00
Nicolas Grekas
d94dda5a49 [Process] Fix escaping /X arguments on Windows 2024-11-04 11:57:54 +01:00
Nicolas Grekas
18f50a7e1a [Process] On Windows, don't rely on the OS to find executables 2024-10-30 23:11:09 +01:00
Alexandre Daubois
2ad775b9f1 Remove unused imports 2024-09-26 10:57:56 +02:00
Alexander M. Turek
f36d05c454 Merge branch '7.1' into 7.2
* 7.1:
  Make more data providers static
2024-09-20 09:49:02 +02:00
Alexander M. Turek
5c03ee6369 Make more data providers static 2024-09-19 23:48:23 +02:00
Alexander M. Turek
8f32ef92cd Merge branch '7.1' into 7.2
* 7.1:
  Mitigate PHPUnit deprecations
  [TwigBundle] Add support for resetting globals between HTTP requests
  [Process] Fix backwards compatibility for invalid commands
  Mitigate PHPUnit deprecations
  [Cache] Fix compatibility with Redis 6.1.0 pre-releases
  [Validator] Add Catalan and Spanish translation for `Week` constraint
  Don't use is_resource() on non-streams
  [Ldap] Fix extension deprecation
2024-09-08 14:34:00 +02:00
Martin Auswöger
82d962eed8 [Process] Fix backwards compatibility for invalid commands 2024-09-06 11:41:03 +02:00
Nicolas Grekas
3ff7583f87 Merge branch '7.1' into 7.2
* 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`
2024-07-26 14:49:40 +02:00
Thibaut THOUEMENT
7f2f542c66 Fix ProcessTest - testIgnoringSignal for local 2024-07-26 14:44:47 +02:00
Alexander M. Turek
6f5cb98173 Prefix all sprintf() calls 2024-06-20 17:52:34 +02:00
Joel Wurtz
14730a20ed feat(process): allow to ignore signals when executing a process 2024-04-05 10:07:33 +02:00
Christian Flothmann
67f5d2d2fc Merge branch '7.0' into 7.1
* 7.0:
  [Process] Fix failing tests causing segfaults
2024-02-13 09:26:20 +01:00
Christian Flothmann
8bda0beb7f Merge branch '5.4' into 6.4
* 5.4:
  [Process] Fix failing tests causing segfaults
2024-02-13 08:48:02 +01:00
Alexandre Daubois
4fdf34004f [Process] Fix failing tests causing segfaults 2024-02-12 16:49:53 +01:00
Alexander M. Turek
1c0721ae28 Merge branch '7.0' into 7.1
* 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>
2024-02-12 12:15:20 +01:00
Alexander M. Turek
d4fd4a807b Merge branch '5.4' into 6.4
* 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
2024-02-12 12:14:32 +01:00
Lucas Bustamante
7e2c857ee8 [Process] Fix Inconsistent Exit Status in proc_get_status for PHP Versions Below 8.3 2024-02-09 10:35:48 +01:00