Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
4a72a0f
[TASK] Update general and theme options
tomwarwick Apr 25, 2023
a3ee752
[TASK] Update version number to 12.4
tomwarwick Apr 25, 2023
b5c3303
[TASK] Update inter-sphinx mapping for 12.4
tomwarwick Apr 26, 2023
218eb14
[Backport 12.4] [TASK] Restore GraphicsMagick or ImageMagick as an op…
github-actions[bot] May 22, 2023
e68dde1
Adjust command for creating a Composer project (#283)
Leeloo5E Jul 18, 2023
cfc2f93
fix: add missing command in steps (#286)
Psypher1 Jul 19, 2023
9ac8c42
[TASK] Overhaul system requirements (#289)
github-actions[bot] Aug 11, 2023
45050cc
[Backport 12.4] Overhaul TYPO3 concepts (#292)
github-actions[bot] Aug 17, 2023
e15fe7a
[Backport 12.4] [Preport] Setup required for introduction package (#296)
github-actions[bot] Aug 18, 2023
b796019
[Backport 12.4] Russian translation (#297)
github-actions[bot] Aug 22, 2023
1c0d604
[Backport 12.4] remove duplicate typo3 setup (#303)
github-actions[bot] Nov 28, 2023
97e98af
[TASK] Remove moving AdditionalConfiguration.php from ddev tab (#305)
github-actions[bot] Nov 29, 2023
b66f3c7
[Backport 12.4] [TASK] Revise installation chapter (#308)
github-actions[bot] Dec 8, 2023
ee07f09
[TASK] PHP extensions "json" and "pcre" are always enabled (#311)
github-actions[bot] Jan 13, 2024
1fe7b95
[TASK] Use recent LTS version (#312)
github-actions[bot] Jan 13, 2024
0b692e9
[BUGFIX] Fix reference syntax (#320)
github-actions[bot] Feb 18, 2024
7c1f492
[BUGFIX] Remove ".rst" endings from menues (#322)
github-actions[bot] Feb 18, 2024
f314177
[BUGFIX] Fix reference syntax (#325)
github-actions[bot] Feb 18, 2024
d604678
[Backport 12.4] [TASK] Add new section Permissions Managment inside G…
github-actions[bot] Feb 28, 2024
b6327a2
[Backport 12.4] [TASK] Add Setting Up BE Groups section for Permissio…
github-actions[bot] Feb 28, 2024
6c2c4e1
[Backport 12.4] [TASK] Split up deployment section (#343)
github-actions[bot] Mar 4, 2024
92f5398
[TASK] Re-order "Installation" sub-sections (#346)
github-actions[bot] Mar 4, 2024
9a8b1b6
[TASK] Move ReleaseIntegrity to a subsection of LegacyInstallation (#…
brotkrueml Mar 4, 2024
85a7fac
[TASK] Streamline "Release integrity" chapter (#349) (#350)
brotkrueml Mar 4, 2024
bedd05a
[TASK] Move "Production settings" to distinct section (#353)
github-actions[bot] Mar 4, 2024
c845263
[TASK] Use text roles in "Release integrity" chapter (#354)
github-actions[bot] Mar 4, 2024
2b7c70d
[TASK] Adjust heading levels in "Release integrity" chapter (#360)
github-actions[bot] Mar 4, 2024
ec58344
[Backport 12.4] [TASK] Add General Recommendation section for Permiss…
github-actions[bot] Mar 5, 2024
61a58ed
[FEATURE] Add environment configuration section (#357)
garvinhicking Mar 7, 2024
e006baf
[TASK] Adjust .editorconfig for Makefile indentation (#363)
github-actions[bot] Mar 12, 2024
133bdb5
[TASK] [Backport] Remove deprecated ddev "--create-docroot" option #364
garvinhicking Mar 15, 2024
b2d4ab6
!!![TASK][BACKPORT 12.4] Render main with PHP based guides-rendering …
linawolf Apr 18, 2024
b9192f7
[Backport 12.4] [TASK] Overhaul start page (#375)
github-actions[bot] Apr 25, 2024
e900933
Overhaul TYPO3 Tutorial Getting Started (#378)
github-actions[bot] Apr 27, 2024
713a6b5
[BUGFIX] Resolve duplicate link anchors (#379)
github-actions[bot] Apr 27, 2024
a9d926b
[TASK] Link to next instructions for Legacy Install section (#380)
mabolek May 1, 2024
5d34308
[BUGFIX] Fix rendering warnings
linawolf May 1, 2024
3aa0cf3
The var folder is not generated by the command. (#381)
github-actions[bot] May 7, 2024
3a22564
docs: Minor updates to DDEV tutorial (#382) (#383)
garvinhicking May 22, 2024
9c33894
[BACKPORT-12.4] Add Bash class to composer command (#384)
franzholz May 31, 2024
f883fac
[BACKPORT 12.4][TASK] Replace deprecated rst constructs (#385)
linawolf Jun 9, 2024
44f32ab
[TASK] Replace external links with composer and t3ext roles (#387)
github-actions[bot] Jun 9, 2024
048c78c
[TASK] Document SQL_MODE requirements / current state (#391)
github-actions[bot] Jun 12, 2024
1abd026
[Backport 12.4] [TASK] Add hint about composer command needing an emp…
github-actions[bot] Jun 13, 2024
ae4e9dc
Activate JIT compiler (#396)
github-actions[bot] Jul 4, 2024
4e69ece
[Update] ExchangeScreenshotsV12 (#399)
github-actions[bot] Jul 4, 2024
2cb4f7f
[BUGFIX] Correct the DDEV configuration command for the current versi…
brotkrueml Aug 2, 2024
61c52be
[TASK] Use keys.openpgp.org in release integrity (#405)
github-actions[bot] Aug 15, 2024
79f5be3
[TASK] Document how to make settings (#413)
github-actions[bot] Sep 24, 2024
1144135
[TASK] Use --minimal-test CLI option for documentation tests (#415)
linawolf Oct 1, 2024
4ef72b1
[Backport 12.4] List answers for typo setup questions as to be used w…
github-actions[bot] Oct 5, 2024
c5372b1
[Backport 12.4] Suggest to start with PHP 8.3 (#419)
linawolf Oct 6, 2024
f01ee4f
[FEATURE] Add information on creating a site (#420)
linawolf Oct 7, 2024
482594c
[Backport][FEATURE] Add basic TypoScript examples
linawolf Oct 7, 2024
4ca4b66
[BUGFIX] Set preferred Core Version to 12.4
linawolf Oct 7, 2024
3ef35e5
Minor language fixes (#424)
github-actions[bot] Oct 8, 2024
e9403c1
[Backport 12.4][FEATURE] Add basic TypoScript examples (#422)
linawolf Oct 8, 2024
68007fb
[Backport 12.4] [FEATURE] Document where to put media and assets. (#444)
github-actions[bot] Oct 10, 2024
7c9968d
[TASK] Move system requirements into installation (#446)
github-actions[bot] Oct 10, 2024
5281cab
[Backport 12.4] [TASK] Move Backend user related pages into UserMange…
github-actions[bot] Oct 10, 2024
758c57b
[Backport 12.4] [TASK] Rename Setup in "First project setup" (#454)
github-actions[bot] Oct 11, 2024
e254ee9
Update Management.rst (#456)
instruccionesaldorso Oct 12, 2024
30bc1a3
[TASK] Move the Fluid introduction information from the site package …
github-actions[bot] Oct 12, 2024
45dfff6
[Backport 12.4] [TASK] Document "How to create a root page" (#467)
github-actions[bot] Oct 16, 2024
c828d41
[TASK] Move the TypoScript introduction page into concepts (#464)
linawolf Oct 16, 2024
9866228
[TASK] Consolidate pages Site Management and SiteRecords (#469)
github-actions[bot] Oct 16, 2024
f48e33c
[TASK] Move Permissions and Usermanagement to TYPO3 explained
linawolf Oct 17, 2024
7e38cc6
[TASK] Move the introduction package into first project (#472)
linawolf Oct 17, 2024
25cad3e
[TASK] Move the assets into TYPO3 concepts (#475)
github-actions[bot] Oct 17, 2024
52531e9
[Backport 12.4] [TASK] Move tuning TYPO3 chapter to TYPO3 Explained (…
github-actions[bot] Oct 18, 2024
0b7c3e7
Move backend and frontend in seperat files (#486)
mkiebele Oct 24, 2024
4e20a0d
Move backend and frontend in seperat files (#486)
linawolf Oct 24, 2024
3bcfa64
feat(TASK): Link to "how to create a root page" (#492)
github-actions[bot] Oct 24, 2024
d3d5b71
[TASK]: Fix link to TYPO3 Concepts (#490)
github-actions[bot] Oct 24, 2024
c56f41b
Remove reference to composer/legacy in installation (#488)
github-actions[bot] Oct 24, 2024
4fc3a3f
[Backport 12.4] [TASK] Description about TCA (#494)
github-actions[bot] Oct 24, 2024
62c5fc9
[TASK] Move legacy installation info to TYPO3 Explained (#497)
github-actions[bot] Oct 25, 2024
de93b13
[TASK] Move automatic deployment to TYPO3 explained
linawolf Oct 25, 2024
6376d51
[TASK] Move automatic System requirements to TYPO3 explained (#502)
github-actions[bot] Oct 25, 2024
12a75e5
[TASK] Condense enviroment config (#505)
github-actions[bot] Oct 25, 2024
03c9bc7
[TASK] Condense Installation Chapters (#508)
github-actions[bot] Oct 25, 2024
df54dc9
[TASK] Move troubleshooting to TYPO3 explained (#512)
froemken Oct 25, 2024
bbf6938
[Backport 12.4] [TASK] Write a chapter on backend login trouble shoot…
github-actions[bot] Oct 25, 2024
1af0e72
[Backport 12.4] [TASK]: Moved extensions to seperat file (#517)
github-actions[bot] Oct 25, 2024
bb1e61d
[TASK] Introduce runTest.sh for unified testing. (#522)
github-actions[bot] Oct 27, 2024
db038f5
[BACKPORT 12.4][TASK] Introduce runTest.sh for unified testing.
linawolf Oct 27, 2024
9e2634d
[TASK] Fix versions for 12.4 testing
linawolf Oct 27, 2024
4f9417a
[Backport 12.4] [TASK] Write information on application context (#523)
github-actions[bot] Oct 28, 2024
34884ea
[TASK] Fix rendering warnings
linawolf Oct 28, 2024
1f5330d
[Backport 12.4] Description on how to create own extension (#529)
github-actions[bot] Oct 31, 2024
0bcec47
[Backport 12.4] Description about Cache and how to clear cache (#526)
github-actions[bot] Oct 31, 2024
560389e
"Edit on GitHub" should always go on main
linawolf Nov 1, 2024
43b3710
[TASK] Link to Getting started: A quick introduction into TypoScript
linawolf Nov 2, 2024
b58b9e2
[Backport 12.4] Add description about project structure (#532)
github-actions[bot] Nov 5, 2024
8c84afd
[Backport 12.4] Adding next steps in first project setup (#540)
github-actions[bot] Nov 6, 2024
73668f5
[Backport 12.4] [Task] Description about how to find extensions and r…
github-actions[bot] Nov 6, 2024
5b379eb
Remove chapter legacy installation from working with extensions (#525)
mkiebele Nov 6, 2024
1dea639
[Task] List of recommended extensions (#536)
mkiebele Nov 6, 2024
1c9297c
[Backport 12.4] Restructure chapters and add missing cards (#543)
github-actions[bot] Nov 8, 2024
b225d11
[BUGFIX] Fix Card Link in Trouble shooting (#548)
github-actions[bot] Nov 11, 2024
daaf9c7
[Backport 12.4] [TASK] Improve Extension concept definitions (#551)
github-actions[bot] Nov 12, 2024
6ed1d12
[TASK] Restore the backend section
linawolf Nov 14, 2024
4fa3251
[Backport 12.4] [TASK] Update Screenshots for backend overview (#558)
github-actions[bot] Nov 15, 2024
469f9c8
Add anchor (#566)
github-actions[bot] Nov 17, 2024
a98369a
[Backport 12.4] [TASK] Write information on List module for Developer…
github-actions[bot] Nov 17, 2024
fdaac44
[Backport 12.4] [TASK] Write information on Page module for Developer…
github-actions[bot] Nov 17, 2024
a2b0cef
[Backport 12.4] [TASK] Update System modules section (#573)
github-actions[bot] Nov 17, 2024
6fbbe6e
[TASK] Create section describing all Admin Tools (#575)
github-actions[bot] Nov 17, 2024
060b76d
[TASK] Update Filelist section (#577)
github-actions[bot] Nov 17, 2024
f4eff4e
[TASK] Update Site management section (#579)
github-actions[bot] Nov 17, 2024
b4530de
[TASK] Add hint for test phase (#581)
github-actions[bot] Nov 18, 2024
1e10f7f
[TASK] Adjust links to TSconfig reference (#589)
github-actions[bot] Nov 20, 2024
45c44da
[Backport 12.4] [TASK] Add description of page TSconfig and user TSc…
github-actions[bot] Dec 1, 2024
24b95ce
[Backport 12.4] [DOC] Rewrite Fluid introduction chapter (#593)
github-actions[bot] Dec 1, 2024
0ea3136
[Backport 12.4] Add mini tutorial about site package builder (#598)
github-actions[bot] Dec 3, 2024
2dfb8a4
[TASK] Recommend pagemachine/searchable extension (#603)
github-actions[bot] Dec 5, 2024
7f22c1a
[Backport 12.4] Add subheadlines and adjust order of recommended exte…
github-actions[bot] Dec 5, 2024
b113719
[Backport 12.4] Add prerequisites at the beginning (#606)
github-actions[bot] Dec 5, 2024
61d59c8
[Backport 12.4] [DOCS] Docker Compose version Attribute Deprecation (…
github-actions[bot] Dec 6, 2024
0e06ffb
[Task] Add link to demo.typo3.org (#620)
github-actions[bot] Dec 6, 2024
900f2b2
[Backport 12.4] Glossary (#623)
github-actions[bot] Dec 6, 2024
356cf89
[Task] Update next steps (#627)
github-actions[bot] Dec 10, 2024
52f753a
[Backport 12.4] [TASK] Add description about how to preview a page (#…
github-actions[bot] Dec 12, 2024
cd4b62d
[Backport 12.4] [TASK] Add description why and when TYPO3 updates sho…
github-actions[bot] Dec 15, 2024
2f2dcf9
[Backport 12.4] Add chapter about TYPO3 Version and which to start (#…
github-actions[bot] Dec 15, 2024
97cbf60
[Backport 12.4] [TASK] Update system requirements chapter #499 (#636)
github-actions[bot] Dec 15, 2024
859a9d3
[Backport 12.4] Add cron job hints to scheduler (#639)
github-actions[bot] Dec 15, 2024
361a471
[TASK] Automatically fix whitespace issues (#643)
github-actions[bot] Dec 18, 2024
8a93678
[TASK] Add info about how to support DDEV (#658)
github-actions[bot] Jan 9, 2025
39f97df
[BUGFIX] Link to the advanced system requirements at TYPO3 Explained …
linawolf Jan 9, 2025
e6d5e94
[Backport 12.4] [FEATURE] How to create administrator accounts (#663)
github-actions[bot] Jan 28, 2025
e958318
[BUGFIX] Fix russian rendering
linawolf Jan 28, 2025
7fd177e
Update link in glossary to fluid partials (#665)
sfroemkenjw Jan 28, 2025
592d96f
remove faulty link text (#668)
github-actions[bot] Feb 2, 2025
48ea61c
[Backport 12.4] fix grammar and typos (TYPO3 concepts) (#671)
github-actions[bot] Feb 7, 2025
1ef34fd
Update CreateSitePackage.rst (#674) (#676)
github-actions[bot] Feb 7, 2025
ebb0df6
[Backport 12.4] Fix Typos in Getting Started Tutorial (#681)
github-actions[bot] Feb 10, 2025
4e2b5e8
Fix typos, grammar and improve wording ("Installation" & "First proje…
glmvc Feb 23, 2025
89bd934
[BUGFIX] Fix link (#686)
github-actions[bot] Feb 23, 2025
0fe6157
[BUGFIX] Fix links to yaml chapter (#691)
github-actions[bot] Feb 28, 2025
1ba7ae5
Remove Attention Box in Getting Started v12.4
linawolf Mar 2, 2025
c9842fc
[Backport 12.4] Correct Bookmark Icon Functionality Description (#700)
github-actions[bot] Apr 16, 2025
08617b1
[BUGFIX] Fix links for TCA concept (#706)
github-actions[bot] Apr 19, 2025
92af141
Fix link syntax (#709)
github-actions[bot] Apr 24, 2025
a6cc076
Fix syntax for Database GUIs link (#712)
github-actions[bot] Apr 24, 2025
f7643f4
[BUGFIX] Correct ref link to "create-root-page" in card footer (#718)
github-actions[bot] Apr 25, 2025
cb8fc7f
[BUGFIX] Add mention of "Enable" in page tree context menu
mabolek Aug 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ trim_trailing_whitespace = true
indent_style = space
indent_size = 4
max_line_length = 80

[Makefile]
# Use tabs for indentation (Makefiles require tabs)
indent_style = tab
59 changes: 59 additions & 0 deletions .github/workflows/apply-precommit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Check and Fix Whitespace on Schedule

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install pre-commit
run: pip install pre-commit

- name: Run pre-commit hooks and apply fixes
id: pre-commit
run: |
# Run pre-commit with auto-fix and ignore exit code
pre-commit run --all-files --hook-stage=manual --show-diff-on-failure || true
# Check if any files were modified
git diff --exit-code || echo "FIX_NEEDED=true" >> $GITHUB_ENV
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create and push changes if needed
if: env.FIX_NEEDED == 'true'
id: create_branch
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
# Create a new branch for the changes
BRANCH_NAME="fix/whitespace-$(date +'%Y%m%d%H%M%S')"
git checkout -b "$BRANCH_NAME"
git add .
git commit -m "fix: apply whitespace fixes"
git push origin "$BRANCH_NAME"
echo "branch_name=$BRANCH_NAME" >> $GITHUB_ENV
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Open Pull Request
if: env.FIX_NEEDED == 'true'
uses: repo-sync/pull-request@v2
with:
source_branch: ${{ env.branch_name }}
destination_branch: ${{ github.ref_name }}
pr_title: "Fix whitespace issues"
pr_body: "This PR automatically applies whitespace fixes."
token: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/test-documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: test documentation

on: [ push, pull_request ]

jobs:
tests:
name: test-documentation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Test if the documentation will render without warnings
run: |
mkdir -p Documentation-GENERATED-temp \
&& docker run --rm --pull always -v $(pwd):/project \
ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --no-progress --minimal-test
46 changes: 46 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: tests

on:
push:
pull_request:

jobs:
lint:
name: Linting
runs-on: ubuntu-latest
strategy:
matrix:
php:
- '8.1'
- '8.2'
- '8.3'
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Lint PHP
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s lint

quality:
name: Quality
runs-on: ubuntu-latest
env:
php: '8.1'
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install testing system
run: Build/Scripts/runTests.sh -p ${{ env.php }} -s composerUpdate

- name: Composer validate
run: Build/Scripts/runTests.sh -p ${{ env.php }} -s composerValidate

- name: Composer normalize
run: Build/Scripts/runTests.sh -p ${{ env.php }} -s composerNormalize -n

- name: CGL
run: Build/Scripts/runTests.sh -n -p ${{ env.php }} -s cgl -n

- name: Lint YAML
run: Build/Scripts/runTests.sh -p ${{ env.php }} -s yamlLint
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@
.webprj
nbproject
Documentation-GENERATED-temp/
/composer.json.testing
/.Build/
/composer.lock
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0 # Use the latest version
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
1 change: 1 addition & 0 deletions Build/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
testing-docker/.env
76 changes: 76 additions & 0 deletions Build/.php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<?php

declare(strict_types=1);

use PhpCsFixer\Config;
use PhpCsFixer\Finder;

return (new Config())
->setFinder(
(new Finder())
->in(__DIR__.'/../Documentation')
)
->setRiskyAllowed(true)
->setRules([
'@DoctrineAnnotation' => true,
// @todo: Switch to @PER-CS2.0 once php-cs-fixer's todo list is done: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7247
'@PER-CS1.0' => true,
'array_indentation' => true,
'array_syntax' => ['syntax' => 'short'],
'cast_spaces' => ['space' => 'none'],
// @todo: Can be dropped once we enable @PER-CS2.0
'concat_space' => ['spacing' => 'one'],
'declare_equal_normalize' => ['space' => 'none'],
'declare_parentheses' => true,
'dir_constant' => true,
// @todo: Can be dropped once we enable @PER-CS2.0
'function_declaration' => [
'closure_fn_spacing' => 'none',
],
'function_to_constant' => ['functions' => ['get_called_class', 'get_class', 'get_class_this', 'php_sapi_name', 'phpversion', 'pi']],
'type_declaration_spaces' => true,
'global_namespace_import' => ['import_classes' => false, 'import_constants' => false, 'import_functions' => false],
'list_syntax' => ['syntax' => 'short'],
// @todo: Can be dropped once we enable @PER-CS2.0
'method_argument_space' => true,
'modernize_strpos' => true,
'modernize_types_casting' => true,
'native_function_casing' => true,
'no_alias_functions' => true,
'no_blank_lines_after_phpdoc' => true,
'no_empty_phpdoc' => true,
'no_empty_statement' => true,
'no_extra_blank_lines' => true,
'no_leading_namespace_whitespace' => true,
'no_null_property_initialization' => true,
'no_short_bool_cast' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_superfluous_elseif' => true,
'no_trailing_comma_in_singleline' => true,
'no_unneeded_control_parentheses' => true,
'no_unused_imports' => true,
'no_useless_nullsafe_operator' => true,
'ordered_imports' => ['imports_order' => ['class', 'function', 'const'], 'sort_algorithm' => 'alpha'],
'php_unit_construct' => ['assertions' => ['assertEquals', 'assertSame', 'assertNotEquals', 'assertNotSame']],
'php_unit_mock_short_will_return' => true,
'php_unit_test_case_static_method_calls' => ['call_type' => 'self'],
'phpdoc_no_access' => true,
'phpdoc_no_empty_return' => true,
'phpdoc_no_package' => true,
'phpdoc_scalar' => true,
'phpdoc_trim' => true,
'phpdoc_types' => true,
'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
'return_type_declaration' => ['space_before' => 'none'],
'single_quote' => true,
'single_space_around_construct' => true,
'single_line_comment_style' => ['comment_types' => ['hash']],
// @todo: Can be dropped once we enable @PER-CS2.0
'single_line_empty_body' => true,
'trailing_comma_in_multiline' => ['elements' => ['arguments', 'arrays', 'match', 'parameters']],
'whitespace_after_comma_in_array' => ['ensure_single_space' => true],
'yoda_style' => ['equal' => false, 'identical' => false, 'less_and_greater' => false],

// We need this for documentation!
'no_useless_else' => false, // We want to preserve else with comments only
]);
Loading