You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This command runs PHP CS Fixer with the configuration defined in `.php-cs-fixer.dist.php`. It applies PSR-2, Symfony, and PHP 8.0 migration rules to files in:
76
+
This command runs PHP CS Fixer with the configuration defined in `.php-cs-fixer.dist.php`. It applies PSR-2, Symfony, and PHP 8.0 migration rules to the following directories:
75
77
76
78
-`bin/`
77
79
-`public/`
@@ -87,7 +89,7 @@ Run PHPStan to perform static analysis:
87
89
composer run phpstan
88
90
```
89
91
90
-
PHPStan is configured to analyze code at level 6 (as defined in `phpstan.dist.neon`) and checks:
92
+
PHPStan is configured to analyze code at level 6 (as defined in `phpstan.dist.neon`) and checks the following directories:
91
93
92
94
-`bin/`
93
95
-`config/`
@@ -103,23 +105,13 @@ Execute the test suite:
103
105
composer run test
104
106
```
105
107
106
-
This runs PHPUnit with the configuration from `phpunit.dist.xml`. The test suite includes:
108
+
This runs PHPUnit with the configuration from `phpunit.dist.xml`. The test suite includes the following:
107
109
108
110
- Unit tests in `tests/Unit/`
109
111
- Integration tests in `tests/Integration/`
110
112
111
113
Tests run in the `test` environment and use the database configured in `.env.test`.
112
114
113
-
### Test Coverage
114
-
115
-
Generate test coverage report:
116
-
117
-
```bash
118
-
composer run coverage
119
-
```
120
-
121
-
This runs PHPUnit with Xdebug coverage enabled and outputs a text-based coverage report.
122
-
123
115
### Code Refactoring
124
116
125
117
Run Rector to automatically refactor code:
@@ -151,7 +143,7 @@ Rector uses the configuration from `rector.php` to apply automated code improvem
151
143
152
144
## Debugging
153
145
154
-
Xdebug is configured in the devenv setup with:
146
+
Xdebug is configured in the devenv setup with the following settings:
155
147
156
148
- Mode: `debug`
157
149
- Client port: `9003`
@@ -165,16 +157,17 @@ When making database schema changes:
165
157
166
158
1. Create a migration:
167
159
168
-
```bash
169
-
php bin/console doctrine:migrations:generate
170
-
```
160
+
```bash
161
+
php bin/console doctrine:migrations:generate
162
+
```
171
163
172
164
2. Edit the generated migration file in `migrations/`
0 commit comments