Skip to content

Commit 96b0eea

Browse files
Merge pull request #8 from sebastiaanluca/develop
Add support for PHP 8.4
2 parents 85d2771 + e8e6a64 commit 96b0eea

11 files changed

+148
-312
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
target-branch: "develop"
6+
schedule:
7+
interval: "monthly"
8+
open-pull-requests-limit: 5

.github/workflows/test.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,34 @@
1-
name: Check code
1+
name: Run tests
22

33
on:
44
push:
55
pull_request:
66

77
jobs:
8-
9-
check:
10-
name: Run checks - PHP ${{ matrix.php }} - ${{ matrix.dependency-version }}
8+
test:
9+
name: Run tests - PHP ${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
1110
runs-on: ${{ matrix.os }}
1211
strategy:
13-
fail-fast: false
12+
fail-fast: true
1413
matrix:
15-
php: [8.1, 8.2]
16-
dependency-version: [prefer-lowest, prefer-stable]
17-
os: [ubuntu-latest]
14+
os: [ ubuntu-latest ]
15+
php: [ 8.3, 8.4 ]
16+
stability: [ prefer-lowest, prefer-stable ]
1817

1918
steps:
2019
- name: Check out code
21-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2221

2322
- name: Cache PHP dependencies
24-
uses: actions/cache@v2
23+
uses: actions/cache@v3
2524
with:
2625
path: '**/vendor'
2726
key: ${{ runner.os }}-vendor-cache-${{ hashFiles('**/composer.lock') }}
2827
restore-keys: |
2928
${{ runner.os }}-vendor-cache-
3029
3130
- name: Cache Composer dependencies
32-
uses: actions/cache@v2
31+
uses: actions/cache@v3
3332
with:
3433
path: ~/.composer/cache/files
3534
key: composer-${{ runner.os }}-php-${{ matrix.php }}-${{ hashFiles('composer.json') }}
@@ -45,10 +44,10 @@ jobs:
4544
coverage: none
4645

4746
- name: Install dependencies
48-
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-progress --optimize-autoloader
47+
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --optimize-autoloader
4948

5049
- name: Lint code
51-
run: PHP_CS_FIXER_IGNORE_ENV=true vendor/bin/php-cs-fixer fix --dry-run --diff
50+
run: vendor/bin/pint --test
5251

5352
- name: Run tests
5453
run: vendor/bin/phpunit

.php-cs-fixer.dist.php

Lines changed: 0 additions & 247 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to `sebastiaanluca/php-pipe-operator` will be documented in
44

55
Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
66

7+
## 7.0.0 (2025-02-07)
8+
9+
### Added
10+
11+
- Added support for PHP 8.4
12+
13+
### Removed
14+
15+
- Dropped support for PHP 8.2
16+
717
## 6.0.0 (2023-02-06)
818

919
### Added

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Total downloads][downloads-badge]][link-packagist]
77
[![Total stars][stars-badge]][link-github]
88

9-
[![Read my blog][blog-link-badge]][link-blog]
9+
[![Visit my website][website-link-badge]][link-website]
1010
[![View my other packages and projects][packages-link-badge]][link-packages]
1111
[![Follow @sebastiaanluca on Twitter][twitter-profile-badge]][link-twitter]
1212
[![Share this package on Twitter][twitter-share-badge]][link-twitter-share]
@@ -332,18 +332,17 @@ If you discover any security related issues, please email [hello@sebastiaanluca.
332332

333333
## About
334334

335-
My name is Sebastiaan and I'm a freelance Laravel developer specializing in building custom Laravel applications. Check out my [portfolio][link-portfolio] for more information, [my blog][link-blog] for the latest tips and tricks, and my other [packages][link-packages] to kick-start your next project.
335+
My name is Sebastiaan and I'm a freelance back-end developer specializing in building custom Laravel web apps. Check out my [website][link-website] for more information and my other [packages][link-packages] to kick-start your next project.
336336

337337
Have a project that could use some guidance? Send me an e-mail at [hello@sebastiaanluca.com][link-author-email]!
338338

339-
340339
[version-badge]: https://img.shields.io/packagist/v/sebastiaanluca/php-pipe-operator.svg?label=stable
341340
[license-badge]: https://img.shields.io/badge/license-MIT-informational.svg
342341
[githubaction-badge]: https://github.com/sebastiaanluca/php-pipe-operator/actions/workflows/test.yml/badge.svg?branch=master
343342
[downloads-badge]: https://img.shields.io/packagist/dt/sebastiaanluca/php-pipe-operator.svg?color=brightgreen
344343
[stars-badge]: https://img.shields.io/github/stars/sebastiaanluca/php-pipe-operator.svg?color=brightgreen
345344

346-
[blog-link-badge]: https://img.shields.io/badge/link-blog-lightgrey.svg
345+
[website-link-badge]: https://img.shields.io/badge/link-website-lightgrey.svg
347346
[packages-link-badge]: https://img.shields.io/badge/link-other_packages-lightgrey.svg
348347
[twitter-profile-badge]: https://img.shields.io/twitter/follow/sebastiaanluca.svg?style=social
349348
[twitter-share-badge]: https://img.shields.io/twitter/url/http/shields.io.svg?style=social
@@ -354,8 +353,7 @@ Have a project that could use some guidance? Send me an e-mail at [hello@sebasti
354353
[link-twitter-share]: https://twitter.com/intent/tweet?text=Use%20PHP%27s%20pipe%20operator%20now!%20https%3A%2F%2Fgithub.com%2Fsebastiaanluca%2Fphp-pipe-operator%20via%20%40sebastiaanluca
355354
[link-contributors]: ../../contributors
356355

357-
[link-portfolio]: https://sebastiaanluca.com
358-
[link-blog]: https://sebastiaanluca.com/blog
356+
[link-website]: https://sebastiaanluca.com
359357
[link-packages]: https://packagist.org/packages/sebastiaanluca
360358
[link-twitter]: https://twitter.com/sebastiaanluca
361359
[link-github-profile]: https://github.com/sebastiaanluca

0 commit comments

Comments
 (0)