Skip to content

Commit

Permalink
Merge pull request #8 from sebastiaanluca/develop
Browse files Browse the repository at this point in the history
Add support for PHP 8.4
  • Loading branch information
sebastiaanluca authored Feb 7, 2025
2 parents 85d2771 + e8e6a64 commit 96b0eea
Show file tree
Hide file tree
Showing 11 changed files with 148 additions and 312 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "develop"
schedule:
interval: "monthly"
open-pull-requests-limit: 5
25 changes: 12 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,34 @@
name: Check code
name: Run tests

on:
push:
pull_request:

jobs:

check:
name: Run checks - PHP ${{ matrix.php }} - ${{ matrix.dependency-version }}
test:
name: Run tests - PHP ${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
fail-fast: true
matrix:
php: [8.1, 8.2]
dependency-version: [prefer-lowest, prefer-stable]
os: [ubuntu-latest]
os: [ ubuntu-latest ]
php: [ 8.3, 8.4 ]
stability: [ prefer-lowest, prefer-stable ]

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

- name: Cache PHP dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: '**/vendor'
key: ${{ runner.os }}-vendor-cache-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-vendor-cache-
- name: Cache Composer dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: composer-${{ runner.os }}-php-${{ matrix.php }}-${{ hashFiles('composer.json') }}
Expand All @@ -45,10 +44,10 @@ jobs:
coverage: none

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

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

- name: Run tests
run: vendor/bin/phpunit
247 changes: 0 additions & 247 deletions .php-cs-fixer.dist.php

This file was deleted.

10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to `sebastiaanluca/php-pipe-operator` will be documented in

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

## 7.0.0 (2025-02-07)

### Added

- Added support for PHP 8.4

### Removed

- Dropped support for PHP 8.2

## 6.0.0 (2023-02-06)

### Added
Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Total downloads][downloads-badge]][link-packagist]
[![Total stars][stars-badge]][link-github]

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

## About

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.
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.

Have a project that could use some guidance? Send me an e-mail at [[email protected]][link-author-email]!


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

[blog-link-badge]: https://img.shields.io/badge/link-blog-lightgrey.svg
[website-link-badge]: https://img.shields.io/badge/link-website-lightgrey.svg
[packages-link-badge]: https://img.shields.io/badge/link-other_packages-lightgrey.svg
[twitter-profile-badge]: https://img.shields.io/twitter/follow/sebastiaanluca.svg?style=social
[twitter-share-badge]: https://img.shields.io/twitter/url/http/shields.io.svg?style=social
Expand All @@ -354,8 +353,7 @@ Have a project that could use some guidance? Send me an e-mail at [hello@sebasti
[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
[link-contributors]: ../../contributors

[link-portfolio]: https://sebastiaanluca.com
[link-blog]: https://sebastiaanluca.com/blog
[link-website]: https://sebastiaanluca.com
[link-packages]: https://packagist.org/packages/sebastiaanluca
[link-twitter]: https://twitter.com/sebastiaanluca
[link-github-profile]: https://github.com/sebastiaanluca
Expand Down
Loading

0 comments on commit 96b0eea

Please sign in to comment.