From e1ff2381d71abfe05600b32f6cc305e4cd1e6878 Mon Sep 17 00:00:00 2001 From: Joao Gilberto Magalhaes Date: Sun, 21 May 2023 15:05:28 -0500 Subject: [PATCH] Release 4.9.0 --- .github/workflows/phpunit.yml | 8 +------- README.md | 3 +-- phpunit.xml.dist | 4 ++-- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 75c019a..26799fb 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -8,8 +8,6 @@ on: pull_request: branches: - master - schedule: - - cron: "0 8 * * 1" jobs: Build: @@ -22,10 +20,6 @@ jobs: - "8.0" - "7.4" - "7.3" - - "7.2" - - "7.1" -# - "7.0" -# - "5.6" steps: - uses: actions/checkout@v3 @@ -40,4 +34,4 @@ jobs: DOC_GITHUB_TOKEN: '${{ secrets.DOC_TOKEN }}' steps: - uses: actions/checkout@v3 - - run: curl https://opensource.byjg.com/add-doc.sh | bash /dev/stdin php singleton \ No newline at end of file + - run: curl https://opensource.byjg.com/add-doc.sh | bash /dev/stdin php singleton diff --git a/README.md b/README.md index 5d96d6b..0c7e1e4 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,6 @@ class Example **REMEMBER:** Your class cannot have a public constructor. If it is necessary, use a private or protected constructor instead. Singleton classes does not have arguments in the constructor; - ## Use your class ```php @@ -34,7 +33,7 @@ $example = Example::getInstance(); ## Install ``` -composer require "byjg/singleton-pattern=~1.0" +composer require "byjg/singleton-pattern=4.9.*" ``` ## References diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 3621f92..d5df793 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -26,11 +26,11 @@ and open the template in the editor. ./src - + ./tests/ - +