Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  add config to fix PHP 8.4 null deprecations
  • Loading branch information
Baptouuuu committed Jan 16, 2025
2 parents a644a9d + 819e939 commit b36f525
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CodingStandard.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ public static function rules(array $override = []): array
'strict_param' => true,
'trailing_comma_in_multiline' => ['elements' => ['arrays', 'arguments', 'parameters']],
'whitespace_after_comma_in_array' => true,
'nullable_type_declaration_for_default_null_value' => true,
],
$override,
);
Expand All @@ -125,7 +126,7 @@ public static function rules(array $override = []): array
* @param list<string> $files
* @param ?array<string, array<string, mixed>|bool> $rules
*/
public static function config(array $files, array $rules = null): ConfigInterface
public static function config(array $files, ?array $rules = null): ConfigInterface
{
$finder = Finder::create();

Expand Down

0 comments on commit b36f525

Please sign in to comment.