Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 7 additions & 0 deletions .aiignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/.op
/stubs

.DS_Store
.envrc
*.log
*.tmp
42 changes: 28 additions & 14 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
/.github export-ignore
/.idea export-ignore
/.run export-ignore
/tests export-ignore
/.github export-ignore
/.idea export-ignore
/.op export-ignore
/.run export-ignore
/features export-ignore
/stubs export-ignore
/tests export-ignore
/var export-ignore
/vendor export-ignore

/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.dist.php export-ignore
/docker-compose.yaml export-ignore
/phpdoc.dist.xml export-ignore
/phpstan.dist.neon export-ignore
/phpstan.neon.example export-ignore
/phpunit.dist.xml export-ignore
/README.md export-ignore
/.aiignore export-ignore
/.editorconfig export-ignore
/.env export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.dist.php export-ignore
/AGENTS.md export-ignore
/behat.dist.yaml export-ignore
/composer.json export-ignore
/composer.lock export-ignore
/docker-compose.yaml export-ignore
/docker-compose.override.yaml export-ignore
/phpdoc.dist.xml export-ignore
/phpstan.dist.neon export-ignore
/phpstan.neon.example export-ignore
/phpunit.dist.xml export-ignore
/README.md export-ignore

.envrc export-ignore

*.php diff=php
*.phar -diff
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,12 @@ jobs:
with:
os: ${{ matrix.os }}

integration-tests:
name: Integration Tests
feature-tests:
name: Feature Tests
strategy:
matrix:
os: [ubuntu]
composer-version: ['1.10.27', '2.2.27', 'v2']
os: [ubuntu, windows]
fail-fast: false
uses: ./.github/workflows/integration-tests.yml
uses: ./.github/workflows/feature-tests.yml
with:
os: ${{ matrix.os }}
composer-version: ${{ matrix.composer-version }}
40 changes: 40 additions & 0 deletions .github/workflows/feature-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Feature Tests

on:
workflow_call:
inputs:
os:
description: Operating System
required: false
type: string
default: ubuntu

permissions:
checks: write
contents: read
issues: read
pull-requests: write

jobs:
feature-tests:
name: Behat
strategy:
matrix:
php-version: ['8.1', '8.2', '8.3', '8.4', '8.5']
behat-profile: ['latest', 'lowest']
fail-fast: false
runs-on: ${{ inputs.os }}-latest
steps:
- name: Checkout
uses: actions/checkout@v6

- name: Setup PHP and Install Composer Packages
uses: ./.github/actions/setup
with:
php-version: '${{ matrix.php-version }}'

- name: Run Docker-Composer Feature Tests
shell: bash
env:
XDEBUG_MODE: 'off'
run: behat --profile ${{ inputs.behat-profile }}
55 changes: 0 additions & 55 deletions .github/workflows/integration-tests.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
/phpunit.xml

.DS_Store
.envrc
.git
.op
Thumbs.db
Expand Down
3 changes: 3 additions & 0 deletions .idea/codeStyles/Project.xml

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

42 changes: 42 additions & 0 deletions .idea/docker-composer.iml

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

66 changes: 52 additions & 14 deletions .idea/php.xml

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

2 changes: 1 addition & 1 deletion .idea/scopes/Code_Style.xml

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

2 changes: 1 addition & 1 deletion .idea/scopes/Static_Analysis.xml

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

2 changes: 2 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

$finder = (new PhpCsFixer\Finder())
->in([
__DIR__ . '/features/bootstrap',
__DIR__ . '/src',
__DIR__ . '/tests',
]);
Expand All @@ -15,4 +16,5 @@
->setRules([
'@PER-CS' => true,
'@PER-CS:risky' => true,
//'psr_autoloading' => true,
]);
Loading
Loading