Skip to content

Commit

Permalink
Fix CS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed Aug 17, 2023
1 parent c7b91b6 commit db8e29a
Show file tree
Hide file tree
Showing 26 changed files with 2,130 additions and 407 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ Thumbs.db
# when package is tested
# and not running within ft-platform
/wp-content/
/wordpress/
10 changes: 6 additions & 4 deletions .phpcs.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<ruleset name="project_urlname">
<description>Coding standards for project_urlname</description>
<ruleset name="ft-site-editing">
<description>Coding standards for ft-site-editing</description>

<file>.</file>

Expand All @@ -15,17 +15,19 @@
and not running within ft-platform
-->
<exclude-pattern>*/wp-content/*</exclude-pattern>
<exclude-pattern>*/wordpress/*</exclude-pattern>

<!-- Use figuren.theater Coding Standards -->
<rule ref="figurentheater" />

<!--
<!-- Allow to use text-domain strings from required plugins -->
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<element value="figurentheater"/>
<element value="image-source-control-isc"/>
</property>
</properties>
</rule> -->
</rule>

</ruleset>
124 changes: 68 additions & 56 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
{
"name": "figuren-theater/ft-site-editing",
"description": "Packages to improve or extend the editing experience within the WordPress Site Editor (called Gutenberg for a long time) for all sites of the figuren.theater multisite network.",
"homepage": "https://websites.fuer.figuren.theater",
"type": "wordpress-muplugin",
"keywords": ["wordpress", "wordpress-muplugin", "site-editor", "blocks", "block-pattern", "gutenberg"],
"license": "GPL-3.0-or-later",
"type": "wordpress-muplugin",
"keywords": [
"wordpress",
"wordpress-muplugin",
"site-editor",
"blocks",
"block-pattern",
"gutenberg"
],
"authors": [
{
"name": "figuren.theater",
Expand All @@ -17,12 +23,64 @@
"role": "Developer"
}
],
"homepage": "https://websites.fuer.figuren.theater",
"support": {
"email": "[email protected]",
"issues": "https://github.com/figuren-theater/ft-site-editing/issues",
"source": "https://github.com/figuren-theater/ft-site-editing"
},
"require": {
"php": ">=7.2",
"carstingaxion/cbstdsys-post-subtitle": "0.1.1",
"figuren-theater/ft-network-block-editor": "*",
"figuren-theater/ft-network-block-patterns": "^1.0",
"figuren-theater/ft-options": "^1.1",
"wpackagist-plugin/abbreviation-button-for-the-block-editor": "^0.1",
"wpackagist-plugin/block-catalog": "^1.4",
"wpackagist-plugin/block-visibility": "^3",
"wpackagist-plugin/copyright-block": "^0.1",
"wpackagist-plugin/dinosaur-game": "^1.0",
"wpackagist-plugin/embed-block-for-github": "^0.3",
"wpackagist-plugin/gallery-block-lightbox": "^1.12",
"wpackagist-plugin/icon-block": "^1.4",
"wpackagist-plugin/image-source-control-isc": "^2",
"wpackagist-plugin/lang-attribute": "^0.3",
"wpackagist-plugin/markdown-comment-block": "^0.1",
"wpackagist-plugin/newspaper-columns": "^1.0",
"wpackagist-plugin/social-sharing-block": "^0.6",
"wpackagist-plugin/superlist-block": "^0.1",
"wpackagist-plugin/todo-block": "^1.0"
},
"require-dev": {
"figuren-theater/code-quality": "^0.6.6",
"wpackagist-plugin/gutenberg": ">=15.2"
},
"repositories": [
{
"type": "git",
"url": "https://github.com/figuren-theater/ft-options"
},
{
"type": "git",
"url": "https://github.com/figuren-theater/ft-network-block-editor"
},
{
"type": "git",
"url": "https://github.com/figuren-theater/ft-network-block-patterns"
},
{
"type": "git",
"url": "https://github.com/carstingaxion/cbstdsys-post-subtitle"
},
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"autoload": {
"classmap": [
"inc/"
],
"files": [
"inc/abbreviation-button-for-the-block-editor/namespace.php",
"inc/block-catalog/namespace.php",
Expand All @@ -43,54 +101,16 @@
"inc/superlist-block/namespace.php",
"inc/todo-block/namespace.php",
"inc/namespace.php"
],
"classmap": [
"inc/"
]
},
"repositories": [
{
"type": "git",
"url": "https://github.com/figuren-theater/ft-options"
},
{
"type": "git",
"url": "https://github.com/figuren-theater/ft-network-block-editor"
},
{
"type": "git",
"url": "https://github.com/figuren-theater/ft-network-block-patterns"
},
{
"type": "git",
"url": "https://github.com/carstingaxion/cbstdsys-post-subtitle"
},
{
"type": "composer",
"url" : "https://wpackagist.org"
"config": {
"allow-plugins": {
"composer/installers": true,
"johnpbloch/wordpress-core-installer": true,
"phpstan/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true
}
],
"require": {
"php": ">=7.2",
"figuren-theater/ft-options": "^1.1",
"figuren-theater/ft-network-block-editor": "*",
"figuren-theater/ft-network-block-patterns": "^1.0",
"carstingaxion/cbstdsys-post-subtitle": "0.1.1",
"wpackagist-plugin/abbreviation-button-for-the-block-editor":"^0.1",
"wpackagist-plugin/block-catalog":"^1.4",
"wpackagist-plugin/block-visibility":"^3",
"wpackagist-plugin/copyright-block": "^0.1",
"wpackagist-plugin/dinosaur-game": "^1.0",
"wpackagist-plugin/embed-block-for-github":"^0.3",
"wpackagist-plugin/gallery-block-lightbox": "^1.12",
"wpackagist-plugin/icon-block":"^1.4",
"wpackagist-plugin/image-source-control-isc":"^2",
"wpackagist-plugin/lang-attribute":"^0.3",
"wpackagist-plugin/markdown-comment-block":"^0.1",
"wpackagist-plugin/newspaper-columns": "^1.0",
"wpackagist-plugin/social-sharing-block": "^0.6",
"wpackagist-plugin/superlist-block": "^0.1",
"wpackagist-plugin/todo-block": "^1.0"
},
"extra": {
"altis": {
Expand All @@ -115,13 +135,5 @@
"wpackagist-plugin/todo-block"
]
}
},
"config": {
"allow-plugins": {
"composer/installers": true
}
},
"require-dev": {
"wpackagist-plugin/gutenberg": ">=15.2"
}
}
Loading

0 comments on commit db8e29a

Please sign in to comment.