Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c520cfa
Drop PHP 7
XedinUnknown Nov 21, 2025
a73e863
Remove unused dep
XedinUnknown Nov 21, 2025
e2e0c04
PHPCS now always checks for PHP 8.0
XedinUnknown Nov 21, 2025
98eb8f7
Fix code standards
XedinUnknown Nov 21, 2025
d71f9ae
Disable Git safe dir warning on Composer installs
XedinUnknown Nov 21, 2025
6acaa81
Allow newer Psalm
XedinUnknown Nov 21, 2025
d7caaa8
Remove obsolete Psalm handler
XedinUnknown Nov 21, 2025
cdb3ff8
Only use 1 major Psalm version
XedinUnknown Nov 21, 2025
fce70cd
Allow Psalm 6 as well
XedinUnknown Nov 21, 2025
29bbc2f
Remove unsupported config
XedinUnknown Nov 21, 2025
6640296
Drop PHP 8.0
XedinUnknown Nov 21, 2025
b53e187
Disable checks for override attribute, and unused classes and methods
XedinUnknown Nov 21, 2025
26cda95
Fix tests (upgrade to PHPUnit 10) and deprecations
XedinUnknown Dec 19, 2025
c230e8c
Improve `ClassBuilder` API
XedinUnknown Dec 19, 2025
1fe23de
Improve `ClassBuilder` API
XedinUnknown Dec 19, 2025
16a88fc
Fix PHPUnit and Psalm integrations
XedinUnknown Dec 19, 2025
bef0231
Improve `ClassBuilder`
XedinUnknown Dec 19, 2025
c7137e2
Remove redundant cast
XedinUnknown Dec 19, 2025
166cf87
Update PHPStorm config
XedinUnknown Mar 21, 2026
8b8e585
Update docs
XedinUnknown Mar 21, 2026
d123e66
Polyfill PHP 8.3 and add `Override` attr
XedinUnknown Mar 21, 2026
eea18d2
Fixed Psalm non-errors
XedinUnknown Mar 21, 2026
42acf7f
Fixed Psalm non-errors
XedinUnknown Mar 21, 2026
07c411b
Fixed Psalm non-errors
XedinUnknown Mar 21, 2026
0f11353
Fixed Psalm non-errors
XedinUnknown Mar 21, 2026
c070f21
Fixed Psalm non-errors
XedinUnknown Mar 21, 2026
851ed6e
Fixed Psalm non-errors
XedinUnknown Mar 21, 2026
afce9db
Fixed Psalm non-errors
XedinUnknown Mar 21, 2026
dd63def
Fixed Psalm non-errors
XedinUnknown Mar 21, 2026
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
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ BASE_PATH=./
BUILD_ROOT_PATH=/app/
PROJECT_NAME=dhii_services

PHP_BUILD_VERSION=7.1
PHP_TEST_VERSION=7.1
PHP_BUILD_VERSION=8.1
PHP_TEST_VERSION=8.1

HOST_IP_ADDRESS=127.0.0.1
HOST_IP_ADDRESS=host-gateway
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,10 @@ jobs:
strategy:
matrix:
php-versions:
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
- '8.2'
- '8.3'
- '8.4'
name: PHP ${{ matrix.php-versions }}
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/tests/coverage/
/tests/log/
/vendor/
/.phpunit.cache/
.phpunit.result.cache

.env
5 changes: 2 additions & 3 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .idea/php-test-framework.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

168 changes: 118 additions & 50 deletions .idea/php.xml

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions .idea/runConfigurations/phpunit_xml_dist.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 33 additions & 19 deletions .idea/services.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [[*next-version*]] - YYYY-MM-DD
### Fixed
- Declare missing return type for `FuncService` (#11).
### Changed
- Drop PHP 7 and PHP 8.0 support, now requires PHP 8.1+ (#23).

## [0.1.1-alpha3] - 2023-02-01
### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This package provides a collection of service factory and extension definition i
- [Static Analysis](#static-analysis)

# Requirements
- PHP >= 7.0 < PHP 8
- PHP >= 8.1

# Installation

Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
"prefer-stable": true,
"minimum-stability": "dev",
"require": {
"php": "^7.1 | ^8.0",
"php": "^8.1",
"psr/container": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0 | ^8.0 | ^9.0",
"codeclimate/php-test-reporter": "<=0.3.2",
"vimeo/psalm": "^4.8",
"slevomat/coding-standard": "^6.0"
"phpunit/phpunit": "^10.0",
"vimeo/psalm": "^6.0",
"slevomat/coding-standard": "^6.0",
"symfony/polyfill-php83": "^1.33"
},
"autoload": {
"psr-4": {
Expand All @@ -37,7 +37,7 @@
"scripts": {
"test": "phpunit",
"csfix": "php-cs-fixer fix -vvv",
"psalm": "psalm --show-info --threads=8 --diff"
"psalm": "psalm --threads=8 --diff"
},
"config": {
"allow-plugins": {
Expand Down
Loading
Loading