Skip to content

SP-1198 - PHP Laravel Kiosk Demo: Update Dependencies #9

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 2 commits into from
Mar 28, 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
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ on:
- reopened
push:
branches-ignore:
- 'main'
- "main"

jobs:
unit-tests:
runs-on: ubuntu-latest

strategy:
matrix:
php-version: [ 8.1, 8.2 ]
php-version: [8.1, 8.2, 8.3]

steps:
- uses: actions/checkout@v4
Expand All @@ -24,7 +24,7 @@ jobs:
php_version: ${{ matrix.php-version }}
args: --ignore-platform-reqs
- name: PHPUnit Unit Tests
uses: php-actions/phpunit@v3
uses: php-actions/phpunit@v4
with:
configuration: phpunit.xml
php_version: ${{ matrix.php-version }}
Expand All @@ -37,7 +37,7 @@ jobs:

strategy:
matrix:
php-version: [ 8.1, 8.2 ]
php-version: [8.1, 8.2, 8.3]

steps:
- uses: actions/checkout@v4
Expand All @@ -46,7 +46,7 @@ jobs:
php_version: ${{ matrix.php-version }}
args: --ignore-platform-reqs
- name: PHPUnit Integration Tests
uses: php-actions/phpunit@v3
uses: php-actions/phpunit@v4
with:
configuration: phpunit.xml
php_version: ${{ matrix.php-version }}
Expand All @@ -59,7 +59,7 @@ jobs:

strategy:
matrix:
php-version: [ 8.1, 8.2 ]
php-version: [8.1, 8.2, 8.3]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion app/Features/Shared/Configuration/Design.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Design
/**
* Design constructor.
* @param Hero $hero
* @param String $logo
* @param string $logo
* @param PosData $posData
*/
public function __construct(Hero $hero, string $logo, PosData $posData)
Expand Down
2 changes: 1 addition & 1 deletion app/Features/Shared/InvoiceSaver.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ private function saveItemizedDetails(BitPayInvoice $bitpayInvoice, Invoice $invo
}

$result = [];
/** @var array $itemizedDetail */
/** @var \BitPaySDK\Model\Invoice\ItemizedDetails $itemizedDetail */
foreach ($bitPayItemizedDetails as $itemizedDetail) {
if (empty($itemizedDetail)) {
continue;
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Middleware/RedirectIfAuthenticated.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace App\Http\Middleware;

use App\Providers\RouteServiceProvider;
use App\Infrastructure\Laravel\RouteServiceProvider;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
Expand Down
2 changes: 1 addition & 1 deletion app/Models/Invoice/InvoiceBuyerProvidedInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use App\Models\AppModel;

/**
* @property string|null name,
* @property string|null name
* @property string|null phone_number
* @property string|null selected_wallet
* @property string|null email_address
Expand Down
31 changes: 17 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,32 @@
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"require": {
"php": "^8.1",
"bitpay/sdk": "^9.0.4",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.0",
"bitpay/sdk": "^9.2.0",
"guzzlehttp/guzzle": "^7.9",
"laravel/framework": "^10.48",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8",
"laravel/tinker": "^2.10",
"symfony/mercure": "^0.6.3",
"symfony/serializer": "^6.2",
"symfony/serializer": "^6.4",
"symfony/serializer-pack": "*",
"symfony/yaml": "^6.2"
"symfony/yaml": "^6.4"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
"laravel/pint": "^1.0",
"laravel/sail": "^1.18",
"fakerphp/faker": "^1.24",
"laravel/pint": "^1.20",
"laravel/sail": "^1.41",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^10.0",
"spatie/laravel-ignition": "^2.0",
"squizlabs/php_codesniffer": "^3.7"
"nunomaduro/collision": "^7.12",
"phpunit/phpunit": "^10.5",
"spatie/laravel-ignition": "^2.9",
"squizlabs/php_codesniffer": "^3.12"
},
"autoload": {
"psr-4": {
Expand Down
Loading