Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/stevebauman/purify
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Mar 12, 2024
2 parents ed78832 + e0fbc6f commit 303d23e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 30 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,30 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: [8.1, 8.0, 7.4]
laravel: [9.*, 8.*, 7.*]
php: [8.3, 8.2, 8.1]
laravel: [11.*, 10.*, 9.*]
dependency-version: [prefer-stable]
include:
- laravel: 11.*
testbench: 9.*
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.*
- laravel: 7.*
testbench: 5.*
exclude:
- laravel: 9.*
php: 7.4
- laravel: 7.*
- laravel: 11.*
php: 8.1
- laravel: 9.*
php: 8.3

name: ${{ matrix.os }} - P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}

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

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.composer/cache/files
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
"require": {
"php": ">=7.4",
"ezyang/htmlpurifier": "^4.17",
"illuminate/contracts": "~7.0|~8.0|~9.0|~10.0",
"illuminate/support": "~7.0|~8.0|~9.0|~10.0"
"illuminate/contracts": "^7.0|^8.0|^9.0|^10.0|^11.0",
"illuminate/support": "^7.0|^8.0|^9.0|^10.0|^11.0"
},
"require-dev": {
"phpunit/phpunit": "~8.0|~9.0",
"orchestra/testbench": "~5.0|~6.0|~7.0"
"phpunit/phpunit": "^8.0|^9.0|^10.0",
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0|^9.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down
21 changes: 6 additions & 15 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
>
<testsuites>
<testsuite name="Purify Test Suite">
<directory suffix="Test.php">./tests/</directory>
</testsuite>
</testsuites>
<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/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<testsuites>
<testsuite name="Purify Test Suite">
<directory suffix="Test.php">./tests/</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 303d23e

Please sign in to comment.