Skip to content

Commit

Permalink
composer updates
Browse files Browse the repository at this point in the history
  • Loading branch information
heidkaemper committed Jan 28, 2024
1 parent a909187 commit 2d6c8a5
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite
coverage: none
- run: composer update --prefer-dist --no-interaction
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/.idea
/.php-cs-fixer.cache
/.phpunit.cache
/.phpunit.result.cache
/composer.lock
/node_modules
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"description": "A Statamic CMS frontend helper",
"require": {
"statamic/cms": "3.3.* || 3.4.* || ^4.0",
"mck89/peast": "^1.15"
"mck89/peast": "^1.16"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.35",
"orchestra/testbench": "^7.24",
"pestphp/pest": "^1.23"
"friendsofphp/php-cs-fixer": "^3.39",
"orchestra/testbench": "^8.21",
"pestphp/pest": "^2.33"
},
"autoload": {
"psr-4": {
Expand Down
30 changes: 16 additions & 14 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
<?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">
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
backupGlobals="false"
bootstrap="vendor/autoload.php"
colors="true"
processIsolation="false"
stopOnFailure="false"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false"
>
<testsuites>
<testsuite name="Feature">
<directory suffix="Test.php">tests/Feature/</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./app</directory>
</include>
</coverage>
<php>
<env name="APP_ENV" value="testing"/>
<env name="APP_KEY" value="base64:lujb8L6ZtNMV0opSh8S0GV9tm8ldGLQZh+P9uqxE8+M="/>
Expand All @@ -26,4 +23,9 @@
<env name="QUEUE_DRIVER" value="sync"/>
<env name="MAIL_DRIVER" value="array"/>
</php>
<source>
<include>
<directory suffix=".php">./app</directory>
</include>
</source>
</phpunit>

0 comments on commit 2d6c8a5

Please sign in to comment.