Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
3079ebd
Introduce ProvidersCollection::class
overclokk Aug 19, 2023
e25a779
Introduce a sort of file cache
overclokk Aug 20, 2023
defe457
improve implementation
overclokk Sep 27, 2023
9245e6d
cs:fix
overclokk Jul 26, 2024
8d13f7a
updates Prophecy instance
overclokk Jul 26, 2024
b54cddd
update composer.json
overclokk Jul 26, 2024
d49bd70
cs:fix
overclokk Jul 26, 2024
5982105
try new WF for PHP tests
overclokk Jul 27, 2024
f78c79a
try new WF for PHP tests
overclokk Jul 27, 2024
3071e69
try 2 version for ocramius/proxy-manager
overclokk Jul 27, 2024
ca43de4
Rector
overclokk Jul 27, 2024
f4df09f
Psalm
overclokk Jul 28, 2024
a765c3b
Psalm and Infection
overclokk Jul 28, 2024
3911dc6
more tests
overclokk Jul 29, 2024
6b4576e
chore: updates tests
overclokk Oct 19, 2025
91c9bfd
chore: introduces Dockerfile
overclokk Oct 22, 2025
70118e3
fix: updates dependencies
overclokk Oct 29, 2025
e996c76
fix: removes the FQCN of the deleted \ItalyStrap\Empress\Injector::class
overclokk Oct 29, 2025
1cfa562
fix: PHP 8.4 compat and CS:FIX
overclokk Oct 30, 2025
82d47f2
fix: Rector
overclokk Oct 30, 2025
2e02d75
fix: CS:FIX
overclokk Oct 30, 2025
dc5a5d6
fix: try to fix tests
overclokk Oct 31, 2025
5d73f23
chore: introduces PSR-11 Container
overclokk Nov 2, 2025
86d2776
chore: add psr/container and rector/swiss-knife to dependencies
overclokk May 3, 2026
b4c309c
feat: implement custom PSR-11 exceptions and enhance error handling i…
overclokk May 3, 2026
484c4af
feat: enhance `ProvidersCollection` with new aggregation logic, impro…
overclokk May 5, 2026
24f2f24
feat: add `ProvidersCache` unit tests and improve cache handling with…
overclokk May 5, 2026
f6c842a
refactor: rename `resolve()` to `apply()` and deprecate `resolve()`, …
overclokk May 6, 2026
0049374
feat: add `ContainerBuilder` and `ModuleInterface` with comprehensive…
overclokk May 6, 2026
9788a33
refactor: migrate from Psalm to PHPStan for static analysis, remove p…
overclokk May 6, 2026
0b18a09
chore: add generic type annotations across core classes and interface…
overclokk May 6, 2026
e02921b
chore: remove `--debug` flag from PHPStan script in composer.json
overclokk May 8, 2026
08da48c
chore: add PHPStan configuration file with level 9 for static analysi…
overclokk May 8, 2026
71f5f09
chore: remove redundant PHPDoc comments from core classes, interfaces…
overclokk May 8, 2026
53efcb0
chore: update `example.php` to use `ContainerBuilder`, refactor `reso…
overclokk May 8, 2026
d97c2de
chore: refactor configuration merging logic in ProvidersCollection
overclokk May 10, 2026
409f603
chore: update composer.json and test.yml for dependency and coverage …
overclokk May 10, 2026
0ab1d68
chore: update italystrap/config version to ^2.11
overclokk May 10, 2026
00bb17a
chore: add behat/gherkin as a development dependency
overclokk May 10, 2026
c321f6f
chore: refactor ProvidersCache to improve configuration handling and …
overclokk May 11, 2026
2768faa
chore: add ConfigReplacementTrait to handle configuration replacement
overclokk May 11, 2026
27be167
chore: update psr/container version constraint to support v2
overclokk May 14, 2026
fe386df
chore: adjust proxy-manager-lts dependency placement and add it to su…
overclokk May 16, 2026
5feda0b
chore: handle missing ProxyFactory gracefully, update tests to cover …
overclokk May 18, 2026
918b961
chore: add exception for missing ProxyFactory in proxy configuration,…
overclokk May 18, 2026
15ae482
chore: update AurynConfigIntegrationTest to throw ConfigException for…
overclokk May 18, 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
1 change: 1 addition & 0 deletions .docker/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PROJECT_NAME=
29 changes: 29 additions & 0 deletions .docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
x-php-base: &php-base
build:
context: .
dockerfile: php/Dockerfile
container_name: ${PROJECT_NAME:-package}_php
volumes:
- ../:/app
environment:
UID: "${UID:-1000}"
GID: "${GID:-1000}"
working_dir: /app

services:
php:
<<: *php-base
build:
context: .
dockerfile: php/Dockerfile
args:
PHP_VERSION: 7.4
container_name: ${PROJECT_NAME:-package}_php74
php83:
<<: *php-base
build:
context: .
dockerfile: php/Dockerfile
args:
PHP_VERSION: 8.3
container_name: ${PROJECT_NAME:-package}_php83
27 changes: 27 additions & 0 deletions .docker/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
ARG PHP_VERSION

FROM php:${PHP_VERSION}-cli

RUN apt-get update && apt-get install -y --no-install-recommends \
git \
unzip \
zip \
libzip-dev \
libonig-dev \
&& docker-php-ext-install zip \
&& pecl install pcov \
&& docker-php-ext-enable pcov \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

WORKDIR /app

COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer

ARG UID=1000
ARG GID=1000
RUN groupadd -g ${GID} appgroup && \
useradd -u ${UID} -g appgroup -m appuser && \
chown -R appuser:appgroup /app
USER appuser

CMD ["php", "-v"]
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

## Directories to ignore when exporting the package
.docker/ export-ignore
.github/ export-ignore
tests/ export-ignore

## Files to ignore when exporting the package
/.env export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/AGENTS.md export-ignore
/bone.json export-ignore
/codeception.* export-ignore
/codeception.yml export-ignore
/example.php export-ignore
/infection.json.dist export-ignore
/Makefile export-ignore
/phpbench.json export-ignore
/phpcs.xml export-ignore
/phpstan.neon.dist export-ignore
/index.php export-ignore
/rector.php export-ignore
4 changes: 2 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:

- uses: ramsey/composer-install@v2

- name: Psalm
run: composer run psalm
- name: PHPStan
run: composer run stan
28 changes: 21 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,40 @@ on:

jobs:
tests:
name: Test on PHP ${{ matrix.php_versions }}
name: Test on PHP ${{ matrix.php }}

runs-on: ubuntu-latest
continue-on-error: ${{ matrix.php_versions == '8.1' }}
continue-on-error: ${{ contains('8.1,8.2,8.5', matrix.php) }}
if: "!contains(github.event.head_commit.message, '--skip ci') && !github.event.pull_request.draft"

strategy:
matrix:
php_versions: ['7.4', '8.0', '8.1']
php:
- '7.4'
- '8.0'
- '8.1'
- '8.2'
dependencies:
- "lowest"
- "highest"
include:
- php: '8.5'
composer-options: "--ignore-platform-reqs"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_versions }}
coverage: xdebug2
php-version: ${{ matrix.php }}
coverage: xdebug
ini-values: register_argc_argv=On

- uses: ramsey/composer-install@v2
- uses: ramsey/composer-install@v3
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: ${{ matrix.composer-options }}

- name: Run test suite
run: vendor/bin/codecept run unit --coverage-text
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.vscode/
/vendor/

/_others/
Expand All @@ -6,4 +7,5 @@
codeception.yml
*.lock
c3.php
rector.php
rector.php
bone.json
Loading
Loading