MathiasReker
40a46455bd
Self static accessor
...
Inside a final class or anonymous class self should be preferred to static.
2022-06-16 21:10:57 +02:00
Mario Simão
56970cc221
style: Adopt PSR12
...
Dev dependency flyeralarm/php-code-validator has been removed.
Closes #444
2021-10-01 10:26:04 -03:00
Ali Nazari
8d87391aa1
re-add __clone
...
I re-added the `__clone` method which removed in the last commit.
2021-04-30 01:22:29 +04:30
Dominik Liebler
4678b5d86f
PHP8
2021-04-12 14:04:45 +02:00
Roman Martinuk
74c96851d1
singleton fix visible __wakeup()
...
1) DesignPatterns\Creational\Singleton\Tests\SingletonTest::testUniqueness
The magic method DesignPatterns\Creational\Singleton\Singleton::__wakeup() must have public visibility
/app/Creational/Singleton/Singleton.php:39
/app/Creational/Singleton/Tests/SingletonTest.php:12
ERRORS!
2021-03-14 20:58:23 +03:00
Dominik Liebler
579a5ac946
update deps & install rector
2019-12-14 13:41:03 +01:00
Dominik Liebler
b3f144c4b2
removed Yoda condition
2019-08-25 20:34:48 +02:00
Dominik Liebler
e02bcea33f
put declare() in the same line as the php tag
2019-08-19 18:11:49 +02:00
Dominik Liebler
de5c0c929c
explicitely set script_types=1
2019-08-17 21:58:04 +02:00
Dominik Liebler
6a98bcb73b
PHP7 Singleton und Multiton
2016-09-22 13:15:24 +02:00
Dominik Liebler
4cf817b143
PHP7 Singleton
2016-09-22 13:07:59 +02:00
Dominik Liebler
fe1f144ec3
Applied fixes from StyleCI
2015-12-21 07:28:20 -05:00
Marius Bogdan
df060dab97
Fixed wrong implementation of Singleton Pattern
2015-12-12 22:44:19 +01:00
Nils Rückmann
2bc3d20e5e
codestyle - remove trailing whitespaces
2015-03-27 12:19:20 +01:00
Antonio Spinelli
7bf6593e3f
it was created the Creational namespace and append its patterns
2014-04-15 22:59:59 -03:00
Antonio Spinelli
2f7837927f
merged from master
2014-04-15 22:07:48 -03:00
Antonio Spinelli
e59d70a0ac
start a restructure
2014-03-21 18:03:45 -03:00