69 Commits

Author SHA1 Message Date
Nicolas Grekas
e0a87c9a60 Merge branch '6.4' into 7.2
* 6.4:
  -
  CS fixes
2025-07-10 10:29:33 +02:00
Nicolas Grekas
8eb6dc555b CS fixes 2025-07-10 10:14:14 +02:00
Nicolas Grekas
f2f5bb98e1 Merge branch '7.1' into 7.2
* 7.1:
  Do not read from argv on non-CLI SAPIs
  [Process] Use %PATH% before %CD% to load the shell on Windows
  [HttpFoundation] Reject URIs that contain invalid characters
  [HttpClient] Filter private IPs before connecting when Host == IP
2024-11-05 17:46:43 +01:00
Nicolas Grekas
66716d3126 Merge branch '6.4' into 7.1
* 6.4:
  Do not read from argv on non-CLI SAPIs
  [Process] Use %PATH% before %CD% to load the shell on Windows
  [HttpFoundation] Reject URIs that contain invalid characters
  [HttpClient] Filter private IPs before connecting when Host == IP
2024-11-05 17:45:54 +01:00
Nicolas Grekas
88638b90e7 Merge branch '5.4' into 6.4
* 5.4:
  Do not read from argv on non-CLI SAPIs
  [Process] Use %PATH% before %CD% to load the shell on Windows
  [HttpFoundation] Reject URIs that contain invalid characters
  [HttpClient] Filter private IPs before connecting when Host == IP
2024-11-05 17:39:55 +01:00
Nicolas Grekas
05c2ccc705 [Process] Use %PATH% before %CD% to load the shell on Windows 2024-11-04 16:32:16 +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
Christian Flothmann
284aeada0d Merge branch '6.4' into 7.1
* 6.4:
  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
  [Process] Return built-in cmd.exe commands directly in ExecutableFinder
  Re-add missing Profiler shortcuts on Profiler homepage
2024-11-04 12:12:45 +01:00
Christian Flothmann
250ae06a6a Merge branch '5.4' into 6.4
* 5.4:
  fix the directory separator being used
  ignore case of built-in cmd.exe commands
  [Process] Improve test cleanup by unlinking in a `finally` block
  [Process] Return built-in cmd.exe commands directly in ExecutableFinder
2024-11-04 10:49:25 +01:00
Jordi Boggiano
46c203f382 [Process] Return built-in cmd.exe commands directly in ExecutableFinder 2024-11-02 14:23:42 +01:00
Nicolas Grekas
269b336845 Merge branch '7.1' into 7.2
* 7.1:
  [Process] Properly deal with not-found executables on Windows
  [Process] Fix handling empty path found in the PATH env var with ExecutableFinder
2024-10-31 08:34:21 +01:00
Nicolas Grekas
1aa37babe8 Merge branch '6.4' into 7.1
* 6.4:
  [Process] Properly deal with not-found executables on Windows
  [Process] Fix handling empty path found in the PATH env var with ExecutableFinder
2024-10-31 08:33:08 +01:00
Nicolas Grekas
593ecb86a2 Merge branch '5.4' into 6.4
* 5.4:
  [Process] Properly deal with not-found executables on Windows
  [Process] Fix handling empty path found in the PATH env var with ExecutableFinder
2024-10-31 08:33:01 +01:00
Nicolas Grekas
32dfba3c12 bug #58723 [Process] Properly deal with not-found executables on Windows (nicolas-grekas)
This PR was merged into the 5.4 branch.

Discussion
----------

[Process] Properly deal with not-found executables on Windows

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Issues        | -
| License       | MIT

Removing the unexpected notices that we see on appveyor:

