Permalink
Browse files

Fixed wording.

  • Loading branch information...
1 parent 8a6ca68 commit 0b0310e54722372ede47d8b14b4b7bf61a03fb31 @hype- hype- committed Oct 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.html
View
@@ -140,7 +140,7 @@ <h4 class="subheader">Versioning</h4>
<h3 id="section-contributing-standards">Standards</h3>
<h4 class="subheader">Coding standards</h4>
- <p>We're not making our own - all projects should apply to the <a href="https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md">PSR-2</a> coding standard. There's just a few points to make explicit.</p>
+ <p>We're not making our own - all projects should adhere to the <a href="https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md">PSR-2</a> coding standard. There's just a few points to make explicit.</p>
<ul>
<li>Organize your classes under a single component-level namespace. This namespace should be the same as your component's name, eg. the classes in <a href="http://github.com/xi-project/xi-collections">xi-collections</a> reside under <code>Xi\Collections</code>.</li>
<li>For exceptions, <a href="http://framework.zend.com/wiki/display/ZFDEV2/Proposal+for+Exceptions+in+ZF2">create a component level marker interface</a>, then create concrete classes that implement the marker interface and preferably extend a <a href="http://www.php.net/manual/en/spl.exceptions.php">semantic PHP Exception type</a> instead of the plain <code>Exception</code> class.</li>

0 comments on commit 0b0310e

Please sign in to comment.