Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
9b156f8
feat: add multi-stack support
lucatume Nov 12, 2025
5f7d048
ignore .env.slic.stacks
lucatume Nov 13, 2025
8fbfe86
set version to 3.0.0
lucatume Nov 13, 2025
aea88d4
add git worktree support
lucatume Nov 13, 2025
094bbd3
fix: include worktree functions
lucatume Nov 14, 2025
2464841
fix: register the use target in the stack information
lucatume Nov 14, 2025
3f0580e
fix: --stack option support
lucatume Nov 14, 2025
16a3417
fix: stack management
lucatume Nov 17, 2025
0d366ce
feat: support -y|--yes flags across all commands
lucatume Nov 18, 2025
1ef2f98
fix: undefined key warning
lucatume Nov 18, 2025
798df82
docs: remove worktree support plan
lucatume Nov 18, 2025
24806cb
fix: support -y|--yes flag correctly
lucatume Nov 18, 2025
eb3934b
fix: read stack id and worktree correctly
lucatume Nov 18, 2025
cd5f463
refactor: remove unused var
lucatume Nov 18, 2025
9e3992c
fix: worktree stack detection in init
lucatume Nov 18, 2025
794a503
fix: remove version from worktree override file
lucatume Nov 18, 2025
bcc55ba
doc: set version to 3.0.0
lucatume Nov 18, 2025
ce56f6d
Merge remote-tracking branch 'origin/main' into feat/worktree-support
lucatume Nov 18, 2025
531382e
fix: remove duplicate const define
lucatume Nov 18, 2025
bc8c743
fix: change XDK env var use to IDE key root
lucatume Nov 18, 2025
dddebea
fix: always display XDebug port and IDE key information
lucatume Nov 18, 2025
7e486b0
fix: remove excessibe blank lines
lucatume Nov 18, 2025
623cb46
refactor: extract xdebug fucntions to dedicate file
lucatume Nov 18, 2025
ae95b74
fix: xdebug port and key information
lucatume Nov 18, 2025
f4936fd
fix: localhost port information
lucatume Nov 18, 2025
0c1ed02
fix: fetch ports before first stack run
lucatume Nov 19, 2025
3a85b97
fix: xdebug env vars per stack
lucatume Nov 19, 2025
3f6e906
fix: run file loading order
lucatume Nov 20, 2025
1cb9857
fix: lock use command for worktrees
lucatume Nov 21, 2025
4adeaed
fix: using command in worktree context
lucatume Nov 21, 2025
71989f4
fix: add worktree among the Advanced commands
lucatume Nov 21, 2025
6ddbc74
fix: worktree merge command support
lucatume Nov 21, 2025
6c75d35
feat: interactive use command support
lucatume Nov 24, 2025
37cbdf8
refactor: add missing namespace, doc-blocks
lucatume Nov 25, 2025
2715fc5
feat: shell completions
lucatume Nov 25, 2025
849eaee
Merge remote-tracking branch 'origin/main' into 3.0.0
lucatume Nov 26, 2025
0b29a70
fix: warning about trim function use
lucatume Nov 26, 2025
413c8ea
Merge remote-tracking branch 'origin/main' into 3.0.0
lucatume Nov 26, 2025
4b91a73
Merge remote-tracking branch 'origin/main' into 3.0.0
lucatume Dec 1, 2025
f8be8a1
Merge remote-tracking branch 'origin/main' into 3.0.0
lucatume Dec 3, 2025
b9eef87
doc: update and reorganized xdebug document
lucatume Dec 3, 2025
f2eafe8
refactor: remove redundant call
lucatume Dec 9, 2025
60b1781
fix: set php-version to target current stack
lucatume Dec 9, 2025
31ab4bb
fix: stack PHP version application
lucatume Dec 9, 2025
465dd41
fix: cleanup stack configuration loading
lucatume Dec 11, 2025
d6a74bd
fix: read XDK root from config files to prevent env var contamination
lucatume Feb 4, 2026
e0c4af9
fix: prevent project .env.slic.local from overriding staged PHP version
lucatume Feb 23, 2026
782f933
feat: add NO_COLOR environment variable support
lucatume Feb 23, 2026
720e52c
feat: add PHPUnit .phpt test infrastructure
lucatume Feb 23, 2026
41576c2
chore: add .phpunit.result.cache to .gitignore
lucatume Feb 23, 2026
6ac82cf
feat: add SLIC_DOCKER_BIN env var to override the docker binary
lucatume Feb 23, 2026
91b2503
doc: update tests readme to document all available env vars
lucatume Feb 23, 2026
b95db19
ci: add GitHub Actions workflow for PHPUnit tests
lucatume Feb 23, 2026
9df212a
test: convert the tests to default PHPUnit
lucatume Feb 23, 2026
a500dee
test: fix paths
lucatume Feb 23, 2026
0817aad
test: fix path in phpunit.xml file
lucatume Feb 23, 2026
c45e213
chore: remove plan file
lucatume Feb 23, 2026
1acae5e
test: remove deprecated ClI README.md file
lucatume Feb 23, 2026
2578d32
doc: add changelog entry
lucatume Feb 23, 2026
ea88791
doc: add tests/Cli README.md
lucatume Feb 23, 2026
20daf97
Merge pull request #236 from stellarwp/v3/phpt-setup
lucatume Feb 23, 2026
a3a9153
test: add and use directory factory
lucatume Feb 25, 2026
3851fb3
test: add comprehensive PHP version detection tests
lucatume Feb 25, 2026
cda4b24
Merge remote-tracking branch 'origin/main' into 3.0.0
lucatume Feb 25, 2026
a74b355
Merge remote-tracking branch 'origin/main' into 3.0.0
dpanta94 Mar 11, 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
4 changes: 3 additions & 1 deletion .env.slic
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ SLIC_PHP_VERSION=7.4

# XDebug configuration parameters, will apply to the `cli`, `wordpress` and `codeception` services.
# ===============================
# The IDE key used to identify connection requests coming from the services.
# The IDE key root used to identify connection requests coming from the services.
# Each stack will have a unique and deterministic IDE key set from this root
# in the format "{XDK}_<stack_hash>".
XDK=slic
# Whether to enable XDebug in the containers or not.
XDE=0
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Tests

on:
push:
branches:
- main
- '[0-9]+.[0-9]+.[0-9]+'
pull_request:

jobs:
tests:
name: PHPUnit (PHP ${{ matrix.php-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php-version: ['8.2']

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
env:
fail-fast: true

- name: Install dependencies
run: composer install --no-interaction --prefer-dist

- name: Run tests
run: vendor/bin/phpunit
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ _plugins
.using
# Any .env.slic.* file created to override the slic cli tool configuration or to configure the runs.
.env.slic.local
.env.slic.run
.env.slic.run*
.env.slic.stacks
.env.slic.stacks.lock

# Any .build-version file created by the slic cli tool.
.build-version
Expand All @@ -39,3 +41,6 @@ _plugins

# slic own cache directory
.cache

# PHPUnit cache
.phpunit.result.cache
Loading
Loading