Before:
![image](https://github.com/user-attachments/assets/d9c788ad-7b29-4b0c-9170-aa08953a5ca2)

After:
![image](https://github.com/user-attachments/assets/a3dc1cc7-ce4c-4fd0-b422-1a6c745bc3d9)

Commits
-------

73140eb44e1 [Process] Properly deal with not-found executables on Windows
2024-10-31 08:31:31 +01:00
Nicolas Grekas
651830b1a3 [Process] Properly deal with not-found executables on Windows 2024-10-31 08:29:06 +01:00
Nicolas Grekas
e2d11b6ca0 [Process] Fix handling empty path found in the PATH env var with ExecutableFinder 2024-10-30 14:23:28 +01:00
Nicolas Grekas
1b9fa82b5c [Process] minor fix 2024-09-17 14:46:43 +02:00
Jan Walther
6f16c626e9 [Process] Fix finding executables independently of open_basedir 2024-09-17 14:20:12 +02:00
Alexandre Daubois
ca79b6e26d [Lock][Process] Replace strtok calls 2024-06-27 14:22:56 +02:00
Travis Carden
f7456b8509 [Process] ExecutableFinder::addSuffix() has no effect 2024-06-04 08:29:00 +02:00
Nicolas Grekas
0e7727191c Merge branch '6.4' into 7.0
* 6.4:
  [DependencyInjection] Fix computing error messages involving service locators
  [Serializer] Fix unknown types normalization type when know type
  [ErrorHandler] Fix parsing messages that contain anonymous classes on PHP >= 8.3.3
  [AssetMapper] Fix enquoted string pattern
  [Validator] Review Romanian (ro) translations
  [Console] Fix display of Table on Windows OS
  [FrameworkBundle] Fix config builder with extensions extended in `build()`
  [Translation] Fix extracting qualified t() function calls
  Fix vertical table on windows
  Fix the `command -v` exception when the command option with a dash prefix
  [WebProfilerBundle] disable turbo in web profiler toolbar to avoid link prefetching
  explicitly cast boolean SSL stream options
  return the unchanged text if preg_replace_callback() fails
  the 'use_notify' option is on the factory, not on the postgres connection class
  review translations
2024-02-22 15:27:20 -05:00
Kay Wei
710e27879e Fix the command -v exception when the command option with a dash prefix 2024-02-20 07:31:00 -05:00
Nicolas Grekas
937a195147 Merge branch '6.4' into 7.0
* 6.4:
  Fix implicitly-required parameters
  minor #53524 [Messenger] [AmazonSqs] Allow `async-aws/sqs` version 2 (smoench)
  Fix bad merge
  List CS fix in .git-blame-ignore-revs
  Fix implicitly-required parameters
  List CS fix in .git-blame-ignore-revs
  Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value
  [Messenger][AmazonSqs] Allow async-aws/sqs version 2
2024-01-23 16:02:46 +01:00
Nicolas Grekas
31642b0818 Merge branch '6.3' into 6.4
* 6.3:
  minor #53524 [Messenger] [AmazonSqs] Allow `async-aws/sqs` version 2 (smoench)
  Fix bad merge
  List CS fix in .git-blame-ignore-revs
  Fix implicitly-required parameters
  List CS fix in .git-blame-ignore-revs
  Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value
2024-01-23 15:51:35 +01:00
Nicolas Grekas
6c5eceb885 Merge branch '5.4' into 6.3
* 5.4:
  Fix implicitly-required parameters
  List CS fix in .git-blame-ignore-revs
  Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value
  [Messenger][AmazonSqs] Allow async-aws/sqs version 2
2024-01-23 15:35:58 +01:00
Nicolas Grekas
cbc28e3401 Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value 2024-01-23 14:51:25 +01:00
Fabien Potencier
acd3eb5cb0 Merge branch '6.4' into 7.0
* 6.4:
  [Messenger] Fix using negative delay
  [Validator] Add missing italian translation
  [Validator] Fix using known option names as field names
  [SecurityBundle] Prevent to login/logout without a request context
  Suppress warnings from is_executable
2023-12-24 10:15:37 +01:00
Kieran
c4b1ef0bc8 Suppress warnings from is_executable 2023-12-22 16:42:54 +00:00
Nicolas Grekas
51e1cf6b7f Merge branch '6.4' into 7.0
* 6.4: (31 commits)
  [HttpKernel] Strip exception file paths from log messages
  [Validator] Add ability to validate time without seconds
  [Process] Fix test case
  [Process] Support finding executables independently of open_basedir
  [Mime] Update mimetypes
  Add some PHPDoc
  [Workflow] Add a profiler
  [Form] Removing self-closing slash from `<input>`
  [FrameworkBundle][Serializer] Add TranslatableNormalizer
  [Uid] Fix example
  [HttpKernel] Add `reset()` implementation in DataCollector
  [Uid] Add more PHP doc to "export" functions
  [HttpKernel] RequestPayloadValueResolver Add support for custom http status code
  [Serializer] Add support for seld/jsonlint in order to enhance error messages
  [Workflow] fix MermaidDumper when place contains special char
  [Translation] Phrase translation provider
  [Workflow] Add support for storing the marking in a property
  [Crawler] Fix regression where cdata nodes will return empty string
  [Scheduler] make `ScheduledStamp` "send-able"
  [Serializer] Groups annotation/attribute on class
  ...
2023-08-01 17:58:38 +02:00
Jan Walther
1f07ae60a2 [Process] Support finding executables independently of open_basedir 2023-08-01 16:57:35 +02:00
Nicolas Grekas
74ea743f40 Merge branch '6.4' into 7.0
* 6.4:
  fix typo
  Add types to private and internal properties
  [Workflow] Cleaning code
  [Scheduler] Fix NPE in debug:scheduler command
2023-07-25 17:42:22 +02:00
Nicolas Grekas
8f38ed0bd6 Add types to private and internal properties 2023-07-25 17:08:44 +02:00
Wouter de Jong
2bea96bf20 [Components] Convert to native return types 2023-07-05 15:06:06 +02:00
Wouter de Jong
ae2af87f40 Add void return types 2023-02-13 14:18:23 +01:00
Nicolas Grekas
44270a08cc Merge branch '5.4' into 6.0
* 5.4:
  CS fixes
  Bump Symfony version to 5.4.11
  Update VERSION for 5.4.10
  Update CHANGELOG for 5.4.10
  Bump Symfony version to 4.4.44
  Update VERSION for 4.4.43
  Update CONTRIBUTORS for 4.4.43
  Update CHANGELOG for 4.4.43
2022-06-27 19:10:44 +02:00
Nicolas Grekas
6e75fe6874 Merge branch '4.4' into 5.4
* 4.4:
  CS fixes
  Bump Symfony version to 4.4.44
  Update VERSION for 4.4.43
  Update CONTRIBUTORS for 4.4.43
  Update CHANGELOG for 4.4.43
2022-06-27 18:58:25 +02:00
Nicolas Grekas
5cee9cdc4f CS fixes 2022-06-27 15:16:42 +02:00
Nicolas Grekas
17032eb5d1 Merge branch '5.4' into 6.0
* 5.4:
  [Serializer] cs fix
  Cleanup more `@return` annotations
  [Form] Fix phpdoc on FormBuilderInterface
2021-08-17 17:35:52 +02:00
Nicolas Grekas
e8749eb40a Cleanup more @return annotations 2021-08-17 16:20:01 +02:00
Nicolas Grekas
03ee97adf3 Add return types - batch 2/n 2021-08-12 17:25:05 +02:00
Nicolas Grekas
d3a2e64866 Merge branch '4.4' into 5.1
* 4.4:
  Enable "native_constant_invocation" CS rule
  Make AbstractPhpFileCacheWarmer public
2020-09-02 18:23:27 +02:00
Nicolas Grekas
46a862d0f3 Enable "native_constant_invocation" CS rule 2020-09-02 18:06:40 +02:00
Philippe Segatori
308af6779c [Process] [5.0] Replace docblocks by type-hints 2019-07-05 07:04:51 +02:00
Fabien Potencier
a9c4dfbf65 fixed CS 2019-04-08 18:15:54 +02:00
Florian Morello
1b6958b96b Fix missing $extraDirs when open_basedir returns 2019-04-08 18:14:48 +02:00
Fabien Potencier
4b32d21703 switched array() to [] 2019-01-16 10:39:14 +01:00
Andreas Möller
0d41dd7d95 Fix: Adjust DocBlock 2019-01-02 22:24:08 +01:00
Andreas Möller
bcbb0ec80e Fix: Method can also return null 2018-12-27 19:08:15 +01:00
Nicolas Grekas
cc83afdb5a Enable native_constant_invocation CS fixer 2018-07-26 13:13:39 +02:00
Alexey Kopytko
0b79e6d3b3 [Process] Consider \"executable\" suffixes first on Windows 2018-05-27 09:40:41 +02:00