Skip to content
Merged
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
4 changes: 4 additions & 0 deletions .claude/hooks/SessionStart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ pre-commit install
pre-commit install --hook-type commit-msg

echo "Pre-commit hooks installed successfully!"

pecl install xdebug || true

composer install
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: mkdir -p build/logs

- name: Run tests
run: vendor/bin/phpunit
run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml

- name: Upload test results
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
pass_filenames: false
- id: phpunit
name: PHPUnit
entry: env XDEBUG_MODE=coverage vendor/bin/phpunit
entry: vendor/bin/phpunit
language: system
types: [php]
pass_filenames: false
3 changes: 3 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false" failOnWarning="false">
<logging>
<junit outputFile="build/logs/results.xml"/>
</logging>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/src/Unit</directory>
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/www.softwareishard.com-empty-login.har
Original file line number Diff line number Diff line change
Expand Up @@ -310,4 +310,4 @@
}
]
}
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/www.softwareishard.com-multiple-entries.har
Original file line number Diff line number Diff line change
Expand Up @@ -1100,4 +1100,4 @@
}
]
}
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/www.softwareishard.com-single-entry.har
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@
}
]
}
}
}
Loading