Skip to content

Commit 51881cd

Browse files
v2 (#19)
* wip * v2 wip * docs * wip * readme * REST and CoF fake gateway response * fix long relation name * phpstan fix * Inspect code style with Pint * fix tests * fix docs tyep * Update changelog * Make clearer that amounts are in cents * fix docs * docs * public request parameters * Allow insecure SSL on local gateway * Rename `min_order_num` config to `order_num_prefix` * Fix Laravel 8.x compatiblity * Add optional autoprefix * Fix styling * Default value for auto prefix config * Upgrading, Changelog and format code * Fix styling * Bump actions/checkout from 3.5.0 to 3.5.2 Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3.5.0...v3.5.2) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.6 to 1.4.0. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](dependabot/fetch-metadata@v1.3.6...v1.4.0) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Require redsys-php v2.x --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dtorras <dtorras@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 8cc6e46 commit 51881cd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+879
-401
lines changed

.github/workflows/php-cs-fixer.yml renamed to .github/workflows/fix-php-code-style-issues.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
name: Check & fix styling
1+
name: Fix PHP code style issues
22

3-
on: [push]
3+
on:
4+
push:
5+
paths:
6+
- '**.php'
47

58
jobs:
6-
php-cs-fixer:
9+
php-code-styling:
710
runs-on: ubuntu-latest
811

912
steps:
@@ -12,10 +15,8 @@ jobs:
1215
with:
1316
ref: ${{ github.head_ref }}
1417

15-
- name: Run PHP CS Fixer
16-
uses: docker://oskarstark/php-cs-fixer-ga
17-
with:
18-
args: --config=.php_cs.dist.php --allow-risky=yes
18+
- name: Fix PHP code style issues
19+
uses: aglipanci/laravel-pint-action@2.2.0
1920

2021
- name: Commit changes
2122
uses: stefanzweifel/git-auto-commit-action@v4

.github/workflows/update-changelog.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.php_cs.dist.php

Lines changed: 0 additions & 40 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
All notable changes to `laravel-redsys` will be documented in this file.
44

5+
## 2.0.0 - 2023-05-16
6+
7+
This version is a complete rewrite. Though there are lots of breaking changes, all features of v1 are retained.
8+
Notable changes and additions:
9+
10+
- New: Manage bank cards as tokens with Credential-on-File requests
11+
- New: Redirection and REST integration methods
12+
- New: Requests could be not associated to Eloquent models
13+
- New: Custom request with every Redsys parameter available
14+
- Breaking: Currency amounts handled in cents as integer
15+
- Breaking: Naming for classes, methods and schema changed
16+
517
## 1.1.2 - 2023-02-15
618

719
### What's Changed

0 commit comments

Comments
 (0)