diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 34cf4cb0..0ea1a496 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,6 +1,6 @@ # CONTRIBUTING -We are using [GitHub Actions](https://github.com/features/actions) as a continuous integration system. +We use [GitHub Actions](https://github.com/features/actions) as a continuous integration system. For details, take a look at the following workflow configuration files: @@ -12,9 +12,9 @@ For details, take a look at the following workflow configuration files: ## Coding Standards -We are using [`ergebnis/composer-normalize`](https://github.com/ergebnis/composer-normalize) to normalize `composer.json`. +We use [`ergebnis/composer-normalize`](https://github.com/ergebnis/composer-normalize) to normalize `composer.json`. -We are using [`yamllint`](https://github.com/adrienverge/yamllint) to enforce coding standards in YAML files. +We use [`yamllint`](https://github.com/adrienverge/yamllint) to enforce coding standards in YAML files. If you do not have `yamllint` installed yet, run @@ -24,7 +24,7 @@ brew install yamllint to install `yamllint`. -We are using [`friendsofphp/php-cs-fixer`](https://github.com/FriendsOfPHP/PHP-CS-Fixer) to enforce coding standards in PHP files. +We use [`friendsofphp/php-cs-fixer`](https://github.com/FriendsOfPHP/PHP-CS-Fixer) to enforce coding standards in PHP files. Run @@ -36,7 +36,7 @@ to automatically fix coding standard violations. ## Dependency Analysis -We are using [`maglnet/composer-require-checker`](https://github.com/maglnet/ComposerRequireChecker) to prevent the use of unknown symbols in production code. +We use [`maglnet/composer-require-checker`](https://github.com/maglnet/ComposerRequireChecker) to prevent the use of unknown symbols in production code. Run @@ -48,7 +48,7 @@ to run a dependency analysis. ## Mutation Tests -We are using [`infection/infection`](https://github.com/infection/infection) to ensure a minimum quality of the tests. +We use [`infection/infection`](https://github.com/infection/infection) to ensure a minimum quality of the tests. Enable `Xdebug` and run @@ -60,7 +60,7 @@ to run mutation tests. ## Refactoring -We are using [`rector/rector`](https://github.com/rectorphp/rector) to automatically refactor code. +We use [`rector/rector`](https://github.com/rectorphp/rector) to automatically refactor code. Run @@ -72,7 +72,7 @@ to automatically refactor code. ## Security Analysis -We are using [`composer`](https://github.com/composer/composer) to run a security analysis. +We use [`composer`](https://github.com/composer/composer) to run a security analysis. Run @@ -84,7 +84,7 @@ to run a security analysis. ## Static Code Analysis -We are using [`phpstan/phpstan`](https://github.com/phpstan/phpstan) and [`vimeo/psalm`](https://github.com/vimeo/psalm) to statically analyze the code. +We use [`phpstan/phpstan`](https://github.com/phpstan/phpstan) and [`vimeo/psalm`](https://github.com/vimeo/psalm) to statically analyze the code. Run @@ -94,7 +94,7 @@ make static-code-analysis to run a static code analysis. -We are also using the baseline features of [`phpstan/phpstan`](https://phpstan.org/user-guide/baseline) and [`vimeo/psalm`](https://psalm.dev/docs/running_psalm/dealing_with_code_issues/#using-a-baseline-file). +We also use the baseline features of [`phpstan/phpstan`](https://phpstan.org/user-guide/baseline) and [`vimeo/psalm`](https://psalm.dev/docs/running_psalm/dealing_with_code_issues/#using-a-baseline-file). Run @@ -108,7 +108,7 @@ to regenerate the baselines in [`../phpstan-baseline.neon`](../phpstan-baseline. ## Tests -We are using [`phpunit/phpunit`](https://github.com/sebastianbergmann/phpunit) to drive the development. +We use [`phpunit/phpunit`](https://github.com/sebastianbergmann/phpunit) to drive the development. Run diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index 7abbedc3..da211c1e 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -3,17 +3,12 @@ version: 2 updates: - - commit-message: + - allow: + - dependency-type: "development" + commit-message: include: "scope" prefix: "composer" directory: "/" - ignore: - - dependency-name: "doctrine/annotations" - - dependency-name: "doctrine/collections" - - dependency-name: "doctrine/dbal" - - dependency-name: "doctrine/orm" - - dependency-name: "doctrine/persistence" - - dependency-name: "fakerphp/faker" labels: - "dependency" open-pull-requests-limit: 10 diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 603eaed8..722652cd 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -199,7 +199,7 @@ jobs: trust-gpg-keys: "0x033E5F8D801A2F8D" - name: "Run maglnet/composer-require-checker" - run: ".phive/composer-require-checker check --config-file=$(pwd)/composer-require-checker.json" + run: ".phive/composer-require-checker check --ansi --config-file=$(pwd)/composer-require-checker.json --verbose" mutation-tests: name: "Mutation Tests" @@ -276,7 +276,7 @@ jobs: uses: "shivammathur/setup-php@2.28.0" with: coverage: "none" - extensions: "none, ctype, curl, dom, intl, json, mbstring, pdo, pdo_sqlite, phar, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, ctype, curl, dom, json, mbstring, pdo, pdo_sqlite, phar, simplexml, tokenizer, xml, xmlwriter" php-version: "${{ matrix.php-version }}" - name: "Set up problem matchers for PHP" diff --git a/.phive/phars.xml b/.phive/phars.xml index ec14a996..f346d4ee 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,4 +1,4 @@ - + diff --git a/Makefile b/Makefile index 587caac3..1a483e1f 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ coding-standards: vendor ## Lints YAML files with yamllint, normalizes composer. .PHONY: dependency-analysis dependency-analysis: phive vendor ## Runs a dependency analysis with maglnet/composer-require-checker - .phive/composer-require-checker check --config-file=$(shell pwd)/composer-require-checker.json + .phive/composer-require-checker check --config-file=$(shell pwd)/composer-require-checker.json --verbose .PHONY: doctrine doctrine: vendor ## Shows and validates Docrine mapping information diff --git a/README.md b/README.md index a55c3756..63f96939 100644 --- a/README.md +++ b/README.md @@ -1229,7 +1229,7 @@ The maintainers of this package suggest following the [contribution guide](.gith ## Code of Conduct -The maintainers of this package ask contributors to follow the [code of conduct](.github/CODE_OF_CONDUCT.md). +The maintainers of this package ask contributors to follow the [code of conduct](https://github.com/ergebnis/.github/blob/main/CODE_OF_CONDUCT.md). ## General Support Policy diff --git a/psalm-baseline.xml b/psalm-baseline.xml index a67007f9..2da04560 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + height