Skip to content
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

V3 #727

Open
wants to merge 139 commits into
base: master
Choose a base branch
from
Open

V3 #727

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
0c2c398
wip
Naoray Jan 3, 2024
6c9102e
wip
Naoray Jan 3, 2024
1da742e
add type declarations to all endpoints
Naoray Jan 5, 2024
5cb58e2
Fix styling
Naoray Jan 5, 2024
f66f9c0
fix tests
Naoray Jan 5, 2024
c5bdbd2
merge in changes
Naoray Jun 24, 2024
edcc1e8
Fix styling
Naoray Jun 24, 2024
c10e175
add PSR18 http adapter
Naoray Jun 24, 2024
9d69299
Fix styling
Naoray Jun 24, 2024
1da1fc4
wip
Naoray Jun 24, 2024
ac55229
wip
Naoray Jun 24, 2024
2920090
wip
Naoray Jun 24, 2024
d66feba
Fix styling
Naoray Jun 24, 2024
8b1ba43
wip
Naoray Jun 25, 2024
035d70e
Fix styling
Naoray Jun 25, 2024
18b13e8
merge in changes
Naoray Jun 27, 2024
c5e6e18
Fix styling
Naoray Jun 27, 2024
7d86f99
fix typehints
Naoray Jun 27, 2024
b21057f
wip
Naoray Jun 27, 2024
1d42fa9
Fix styling
Naoray Jun 27, 2024
76e46b5
wip
Naoray Jun 28, 2024
c4f62a0
typecast embedded resources
Naoray Jun 28, 2024
1bd03e3
Fix styling
Naoray Jun 28, 2024
2efbacf
wip
sandervanhooft Jun 21, 2024
bbefe74
Fix styling
sandervanhooft Jun 21, 2024
acbeadd
wip
sandervanhooft Jun 21, 2024
cf26b85
wip
sandervanhooft Jun 21, 2024
837aa04
wip
sandervanhooft Jun 21, 2024
a4a9277
Update version number
sandervanhooft Jun 24, 2024
6436be8
merge in changes
Naoray Jun 30, 2024
e122737
Fix styling
Naoray Jun 30, 2024
85e5909
update github actions
Naoray Jun 30, 2024
db7a507
add php7.4 compatible invade dependency/
Naoray Jun 30, 2024
c743574
remove spatie/invade dependency
Naoray Jun 30, 2024
3fa1abc
change return types to be php7.4 compatible
Naoray Jun 30, 2024
a801414
Fix styling
Naoray Jun 30, 2024
41e3dfa
wip
Naoray Jun 30, 2024
0b135db
update github action versions
Naoray Jun 30, 2024
7e45e92
wip
Naoray Jul 10, 2024
9258b45
add UPGRADING guide
Naoray Jul 16, 2024
ad8930f
wip
Naoray Jul 16, 2024
07ff441
merge in changes
Naoray Jul 17, 2024
6144f6a
remove static resource and collection methods
Naoray Jul 17, 2024
4f0346a
wip
Naoray Jul 17, 2024
2543eef
wip
Naoray Jul 17, 2024
987185a
add changelog action
Naoray Jul 18, 2024
c8300c7
wip
Naoray Jul 18, 2024
6f004b8
wip
Naoray Jul 18, 2024
c477530
wip
Naoray Aug 26, 2024
36b6e65
wip
Naoray Sep 6, 2024
164c1e0
wip
Naoray Sep 6, 2024
0115efa
wip
Naoray Sep 9, 2024
4cdbb75
make v3 php7.4 compatible
Naoray Sep 9, 2024
4fad5bc
wip
Naoray Sep 9, 2024
ec1b4ef
wip
Naoray Sep 9, 2024
44ddaa0
wip
Naoray Sep 9, 2024
be99500
wip
Naoray Sep 9, 2024
bd15bf4
wip
Naoray Sep 9, 2024
ca4a799
wip
Naoray Sep 9, 2024
b74f996
wip
Naoray Sep 9, 2024
8d0a3fd
wip
Naoray Sep 9, 2024
e56a37a
wip
Naoray Sep 9, 2024
8298dff
wip
Naoray Sep 9, 2024
a02a1d1
wip
Naoray Sep 9, 2024
ae721ee
wip
Naoray Sep 9, 2024
bb1d966
wip
Naoray Sep 9, 2024
20317a8
wip
Naoray Sep 9, 2024
5cbc383
wip
Naoray Nov 12, 2024
73404f0
wip
Naoray Nov 14, 2024
e249f3e
wip
Naoray Nov 26, 2024
f2f9fcf
wip
Naoray Nov 26, 2024
f842f91
wip
Naoray Nov 26, 2024
be6161e
wip
Naoray Nov 28, 2024
5e4c726
wip
Naoray Dec 3, 2024
a9b44dd
Fixes coding style
Naoray Dec 3, 2024
c5ef68d
wip
Naoray Dec 3, 2024
79e75b5
Fixes coding style
Naoray Dec 3, 2024
6a06935
fix phpstan
Naoray Dec 3, 2024
edd5d01
fix php7.4 compatibility
Naoray Dec 3, 2024
c0dd9dd
fix php7.4 compatibility
Naoray Dec 3, 2024
cfea22e
Fixes coding style
Naoray Dec 3, 2024
f3de946
fix php7.4 compatibility
Naoray Dec 3, 2024
f80f4f1
fix php7.4 compatibility
Naoray Dec 3, 2024
7c70d2c
fix php7.4 compatibility
Naoray Dec 3, 2024
3736cfe
fix php7.4 compatibility
Naoray Dec 3, 2024
d5a2150
Fixes coding style
Naoray Dec 3, 2024
4c472c9
fix all phpstan errors
Naoray Dec 4, 2024
fa45774
Fixes coding style
Naoray Dec 4, 2024
25aefc7
fix all phpstan errors, this time for sure :fire:
Naoray Dec 4, 2024
81deec0
Fixes coding style
Naoray Dec 4, 2024
b448e2f
wip
Naoray Dec 4, 2024
e15fb88
Fixes coding style
Naoray Dec 4, 2024
7757a39
wip
Naoray Dec 4, 2024
2a21c70
wip
Naoray Dec 4, 2024
e72d0e6
Fixes coding style
Naoray Dec 4, 2024
9a58ddf
fix tests
Naoray Dec 5, 2024
82cc035
Fixes coding style
Naoray Dec 5, 2024
34f8dd5
wip
Naoray Dec 5, 2024
02ca3a2
Fixes coding style
Naoray Dec 5, 2024
8aefdb1
wip
Naoray Dec 6, 2024
16785c5
Fixes coding style
Naoray Dec 6, 2024
b5f6665
wip
Naoray Dec 6, 2024
ab6772d
wip
Naoray Dec 6, 2024
526b270
Merge branch 'master' into v3
Naoray Dec 6, 2024
8007090
Add support for php8.4 to GH test workflow
sandervanhooft Dec 9, 2024
8f31fbd
add sales invoices endpoint
Naoray Dec 10, 2024
3f1c1fa
Fixes coding style
Naoray Dec 10, 2024
fcdbbb0
fix phpstan
Naoray Dec 10, 2024
be3dbe7
wip
Naoray Dec 10, 2024
894e3ac
wip
Naoray Dec 10, 2024
34f2335
Fix styling
Naoray Dec 10, 2024
6915f0d
fix phpstan
Naoray Dec 10, 2024
261cad3
fix phpstan
Naoray Dec 10, 2024
8cddaf6
wip
Naoray Dec 10, 2024
7578a2c
Fixes coding style
Naoray Dec 10, 2024
1f7a76f
wip
Naoray Dec 11, 2024
94d5a76
wip
Naoray Dec 10, 2024
384e7d5
wip
Naoray Dec 12, 2024
5fd78ed
Fixes coding style
Naoray Dec 12, 2024
46a0bdc
wip
Naoray Dec 12, 2024
8c56845
Fixes coding style
Naoray Dec 12, 2024
9f693e4
wip
Naoray Dec 12, 2024
fbf8e3e
Fixes coding style
Naoray Dec 12, 2024
a3a67a8
Merge pull request #755 from mollie/sandervanhooft-patch-1
sandervanhooft Dec 12, 2024
983595a
remove hydration setting and always hydrate
Naoray Dec 17, 2024
ff5ef29
Fixes coding style
Naoray Dec 17, 2024
30ed85c
wip
Naoray Dec 18, 2024
b5aac11
Fixes coding style
Naoray Dec 18, 2024
109e989
wip
Naoray Dec 18, 2024
55d3425
wip
Naoray Dec 18, 2024
94918f1
wip
Naoray Dec 18, 2024
9d3ed67
Fixes coding style
Naoray Dec 18, 2024
1fa13dd
wip
Naoray Dec 18, 2024
539fa62
wip
Naoray Dec 18, 2024
953ae1a
wip
Naoray Dec 18, 2024
df1b4b5
Fixes coding style
Naoray Dec 18, 2024
1bf7dde
wip
Naoray Dec 18, 2024
db324c6
wip
Naoray Dec 18, 2024
529f6e5
Fixes coding style
Naoray Dec 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## Specifications

