Skip to content

Commit a5d3066

Browse files
committed
Documentation
1 parent c3ca088 commit a5d3066

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
php-pp/code-sniffer
2+
===================
3+
4+
+----------------------+---------------------------------------------------------------------------------+
5+
| Latest version | `dev-master <https://github.com/php-pp/code-sniffer/tree/master>`_ |
6+
+----------------------+---------------------------------------------------------------------------------+
7+
| Source code | `github.com <https://github.com/php-pp/code-sniffer>`_ |
8+
+----------------------+---------------------------------------------------------------------------------+

docs/source/components.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Components
33

44
PHP++ id a set of reusable components. You can use all of them of just the one you need.
55

6-
``-contracts`` components
7-
-------------------------
6+
Contracts components
7+
--------------------
88

99
When it's possible, a component has it's counterpart ``-contract`` with only interfaces.
1010

@@ -16,6 +16,7 @@ Example:
1616

1717
.. code-block:: php
1818
:emphasize-lines: 3
19+
1920
// You need a StringCollection to work with it,
2021
// don't use StringCollection but StringCollectionInterface
2122
function foo(StringCollectionInterface $strings): void
@@ -39,8 +40,8 @@ Components
3940
Development components
4041
----------------------
4142

42-
+----------------------+--------------------------------------------+----------------------------------------------------------------+
43-
| Component | Description | Github |
44-
+======================+============================================+========+=======================================================+
45-
| code-sniffer | Code sniffer for PHP++ code style | `github.com <https://github.com/php-pp/code-sniffer>`_ |
46-
+----------------------+--------------------------------------------+----------------------------------------------------------------+
43+
+-------------------------------------------+-----------------------------------+
44+
| Component | Description |
45+
+===============================================================================+
46+
| `code-sniffer </component/code-sniffer>`_ | Code sniffer for PHP++ code style |
47+
+-------------------------------------------------------------------------------+

0 commit comments

Comments
 (0)