31 Commits

Author SHA1 Message Date
Alexander M. Turek
6f5cb98173 Prefix all sprintf() calls 2024-06-20 17:52:34 +02: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
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
Yassine Guedidi
32ac96fb0c Apply no_null_property_initialization PHP-CS-Fixer rule 2023-04-02 03:25:41 +02:00
Wouter de Jong
ae2af87f40 Add void return types 2023-02-13 14:18:23 +01:00
Wouter de Jong
01e6198dc5 Add missing PHPdoc return types 2023-02-13 09:44:31 +01:00
Alexander M. Turek
652b57032f Merge branch '5.4' into 6.0
* 5.4:
  [Console] Restore psr/log >= 3.0 conflict
  [Security] Make the abstract Voter class implement CacheableVoterInterface
  Add generic types to traversable implementations
  [Security] Fix TypeError message
  [Security] Fix deprecation layer
  [FrameworkBundle] Add completion for workflow:dump
  Fix cancel button
  Fix misleading error on missing provider with authenticator manager
  Don't limit retries of toolbar loading
2021-11-03 14:44:55 +01:00
Alexander M. Turek
6bacc79268 Add generic types to traversable implementations 2021-11-03 10:24:47 +01:00
Alexander M. Turek
d5052fc2a9 Remove ReturnTypeWillChange
Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-08-10 20:37:35 +02:00
Alexander M. Turek
26416cc2a7 Merge branch '5.4' into 6.0
* 5.4:
  Fix return types for PHP 8.1
2021-08-04 23:30:37 +02:00
Alexander M. Turek
13d3161ef6 Fix return types for PHP 8.1 2021-08-04 22:31:23 +02:00
Nicolas Grekas
25fc22d260 Add union types 2021-06-29 11:21:24 +02:00
Fabien Potencier
6c53bfbdf5 Merge branch '3.4' into 4.4
* 3.4:
  Fix more quotes in exception messages
  [3.4] Minor fixes
  [PropertyAccess] Improved errors when reading uninitialized properties
2020-03-16 17:04:53 +01:00
Fabien Potencier
04c6bb1aa5 Fix more quotes in exception messages 2020-03-16 16:51:59 +01:00
Fabien Potencier
16f6867504 Merge branch '3.4' into 4.4
* 3.4:
  Add missing dots at the end of exception messages
2020-03-15 11:05:03 +01:00
Fabien Potencier
3641a93aa3 Add missing dots at the end of exception messages 2020-03-15 10:38:08 +01:00
Nicolas Grekas
a45103d6de Add return types to internal & magic methods when possible 2019-08-22 15:18:41 +02:00
Fabien Potencier
58b6521280 Merge branch '4.1' into 4.2
* 4.1:
  fixed tests
  fixed CS
  fixed CS
  fixed CS
  fixed short array CS in comments
  fixed CS in ExpressionLanguage fixtures
  fixed CS in generated files
  fixed CS on generated container files
  fixed CS on Form PHP templates
  fixed CS on YAML fixtures
  fixed fixtures
  switched array() to []
2019-01-16 21:31:39 +01:00
Fabien Potencier
4b32d21703 switched array() to [] 2019-01-16 10:39:14 +01:00
Nicolas Grekas
2b341009cc Merge branch '4.1'
* 4.1:
  fix cs
  fix cs
  fix cs
  SCA: consolidate non empty array checks across codebase
  [cs] correct invalid @param types
  [Bridge/PhpUnit] Use composer to download phpunit
  [DI] fix taking lazy services into account when dumping the container
  [Form] Fixed empty data for compound date interval
  [Cache] fix optimizing Psr6Cache for AdapterInterface pools
  deal with explicitly enabled workflow nodes
2018-11-20 17:22:05 +01:00
Nicolas Grekas
abb46b909d fix cs 2018-11-20 17:10:26 +01:00
Vladimir Reznichenko
a7965ee368 SCA: use 'yield from' where it does make sense 2018-11-10 11:03:47 +01:00
Nicolas Grekas
1dc2977afa Merge branch '2.8' into 3.4
* 2.8:
  [php_cs] disable fopen_flags
  [CS] Remove unused variables passed to closures
  [CS] Remove empty comment
  [CS] Enforces null type hint on last position in phpDocs
  [CS] Use combined assignment operators when possible
  Fix a typo in error messages
  [Console] Add missing null to input values allowed types
  [PHPUnitBridge] Fix microtime() format
  bumped Symfony version to 2.8.47
  update CONTRIBUTORS for 2.8.46
  updated VERSION for 2.8.46
  updated CHANGELOG for 2.8.46
2018-10-02 14:28:39 +02:00
Nicolas Grekas
25dee15f78 minor #25585 Add type string to docblock for Process::setInput() (icanhazstring)
This PR was submitted for the 3.4 branch but it was squashed and merged into the 3.3 branch instead (closes #25585).

Discussion
----------

Add type string to docblock for Process::setInput()

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | none
| License       | MIT
| Doc PR        | none

Add `string` as valid `$input` for `Process::setInput()`. Since `getInput()` will also return as string and the internal method `ProcessUtils::validateInput()` will accept a string, this should be a viable input type.

Commits
-------

e3de68f2 Add type string to docblock for Process::setInput()
2018-01-07 10:28:20 +01:00
Andreas Frömer
bf34b29b1c Add type string to docblock for Process::setInput() 2018-01-07 10:22:45 +01:00
Nicolas Grekas
3237dce60a [Process] Add InputStream to seamlessly feed running processes 2016-04-01 20:36:34 +02:00