-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhancement: Synchronize with ergebnis/php-package-template
- Loading branch information
1 parent
af54628
commit 2843d9c
Showing
3 changed files
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,7 +102,6 @@ jobs: | |
coverage: "none" | ||
extensions: "none, ctype, curl, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" | ||
php-version: "${{ matrix.php-version }}" | ||
tools: "phive" | ||
|
||
- name: "Set up problem matchers for PHP" | ||
run: "echo \"::add-matcher::${{ runner.tool_cache }}/php.json\"" | ||
|
@@ -125,13 +124,8 @@ jobs: | |
with: | ||
dependencies: "${{ matrix.dependencies }}" | ||
|
||
- name: "Install dependencies with phive" | ||
uses: "ergebnis/.github/actions/phive/[email protected]" | ||
with: | ||
trust-gpg-keys: "0xC00543248C87FB13,0x033E5F8D801A2F8D" | ||
|
||
- name: "Run ergebnis/composer-normalize" | ||
run: ".phive/composer-normalize --ansi --dry-run" | ||
run: "composer normalize --ansi --dry-run" | ||
|
||
- name: "Create cache directory for friendsofphp/php-cs-fixer" | ||
run: "mkdir -p .build/php-cs-fixer/" | ||
|
@@ -199,7 +193,7 @@ jobs: | |
- name: "Install dependencies with phive" | ||
uses: "ergebnis/.github/actions/phive/[email protected]" | ||
with: | ||
trust-gpg-keys: "0xC00543248C87FB13,0x033E5F8D801A2F8D" | ||
trust-gpg-keys: "0x033E5F8D801A2F8D" | ||
|
||
- name: "Run maglnet/composer-require-checker" | ||
run: ".phive/composer-require-checker check --ansi --config-file=$(pwd)/composer-require-checker.json --verbose" | ||
|
@@ -415,6 +409,12 @@ jobs: | |
with: | ||
dependencies: "${{ matrix.dependencies }}" | ||
|
||
- name: "Create cache directory for phpstan/phpstan" | ||
run: "mkdir -p .build/phpstan/" | ||
|
||
- name: "Run phpstan/phpstan" | ||
run: "vendor/bin/phpstan --ansi --configuration=phpstan.neon --memory-limit=-1" | ||
|
||
- name: "Create cache directory for vimeo/psalm" | ||
run: "mkdir -p .build/psalm/" | ||
|
||
|
@@ -429,6 +429,7 @@ jobs: | |
timeout-minutes: 5 | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php-version: | ||
- "8.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
[![Total Downloads](https://poser.pugx.org/ergebnis/json-normalizer/downloads)](https://packagist.org/packages/ergebnis/json-normalizer) | ||
[![Monthly Downloads](http://poser.pugx.org/ergebnis/json-normalizer/d/monthly)](https://packagist.org/packages/ergebnis/json-normalizer) | ||
|
||
This package provides generic and vendor-specific normalizers for normalizing [JSON documents](https://www.json.org). | ||
This project provides a `composer` package with generic and vendor-specific normalizers for normalizing [JSON documents](https://www.json.org). | ||
|
||
## Installation | ||
|
||
|
@@ -25,14 +25,14 @@ composer require ergebnis/json-normalizer | |
|
||
## Usage | ||
|
||
This package comes with | ||
This project comes with | ||
|
||
- [generic normalizers](#generic-normalizers) | ||
- [vendor-specific normalizers](#vendor-specific-normalizers) | ||
|
||
### Generic normalizers | ||
|
||
This package comes with the following generic normalizers: | ||
This project comes with the following generic normalizers: | ||
|
||
- [`Ergebnis\Json\Normalizer\CallableNormalizer`](#callablenormalizer) | ||
- [`Ergebnis\Json\Normalizer\ChainNormalizer`](#chainnormalizer) | ||
|
@@ -409,7 +409,7 @@ The normalized version will now not have a final new line or any whitespace at t | |
|
||
### Vendor-specific normalizers | ||
|
||
This package comes with the following vendor-specific normalizers: | ||
This project comes with the following vendor-specific normalizers: | ||
|
||
- [`Ergebnis\Json\Normalizer\Vendor\Composer\JsonNormalizer`](#vendorcomposercomposerjsonnormalizer) | ||
|
||
|
@@ -594,35 +594,35 @@ sections, the `Vendor\Composer\VersionConstraintNormalizer` will ensure that | |
|
||
## Changelog | ||
|
||
The maintainers of this package record notable changes to this project in a [changelog](CHANGELOG.md). | ||
The maintainers of this project record notable changes to this project in a [changelog](CHANGELOG.md). | ||
|
||
## Contributing | ||
|
||
The maintainers of this package suggest following the [contribution guide](.github/CONTRIBUTING.md). | ||
The maintainers of this project suggest following the [contribution guide](.github/CONTRIBUTING.md). | ||
|
||
## Code of Conduct | ||
|
||
The maintainers of this package ask contributors to follow the [code of conduct](https://github.com/ergebnis/.github/blob/main/CODE_OF_CONDUCT.md). | ||
The maintainers of this project ask contributors to follow the [code of conduct](.github/CODE_OF_CONDUCT.md). | ||
|
||
## General Support Policy | ||
|
||
The maintainers of this package provide limited support. | ||
The maintainers of this project provide limited support. | ||
|
||
You can support the maintenance of this package by [sponsoring @localheinz](https://github.com/sponsors/localheinz) or [requesting an invoice for services related to this package](mailto:[email protected]?subject=ergebnis/json-normalizer:%20Requesting%20invoice%20for%20services). | ||
You can support the maintenance of this project by [sponsoring @localheinz](https://github.com/sponsors/localheinz) or [requesting an invoice for services related to this project](mailto:[email protected]?subject=ergebnis/json-normalizer:%20Requesting%20invoice%20for%20services). | ||
|
||
## PHP Version Support Policy | ||
|
||
This package supports PHP versions with [active support](https://www.php.net/supported-versions.php). | ||
This project supports PHP versions with [active and security support](https://www.php.net/supported-versions.php). | ||
|
||
The maintainers of this package add support for a PHP version following its initial release and drop support for a PHP version when it has reached its end of active support. | ||
The maintainers of this project add support for a PHP version following its initial release and drop support for a PHP version when it has reached its end of security support. | ||
|
||
## Security Policy | ||
|
||
This package has a [security policy](.github/SECURITY.md). | ||
This project has a [security policy](.github/SECURITY.md). | ||
|
||
## License | ||
|
||
This package uses the [MIT license](LICENSE.md). | ||
This project uses the [MIT license](LICENSE.md). | ||
|
||
## Credits | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters