Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/actions/checkout-3
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion authored Sep 1, 2023
2 parents 0330f4b + 684fc3d commit 1dfb29d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@
# misc
.DS_Store
Thumbs.db

# is created during composer install,
# when package is tested
# and not running within ft-platform
/wp-content/
11 changes: 9 additions & 2 deletions .phpcs.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
<?xml version="1.0"?>
<ruleset name="project_urlname">
<description>Coding standards for project_urlname</description>
<!--
<file>.</file> -->

<file>.</file>

<!--
<exclude-pattern>*/bin/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern> -->

<!--
is created during composer install,
when package is tested
and not running within ft-platform
-->
<exclude-pattern>*/wp-content/*</exclude-pattern>

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

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"source": "https://github.com/figuren-theater/project_urlname"
},
"require-dev": {
"figuren-theater/code-quality": "^0"
"figuren-theater/code-quality": "*"
},
"repositories": [
{
Expand Down
7 changes: 6 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ parameters:
excludePaths:
analyse:
- vendor/
# "/wp-content/" is created during composer install,
# when package is tested
# and not running within ft-platform
- wp-content/
- tests/
ignoreErrors:
# Find a nicer way instead of ignoring this Error on every ft-module
# Find a nicer way instead of ignoring this Error on every ft-module
- '#Function Altis\\register_module not found\.#'
- '#Function Figuren_Theater\\get_config not found\.#'

0 comments on commit 1dfb29d

Please sign in to comment.