Skip to content

Commit

Permalink
Bump required PHP to 8.2 for all systems (#2273)
Browse files Browse the repository at this point in the history
As per the [release
schedule](https://www.php.net/supported-versions.php), PHP 8.1 is only
receiving security fixes at this time. The official end-of-life date has
been extended to January 1, 2026. PRs
#2113 and
#2226 increased the version of PHP
to 8.2 for each of our Docker images. This PR bumps the version of PHP
to 8.2 for all systems.
  • Loading branch information
williamjallen authored Jun 17, 2024
1 parent 058863f commit a781801
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
$config = new PhpCsFixer\Config();
return $config->setRules([
'@PSR2' => true,
'@PHP81Migration' => true,
'@PHP82Migration' => true,
'method_argument_space' => ['on_multiline' => 'ignore'],
'no_unused_imports' => true,
])
Expand Down
4 changes: 2 additions & 2 deletions app/cdash/include/filterdataFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1079,13 +1079,13 @@ function get_filterdata_from_request($page_id = '')
];
for ($j = 1; $j <= $subfiltercount; ++$j) {
$filter['filters'][] = parse_filter_from_request(
"field{$i}field{$j}", "field{$i}compare${j}",
"field{$i}field{$j}", "field{$i}compare{$j}",
"field{$i}value{$j}", $filterdata);
}
$filters[] = $filter;
} else {
$filters[] = parse_filter_from_request(
"field{$i}", "compare${i}", "value{$i}", $filterdata);
"field{$i}", "compare{$i}", "value{$i}", $filterdata);
}
}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"wiki": "http://public.kitware.com/Wiki/CDash"
},
"require": {
"php": "^8.1",
"php": "^8.2",
"ext-bcmath": "*",
"ext-curl": "*",
"ext-fileinfo": "*",
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a781801

Please sign in to comment.