From b5e5106121c784fb7debfeecd4fd16ffb672e805 Mon Sep 17 00:00:00 2001 From: Massimiliano Arione Date: Thu, 23 Apr 2026 09:27:01 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20remove=20duplicate=20license=20f?= =?UTF-8?q?ile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yaml | 2 ++ LICENSE.md | 22 ---------------------- composer.json | 4 ++-- phpstan.neon | 1 + 4 files changed, 5 insertions(+), 24 deletions(-) delete mode 100644 LICENSE.md diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 261a1d8..d291c6f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,6 +13,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6 + - run: | + sed -e :a -e '$d;N;2,3ba' -e 'P;D' phpstan.neon > phpstan2.neon && mv phpstan2.neon phpstan.neon - name: PHPStan uses: docker://oskarstark/phpstan-ga env: diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index 50355c1..0000000 --- a/LICENSE.md +++ /dev/null @@ -1,22 +0,0 @@ -# MIT License - -Copyright (c) 2026 Massimiliano Arione - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/composer.json b/composer.json index 76305ff..cb52631 100644 --- a/composer.json +++ b/composer.json @@ -15,9 +15,9 @@ "psr/http-factory": "^1.1" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.93", + "friendsofphp/php-cs-fixer": "^3.95", "phpstan/phpstan-strict-rules": "^2.0", - "phpunit/phpunit": "^11.5 || ^12.5 || ^13.0" + "phpunit/phpunit": "^11.5 || ^12.5 || ^13.1" }, "autoload": { "psr-4": { diff --git a/phpstan.neon b/phpstan.neon index bf4b50a..bda6fde 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -6,3 +6,4 @@ parameters: includes: - vendor/phpstan/phpstan-strict-rules/rules.neon + - vendor/phpstan/phpstan/conf/bleedingEdge.neon