Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Formatter.php to avoid error on PHP 8 #19924

Merged
merged 3 commits into from
Aug 21, 2023

Commits on Aug 11, 2023

  1. Update Formatter.php to avoid error on PHP 8

    When upgrading from PHP 7 to PHP 8, I get an error "Unknown named parameter " in a GridView column using this code : 
    [
    			'attribute' => 'id_main',
    			'format' => [
    				'integer',
    				'numberFormatterOptions' => [									\NumberFormatter::MIN_INTEGER_DIGITS => 3,
    				],
    			],
    		],
    To solve it, we must adapt line 463 in Formatter.php, like this : 
    return call_user_func_array([$this, $method], array_values($params));
    arollmann authored Aug 11, 2023
    Configuration menu
    Copy the full SHA
    cb9cbe5 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Update CHANGELOG.md

    samdark authored Aug 21, 2023
    Configuration menu
    Copy the full SHA
    cd4a76c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43e97e0 View commit details
    Browse the repository at this point in the history