Skip to content

Commit

Permalink
- Drop PHP <8.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ajgarlag committed Apr 3, 2024
1 parent c264791 commit e6418b2
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 52 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: ci

on:
push:
branches: ['main']
pull_request:
branches: ['*']
schedule:
- cron: '0 0 * * *'

jobs:
tests:
name: Tests
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
php: ['8.1', '8.2', '8.3']
prefer: ['']
include:
- php: '8.1'
prefer: '--prefer-lowest'
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Get composer cache directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ matrix.prefer }}-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-${{ matrix.prefer }}-
- name: Install dependencies
run: composer update --no-interaction --no-progress ${{ matrix.prefer }}
- name: PHPUnit
run: vendor/bin/phpunit
51 changes: 0 additions & 51 deletions .github/workflows/test.yml

This file was deleted.

31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# [CHANGELOG](http://keepachangelog.com/)
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

### Removed

- Drop PHP <8.1 support

## [0.4.0] - 2022-06-09

## [0.3.0] - 2020-12-11

## [0.2.1] - 2020-09-01

## [0.2.0] - 2020-02-04

## [0.1.2] - 2014-08-14

## [0.1.1] - 2014-05-06

## 0.1.0 - 2014-05-06

[Unreleased]: https://github.com/ajgarlag/AjglDoctrineOrmPgsqlFunctions/compare/0.4.0...main
[0.4.0]: https://github.com/ajgarlag/AjglDoctrineOrmPgsqlFunctions/compare/0.3.0...0.4.0
[0.3.0]: https://github.com/ajgarlag/AjglDoctrineOrmPgsqlFunctions/compare/0.2.1...0.3.0
[0.2.1]: https://github.com/ajgarlag/AjglDoctrineOrmPgsqlFunctions/compare/0.2.0...0.2.1
[0.2.0]: https://github.com/ajgarlag/AjglDoctrineOrmPgsqlFunctions/compare/0.1.2...0.2.0
[0.1.2]: https://github.com/ajgarlag/AjglDoctrineOrmPgsqlFunctions/compare/0.1.1...0.1.2
[0.1.1]: https://github.com/ajgarlag/AjglDoctrineOrmPgsqlFunctions/compare/0.1.0...0.1.1
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
],
"require": {
"php": ">=7.4",
"php": "^8.1",
"doctrine/dbal": "^2.13 | ^3.3"
},
"require-dev": {
Expand All @@ -36,6 +36,7 @@
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"branch-alias": {
"dev-master": "0.4.x-dev"
Expand Down

0 comments on commit e6418b2

Please sign in to comment.