Install with php 8.4 i got warning

Deprecated function : Drupal\bootstrap_styles\StylesGroup\StylesGroupManager::buildStylesFormElements(): Implicitly marking parameter $filter as nullable is deprecated, the explicit nullable type must be used instead dans include() (/home/drupal/vendor/composer/ClassLoader.php ligne 576)
i suggest modify line 120 in file src/StylesGroup/StylesGroupManager.php

public function getAllowedPlugins(string $filter = NULL) to

public function getAllowedPlugins(?string $filter = NULL) or
public function getAllowedPlugins(mixed $filter = NULL) 

and line 155 public function buildStylesFormElements(array &$form, FormStateInterface $form_state, array $storage, string $filter = NULL) to

  public function buildStylesFormElements(array &$form, FormStateInterface $form_state, array $storage, ?string $filter = NULL) 
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

lazzyvn created an issue. See original summary.

hfernandes made their first commit to this issue’s fork.

hfernandes’s picture

Status: Active » Needs review
lazzyvn’s picture

Issue summary: View changes
lazzyvn’s picture

Status: Needs review » Reviewed & tested by the community
2gendevs’s picture

StatusFileSize
new1.03 KB

Created a patch for this so we can apply it until a new version is released.

2gendevs’s picture

StatusFileSize
new1.03 KB

Fixed the indenting.

kmonty’s picture

Title: Support drupal 8.4 » Support PHP 8.4
zaporylie’s picture

This issue is causing installation errors for Commerce Kickstart users. Any plans of making another release that's PHP 8.4 compatible?

rajab natshah’s picture

Title: Support PHP 8.4 » implicit nullable string parameters in Bootstrap Styles for PHP 8.4 compatibility

rajab natshah’s picture

Title: implicit nullable string parameters in Bootstrap Styles for PHP 8.4 compatibility » Implicit nullable string parameters in Bootstrap Styles for PHP 8.4 compatibility
Issue tags: +PHP 8.4
rajab natshah’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

rajab natshah’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.