Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
chore: phpunitgen end of life
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-thebaud committed Apr 18, 2024
1 parent a7d6fa3 commit 087962f
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 17 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
<a href="https://sonarcloud.io/dashboard?id=paul-thebaud_phpunitgen-webapp" target="_blank"><img src="https://sonarcloud.io/api/project_badges/measure?project=paul-thebaud_phpunitgen-webapp&metric=coverage" alt="Coverage"></a>
</p>

## :warning: PhpUnitGen end of life

After 7 years of existence, PhpUnitGen is not maintained anymore.
[Read the post](https://github.com/paul-thebaud/phpunitgen-core/issues/32)

## Installation

The CLI tool can be installed using:
Expand Down
6 changes: 4 additions & 2 deletions resources/ts/lang/en/views/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ export default {
"title": "Welcome to PhpUnitGen",
"description": "PhpUnitGen is a simple, powerful and modular tool to generate your PHP unit test templates.",
"open-source": "It is a free and open-source software.",
"new_title": "New",
"new_text": "PHP 8 and Laravel 9 compatibility!",
"end-of-life": {
"text": "End of life: PhpUnitGen website will shutdown soon.",
"action": "Read the post"
}
},
"actions": {
"online": "Use online",
Expand Down
6 changes: 4 additions & 2 deletions resources/ts/lang/fr/views/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ export default {
"title": "Bienvenue sur PhpUnitGen",
"description": "PhpUnitGen est un outil simple, puissant et modulaire pour générer vos squelettes de tests unitaires PHP.",
"open-source": "C'est un logiciel gratuit et open-source.",
"new_title": "Nouveau",
"new_text": "Compatible avec PHP 8 et Laravel 9 !",
"end-of-life": {
"text": "Fin de vie: le site de PhpUnitGen se désactivé prochainement.",
"action": "Lire l'article"
}
},
"actions": {
"online": "Utiliser en ligne",
Expand Down
25 changes: 12 additions & 13 deletions resources/ts/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
<div class="home-container">
<div class="home-wrapper">
<BContainer class="text-center">
<div style="border-radius: 16px; padding: 16px; background: var(--danger-bg-color); color: var(--danger-color);">
{{ $t("views.home.welcome.end-of-life.text") }}
<a
href="https://github.com/paul-thebaud/phpunitgen-core/issues/32"
target="_blank"
rel="noopener"
style="color: var(--danger-color); text-decoration: underline;"
>
{{ $t("views.home.welcome.end-of-life.action") }}
</a>
</div>

<div class="home-title">
{{ $t("views.home.welcome.title") }}
</div>
Expand All @@ -12,19 +24,6 @@
{{ $t("views.home.welcome.open-source") }}
</div>

<div class="mt-2">
<BBadge
class="mr-1"
variant="primary"
pill
>
{{ $t("views.home.welcome.new_title") }}
</BBadge>
<strong>
{{ $t("views.home.welcome.new_text") }}
</strong>
</div>

<BRow class="home-actions justify-content-center">
<div class="mx-2 text-md-right d-block w-100 w-md-auto">
<BButton
Expand Down

0 comments on commit 087962f

Please sign in to comment.