Skip to content

Commit 7ac4779

Browse files
Switch to actions/checkout@v4 and upgrade SA tools (#166)
* Switch to `actions/checkout@v4` and upgrade SA tools * Remove redundant phpdoc lines
1 parent 1fc7024 commit 7ac4779

File tree

9 files changed

+15
-17
lines changed

9 files changed

+15
-17
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Composer normalize
2121
uses: docker://ergebnis/composer-normalize-action

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
extensions: mbstring
2424

2525
- name: Checkout code
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

2828
- name: Install dependencies
2929
run: composer update --no-interaction --prefer-stable --prefer-lowest --no-progress
@@ -49,7 +49,7 @@ jobs:
4949
extensions: mbstring
5050

5151
- name: Checkout code
52-
uses: actions/checkout@v3
52+
uses: actions/checkout@v4
5353

5454
- name: Install dependencies
5555
run: composer update --no-interaction --no-progress

.github/workflows/static.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Setup PHP
2121
uses: shivammathur/setup-php@v2
@@ -39,7 +39,7 @@ jobs:
3939

4040
steps:
4141
- name: Checkout code
42-
uses: actions/checkout@v3
42+
uses: actions/checkout@v4
4343

4444
- name: Setup PHP
4545
uses: shivammathur/setup-php@v2
@@ -63,7 +63,7 @@ jobs:
6363

6464
steps:
6565
- name: Checkout code
66-
uses: actions/checkout@v3
66+
uses: actions/checkout@v4
6767

6868
- name: Setup PHP
6969
uses: shivammathur/setup-php@v2

.php-cs-fixer.dist.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
'@PHPUnit75Migration:risky' => true,
88
'@Symfony' => true,
99
'global_namespace_import' => false,
10+
'no_superfluous_phpdoc_tags' => [
11+
'allow_mixed' => true,
12+
],
1013
'phpdoc_annotation_without_dot' => false,
1114
'phpdoc_summary' => false,
1215
'phpdoc_to_comment' => false,

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"php": "^7.2.5 || ^8.0"
3030
},
3131
"require-dev": {
32-
"bamarni/composer-bin-plugin": "^1.8.1",
33-
"phpunit/phpunit": "^8.5.29 || ^9.5.23"
32+
"bamarni/composer-bin-plugin": "^1.8.2",
33+
"phpunit/phpunit": "^8.5.36 || ^9.6.15"
3434
},
3535
"autoload": {
3636
"psr-4": {

src/Each.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ final class Each
1919
* index, and the aggregate promise. The callback can invoke any necessary
2020
* side effects and choose to resolve or reject the aggregate if needed.
2121
*
22-
* @param mixed $iterable Iterator or array to iterate over.
23-
* @param callable $onFulfilled
24-
* @param callable $onRejected
22+
* @param mixed $iterable Iterator or array to iterate over.
2523
*/
2624
public static function of(
2725
$iterable,
@@ -44,8 +42,6 @@ public static function of(
4442
*
4543
* @param mixed $iterable
4644
* @param int|callable $concurrency
47-
* @param callable $onFulfilled
48-
* @param callable $onRejected
4945
*/
5046
public static function ofLimit(
5147
$iterable,
@@ -67,7 +63,6 @@ public static function ofLimit(
6763
*
6864
* @param mixed $iterable
6965
* @param int|callable $concurrency
70-
* @param callable $onFulfilled
7166
*/
7267
public static function ofLimitAll(
7368
$iterable,

vendor-bin/php-cs-fixer/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"php": "^7.4 || ^8.0",
4-
"friendsofphp/php-cs-fixer": "3.23.0"
4+
"friendsofphp/php-cs-fixer": "3.40.2"
55
},
66
"config": {
77
"preferred-install": "dist"

vendor-bin/phpstan/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"php": "^7.4 || ^8.0",
4-
"phpstan/phpstan": "1.10.32",
4+
"phpstan/phpstan": "1.10.47",
55
"phpstan/phpstan-deprecation-rules": "1.1.4"
66
},
77
"config": {

vendor-bin/psalm/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"php": "^7.4 || ^8.0",
4-
"psalm/phar": "5.15.0"
4+
"psalm/phar": "5.16.0"
55
},
66
"config": {
77
"preferred-install": "dist"

0 commit comments

Comments
 (0)