Skip to content

Commit

Permalink
Merge pull request #3 from byjg/4.9.0
Browse files Browse the repository at this point in the history
Release 4.9.0
  • Loading branch information
byjg committed May 21, 2023
2 parents 9ebbfb8 + e1ff238 commit a3c8aad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/phpunit.yml
Expand Up @@ -8,8 +8,6 @@ on:
pull_request:
branches:
- master
schedule:
- cron: "0 8 * * 1"

jobs:
Build:
Expand All @@ -22,10 +20,6 @@ jobs:
- "8.0"
- "7.4"
- "7.3"
- "7.2"
- "7.1"
# - "7.0"
# - "5.6"

steps:
- uses: actions/checkout@v3
Expand All @@ -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
- run: curl https://opensource.byjg.com/add-doc.sh | bash /dev/stdin php singleton
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -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
Expand All @@ -34,7 +33,7 @@ $example = Example::getInstance();
## Install

```
composer require "byjg/singleton-pattern=~1.0"
composer require "byjg/singleton-pattern=4.9.*"
```

## References
Expand Down
4 changes: 2 additions & 2 deletions phpunit.xml.dist
Expand Up @@ -26,11 +26,11 @@ and open the template in the editor.
<directory>./src</directory>
</whitelist>
</filter>

<testsuites>
<testsuite name="Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>

</phpunit>

0 comments on commit a3c8aad

Please sign in to comment.