Skip to content

Improvement for php8.1#16

Open
dlesendric wants to merge 3 commits intoactivecollab:masterfrom
dlesendric:improvement-for-php8.1
Open

Improvement for php8.1#16
dlesendric wants to merge 3 commits intoactivecollab:masterfrom
dlesendric:improvement-for-php8.1

Conversation

@dlesendric
Copy link

@dlesendric dlesendric commented Feb 21, 2026

Just to check everything, don't merge yet.

Darko Lesendric and others added 3 commits February 21, 2026 01:48
Reverted the transaction/truncate-based test isolation approach to maintain
the original test structure while preserving the configurable database
connection parameters.

Changes:
- Restored original test setup/teardown structure
- Kept DB_HOST, DB_USER, DB_PASS, DB_NAME environment variable support
- Removed static connections and table truncation logic
- Tests continue to use DROP/CREATE tables approach

All 137 tests passing with configurable database credentials.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Renamed phpunit.xml to phpunit.xml.dist as a template
- Set default DB_PASS to empty string in template
- Added phpunit.xml to .gitignore for local customization
- Users can copy phpunit.xml.dist to phpunit.xml and set their own credentials

This prevents accidentally committing database credentials while allowing
developers to customize their local test configuration.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant