Skip to content

Commit e45dc83

Browse files
chore: bump php version in phpcs config
1 parent 539a3e1 commit e45dc83

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

classes/Visualizer/Module/Chart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ public function getCharts() {
379379
*
380380
* @return array The array of chart data.
381381
*/
382-
private function _getChartArray( $chart = null ) {
382+
private function _getChartArray( ?WP_Post $chart = null ) {
383383
if ( is_null( $chart ) ) {
384384
$chart = $this->_chart;
385385
}

phpcs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<rule ref="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing">
5656
<severity>0</severity>
5757
</rule>
58-
<config name="testVersion" value="5.6-" />
58+
<config name="testVersion" value="7.4-" />
5959
<rule ref="PHPCompatibilityWP">
6060
</rule>
6161

0 commit comments

Comments
 (0)