Skip to content

Commit

Permalink
Update SA tools (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored Aug 27, 2023
1 parent 1111662 commit 71b12f9
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 10 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
php-version: '7.4'
coverage: none
extensions: mbstring
tools: composer

- name: Download dependencies
run: composer update --no-interaction --no-progress
Expand All @@ -48,7 +47,6 @@ jobs:
php-version: '7.4'
coverage: none
extensions: mbstring
tools: composer

- name: Download dependencies
run: composer update --no-interaction --no-progress
Expand All @@ -73,7 +71,6 @@ jobs:
php-version: '7.4'
coverage: none
extensions: mbstring
tools: composer

- name: Download dependencies
run: composer update --no-interaction --no-progress
Expand Down
2 changes: 1 addition & 1 deletion src/RejectionException.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class RejectionException extends \RuntimeException
* @param mixed $reason Rejection reason.
* @param string|null $description Optional description.
*/
public function __construct($reason, ?string $description = null)
public function __construct($reason, string $description = null)
{
$this->reason = $reason;

Expand Down
2 changes: 1 addition & 1 deletion tests/NotPromiseInstance.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class NotPromiseInstance extends Thennable implements PromiseInterface
{
private $nextPromise = null;
private $nextPromise;

public function __construct()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Thennable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class Thennable
{
private $nextPromise = null;
private $nextPromise;

public function __construct()
{
Expand Down
2 changes: 1 addition & 1 deletion vendor-bin/php-cs-fixer/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"require": {
"php": "^7.4 || ^8.0",
"friendsofphp/php-cs-fixer": "3.16.0"
"friendsofphp/php-cs-fixer": "3.23.0"
},
"config": {
"preferred-install": "dist"
Expand Down
4 changes: 2 additions & 2 deletions vendor-bin/phpstan/composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"require": {
"php": "^7.4 || ^8.0",
"phpstan/phpstan": "1.10.11",
"phpstan/phpstan-deprecation-rules": "1.1.3"
"phpstan/phpstan": "1.10.32",
"phpstan/phpstan-deprecation-rules": "1.1.4"
},
"config": {
"preferred-install": "dist"
Expand Down
2 changes: 1 addition & 1 deletion vendor-bin/psalm/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"require": {
"php": "^7.4 || ^8.0",
"psalm/phar": "5.9.0"
"psalm/phar": "5.15.0"
},
"config": {
"preferred-install": "dist"
Expand Down

0 comments on commit 71b12f9

Please sign in to comment.