File tree Expand file tree Collapse file tree 3 files changed +24
-13
lines changed Expand file tree Collapse file tree 3 files changed +24
-13
lines changed Original file line number Diff line number Diff line change 1212 fail-fast : false
1313 matrix :
1414 include :
15- - php : " 8.1"
16- - php : " 8.2"
17- - php : " 8.3"
1815 - php : " 8.4"
1916 PHP_CS_FIXER_IGNORE_ENV : 1
2017
Original file line number Diff line number Diff line change 22 "name" : " friendsofphp/reproduce-playground" ,
33 "require" : {
44 "php" : " ^8.1" ,
5- "friendsofphp/php-cs-fixer" : " 3.72 "
5+ "friendsofphp/php-cs-fixer" : " 3.73.0 "
66 },
77 "autoload" : {
88 "psr-4" : {
Original file line number Diff line number Diff line change 22
33namespace PhpCsFixer \ReproducePlayground ;
44
5+ use App \Entity \Processus \Champ \Champ ;
6+ use App \Entity \Processus \Processus ;
7+ use Symfony \Component \Validator \Constraints \Length ;
8+ use Symfony \Component \Validator \Constraints \NotBlank ;
59
6- /**
7- * @internal
8- */
9- class Example
10+ class InformationsEtapeDto
1011{
11-
12-
13-
14- function foo () {}
15- }
12+ public function __construct (
13+ /** Nécessaire pour le formulaire */
14+ public Processus $ processus ,
15+ #[NotBlank]
16+ #[Length(max: 100 )]
17+ public string $ libelle {
18+ set(?string $ value ) {
19+ $ this ->libelle = $ value ?? "" ;
20+ }
21+ },
22+ /**
23+ * @var iterable<Champ<mixed>>
24+ */
25+ public iterable $ champsAffiches = [],
26+ public bool $ archivable = false ,
27+ public bool $ commentable = false ,
28+ ) {}
29+ }
You can’t perform that action at this time.
0 commit comments