Skip to content

Commit f763070

Browse files
committed
Remove extra lines
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
1 parent 526fbe2 commit f763070

24 files changed

+0
-75
lines changed

LICENSE-CC.md

-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,6 @@ BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
294294
License is not intended to restrict the license of any rights under
295295
applicable law.
296296

297-
298297
Creative Commons Notice
299298

300299
Creative Commons is not a party to this License, and makes no warranty

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ audience is each other, but we’re very aware that the rest of the PHP communit
77
is watching. If other folks want to adopt what we’re doing they are welcome to
88
do so, but that is not the aim.
99

10-
1110
Proposing a Standard Recommendation
1211
------------------------------------
1312

@@ -59,7 +58,6 @@ may vary, but it is consistent within the same specification). The PHP FIG does
5958
offer official translations into other languages but other external entities are free
6059
to translate the specifications in accordance with the license.
6160

62-
6361
Voting Members
6462
--------------
6563

accepted/PSR-1-basic-coding-standard.md

-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ interpreted as described in [RFC 2119].
1212
[PSR-0]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
1313
[PSR-4]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md
1414

15-
1615
## 1. Overview
1716

1817
- Files MUST use only `<?php` and `<?=` tags.
@@ -31,7 +30,6 @@ interpreted as described in [RFC 2119].
3130

3231
- Method names MUST be declared in `camelCase`.
3332

34-
3533
## 2. Files
3634

3735
### 2.1. PHP Tags
@@ -99,7 +97,6 @@ if (! function_exists('bar')) {
9997
}
10098
~~~
10199

102-
103100
## 3. Namespace and Class Names
104101

105102
Namespaces and classes MUST follow an "autoloading" PSR: [[PSR-0], [PSR-4]].

accepted/PSR-11-container-meta.md

-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ At the time of writing, the following projects already implement and/or consume
335335

336336
This list is not comprehensive and should be only taken as an example showing that there is considerable interest in the PSR.
337337

338-
339338
9. People
340339
---------
341340
### 9.1 Editors

accepted/PSR-13-links.md