- API Version:
- API Version:
- SDK Version:

## Describe the issue

...

6 changes: 3 additions & 3 deletions .github/workflows/check_php_syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [ 7.2 ]
php: [7.4]
name: Check PHP ${{ matrix.php }} syntax
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/createzip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
sed -i.bak 's/autoload.php/composer-autoload.php/g' build/vendor/scoper-autoload.php
mv build/vendor/scoper-autoload.php build/vendor/autoload.php
- name: Install zip
uses: montudor/action-zip@v0.1.1
uses: montudor/action-zip@v1
- name: Finally, create a zip file with all built files.
run: zip -r mollie-api-php.zip examples src vendor composer.json LICENSE README.md
working-directory: build
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/fix-codestyle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Fix Code Style

on: [push]

jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.4]

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: json, dom, curl, libxml, mbstring
coverage: none

- name: Install Pint
run: composer global require laravel/pint

- name: Run Pint
run: pint

- name: Commit linted files
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Fixes coding style"
23 changes: 0 additions & 23 deletions .github/workflows/php-cs-fixer.yml

This file was deleted.

15 changes: 7 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,34 @@ on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4]
php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4]
name: PHP - ${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip
tools: composer:v2
coverage: none
- name: Remove PHP CS Fixer dependency to prevent unnecessary dependency collisions
- name: Remove pint dependency to prevent unnecessary dependency collisions
run: |
composer remove --dev friendsofphp/php-cs-fixer
composer remove --dev laravel/pint
- name: Install dependencies
run: |
composer update --prefer-dist --no-interaction --no-progress
- name: PHPStan
if: ${{ matrix.php >= 7.3 }}
run: |
composer require "phpstan/phpstan:1.12.5"
composer require "phpstan/phpstan" --dev
vendor/bin/phpstan analyse --no-progress
- name: Execute tests
run: vendor/bin/phpunit --verbose
run: vendor/bin/paratest --verbose
28 changes: 28 additions & 0 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Update Changelog"

on:
release:
types: [released]

jobs:
update:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: main

- name: Update Changelog
uses: stefanzweifel/changelog-updater-action@v1
with:
latest-version: ${{ github.event.release.name }}
release-notes: ${{ github.event.release.body }}

- name: Commit updated CHANGELOG
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: main
commit_message: Update CHANGELOG
file_pattern: CHANGELOG.md
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased](https://github.com/mollie/mollie-api-php/compare/v3.0.0...HEAD)
Loading