Założyć konto, poszukać sobie darmowych/płatnych programów (featured, top charts, wg kategorii).
Plusy:
- wygodnie,
| <?xml version="1.0" encoding="UTF-8"?> | |
| <opml version="1.0"> | |
| <head> | |
| <title>Dawid subscriptions in feedly Cloud</title> | |
| </head> | |
| <body> | |
| <outline text="Symfony" title="Symfony"> | |
| <outline type="rss" text="Webb-On-The-Webb.com" title="Webb-On-The-Webb.com" xmlUrl="http://webb-on-the-web.com/?feed=rss2"/> | |
| <outline type="rss" text="Richard Miller" title="Richard Miller" xmlUrl="http://richardmiller.co.uk/feed/atom/" htmlUrl="http://richardmiller.co.uk"/> |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <ruleset name="MyProject"> | |
| <description>PSR-2 plus extras</description> | |
| <rule ref="PSR2" /> | |
| <!-- Verifies that class members have scope modifiers. --> | |
| <rule ref="Squiz.Scope.MethodScope" /> | |
| <!-- Discourages the use of deprecated functions that are kept in PHP |
| <?php | |
| class BackupManager | |
| { | |
| public function __construct($configOption1, $configOption2); | |
| public function create(Entity $entity); | |
| public function restore(Entity $entity); |
| <?php | |
| class BackupFactory | |
| { | |
| public function __construct($configOption1, $configOption2); | |
| public function create(Entity $entity) | |
| { | |
| return new Backup($configOption1, $configOption2, $entity); | |
| } |
| <?php | |
| class Backup | |
| { | |
| // tworzy backup | |
| public function __construct($configOption1, $configOption2, Entity $entity); | |
| // usuwa backup | |
| public function __destruct(); |
| <?php | |
| // [...] | |
| var_dump(class_exists('Hipchat\Hipchat', true)); // false | |
| // it should detect that the class exists… |
| <?php | |
| // tak jest | |
| $this->add('')->shouldReturn(0); | |
| $this->shouldThrow('Exception')->during('add', [null]); | |
| // a mogłoby być tak | |
| $this->add('')->shouldReturn(0); | |
| $this->add(null)->shouldThrow('Exception'); |
| <?php | |
| return | |
| [ | |
| 'It is initializable' => function () | |
| { | |
| $this->shouldHaveType('StringCalculator'); | |
| }, | |
| 'It requires string input' => function () |
| <?php | |
| return | |
| [ | |
| 'It is initializable' => function ($calculator) | |
| { | |
| $calculator->shouldHaveType('StringCalculator'); | |
| }, | |
| 'It requires string input' => function ($calculator) |