Skip to content

Commit

Permalink
Merge pull request #300 from bigcommerce/php84
Browse files Browse the repository at this point in the history
chore(platform): PHPMNT-177 Add PHP 8.4 to CircleCI matrix
  • Loading branch information
TomA-R authored Dec 19, 2024
2 parents 21d51c9 + 2510a4e commit 95b80a1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs_default: &jobs_default
php-version: << matrix.php-version >>
matrix:
parameters:
php-version: [ *php_min, "8.2", "8.3" ]
php-version: [ *php_min, "8.2", "8.3" , "8.4" ]

jobs:
cs-fixer:
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.13",
"php-coveralls/php-coveralls": "2.5",
"php-coveralls/php-coveralls": "^2.7",
"phpunit/phpunit": "^10.0",
"phpstan/phpstan": "^1.10",
"rector/rector": "^0.19.0"
"phpstan/phpstan": "^2.0",
"rector/rector": "^2.0"
},
"autoload": {
"psr-0": {
Expand Down
2 changes: 1 addition & 1 deletion src/Bigcommerce/Api/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public static function getConnection()
* @param Connection|null $connection The connection to use
* @return void
*/
public static function setConnection(Connection $connection = null)
public static function setConnection(?Connection $connection = null)
{
self::$connection = $connection;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Bigcommerce/Api/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Connection
private $curl;

/**
* @var array<string, string> Hash of HTTP request headers.
* @var array<int, string> Hash of HTTP request headers.
*/
private $headers = [];

Expand Down Expand Up @@ -258,7 +258,7 @@ public function removeHeader($header)
/**
* Return the request headers
*
* @return array<string, string>
* @return array<int, string>
*/
public function getRequestHeaders()
{
Expand Down

0 comments on commit 95b80a1

Please sign in to comment.