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
The API Platform project follows [Symfony coding standards](https://symfony.com/doc/current/contributing/code/standards.html).
58
58
But don't worry, you can fix CS issues automatically using the [PHP CS Fixer](https://cs.symfony.com) tool:
59
59
60
-
php-cs-fixer.phar fix
60
+
```shell
61
+
vendor/bin/php-cs-fixer fix --diff
62
+
```
63
+
64
+
> [!NOTE]
65
+
> The first run may take some time, then the following runs will be faster because the cache will be used.
61
66
62
67
And then, add the fixed file to your commit before pushing.
63
68
Be sure to add only **your modified files**. If any other file is fixed by cs tools, just revert it before committing.
@@ -230,7 +235,7 @@ exit 0
230
235
231
236
## Changing a version constraint
232
237
233
-
Preferably change the version inside the root `composer.json`, then use `composer blend --all` to re-map the depedency accross each sub-project automatically.
238
+
Preferably change the version inside the root `composer.json`, then use `composer blend --all` to re-map the dependency across each sub-project automatically.
0 commit comments