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
When using Composer 2.2 or higher, Composer will [ask for your permission](https://blog.packagist.com/composer-2-2/#more-secure-plugin-execution) to allow this plugin to execute code. For this plugin to be functional, permission needs to be granted.
64
+
65
+
When permission has been granted, the following snippet will automatically be added to your `composer.json` file by Composer:
If you're using PhpStorm you can configure it to use CodeSniffer using Settings → PHP → Code Sniffer.
58
82
Yii2 code style can be specified at Inspections → PHP → PHP Code Sniffer validation.
59
83
@@ -66,7 +90,7 @@ Yii2 code style can be specified at Inspections → PHP → PHP Code Sniffer val
66
90
PhpStorm
67
91
--------
68
92
69
-
Yii uses PSR-1 and PSR-2 as code style standards. You can choose these via `Settings` → `Code Style` → `PHP` → `Set from...` → `Predefined Style` → `PSR1/PSR2`.
93
+
Yii uses PSR-12 as code style standard. You can choose these via `Settings` → `Code Style` → `PHP` → `Set from...` → `Predefined Style` → `PSR12`.
0 commit comments