From b6ac9c04661f89ce9a929fd1facabaaf9b068b03 Mon Sep 17 00:00:00 2001 From: tzsk Date: Tue, 26 Mar 2024 22:04:10 +0530 Subject: [PATCH] Fixes --- .github/workflows/pint.yml | 4 +- .github/workflows/psalm.yml | 2 +- .github/workflows/tests.yml | 6 +- composer.json | 4 +- composer.lock | 136 ++++++++++++++++++------------------ 5 files changed, 76 insertions(+), 76 deletions(-) diff --git a/.github/workflows/pint.yml b/.github/workflows/pint.yml index ac7201a..e72f3b8 100644 --- a/.github/workflows/pint.yml +++ b/.github/workflows/pint.yml @@ -3,7 +3,7 @@ name: Check & fix styling on: [push, pull_request] jobs: - php-cs-fixer: + pint: runs-on: ubuntu-latest steps: @@ -15,7 +15,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: "8.1" + php-version: "8.2" coverage: none - name: Cache composer dependencies diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml index e9988ce..a232165 100644 --- a/.github/workflows/psalm.yml +++ b/.github/workflows/psalm.yml @@ -12,7 +12,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: "8.1" + php-version: "8.2" coverage: none - name: Cache composer dependencies diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3368092..3aac84c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,8 +12,8 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.1, '8.2'] - laravel: ['8.*', '9.*', '10.*', '11.*'] + php: [8.1, "8.2"] + laravel: ["8.*", "9.*", "10.*", "11.*"] dependency-version: [prefer-stable] include: - laravel: 10.* @@ -44,7 +44,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo + extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, xdebug coverage: none - name: Install dependencies diff --git a/composer.json b/composer.json index 426a56d..5af6a95 100644 --- a/composer.json +++ b/composer.json @@ -22,11 +22,11 @@ "require": { "php": "^8.0", "illuminate/support": "^8.0|^9.0|^10.0|^11.0", - "intervention/image": "^2.5|^3.4", - "laravel/pint": "^1.10" + "intervention/image": "^2.5|^3.4" }, "require-dev": { "laravel/legacy-factories": "^1.0", + "laravel/pint": "^1.14", "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0", "phpunit/phpunit": "^9.3|^10.5", "vimeo/psalm": "^5.0" diff --git a/composer.lock b/composer.lock index dfb8a7d..8b96444 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "0faa7e770c097f740c68437456c240c0", + "content-hash": "e3b833df3869986fb3e641452de471f3", "packages": [ { "name": "brick/math", @@ -1049,72 +1049,6 @@ }, "time": "2023-07-11T13:43:52+00:00" }, - { - "name": "laravel/pint", - "version": "v1.10.5", - "source": { - "type": "git", - "url": "https://github.com/laravel/pint.git", - "reference": "a458fb057bfa2f5a09888a8aa349610be807b0c3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/a458fb057bfa2f5a09888a8aa349610be807b0c3", - "reference": "a458fb057bfa2f5a09888a8aa349610be807b0c3", - "shasum": "" - }, - "require": { - "ext-json": "*", - "ext-mbstring": "*", - "ext-tokenizer": "*", - "ext-xml": "*", - "php": "^8.1.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.21.1", - "illuminate/view": "^10.5.1", - "laravel-zero/framework": "^10.1.1", - "mockery/mockery": "^1.5.1", - "nunomaduro/larastan": "^2.5.1", - "nunomaduro/termwind": "^1.15.1", - "pestphp/pest": "^2.4.0" - }, - "bin": [ - "builds/pint" - ], - "type": "project", - "autoload": { - "psr-4": { - "App\\": "app/", - "Database\\Seeders\\": "database/seeders/", - "Database\\Factories\\": "database/factories/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nuno Maduro", - "email": "enunomaduro@gmail.com" - } - ], - "description": "An opinionated code formatter for PHP.", - "homepage": "https://laravel.com", - "keywords": [ - "format", - "formatter", - "lint", - "linter", - "php" - ], - "support": { - "issues": "https://github.com/laravel/pint/issues", - "source": "https://github.com/laravel/pint" - }, - "time": "2023-07-14T10:26:01+00:00" - }, { "name": "laravel/serializable-closure", "version": "v1.3.0", @@ -6006,6 +5940,72 @@ }, "time": "2023-01-09T14:49:00+00:00" }, + { + "name": "laravel/pint", + "version": "v1.14.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/pint.git", + "reference": "6b127276e3f263f7bb17d5077e9e0269e61b2a0e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/pint/zipball/6b127276e3f263f7bb17d5077e9e0269e61b2a0e", + "reference": "6b127276e3f263f7bb17d5077e9e0269e61b2a0e", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "ext-tokenizer": "*", + "ext-xml": "*", + "php": "^8.1.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.49.0", + "illuminate/view": "^10.43.0", + "larastan/larastan": "^2.8.1", + "laravel-zero/framework": "^10.3.0", + "mockery/mockery": "^1.6.7", + "nunomaduro/termwind": "^1.15.1", + "pestphp/pest": "^2.33.6" + }, + "bin": [ + "builds/pint" + ], + "type": "project", + "autoload": { + "psr-4": { + "App\\": "app/", + "Database\\Seeders\\": "database/seeders/", + "Database\\Factories\\": "database/factories/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "An opinionated code formatter for PHP.", + "homepage": "https://laravel.com", + "keywords": [ + "format", + "formatter", + "lint", + "linter", + "php" + ], + "support": { + "issues": "https://github.com/laravel/pint/issues", + "source": "https://github.com/laravel/pint" + }, + "time": "2024-02-20T17:38:05+00:00" + }, { "name": "mockery/mockery", "version": "1.6.2", @@ -9138,5 +9138,5 @@ "php": "^8.0" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" }