Skip to content

Commit 2fd8886

Browse files
authored
Merge pull request #9 from ergebnis/feature/synchronize
Enhancement: Synchronize with `ergebnis/php-package-template`
2 parents 621084c + b637851 commit 2fd8886

4 files changed

Lines changed: 1 addition & 21 deletions

File tree

.github/settings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ repository:
7777
archived: false
7878
default_branch: "main"
7979
delete_branch_on_merge: true
80-
description: "🎚️ Provides abstractions of version constraints."
80+
description: "🎚️ Provides a composer package with abstractions of version constraints."
8181
enable_automated_security_fixes: true
8282
enable_vulnerability_alerts: true
8383
has_discussions: false

.github/workflows/integrate.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,6 @@ jobs:
179179
- name: "Run ergebnis/composer-normalize"
180180
run: "composer normalize --ansi --dry-run"
181181

182-
- name: "Create cache directory for friendsofphp/php-cs-fixer"
183-
run: "mkdir -p .build/php-cs-fixer/"
184-
185182
- name: "Cache cache directory for friendsofphp/php-cs-fixer"
186183
uses: "actions/cache@v3.3.2"
187184
with:
@@ -349,9 +346,6 @@ jobs:
349346
with:
350347
dependencies: "${{ matrix.dependencies }}"
351348

352-
- name: "Create cache directory for rector/rector"
353-
run: "mkdir -p .build/rector/"
354-
355349
- name: "Cache cache directory for rector/rector"
356350
uses: "actions/cache@v3.3.2"
357351
with:
@@ -461,9 +455,6 @@ jobs:
461455
with:
462456
dependencies: "${{ matrix.dependencies }}"
463457

464-
- name: "Create cache directory for vimeo/psalm"
465-
run: "mkdir -p .build/psalm/"
466-
467458
- name: "Run vimeo/psalm"
468459
run: "vendor/bin/psalm --config=psalm.xml --output-format=github --shepherd --show-info=false --stats --threads=4"
469460

.github/workflows/renew.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ jobs:
5656
with:
5757
dependencies: "${{ matrix.dependencies }}"
5858

59-
- name: "Create cache directory for friendsofphp/php-cs-fixer"
60-
run: "mkdir -p .build/php-cs-fixer"
61-
6259
- name: "Cache cache directory for friendsofphp/php-cs-fixer"
6360
uses: "actions/cache@v3.3.2"
6461
with:

Makefile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@ backward-compatibility-analysis: vendor ## Runs a backward-compatibility analysi
77

88
.PHONY: code-coverage
99
code-coverage: vendor ## Collects coverage from running unit tests with phpunit/phpunit
10-
mkdir -p .build/phpunit/
1110
vendor/bin/phpunit --configuration=test/Unit/phpunit.xml --coverage-text
1211

1312
.PHONY: coding-standards
1413
coding-standards: vendor ## Lints YAML files with yamllint, normalizes composer.json with ergebnis/composer-normalize, and fixes code style issues with friendsofphp/php-cs-fixer
1514
yamllint -c .yamllint.yaml --strict .
1615
composer normalize
17-
mkdir -p .build/php-cs-fixer/
1816
vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --diff --show-progress=dots --verbose
1917

2018
.PHONY: dependency-analysis
@@ -27,17 +25,14 @@ help: ## Displays this list of targets with descriptions
2725

2826
.PHONY: mutation-tests
2927
mutation-tests: vendor ## Runs mutation tests with infection/infection
30-
mkdir -p .build/infection/
3128
vendor/bin/infection --configuration=infection.json
3229

3330
.PHONY: phive
3431
phive: .phive ## Installs dependencies with phive
35-
mkdir -p .build/phive/
3632
PHIVE_HOME=.build/phive phive install --trust-gpg-keys 0x033E5F8D801A2F8D
3733

3834
.PHONY: refactoring
3935
refactoring: vendor ## Runs automated refactoring with rector/rector
40-
mkdir -p .build/rector/
4136
vendor/bin/rector process --config=rector.php
4237

4338
.PHONY: security-analysis
@@ -46,19 +41,16 @@ security-analysis: vendor ## Runs a security analysis with composer
4641

4742
.PHONY: static-code-analysis
4843
static-code-analysis: vendor ## Runs a static code analysis with vimeo/psalm
49-
mkdir -p .build/psalm/
5044
vendor/bin/psalm --config=psalm.xml --clear-cache
5145
vendor/bin/psalm --config=psalm.xml --show-info=false --stats --threads=4
5246

5347
.PHONY: static-code-analysis-baseline
5448
static-code-analysis-baseline: vendor ## Generates a baseline for static code analysis with vimeo/psalm
55-
mkdir -p .build/psalm/
5649
vendor/bin/psalm --config=psalm.xml --clear-cache
5750
vendor/bin/psalm --config=psalm.xml --set-baseline=psalm-baseline.xml
5851

5952
.PHONY: tests
6053
tests: vendor ## Runs unit tests with phpunit/phpunit
61-
mkdir -p .build/phpunit/
6254
vendor/bin/phpunit --configuration=test/Unit/phpunit.xml
6355

6456
vendor: composer.json composer.lock

0 commit comments

Comments
 (0)