Skip to content

Commit 8938b69

Browse files
Refactor structure
1 parent 9064622 commit 8938b69

File tree

37 files changed

+88
-10
lines changed

37 files changed

+88
-10
lines changed

.vscode/extensions.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"recommendations": [
3+
"bmewburn.vscode-intelephense-client",
4+
"editorconfig.editorconfig",
5+
"mehedidracula.php-namespace-resolver",
6+
"valeryanm.vscode-phpsab",
7+
]
8+
}

.vscode/settings.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"editor.formatOnPaste": true,
3+
"editor.formatOnSave": true,
4+
"editor.formatOnType": false,
5+
"editor.detectIndentation": false,
6+
"editor.insertSpaces": false,
7+
"editor.useTabStops": false,
8+
"files.trimFinalNewlines": true,
9+
"files.trimTrailingWhitespace": true,
10+
"files.associations": {
11+
".*intrc": "json"
12+
},
13+
"json.format.enable": true,
14+
"intelephense.environment.documentRoot": "./live/",
15+
"intelephense.format.enable": false,
16+
"phpsab.fixerEnable": true,
17+
"phpsab.executablePathCBF": "./vendor/bin/phpcbf",
18+
"phpsab.executablePathCS": "./vendor/bin/phpcs",
19+
"phpsab.snifferEnable": true,
20+
"phpcs.standard": "PSR2",
21+
"phpsab.snifferMode": "onSave",
22+
"phpsab.debug": true,
23+
"[json]": {
24+
"editor.defaultFormatter": "esbenp.prettier-vscode"
25+
},
26+
"[markdown]": {
27+
"editor.acceptSuggestionOnEnter": "off"
28+
},
29+
"[php]": {
30+
"editor.defaultFormatter": "valeryanm.vscode-phpsab"
31+
}
32+
}

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
![Preview](preview.png)
1+
![Contao CMS – Module collection](teaser.png)
22

33
# Contao CMS
44

55
- [About](#about)
6+
- [Features](#modules)
67
- [How to use](#how-to-use)
7-
- [Modules](#modules)
88

99
<br>
1010

@@ -23,16 +23,11 @@ A collection of small and easy-to-use modules for the Contao OpenSource CMS from
2323

2424
<br><br>
2525

26-
## How to use
27-
28-
Refer to each module own unique readme document. You will also find screenshots and system requirements.
26+
## Features
2927

28+
**Contao Modules**
3029

31-
<br><br>
32-
33-
## Modules
34-
35-
Module features. The numbers behind the titles represent compatible Contao versions.
30+
The numbers behind the titles represent compatible Contao versions.
3631

3732
### TheRemoteCoderContentElements (2+)
3833

@@ -56,3 +51,10 @@ Module features. The numbers behind the titles represent compatible Contao versi
5651
- Extend site structure to allow hiding single pages in custom menus from the templates.
5752
- [Readme »](/TheRemoteCoderPageNavigation/docs/README.md)
5853

54+
55+
<br><br>
56+
57+
## How to use
58+
59+
Refer to each module own unique readme document. You will also find screenshots and system requirements.
60+

composer.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"require-dev": {
3+
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
4+
"roave/security-advisories": "dev-master"
5+
},
6+
"require": {
7+
"squizlabs/php_codesniffer": "*"
8+
}
9+
}

phpcs.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0"?>
2+
<ruleset name="PHPCS">
3+
<description>PHPCS ruleset</description>
4+
5+
<!-- Check files in this directory and subdirectories -->
6+
<file>.</file>
7+
8+
<!-- Prevent sniffs of directories -->
9+
<exclude-pattern>/vendor/</exclude-pattern>
10+
11+
<!-- Flags
12+
p: Show run progress
13+
s: Show sniff codes in all reports
14+
v: Print verbose output
15+
-->
16+
<arg value="psv"/>
17+
18+
<!-- Define default report type -->
19+
<arg name="report" value="summary"/>
20+
21+
<!-- Enable report colors -->
22+
<arg name="colors"/>
23+
24+
<!-- Only check given filetype -->
25+
<arg name="extensions" value="php"/>
26+
27+
</ruleset>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

TheRemoteCoderContentElements/docs/screenshots/addImageTeaser-de.png renamed to src/TheRemoteCoderContentElements/docs/screenshots/addImageTeaser-de.png

File renamed without changes.

0 commit comments

Comments
 (0)