File tree 3 files changed +4
-11
lines changed
3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change 8
8
pull_request :
9
9
branches :
10
10
- master
11
- schedule :
12
- - cron : " 0 8 * * 1"
13
11
14
12
jobs :
15
13
Build :
22
20
- " 8.0"
23
21
- " 7.4"
24
22
- " 7.3"
25
- - " 7.2"
26
- - " 7.1"
27
- # - "7.0"
28
- # - "5.6"
29
23
30
24
steps :
31
25
- uses : actions/checkout@v3
40
34
DOC_GITHUB_TOKEN : ' ${{ secrets.DOC_TOKEN }}'
41
35
steps :
42
36
- uses : actions/checkout@v3
43
- - run : curl https://opensource.byjg.com/add-doc.sh | bash /dev/stdin php singleton
37
+ - run : curl https://opensource.byjg.com/add-doc.sh | bash /dev/stdin php singleton
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ class Example
24
24
** REMEMBER:** Your class cannot have a public constructor. If it is necessary, use a private or protected constructor instead.
25
25
Singleton classes does not have arguments in the constructor;
26
26
27
-
28
27
## Use your class
29
28
30
29
``` php
@@ -34,7 +33,7 @@ $example = Example::getInstance();
34
33
## Install
35
34
36
35
```
37
- composer require "byjg/singleton-pattern=~1.0 "
36
+ composer require "byjg/singleton-pattern=4.9.* "
38
37
```
39
38
40
39
## References
Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ and open the template in the editor.
26
26
<directory >./src</directory >
27
27
</whitelist >
28
28
</filter >
29
-
29
+
30
30
<testsuites >
31
31
<testsuite name =" Test Suite" >
32
32
<directory >./tests/</directory >
33
33
</testsuite >
34
34
</testsuites >
35
-
35
+
36
36
</phpunit >
You can’t perform that action at this time.
0 commit comments