This PR was squashed before being merged into the 1.x branch.
Discussion
----------
Upgrade bundled `php-cs-fixer.phar` to 3.92.5
Use `PHP_CS_FIXER_IGNORE_ENV` in tests to support PHP 8.5.
I'm adding the env var the same way it's added in 08192e197e/src/Util/TemplateLinter.php (L63)
This test don't need to run on Windows.
Commits
-------
96b368b7 Upgrade bundled `php-cs-fixer.phar` to 3.92.5
This PR was squashed before being merged into the 1.x branch.
Discussion
----------
[make:migration] Add `--nowdoc` option
As doctrine migration has the new option "nowdoc"
https://github.com/doctrine/migrations/pull/1504
added the parameter for make:migration command to pass that option for generating
Commits
-------
ff15d3fa [make:migration] Add `--nowdoc` option
This PR was merged into the 1.x branch.
Discussion
----------
Use logout_path() in login form templates
Commits
-------
8558674e feat(login form): use logout_path()
This PR was merged into the 1.x branch.
Discussion
----------
[make:user] Hash passwords using crc32c and deprecate eraseCredentials()
Fix#1700
Replace ##1701
Commits
-------
75886fbd [make:user] Hash passwords using crc32c and deprecate eraseCredentials()
This PR was squashed before being merged into the 1.x branch.
Discussion
----------
[make:listener] use FQCN for kernel events, fix adding unnecessary `#[AsEventListener]` arg
- adding the `event` argument to `#[AsEventListener]` isn't required when it's a FQCN
- use FQCN for kernel events - I believe this is the best practice
Commits
-------
cd1d9083 [make:listener] use FQCN for kernel events, fix adding unnecessary `#[AsEventListener]` arg
This PR was squashed before being merged into the 1.x branch.
Discussion
----------
[minor] Fix "twig" case (-> "Twig") in make:twig-component & various places
Same thing for
* `HTML` in component template
* `Live component` in maker help
Commits
-------
88221cf5 [minor] Fix "twig" case (-> "Twig") in make:twig-component & various places
This PR was merged into the 1.x branch.
Discussion
----------
[make:entity] Use stricter DateTime type instead of DateTimeInterface for mutable datetime fields
The current DateTimeInterface type hint suggest that you can put a DateTimeImmutable in a mutable datetime field, but that is no longer the case.
It results in the following error:
```
Could not convert PHP value of type DateTimeImmutable to type Doctrine\DBAL\Types\DateTimeType.
Expected one of the following types: null, DateTime.
```
Follows:
- https://github.com/doctrine/dbal/pull/6017
- https://github.com/doctrine/dbal/pull/6161
Commits
-------
e80aa170 Use stricter DateTime type instead of DateTimeInterface for mutable datetime fields
This PR was merged into the 1.x-dev branch.
Discussion
----------
[make:security:form-login] Tweak login forms to enable double-submit CSRF protection
Will be leveraged by https://github.com/symfony/symfony/pull/58095
Does no harm being enabled regardless of the Symfony version in use.
---
Waiting on:
- [x] https://github.com/symfony/symfony/pull/58095
Commits
-------
b13f0fb6 Generate data-controller="csrf-protection" on CSRF fields
* Replace StimulusBridge with StimulusBundle in docblock
* Add methods initialize, connect and disconnect with code comment
* Add line break before "stimulusFetch: lazy" to emphasis line and help UX parsers
* Update tests for lazy doc changes
* Update tests for empty line before lazy
* Update tests with base methods
* Use 'JavaScript' as default extension
* Add `--typescript` / `--ts` (non interactive) option (default false)
* Update Maker documentation link displayed after code generation
* Define classes interactively
* Generate an example usage
* phpstan happiness
* [make:controller] generate final controller class
* add generated file assertions
* add ability to generate a twig template based off of an absolute class name
* generate the controller from the class data method
* cleanup makeController and generator
* allow creating class data objects with absolute namespaces