Skip to content

Commit f0ed6c2

Browse files
feat(dev): Add php-forge/coding-standard to development dependencies for code quality checks and add support PHP 8.5. (#80)
1 parent bae24ba commit f0ed6c2

25 files changed

+190
-278
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ indent_size = 2
2626
[*.yml]
2727
indent_size = 2
2828

29+
[*.xml.dist]
30+
indent_size = 2
31+
2932
[LICENSE*]
3033
indent_style = unset
3134
indent_size = unset

.github/CODE_OF_CONDUCT.md

Lines changed: 0 additions & 102 deletions
This file was deleted.

.github/FUNDING.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/linters/actionlint.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ paths:
44
ignore:
55
- '"pull_request" section is alias node but mapping node is expected'
66
- '"push" section is alias node but mapping node is expected'
7-
- "section is alias node but mapping node is expected"

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ c3.php
88
composer.lock
99

1010
# gitHub copilot config (if present)
11-
.copilot/
11+
.github/agents/**
12+
.github/copilot-instructions.md
1213
.github/copilot/**
14+
.github/instructions/**
15+
.github/prompts/**
16+
.github/skills/**
1317

1418
# mac ds_store (if present)
1519
.DS_Store

.styleci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
---
21
preset: psr12
32
risky: true
43

@@ -19,6 +18,7 @@ enabled:
1918
- declare_strict_types
2019
- dir_constant
2120
- empty_loop_body_braces
21+
- function_to_constant
2222
- hash_to_slash_comment
2323
- integer_literal_case
2424
- is_null
@@ -55,6 +55,7 @@ enabled:
5555
- phpdoc_no_empty_return
5656
- phpdoc_no_useless_inheritdoc
5757
- phpdoc_order
58+
- phpdoc_param_order
5859
- phpdoc_property
5960
- phpdoc_scalar
6061
- phpdoc_singular_inheritdoc

CHANGELOG.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77
- Bug #73: Update workflow actions to use `v1` stable version instead of `main`, update `LICENSE.md` (@terabytesoftw)
88
- Bug #74: Update `README.md` to include `Behavior` integration section and example usage (@terabytesoftw)
99
- Bug #75: Update `README.md` to enhance badge visibility and improve installation instructions (@terabytesoftw)
10-
- Bug #76: bump `php-forge/actions` from `1` to `2` (@dependabot)
10+
- Dep #76: Bump `php-forge/actions` from `1` to `2` (@dependabot)
1111
- Bug #77: Update workflows and documentation for improved CI/CD processes and feature clarity (@terabytesoftw)
1212
- Bug #78: Improve `.gitignore` formatting and add missing entries for better clarity (@terabytesoftw)
13-
- Dep #79: Update `symplify/easy-coding-standard requirement` from `^12.5` to `^13.0` (@dependabot)
13+
- Dep #79: Update `symplify/easy-coding-standard` requirement from `^12.1` to `^13.0` (@dependabot)
14+
- Enh #80: Add `php-forge/coding-standard` to development dependencies for code quality checks and add support `PHP 8.5` (@terabytesoftw)
1415

1516
## 0.3.1 August 16, 2025
1617

@@ -21,6 +22,8 @@
2122
- Bug #66: Update license badge in `README.md` for correct display and add missing header in `LICENSE.md` (@terabytesoftw)
2223
- Bug #67: Correct default stub filename in `StubFilesExtension.php` for accurate PHPStan analysis (@terabytesoftw)
2324
- Bug #68: Refactor dynamic return type inference for `HeaderCollection::get()` method in PHPStan analysis, and add tests suite for type inference (@terabytesoftw)
25+
- Bug #69: Update `CHANGELOG.md` to include recent bugfixes and enhancements for version `0.3.1` (@terabytesoftw)
26+
- Bug #70: Update branch alias version in `composer.json` from `0.3.x-dev` to `0.4.x-dev` (@terabytesoftw)
2427

2528
## 0.3.0 June 27, 2025
2629

@@ -47,7 +50,10 @@
4750
- Bug #55: Remove `OS` and `PHP` version specifications from workflow files for simplification (@terabytesoftw)
4851
- Enh #56: Add `ServiceLocatorDynamicMethodReturnTypeExtension` to provide precise type inference for `get()` method (@terabytesoftw)
4952
- Bug #57: Clarify exception documentation and improve type inference descriptions in test cases (@terabytesoftw)
50-
- Bug #58: Handle generic type components in `ApplicationPropertiesClassReflectionExtension`.
53+
- Bug #58: Handle generic type components in `ApplicationPropertiesClassReflectionExtension` (@terabytesoftw)
54+
- Bug #59: Handle generic type components in `ApplicationPropertiesClassReflectionExtension` (@terabytesoftw)
55+
- Bug #60: Update `CHANGELOG.md` for version `0.3.0` release date and adjust `composer.json` for stability settings (@terabytesoftw)
56+
- Bug #61: Update `README.md` with new `GitHub` release badge and correct `Yii2` version badge (@terabytesoftw)
5157

5258
## 0.2.3 June 09, 2025
5359

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ $forwardedFor = $headers->get('X-Forwarded-For', ['127.0.0.1'], false);
192192
// ✅ Dynamic return type inference with mixed default
193193
$default = 'default-value';
194194
$requestId = $headers->get('X-Request-ID', $default, true); // string|null
195-
$allRequestIds = $headers->get('X-Request-ID', $default, false); // array<int, string>|null
195+
$allRequestIds = $headers->get('X-Request-ID', [$default], false); // array<int, string>|null
196196
```
197197

198198
#### Service locator
@@ -218,6 +218,7 @@ For detailed configuration options and advanced usage.
218218
- ⚙️ [Configuration Reference](docs/configuration.md)
219219
- 💡 [Usage Examples](docs/examples.md)
220220
- 🧪 [Testing Guide](docs/testing.md)
221+
- 🛠️ [Development Guide](docs/development.md)
221222

222223
## Package information
223224

0 commit comments

Comments
 (0)