Skip to content

Commit

Permalink
CLI-1413: Set PHP compatibility level
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Oct 4, 2024
1 parent cef7a69 commit e2a143d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.xml.dist]
indent_size = 2
6 changes: 5 additions & 1 deletion phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@

<rule ref="AcquiaPHPStrict">
<exclude name="Generic.Files.LineLength"/>
<exclude name="PHPCompatibility"/>
</rule>
<config name="testVersion" value="8.2-"/>
<rule ref="PHPCompatibility">
<exclude name="PHPCompatibility.Extensions.RemovedExtensions.famRemoved"/>
</rule>

<rule ref="Generic.PHP.ForbiddenFunctions">
<properties>
<property name="forbiddenFunctions" type="array">
Expand Down

0 comments on commit e2a143d

Please sign in to comment.