File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change
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
+ +----------------------+---------------------------------------------------------------------------------+
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ Components
3
3
4
4
PHP++ id a set of reusable components. You can use all of them of just the one you need.
5
5
6
- `` -contracts `` components
7
- -------------------------
6
+ Contracts components
7
+ --------------------
8
8
9
9
When it's possible, a component has it's counterpart ``-contract `` with only interfaces.
10
10
@@ -16,6 +16,7 @@ Example:
16
16
17
17
.. code-block :: php
18
18
:emphasize-lines: 3
19
+
19
20
// You need a StringCollection to work with it,
20
21
// don't use StringCollection but StringCollectionInterface
21
22
function foo(StringCollectionInterface $strings): void
@@ -39,8 +40,8 @@ Components
39
40
Development components
40
41
----------------------
41
42
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
+ +-------------------------------------------------------------------------------+
You can’t perform that action at this time.
0 commit comments