-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ interpreted as described in [RFC 2119](http://tools.ietf.org/html/rfc2119).
2222
- [IANA Link Relations Registry](http://www.iana.org/assignments/link-relations/link-relations.xhtml)
2323
- [Microformats Relations List](http://microformats.org/wiki/existing-rel-values#HTML5_link_type_extensions)
2424

25-
2625
## 1. Specification
2726

2827
### 1.1 Basic links
@@ -42,7 +41,6 @@ specification.
4241
* **Serializer** - A library or other system that takes one or more Link objects and produces
4342
a serialized representation of it in some defined format.
4443

45-
4644
### 1.2 Attributes
4745

4846
All links MAY include zero or more additional attributes beyond the URI and relationship.
@@ -257,7 +255,6 @@ interface EvolvableLinkInterface extends LinkInterface
257255
*/
258256
public function withAttribute($attribute, $value);
259257

260-
261258
/**
262259
* Returns an instance with the specified attribute excluded.
263260
*

accepted/PSR-16-simple-cache-meta.md

-6
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@ means libraries can drop their own caching implementations and easily rely
1010
on the one given to them by the framework, or another dedicated cache
1111
library the user picked.
1212

13-
1413
2. Why Bother?
1514
--------------
1615

1716
PSR-6 solves this problem already, but in a rather formal and verbose way for
1817
what the most simple use cases need. This simpler approach aims to build a
1918
standardized layer of simplicity on top of the existing PSR-6 interfaces.
2019

21-
2220
3. Scope
2321
--------
2422

@@ -35,7 +33,6 @@ standardized layer of simplicity on top of the existing PSR-6 interfaces.
3533

3634
* Solving all possible edge cases, PSR-6 does this well already.
3735

38-
3936
4. Approaches
4037
-------------
4138

@@ -44,7 +41,6 @@ only by the most simple cases. It does not have to be implementable by all
4441
possible cache backends, nor be usable for all usages. It is merely a layer
4542
of convenience on top of PSR-6.
4643

47-
4844
5. People
4945
---------
5046

@@ -68,14 +64,12 @@ For being an early reviewer
6864

6965
* Daniel Messenger (@dannym87)
7066

71-
7267
6. Votes
7368
--------
7469

7570
* **Entrance Vote:** https://groups.google.com/d/topic/php-fig/vyQTKHS6pJ8/discussion
7671
* **Acceptance Vote:** https://groups.google.com/d/msg/php-fig/A8e6GvDRGIk/HQBJGEhbDQAJ
7772

78-
7973
7. Relevant Links
8074
-----------------
8175

accepted/PSR-16-simple-cache.md

-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ Compatibility with them is simply used as a baseline for acceptable object value
115115
If it is not possible to return the exact saved value for any reason, implementing
116116
libraries MUST respond with a cache miss rather than corrupted data.
117117

118-
119118
# 2. Interfaces
120119

121120
## 2.1 CacheInterface

accepted/PSR-2-coding-style-guide-meta.md

-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@ The style rules herein are derived from commonalities among the various member p
99
collaborate across multiple projects, it helps to have one set of guidelines to be used among all those
1010
projects. Thus, the benefit of this guide is not in the rules themselves, but in the sharing of those rules.
1111

12-
1312
## 2. Votes
1413

1514
- **Acceptance Vote:** [ML](https://groups.google.com/d/msg/php-fig/c-QVvnZdMQ0/TdDMdzKFpdIJ)
1615

17-
1816
## 3. Errata
1917

2018
### 3.1 - Multi-line Arguments (09/08/2013)

accepted/PSR-2-coding-style-guide.md

-9
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ interpreted as described in [RFC 2119].
2020
[PSR-0]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
2121
[PSR-1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md
2222

23-
2423
## 1. Overview
2524

2625
- Code MUST follow a "coding style guide" PSR [[PSR-1]].
@@ -132,8 +131,6 @@ The PHP constants `true`, `false`, and `null` MUST be in lower case.
132131

133132
[keywords]: http://php.net/manual/en/reserved.keywords.php
134133

135-
136-
137134
## 3. Namespace and Use Declarations
138135

139136
When present, there MUST be one blank line after the `namespace` declaration.
@@ -159,7 +156,6 @@ use OtherVendor\OtherPackage\BazClass;
159156

160157
~~~
161158

162-
163159
## 4. Classes, Properties, and Methods
164160

165161
The term "class" refers to all classes, interfaces, and traits.
@@ -372,7 +368,6 @@ The body of each structure MUST be enclosed by braces. This standardizes how
372368
the structures look, and reduces the likelihood of introducing errors as new
373369
lines get added to the body.
374370

375-
376371
### 5.1. `if`, `elseif`, `else`
377372

378373
An `if` structure looks like the following. Note the placement of parentheses,
@@ -393,7 +388,6 @@ if ($expr1) {
393388
The keyword `elseif` SHOULD be used instead of `else if` so that all control
394389
keywords look like single words.
395390

396-
397391
### 5.2. `switch`, `case`
398392

399393
A `switch` structure looks like the following. Note the placement of
@@ -422,7 +416,6 @@ switch ($expr) {
422416
}
423417
~~~
424418

425-
426419
### 5.3. `while`, `do while`
427420

428421
A `while` statement looks like the following. Note the placement of
@@ -590,7 +583,6 @@ $foo->bar(
590583
);
591584
~~~
592585

593-
594586
## 7. Conclusion
595587

596588
There are many elements of style and practice intentionally omitted by this
@@ -613,7 +605,6 @@ guide. These include but are not limited to:
613605
Future recommendations MAY revise and extend this guide to address those or
614606
other elements of style and practice.
615607

616-
617608
## Appendix A. Survey
618609

619610
In writing this style guide, the group took a survey of member projects to

accepted/PSR-4-autoloader-meta.md

-7
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ PSR-0, but seeing as their presence in that document is in reference to
120120
transitioning away from PHP 5.2 and previous pseudo-namespacing, it is
121121
acceptable to remove them here as well.
122122

123-
124123
3. Scope
125124
--------
126125

@@ -141,7 +140,6 @@ acceptable to remove them here as well.
141140

142141
- Provide a general transformation algorithm for non-class resources
143142

144-
145143
4. Approaches
146144
-------------
147145

@@ -182,7 +180,6 @@ Cons:
182180
determine where it is in the file system (the "class-to-file" convention
183181
inherited from Horde/PEAR).
184182

185-
186183
### 4.2 Alternative: Stay With PSR-0 Only
187184

188185
Staying with PSR-0 only, although reasonable, does leave us with relatively
@@ -199,7 +196,6 @@ Cons:
199196
- Leaves us with underscores in the class name being honored as directory
200197
separators
201198

202-
203199
### 4.3 Alternative: Split Up Autoloading And Transformation
204200

205201
Beau Simensen and others suggested that the transformation algorithm might be
@@ -234,7 +230,6 @@ PHP versions before 5.3.3 do not strip the leading namespace separator, so
234230
the responsibility to look out for this falls on the implementation. Failing
235231
to strip the leading namespace separator could lead to unexpected behavior.
236232

237-
238233
5. People
239234
---------
240235

@@ -257,7 +252,6 @@ to strip the leading namespace separator could lead to unexpected behavior.
257252
- Paul Dragoonis
258253
- Too many others to name and count
259254

260-
261255
6. Votes
262256
--------
263257

@@ -273,7 +267,6 @@ to strip the leading namespace separator could lead to unexpected behavior.
273267

274268
- 3rd attempt: TBD
275269

276-
277270
7. Relevant Links
278271
-----------------
279272

accepted/PSR-4-autoloader.md

-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD",
44
"SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be
55
interpreted as described in [RFC 2119](http://tools.ietf.org/html/rfc2119).
66

7-
87
## 1. Overview
98

109
This PSR describes a specification for [autoloading][] classes from file
1110
paths. It is fully interoperable, and can be used in addition to any other
1211
autoloading specification, including [PSR-0][]. This PSR also describes where
1312
to place files that will be autoloaded according to the specification.
1413

15-
1614
## 2. Specification
1715

1816
1. The term "class" refers to classes, interfaces, traits, and other similar
@@ -56,7 +54,6 @@ to place files that will be autoloaded according to the specification.
5654
4. Autoloader implementations MUST NOT throw exceptions, MUST NOT raise errors
5755
of any level, and SHOULD NOT return a value.
5856

59-
6057
## 3. Examples
6158

6259
The table below shows the corresponding file path for a given fully qualified

accepted/PSR-6-cache-meta.md

-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ provide the functionality they need. In addition, the developers of caching
1313
libraries themselves face a choice between only supporting a limited number
1414
of frameworks or creating a large number of adapter classes.
1515

16-
1716
2. Why Bother?
1817
--------------
1918

@@ -202,7 +201,6 @@ function load_widgets(array $ids)
202201
* be added by extending implementations.
203202
*/
204203

205-
206204
interface TaggablePoolInterface extends Psr\Cache\CachePoolInterface
207205
{
208206
/**
@@ -293,7 +291,6 @@ do so.
293291

294292
[Acceptance vote on the mailing list](https://groups.google.com/forum/#!msg/php-fig/dSw5IhpKJ1g/O9wpqizWAwAJ)
295293

296-
297294
7. Relevant Links
298295
-----------------
299296

accepted/PSR-6-cache.md

-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ The goal of this PSR is to allow developers to create cache-aware libraries that
2626
can be integrated into existing frameworks and systems without the need for
2727
custom development.
2828

29-
3029
## Definitions
3130

3231
* **Calling Library** - The library or code that actually needs the cache
@@ -92,7 +91,6 @@ items, such as an object destructor, persisting all on save(), a timeout or
9291
max-items check or any other appropriate logic. Requests for a cache item that
9392
has been deferred MUST return the deferred but not-yet-persisted item.
9493

95-
9694
## Data
9795

9896
Implementing libraries MUST support all serializable PHP data types, including:

accepted/PSR-7-http-message.md

-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ interpreted as described in [RFC 2119](http://tools.ietf.org/html/rfc2119).
5757
- [RFC 7230](http://tools.ietf.org/html/rfc7230)
5858
- [RFC 7231](http://tools.ietf.org/html/rfc7231)
5959

60-
6160
## 1. Specification
6261

6362
### 1.1 Messages

bylaws/005-licensing-policies.md

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Licensing Policies
99
functions, interfaces and procedural code), as well as any code inside of
1010
examples, tutorials, supporting documents, website code and the PSRs themselves.
1111

12-
1312
## 2. Documentation
1413

1514
All remaining non-code items must be licensed under the Creative Commons BY 3.0

bylaws/006-psr-amendments.md

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ official PHP FIG GitHub repo `fig-standards`.
2626
as an alternative.
2727
> [PSR-4]: http://php-fig.org/psr/psr-4
2828
29-
3029
## 2. Dependencies
3130

3231
As documents are expected to be replaced rather than amended, dependencies on

proposed/event-manager-meta.md

-9
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,16 @@ Event Dispatching allows developer to inject logic into an application easily.
1212
Many frameworks implement some form of a event dispatching that allows users to
1313
inject functionality with the need to extend classes.
1414

15-
1615
3. Scope
1716
--------
1817

1918
### 3.1 Goals
2019

21-
22-
2320
### 3.2 Non-Goals
2421

25-
26-
2722
4. Approaches
2823
-------------
2924

30-
31-
32-
3325
5. People
3426
---------
3527

@@ -47,7 +39,6 @@ inject functionality with the need to extend classes.
4739

4840
* **Entrance Vote: ** ADD LINK HERE
4941

50-
5142
7. Relevant Links
5243
-----------------
5344

0 commit comments

Comments
 (0)