From c6c7373c4baa3f4b98af84441b08bbeee8447d89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Thu, 20 Jun 2024 16:51:24 +0200 Subject: [PATCH 1/2] Added a license file --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a9e0f65 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Junák - český skaut, z. s. + +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. From f1015a39992107b850a8efb79289e12d7868f41f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Thu, 20 Jun 2024 16:51:32 +0200 Subject: [PATCH 2/2] Updated readme badges --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3424667..fee58e3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # High quality stubs for WordPress -[![GitHub Actions](https://github.com/skaut/wordpress-stubs/workflows/CI/badge.svg)](https://github.com/skaut/wordpress-stubs/actions) +[![Packagist Version](https://img.shields.io/packagist/v/skaut/wordpress-stubs?logo=packagist)](https://packagist.org/packages/skaut/wordpress-stubs) +[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/skaut/wordpress-stubs/CI.yml?branch=master&logo=github)](https://github.com/skaut/wordpress-stubs/actions) +[![Packagist Downloads](https://img.shields.io/packagist/dt/skaut/wordpress-stubs?logo=packagist)](https://packagist.org/packages/skaut/wordpress-stubs) +[![Packagist License](https://img.shields.io/packagist/l/skaut/wordpress-stubs)](https://github.com/skaut/wordpress-stubs/blob/master/LICENSE) +![Packagist Dependency Version](https://img.shields.io/packagist/dependency-v/skaut/wordpress-stubs/php?logo=php) This repo contains stubs for WordPress functions and classes to be used with [phan](https://github.com/phan/phan) or [phpstan](https://phpstan.org/). This allows for better type-checking of a codebase as the stubs all have type information.