Skip to content

Commit 59bfc81

Browse files
committed
Assorted fixes from review.
1 parent 3e6a19e commit 59bfc81

File tree

5 files changed

+7
-16
lines changed

5 files changed

+7
-16
lines changed

.github/workflows/quality-assurance.yaml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,44 +12,39 @@ jobs:
1212
strategy:
1313
matrix:
1414
php: [ '8.2', '8.3', '8.4' ]
15-
composer-flags: [ '' ]
16-
phpunit-flags: [ '--coverage-text' ]
1715
steps:
1816
- uses: actions/checkout@v2
1917
- uses: shivammathur/setup-php@v2
2018
with:
2119
php-version: ${{ matrix.php }}
2220
coverage: xdebug
23-
tools: composer:v2
2421
- run: composer install --no-progress ${{ matrix.composer-flags }}
2522
- run: vendor/bin/phpunit ${{ matrix.phpunit-flags }}
2623
phpstan:
2724
name: PHPStan checks on ${{ matrix.php }}
2825
runs-on: ubuntu-latest
2926
strategy:
3027
matrix:
31-
php: [ '8.2', '8.3', '8.4' ]
28+
php: [ '8.4' ]
3229
composer-flags: [ '' ]
3330
steps:
3431
- uses: actions/checkout@v2
3532
- uses: shivammathur/setup-php@v2
3633
with:
3734
php-version: ${{ matrix.php }}
38-
tools: composer:v2
35+
coverage: none
3936
- run: composer install --no-progress ${{ matrix.composer-flags }}
4037
- run: composer phpstan
4138
cs:
42-
name: PHPStan checks on ${{ matrix.php }}
39+
name: Code Style checks on ${{ matrix.php }}
4340
runs-on: ubuntu-latest
4441
strategy:
4542
matrix:
46-
php: [ '8.2', '8.3', '8.4' ]
47-
composer-flags: [ '' ]
43+
php: [ '8.4' ]
4844
steps:
4945
- uses: actions/checkout@v2
5046
- uses: shivammathur/setup-php@v2
5147
with:
5248
php-version: ${{ matrix.php }}
53-
tools: composer:v2
54-
- run: composer install --no-progress ${{ matrix.composer-flags }}
49+
- run: composer install --no-progress
5550
- run: composer cs

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
.env
22
vendor
3-
.phpunit.result.cache
4-
.phpunit.cache/
53
build
64
composer.lock
75

.php-cs-fixer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
'object_operator_without_whitespace' => true,
3636
'trim_array_spaces' => true,
3737
'type_declaration_spaces' => true,
38-
'types_spaces' => true,
3938
'unary_operator_spaces' => true,
4039
'whitespace_after_comma_in_array' => true,
4140
]);

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
2525

2626
## Security
2727

28-
If you discover any security related issues, please use the [GitHub security reporting form](https://github.com/php-fig/fp/security) rather than the issue queue.
28+
If you discover any security related issues, please use the [GitHub security reporting form](https://github.com/php-fig/per-attributes/security) rather than the issue queue.
2929

3030
## Working Group
3131

@@ -35,7 +35,7 @@ If you discover any security related issues, please use the [GitHub security rep
3535

3636
## License
3737

38-
The Lesser GPL version 3 or later. Please see [License File](LICENSE.md) for more information.
38+
The MIT License. Please see [License File](LICENSE.md) for more information.
3939

4040
[ico-version]: https://img.shields.io/packagist/v/fig/attributes.svg?style=flat-square
4141
[ico-license]: https://img.shields.io/badge/License-MIT-green.svg?style=flat-square

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
}
2222
},
2323
"scripts": {
24-
"benchmarks": "vendor/bin/phpbench run benchmarks --report=aggregate",
2524
"test": "vendor/bin/phpunit",
2625
"test-coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-clover=coverage-clover.xml",
2726
"coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-html=\"build/coverage\"",

0 commit comments

Comments
 (0)