Skip to content

Commit

Permalink
Enforced strict types via PHPCS.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Apr 24, 2024
1 parent b2ca1fb commit 305b385
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<rule ref="Drupal"/>
<rule ref="DrupalPractice"/>
<rule ref="Generic.PHP.RequireStrictTypes" />
<rule ref="Generic.Debug.ESLint"/>
<rule ref="PHPCompatibility"/>

Expand All @@ -18,6 +19,9 @@
<arg value="sp"/>
<arg name="parallel" value="75"/>

<!-- Lint code against platform version specified in composer.json key "config.platform.php". -->
<config name="testVersion" value="8.2"/>

<!-- Exclude CircleCI config files. -->
<exclude-pattern>circle\.yml</exclude-pattern>
<exclude-pattern>\.circle\/config\.yml</exclude-pattern>
Expand Down

1 comment on commit 305b385

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.