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 SA tools #162

Merged
merged 1 commit into from
Aug 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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