PHP code example of stesie / phpcs-doctrine-annotation-rules
1. Go to this page and download the library: Download stesie/phpcs-doctrine-annotation-rules library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
stesie / phpcs-doctrine-annotation-rules example snippets
xml
<rule ref="DoctrineAnnotationCodingStandard.Commenting.VarTag">
<properties>
<property name="doctrineExtraTypes" type="array" value="CustomerType,CompanySizeType" />
</properties>
</rule>