19 Commits

Author SHA1 Message Date
Nicolas Grekas
0ad8e79aee Leverage symfony-tools/fabbot 2026-01-09 21:14:47 +01:00
Jérôme Tamarelle
bdbb0f0209 Upgrade to PHPStan v2 2026-01-09 15:45:17 +01:00
Kevin Bond
41744d7723 Revert "feature #1575 [make:*] Use a PHP-CS-Fixer shim rather than an external PHAR"
This reverts commit 4735ff12ce.
2025-01-14 19:01:50 -05:00
Théo FIDRY
4735ff12ce feature #1575 [make:*] Use a PHP-CS-Fixer shim rather than an external PHAR
* build: Use a PHP-CS-Fixer shim rather than an external PHAR

* minor fixes

* use sprintf

* fix config file path

* use file manager to get the root project path

* php-cs-fixer expectations for makers w/ generated comparison

* fix missing fileManager instance in test

---------

Co-authored-by: Jesse Rushlow <jr@rushlow.dev>
2024-09-25 12:25:39 -04:00
Ryan Weaver
4da6e4a961 Bumping min php + symfony versions & removing legacy code 2023-09-12 13:24:59 -04:00
Jesse Rushlow
97f9fa5660 [make:*] use php-cs-fixer to style/lint all generated php templates (#1251) 2022-12-14 20:31:57 -08:00
Jesse Rushlow
88148d0cb1 improve PHP 8 support w/ rector, removes legacy code, deprecates unused methods 2022-05-31 09:21:21 -04:00
Ryan Weaver
ed95e276c7 Refactoring Tests & Various Fixes for Symfony 6 2021-11-16 08:31:44 -05:00
Jesse Rushlow
c71b08c189 fixed deprecated phpunit expectation 2020-12-14 08:44:31 -05:00
Jesse Rushlow
9273a64f9f improve php8 attribute support in makers 2020-11-12 12:24:54 -05:00
Nicolas Grekas
2cf9460786 Allow Symfony 5 + many cleanups 2019-10-20 22:39:14 +02:00
Ryan Weaver
b5658c2541 Merge branch 'master' into configurable_namespace
* master:
  improve make:form arguments description
  Make the Generator class a service
  Add a functional test
  Check if the class exists
  Add an interactive question
  API Platform support: add an --api-resource flag for the make:entity command
2018-05-17 12:05:45 -04:00
Ryan Weaver
656116c042 Changing from an exception 2018-05-17 11:51:55 -04:00
Kévin Dunglas
1c8cf9a456 Make the Generator class a service 2018-05-15 01:11:24 +02:00
Sergey Rabochiy
f34fa3949d Add exception with hint message when root namespace is not found 2018-05-14 17:43:17 +07:00
Sergey Rabochiy
54232502e8 Remove maker.root_namespace parameter and improve tests 2018-05-14 13:40:28 +07:00
Sergey Rabochiy
51d71385b0 Add configuration of root and entity namespaces 2018-05-04 23:34:30 +07:00
Ryan Weaver
14fa7ef58f fixing test + phpcs 2018-02-19 14:05:18 -05:00
Ryan Weaver
d1981687b8 Fixing bug where makers couldn't advertise needed *dev* dependencies 2018-02-10 10:31:48 -05:00