Skip to content

Commit

Permalink
Merge branch 'release/4.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiaanluca committed Jun 22, 2021
2 parents 0859ed6 + 900fa8b commit c99cd52
Show file tree
Hide file tree
Showing 18 changed files with 292 additions and 244 deletions.
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Reduce Composer package download by removing obsolete files

/.editorconfig export-ignore
/.gitattributes export-ignore
/.github export-ignore
/.gitignore export-ignore
/CODE_OF_CONDUCT.md export-ignore
/CONTRIBUTING.md export-ignore
/phpunit.xml.dist export-ignore
/tests export-ignore
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Bug report
about: Create a report to help us improve this project
title: ''
labels: bug
assignees: sebastiaanluca
---

### Description

### Expected result

### Steps to reproduce

1.
2.
3.

### Traces

Logs, error output, etc.

### Environment information

Setup, environment, packages, versions, etc.
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: feature
assignees: sebastiaanluca
---

### Description

A clear and concise description of the problem or proposal.

### Suggested solution

A clear and concise description of what you want to happen.

### Possible alternatives

A clear and concise description of any alternative solutions or features you've considered.

### Additional context

Any other context or screenshots to help situate and understand the requested feature.
22 changes: 15 additions & 7 deletions PULL_REQUEST_TEMPLATE.md → .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
---
name: Pull request
about: Create a new pull request to merge code into the main branch
title: 'A short, descriptive title'
labels: ''
assignees: sebastiaanluca
---

## PR Type

What kind of pull request is this? Put an `x` in all the boxes that apply:
Expand All @@ -8,17 +16,16 @@ What kind of pull request is this? Put an `x` in all the boxes that apply:
- [ ] Change feature (non-breaking change which either changes or refactors existing functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## What does it change?

Describe your changes in detail.
---

## Why this PR?
### Description

Why is this change required? What problem does it solve?
Clearly describe what this pull request changes and why.

## How has this been tested?
### Steps to follow to verify functionality

Please describe in detail how you tested your changes (or are planning on testing them).
1. Clearly state which actions should be performed to fully and correctly review this issue.
2.

## Checklist

Expand All @@ -32,3 +39,4 @@ To facilitate merging your change and the approval of this PR, please make sure
- If the change to the code requires a change to the documentation, it has been updated accordingly

If you're unsure about any of these, don't hesitate to ask. We're here to help!

46 changes: 46 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: test

on:
push:
pull_request:
schedule:
- cron: '0 12 15 * *'

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
php: [8.0]
dependency-version: [prefer-lowest, prefer-stable]
os: [ubuntu-latest]

name: PHP ${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}

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

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.composer/cache/files
key: dependencies-${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

- name: Validate Composer configuration file
run: composer validate --strict

- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring
coverage: none

- name: Install dependencies
run: |
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
composer.phar
.phpunit.result.cache
/.idea
composer.lock
vendor
tests/files/
composer.phar
phpunit.xml
tests/temp/
vendor/
40 changes: 0 additions & 40 deletions .travis.yml

This file was deleted.

15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,20 @@ All notable changes to `sebastiaanluca/php-pipe-operator` will be documented in

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

## Unreleased
## 4.0.0 (2021-06-22)

### Added

- Added support for PHP 8
- Added static constructor

### Changed

- Internal PHP 8 code updates

### Removed

- Removed support for PHP 7

## 3.0.0 (2019-02-27)

Expand Down
23 changes: 0 additions & 23 deletions ISSUE_TEMPLATE.md

This file was deleted.

Loading

0 comments on commit c99cd52

Please sign in to comment.