Skip to content
Open
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: 2 additions & 2 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.2', '8.3', '8.4']
php-versions: ['8.3', '8.4', '8.5']
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.2', '8.3', '8.4']
php-versions: ['8.3', '8.4', '8.5']
steps:
- uses: actions/checkout@v4

Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.2', '8.3', '8.4']
php-versions: ['8.3', '8.4', '8.5']
env:
PHP_VERSION: ${{ matrix.php-versions }}
steps:
Expand Down Expand Up @@ -83,10 +83,6 @@ jobs:
- name: Install Composer dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader --ignore-platform-reqs

- name: Install Pest v3
run: composer require pest/pest:^3.0
if: ${{ matrix.php-version == '8.4' }}

- name: Pest
run: php -v && XDEBUG_MODE=coverage ./vendor/bin/pest --coverage --coverage-clover='coverage.xml'

Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Added

- **ScrollAnimation:** add a `withScrollAnimationDebug` decorator ([#494](https://github.com/studiometa/ui/pull/494))
- **TwigExtension:** add a Composer plugin for build-time icon fetching ([#498](https://github.com/studiometa/ui/issues/498), [#499](https://github.com/studiometa/ui/pull/499))

### Changed

- **TwigExtension:** `iconify/json` and `iconify/json-tools` are no longer required dependencies, the Composer plugin fetches only the icons used in templates from the Iconify API ([#498](https://github.com/studiometa/ui/issues/498), [#499](https://github.com/studiometa/ui/pull/499))

### Fixed

Expand Down
17 changes: 12 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
{
"name": "studiometa/ui",
"type": "composer-plugin",
"version": "1.7.0",
"description": "A set of opiniated, unstyled and accessible components.",
"license": "MIT",
"require": {
"php": "^8.1",
"iconify/json": "^2.2",
"iconify/json-tools": "^1.0",
"composer-plugin-api": "^2.0",
"php": "^8.3",
"studiometa/twig-toolkit": "^2.1.1",
"twig/twig": "^3.19.0"
},
"require-dev": {
"composer/composer": "^2.9",
"iconify/json": "^2.2",
"iconify/json-tools": "^1.0",
"mallardduck/prettier-php-runner": "^1.0",
"pestphp/pest": "^2.0|^3.0",
"mockery/mockery": "^1.6",
"pestphp/pest": "^3.0",
"phpstan/phpstan": "^2.1",
"spatie/pest-plugin-snapshots": "^2.0",
"spatie/pest-plugin-snapshots": "^2.3",
"squizlabs/php_codesniffer": "^3.6"
},
"scripts": {
Expand All @@ -35,6 +39,9 @@
"Studiometa\\Ui\\": "packages/twig-extension"
}
},
"extra": {
"class": "Studiometa\\Ui\\Composer\\Plugin"
},
"config": {
"sort-packages": true,
"allow-plugins": {
Expand Down
Loading
Loading