Skip to content

Upgrade to 7.0.5 #109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jan 23, 2025
Merged
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
35 changes: 28 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,43 +7,64 @@ jobs:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ ubuntu-latest ]
operating-system: [ ubuntu-20.04 ]
php: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4' ]

steps:
- uses: actions/checkout@v3

- name: Setup PHP
id: setup-php
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

- name: Validate composer.json and composer.lock
id: composer-validate
run: composer validate --no-check-all # Do not emit a warning if requirements in composer.json use unbound or overly strict version constraints.


- name: Update composer dependencies
run: composer update

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
${{ runner.os }}-php-

- name: Install dependencies
id: composer-install
run: composer install --prefer-dist --no-progress --ignore-platform-reqs
run: composer install --prefer-dist --no-progress

php-unit-tests:
name: PHP ${{ matrix.php }} Unit Tests
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ ubuntu-latest ]
operating-system: [ ubuntu-20.04 ]
php: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4' ]

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup PHP
id: setup-php
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

- name: Update composer dependencies
run: composer update

- name: Install composer dependencies
run: composer install --prefer-dist --no-progress --ignore-platform-reqs
run: composer install --prefer-dist --no-progress

- name: Print PHP version
run: php -v

- name: Run PHPUnit
run: vendor/bin/phpunit tests
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Fixed
## [7.0.5] - 2025-01-20
### Fixed (@felipegear4music)
- The code passed to the Exception parent should be an integer
- Exception::__construct(): Argument #2 ($code) must be of type int

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "doofinder/php-doofinder",
"version": "7.0.4",
"version": "7.0.5",
"type": "library",
"description": "Doofinder PHP API Client",
"keywords": [
Expand Down
8 changes: 4 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.