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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # 2.36.0
with:
php-version: 8.2
php-version: 8.3
ini-values: assert.exception=1, phar.readonly=0, zend.assertions=1
extensions: curl, json, phar, mbstring, gzip, bzip2, openssl
tools: pecl, phing
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ jobs:
key: cache-v1 # can be any string, change to clear the extension cache.
strategy:
matrix:
php-versions: ['8.2', '8.3']
php-versions: ['8.3']
experimental: [ false ]
include:
- php-versions: '8.4'
experimental: true
- php-versions: '8.5'
experimental: true
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand Down Expand Up @@ -65,7 +67,7 @@ jobs:
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest --ignore-platform-reqs
run: composer install --prefer-dist --no-progress --ignore-platform-reqs

- name: Setup Problem Matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
Expand Down Expand Up @@ -223,7 +225,7 @@ jobs:
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest --ignore-platform-reqs
run: composer install --prefer-dist --no-progress --ignore-platform-reqs

- name: Run test suite
run: ./vendor/phpunit/phpunit/phpunit --configuration tests/phpunit.xml --exclude-group twig --coverage-clover=./var/coverage/clover.xml
Expand Down
991 changes: 991 additions & 0 deletions .vacuum/ruleset.yaml

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="PHPDraft" default="setup">
<target name="setup" depends="clean"/>
<property name="min-php-version" value="8.1.0"/>
<property name="min-php-version" value="8.3.0"/>

<target name="clean" unless="clean.done" description="Cleanup build artifacts">
<delete dir="${project.basedir}/build/coverage"/>
Expand Down Expand Up @@ -190,7 +190,6 @@
<arg value="--no-interaction"/>
<arg value="--no-progress"/>
<arg value="--no-ansi"/>
<arg value="--no-suggest"/>
<arg value="--optimize-autoloader"/>
<arg value="--prefer-stable"/>
</exec>
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@
}
],
"require": {
"php": "^8.1",
"vanilla/garden-cli": "~4.0",
"php": "^8.3",
"michelf/php-markdown": "~2.0",
"lukasoppermann/http-status": "~4.0",
"ext-json": "*",
"ext-curl": "*",
"twig/twig": "^3.0",
"twig/markdown-extra": "^3.0",
"matthiasmullie/minify": "^1.3",
"rize/uri-template": "*"
"rize/uri-template": "*",
"splitbrain/php-cli": "^1.3"
},
"require-dev": {
"lunr/halo": "~0.11.0",
"lunr/halo": "dev-master",
"phpunit/phpunit": "~11.0",
"theseer/autoload": "~1.0",
"phing/phing": "~3.0",
Expand Down
Loading
Loading