15 Commits

Author SHA1 Message Date
hawk
491e07fbf8 Update User.php
php8.1 test error handle
2021-12-15 08:39:35 +08:00
luke-navitas
b5d7e12b21 bug: enhances example of Observer implementation, with actual change. 2021-11-29 17:06:09 +00: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
Dominik Liebler
4678b5d86f PHP8 2021-04-12 14:04:45 +02:00
Dominik Liebler
579a5ac946 update deps & install rector 2019-12-14 13:41:03 +01: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
9b9eee5a4c PHP7 Observer 2016-09-22 10:54:22 +02:00
Dominik Liebler
fe1f144ec3 Applied fixes from StyleCI 2015-12-21 07:28:20 -05:00
ibandominguez
1a6152772d add visibility declaration to __construct 2015-06-20 20:01:16 +01:00
Bocharsky Victor
db7dab5b0d Replace array storage with SplObjectStorage
If you already use SPL interfaces in your example, maybe better to use `SplObjectStorage` too instead of `array` to store observers with `attach` and `detach` convenient methods?
What do you think?
2015-05-27 21:37:19 +03:00
Nils Rückmann
2bc3d20e5e codestyle - remove trailing whitespaces 2015-03-27 12:19:20 +01:00
dongww
f9f008d5fb Update User.php 2014-06-20 15:36:24 +08:00
Antonio Spinelli
646e0e2fd9 it was created the Behavioral namespace and append its patterns 2014-04-15 22:59:16 -03:00
Antonio Spinelli
e59d70a0ac start a restructure 2014-03-21 18:03:45 -03:00