Skip to content

Commit

Permalink
Merge pull request #104 from Lctrs/feat/bump
Browse files Browse the repository at this point in the history
feat: drop PHP 7 support & sync with template
  • Loading branch information
Lctrs committed May 15, 2023
2 parents cbbd73c + a1d3605 commit a242db6
Show file tree
Hide file tree
Showing 31 changed files with 1,889 additions and 4,898 deletions.
1 change: 1 addition & 0 deletions .editorconfig
Expand Up @@ -8,6 +8,7 @@ insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
indent_size = 2
trim_trailing_whitespace = false

[*.json{,.dist}]
Expand Down
2 changes: 1 addition & 1 deletion .gitattributes
@@ -1,5 +1,4 @@
/.github/ export-ignore
/.tools/ export-ignore
/test/ export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
Expand All @@ -14,4 +13,5 @@
/phpstan-baseline.neon export-ignore
/psalm.xml export-ignore
/psalm-baseline.xml export-ignore
/renovate.json export-ignore
/update-license.php export-ignore
16 changes: 8 additions & 8 deletions .github/CONTRIBUTING.md
Expand Up @@ -21,7 +21,7 @@ We are using [`doctrine/coding-standard`](https://github.com/doctrine-coding-sta
Run

```sh
$ make coding-standards
make coding-standards
```

to automatically fix coding standard violations.
Expand All @@ -33,7 +33,7 @@ We are using [`maglnet/composer-require-checker`](https://github.com/maglnet/Com
Run

```sh
$ make dependency-analysis
make dependency-analysis
```

to run a dependency analysis.
Expand All @@ -45,7 +45,7 @@ We are using [`phpstan/phpstan`](https://github.com/phpstan/phpstan) and [`vimeo
Run

```sh
$ make static-code-analysis
make static-code-analysis
```

to run a static code analysis.
Expand All @@ -55,7 +55,7 @@ We are also using the baseline features of [`phpstan/phpstan`](https://phpstan.o
Run

```sh
$ make static-code-analysis-baseline
make static-code-analysis-baseline
```

to regenerate the baselines in [`../phpstan-baseline.neon`](../phpstan-baseline.neon) and [`../psalm-baseline.xml`](../psalm-baseline.xml).
Expand All @@ -69,7 +69,7 @@ We are using [`phpunit/phpunit`](https://github.com/sebastianbergmann/phpunit) t
Run

```sh
$ make tests
make tests
```

to run all the tests.
Expand All @@ -81,7 +81,7 @@ We are using [`infection/infection`](https://github.com/infection/infection) to
Enable `pcov` or `Xdebug` and run

```sh
$ make mutation-tests
make mutation-tests
```

to run mutation tests.
Expand All @@ -91,7 +91,7 @@ to run mutation tests.
Run

```sh
$ make
make
```

to enforce coding standards, run a dependency analysis, run a static code analysis, and run tests!
Expand All @@ -101,7 +101,7 @@ to enforce coding standards, run a dependency analysis, run a static code analys
:bulb: Run

```sh
$ make help
make help
```

to display a list of available targets with corresponding descriptions.
22 changes: 0 additions & 22 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

8 changes: 0 additions & 8 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

This file was deleted.

27 changes: 0 additions & 27 deletions .github/actions/composer/composer/install/action.yaml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/actions/composer/composer/install/run.sh

This file was deleted.

51 changes: 0 additions & 51 deletions .github/dependabot.yaml

This file was deleted.

35 changes: 15 additions & 20 deletions .github/settings.yml
Expand Up @@ -13,24 +13,21 @@ branches:
require_code_owner_reviews: true
required_approving_review_count: 1
required_status_checks:
contexts:
- "Code Coverage (8.0, locked)"
- "Coding Standards (8.0, locked)"
- "Dependency Analysis (8.0, locked)"
- "Mutation Tests (8.0, locked)"
- "Static Code Analysis (8.0, locked)"
- "Tests (7.3, highest)"
- "Tests (7.3, locked)"
- "Tests (7.3, lowest)"
- "Tests (7.4, highest)"
- "Tests (7.4, locked)"
- "Tests (7.4, lowest)"
- "Tests (8.0, highest)"
- "Tests (8.0, locked)"
- "Tests (8.0, lowest)"
- "Tests (8.1, highest)"
- "Tests (8.1, locked)"
- "Tests (8.1, lowest)"
checks:
- context: "Code Coverage (8.2, locked)"
- context: "Coding Standards (8.2, locked)"
- context: "Dependency Analysis (8.2, locked)"
- context: "Mutation Tests (8.2, locked)"
- context: "Static Code Analysis (8.2, locked)"
- context: "Tests (8.0, highest)"
- context: "Tests (8.0, locked)"
- context: "Tests (8.0, lowest)"
- context: "Tests (8.1, highest)"
- context: "Tests (8.1, locked)"
- context: "Tests (8.1, lowest)"
- context: "Tests (8.2, highest)"
- context: "Tests (8.2, locked)"
- context: "Tests (8.2, lowest)"
strict: false
restrictions: null

Expand Down Expand Up @@ -72,8 +69,6 @@ repository:
default_branch: "master"
delete_branch_on_merge: true
description: "A circular buffer implementation in PHP"
enable_automated_security_fixes: true
enable_vulnerability_alerts: true
has_downloads: true
has_issues: true
has_pages: false
Expand Down

0 comments on commit a242db6

Please sign in to comment.