Skip to content

Commit

Permalink
Update Minimum PHP Version in phpcs.xml (#16621)
Browse files Browse the repository at this point in the history
### What does it do?
Aligns php requirement for PHPCS to that specified in composer config.

### Why is it needed?
Ensure sniffer reports errors/warnings for php 7.4+ (as opposed to
7.2+).

### How to test
Currently the sniffer will show an error if a class has typed
properties. After this update, it will not.

### Related issue(s)/PR(s)
n/a
  • Loading branch information
smg6511 authored Sep 26, 2024
1 parent b9bbf4a commit 8f4674c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<arg name="colors" />

<config name="installed_paths" value="core/vendor/phpcompatibility/php-compatibility" />
<config name="testVersion" value="7.2-"/>
<config name="testVersion" value="7.4-"/>

<file>_build</file>
<file>connectors</file>
Expand Down

0 comments on commit 8f4674c

Please sign in to comment.