Skip to content

Commit bc85637

Browse files
authored
Merge pull request #2 from PivotPHP/compatibility-new-release-core
Compatibility new release core
2 parents 775dfe3 + f69c5a0 commit bc85637

24 files changed

+230
-1064
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
# Testing
1111
.phpunit.cache/
12+
coverage/
1213
coverage-html/
1314
coverage.xml
1415
junit.xml
@@ -41,3 +42,4 @@ vendor/
4142
#User
4243
CLAUDE.md
4344
.claude
45+
*.cache

.php-cs-fixer.cache

Lines changed: 0 additions & 1 deletion
This file was deleted.

CYCLE_ORM_UPDATE_STATUS.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

PACKAGIST_MIGRATION_REPORT.md

Lines changed: 0 additions & 92 deletions
This file was deleted.

PHPSTAN_FIXES_SUMMARY.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,25 @@ composer test:unit
266266
composer test:feature
267267
composer test:integration
268268

269-
# Run with coverage
269+
# Run with coverage (cross-platform)
270270
composer test-coverage
271+
272+
# Platform-specific alternatives:
273+
# Unix/Linux/macOS
274+
./scripts/test-coverage.sh
275+
# Windows CMD
276+
scripts\test-coverage.bat
277+
# PowerShell
278+
scripts\test-coverage.ps1
271279
```
272280

281+
### Cross-Platform Compatibility
282+
283+
The project includes cross-platform scripts for coverage testing:
284+
- **Primary method**: `composer test-coverage` (works on all platforms)
285+
- **Alternative scripts**: Platform-specific scripts in `scripts/` directory
286+
- **Windows support**: Both CMD and PowerShell scripts included
287+
273288
## 📚 Documentation
274289

275290
- [Integration Guide](docs/integration-guide.md)

composer.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
{
22
"name": "pivotphp/cycle-orm",
33
"description": "Robust and well-tested Cycle ORM integration for PivotPHP microframework with type safety and comprehensive testing",
4-
"repositories": [
5-
{
6-
"type": "path",
7-
"url": "../pivotphp-core"
8-
}
9-
],
104
"keywords": [
115
"pivotphp",
126
"cycle-orm",
@@ -29,7 +23,7 @@
2923
],
3024
"require": {
3125
"php": "^8.1",
32-
"pivotphp/core": "*@dev",
26+
"pivotphp/core": "^1.1.0",
3327
"cycle/orm": "^2.10",
3428
"cycle/annotated": "^4.3",
3529
"cycle/migrations": "^4.2.5",
@@ -59,7 +53,7 @@
5953
"test:feature": "phpunit --testsuite=Feature",
6054
"test:integration": "phpunit --testsuite=Integration",
6155
"test:database": "phpunit --testsuite=Database",
62-
"test-coverage": "phpunit --coverage-html coverage",
56+
"test-coverage": "php scripts/test-coverage.php",
6357
"phpstan": "phpstan analyse src --level=9",
6458
"cs:check": "phpcs --standard=phpcs.xml --report=full",
6559
"cs:check:summary": "phpcs --standard=phpcs.xml --report=summary",

composer.json.local

Lines changed: 0 additions & 86 deletions
This file was deleted.

0 commit comments

Comments
 (0)