Skip to content

Commit 2f76c8d

Browse files
authored
Merge branch 'master' into feature/table-of-contents
2 parents bff9630 + 82b202e commit 2f76c8d

17 files changed

+160
-364
lines changed

.github/dependabot.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "composer"
4+
directory: "/"
5+
schedule:
6+
interval: weekly

composer.lock

+103-359
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/_authors/crell.twig

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
22
title: Larry Garfield
33
identifier: crell
4-
twitter: Crell
54
avatar: /img/blog/avatars/larry-garfield.jpg
6-
bio: Larry Garfield is an aspiring blacksmith who moonlights as Director of Developer Experience for Platform.sh. Since 2017 he has been a member of the PHP-FIG Core Committee. PSR-8 compatible.
5+
bio: Larry Garfield is an aspiring blacksmith who moonlights as a Staff Engineer for LegalZoom. Since 2017 he has been a member of the PHP-FIG Core Committee. PSR-8 compatible.
76
use:
87
- posts
98
---

source/_bylaws/010-funding.twig

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Funding
3+
markdown_source: fig-standards/bylaws/010-funding.md
4+
use: [bylaws]
5+
---
6+
7+
{{ parent() }}

source/_pages/psr.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: PHP Standards Recommendations
33
---
44

5-
<div class="markdown">
5+
<div class="markdown psr_index">
66
{% set index = include('fig-standards/PSR.md') %}
77
{{ index | processLinks | markdown }}
88
</div>

source/_psr/psr-0-meta.twig

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
psr_number: psr-0
3+
permalink: /psr/psr-0/meta
4+
title: 'PSR-0 Meta Document'
5+
markdown_source: fig-standards/accepted/PSR-0.md
6+
related:
7+
- { name: 'PSR-0: Autoloading Standard (deprecated)', permalink: /psr/psr-0/ }
8+
- { name: 'PSR-4: Autoloading Standard', permalink: /psr/psr-4/ }
9+
- { name: 'PSR-0 Meta Document' }
10+
---
11+
12+
{{ parent() }}

source/_psr/psr-0.twig

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ title: 'PSR-0: Autoloading Standard'
55
markdown_source: fig-standards/accepted/PSR-0.md
66
related:
77
- { name: 'PSR-0: Autoloading Standard' }
8+
- { name: 'PSR-4: Autoloading Standard', permalink: /psr/psr-4/ }
9+
- { name: 'PSR-0 Meta Document', permalink: /psr/psr-0/meta }
810
---
911

1012
{{ parent() }}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
psr_number: psr-1
3+
permalink: /psr/psr-1/meta
4+
title: 'PSR-1 Meta Document'
5+
markdown_source: fig-standards/accepted/PSR-1-basic-coding-standard-meta.md
6+
related:
7+
- { name: 'PSR-1: Basic Coding Standard', permalink: /psr/psr-1/ }
8+
- { name: 'PSR-1 Meta Document' }
9+
---
10+
11+
{{ parent() }}

source/_psr/psr-1-basic-coding-standard.twig

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ title: 'PSR-1: Basic Coding Standard'
55
markdown_source: fig-standards/accepted/PSR-1-basic-coding-standard.md
66
related:
77
- { name: 'PSR-1: Basic Coding Standard' }
8+
- { name: 'PSR-1 Meta Document', permalink: /psr/psr-1/meta }
89
---
910

1011
{{ parent() }}

source/_psr/psr-12-extended-coding-style-meta.twig

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ title: 'PSR-12: Extended Coding Style'
55
markdown_source: fig-standards/accepted/PSR-12-extended-coding-style-guide-meta.md
66
related:
77
- { name: 'PSR-12: Extended Coding Style', permalink: /psr/psr-12/ }
8+
- { name: 'PER Coding Style', permalink: /per/coding-style/ }
89
- { name: 'PSR-12 Meta Document' }
910
---
1011

source/_psr/psr-12-extended-coding-style.twig

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ title: 'PSR-12: Extended Coding Style'
55
markdown_source: fig-standards/accepted/PSR-12-extended-coding-style-guide.md
66
related:
77
- { name: 'PSR-12: Extended Coding Style' }
8+
- { name: 'PER Coding Style', permalink: /per/coding-style/ }
89
- { name: 'PSR-12 Meta Document', permalink: /psr/psr-12/meta }
910
---
1011

source/_psr/psr-2-coding-style-guide-meta.twig

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ title: 'PSR-2 Meta Document'
55
markdown_source: fig-standards/accepted/PSR-2-coding-style-guide-meta.md
66
related:
77
- { name: 'PSR-2: Coding Style Guide', permalink: /psr/psr-2/ }
8+
- { name: 'PSR-12: Extended Coding Style', permalink: /psr/psr-12/ }
9+
- { name: 'PER Coding Style', permalink: /per/coding-style/ }
810
- { name: 'PSR-2 Meta Document' }
911
---
1012

source/_psr/psr-2-coding-style-guide.twig

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ title: 'PSR-2: Coding Style Guide'
55
markdown_source: fig-standards/accepted/PSR-2-coding-style-guide.md
66
related:
77
- { name: 'PSR-2: Coding Style Guide' }
8+
- { name: 'PSR-12: Extended Coding Style', permalink: /psr/psr-12/ }
9+
- { name: 'PER Coding Style', permalink: /per/coding-style/ }
810
- { name: 'PSR-2 Meta Document', permalink: /psr/psr-2/meta }
911
---
1012

source/_sass/all.scss

+1
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@
3030
@import "blocks/author";
3131
@import "blocks/sidebar";
3232
@import "blocks/psr_translation_disclaimer";
33+
@import "blocks/psr_index";

source/_sass/blocks/psr_index.scss

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.psr_index {
2+
table tbody tr td:first-of-type {
3+
width: 5%;
4+
}
5+
table tbody tr td:nth-of-type(2) {
6+
min-width: 40%;
7+
}
8+
}

source/index.twig

-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ interface RequestInterface extends MessageInterface
133133
<ul class="home_features__links">
134134
<li><a class="home_features__link" href="/per/coding-style/">PER Coding Style</a></li>
135135
<li><a class="home_features__link" href="/psr/psr-1/">PSR-1: Basic Coding Standard</a></li>
136-
<li><a class="home_features__link" href="/psr/psr-12/">PSR-12: Extended Coding Style Guide</a></li>
137136
</ul>
138137
</div>
139138
<div class="home_features__editor">

0 commit comments

Comments
 (0)