From 2bf6b12a6459c18dd7f23f7512a6f0659a86a32d Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Fri, 11 Mar 2022 18:01:44 -0500 Subject: [PATCH] chore: remove centralizable repo config - Remove .github conf folder from Flarum packages - Remove styleci config from all packages --- .../akismet/.github/workflows/backend.yml | 15 ---- .../akismet/.github/workflows/frontend.yml | 21 ----- extensions/akismet/.styleci.yml | 14 ---- .../approval/.github/workflows/backend.yml | 15 ---- .../approval/.github/workflows/frontend.yml | 21 ----- extensions/approval/.styleci.yml | 14 ---- extensions/bbcode/.styleci.yml | 14 ---- .../embed/.github/workflows/backend.yml | 15 ---- .../embed/.github/workflows/frontend.yml | 21 ----- extensions/embed/.styleci.yml | 14 ---- .../emoji/.github/workflows/backend.yml | 15 ---- .../emoji/.github/workflows/frontend.yml | 21 ----- extensions/emoji/.styleci.yml | 14 ---- .../flags/.github/workflows/backend.yml | 15 ---- .../flags/.github/workflows/frontend.yml | 21 ----- extensions/flags/.styleci.yml | 14 ---- extensions/lang-english/.styleci.yml | 14 ---- .../likes/.github/workflows/backend.yml | 15 ---- .../likes/.github/workflows/frontend.yml | 21 ----- extensions/likes/.styleci.yml | 14 ---- extensions/lock/.github/workflows/backend.yml | 15 ---- .../lock/.github/workflows/frontend.yml | 21 ----- extensions/lock/.styleci.yml | 14 ---- .../markdown/.github/workflows/backend.yml | 15 ---- .../markdown/.github/workflows/frontend.yml | 21 ----- extensions/markdown/.styleci.yml | 14 ---- .../mentions/.github/workflows/backend.yml | 15 ---- .../mentions/.github/workflows/frontend.yml | 21 ----- extensions/mentions/.styleci.yml | 14 ---- .../nicknames/.github/workflows/backend.yml | 15 ---- .../nicknames/.github/workflows/frontend.yml | 21 ----- extensions/nicknames/.styleci.yml | 14 ---- .../.github/workflows/backend.yml | 17 ----- .../.github/workflows/frontend.yml | 23 ------ extensions/package-manager/.styleci.yml | 14 ---- .../pusher/.github/workflows/backend.yml | 15 ---- .../pusher/.github/workflows/frontend.yml | 21 ----- extensions/pusher/.styleci.yml | 14 ---- .../statistics/.github/workflows/backend.yml | 15 ---- .../statistics/.github/workflows/frontend.yml | 23 ------ extensions/statistics/.styleci.yml | 14 ---- .../sticky/.github/workflows/backend.yml | 15 ---- .../sticky/.github/workflows/frontend.yml | 21 ----- extensions/sticky/.styleci.yml | 14 ---- .../.github/workflows/backend.yml | 15 ---- .../.github/workflows/frontend.yml | 21 ----- extensions/subscriptions/.styleci.yml | 14 ---- .../suspend/.github/workflows/backend.yml | 15 ---- .../suspend/.github/workflows/frontend.yml | 21 ----- extensions/suspend/.styleci.yml | 14 ---- extensions/tags/.github/workflows/backend.yml | 15 ---- .../tags/.github/workflows/frontend.yml | 21 ----- extensions/tags/.styleci.yml | 14 ---- .../core/.github/ISSUE_TEMPLATE/bug-report.md | 39 ---------- .../.github/ISSUE_TEMPLATE/feature-request.md | 26 ------- .../ISSUE_TEMPLATE/support-question.md | 11 --- framework/core/.github/stale.yml | 26 ------- framework/core/.github/workflows/backend.yml | 15 ---- .../.github/workflows/codeql-analysis.yml | 76 ------------------- framework/core/.github/workflows/frontend.yml | 23 ------ framework/core/.styleci.yml | 14 ---- php-packages/testing/.styleci.yml | 18 ----- 62 files changed, 1132 deletions(-) delete mode 100644 extensions/akismet/.github/workflows/backend.yml delete mode 100644 extensions/akismet/.github/workflows/frontend.yml delete mode 100644 extensions/akismet/.styleci.yml delete mode 100644 extensions/approval/.github/workflows/backend.yml delete mode 100644 extensions/approval/.github/workflows/frontend.yml delete mode 100644 extensions/approval/.styleci.yml delete mode 100644 extensions/bbcode/.styleci.yml delete mode 100644 extensions/embed/.github/workflows/backend.yml delete mode 100644 extensions/embed/.github/workflows/frontend.yml delete mode 100644 extensions/embed/.styleci.yml delete mode 100644 extensions/emoji/.github/workflows/backend.yml delete mode 100644 extensions/emoji/.github/workflows/frontend.yml delete mode 100644 extensions/emoji/.styleci.yml delete mode 100644 extensions/flags/.github/workflows/backend.yml delete mode 100644 extensions/flags/.github/workflows/frontend.yml delete mode 100644 extensions/flags/.styleci.yml delete mode 100644 extensions/lang-english/.styleci.yml delete mode 100644 extensions/likes/.github/workflows/backend.yml delete mode 100644 extensions/likes/.github/workflows/frontend.yml delete mode 100644 extensions/likes/.styleci.yml delete mode 100644 extensions/lock/.github/workflows/backend.yml delete mode 100644 extensions/lock/.github/workflows/frontend.yml delete mode 100644 extensions/lock/.styleci.yml delete mode 100644 extensions/markdown/.github/workflows/backend.yml delete mode 100644 extensions/markdown/.github/workflows/frontend.yml delete mode 100644 extensions/markdown/.styleci.yml delete mode 100644 extensions/mentions/.github/workflows/backend.yml delete mode 100644 extensions/mentions/.github/workflows/frontend.yml delete mode 100644 extensions/mentions/.styleci.yml delete mode 100644 extensions/nicknames/.github/workflows/backend.yml delete mode 100755 extensions/nicknames/.github/workflows/frontend.yml delete mode 100644 extensions/nicknames/.styleci.yml delete mode 100644 extensions/package-manager/.github/workflows/backend.yml delete mode 100755 extensions/package-manager/.github/workflows/frontend.yml delete mode 100644 extensions/package-manager/.styleci.yml delete mode 100644 extensions/pusher/.github/workflows/backend.yml delete mode 100644 extensions/pusher/.github/workflows/frontend.yml delete mode 100644 extensions/pusher/.styleci.yml delete mode 100644 extensions/statistics/.github/workflows/backend.yml delete mode 100644 extensions/statistics/.github/workflows/frontend.yml delete mode 100644 extensions/statistics/.styleci.yml delete mode 100644 extensions/sticky/.github/workflows/backend.yml delete mode 100644 extensions/sticky/.github/workflows/frontend.yml delete mode 100644 extensions/sticky/.styleci.yml delete mode 100644 extensions/subscriptions/.github/workflows/backend.yml delete mode 100644 extensions/subscriptions/.github/workflows/frontend.yml delete mode 100644 extensions/subscriptions/.styleci.yml delete mode 100644 extensions/suspend/.github/workflows/backend.yml delete mode 100644 extensions/suspend/.github/workflows/frontend.yml delete mode 100644 extensions/suspend/.styleci.yml delete mode 100644 extensions/tags/.github/workflows/backend.yml delete mode 100644 extensions/tags/.github/workflows/frontend.yml delete mode 100644 extensions/tags/.styleci.yml delete mode 100644 framework/core/.github/ISSUE_TEMPLATE/bug-report.md delete mode 100644 framework/core/.github/ISSUE_TEMPLATE/feature-request.md delete mode 100644 framework/core/.github/ISSUE_TEMPLATE/support-question.md delete mode 100644 framework/core/.github/stale.yml delete mode 100644 framework/core/.github/workflows/backend.yml delete mode 100644 framework/core/.github/workflows/codeql-analysis.yml delete mode 100644 framework/core/.github/workflows/frontend.yml delete mode 100644 framework/core/.styleci.yml delete mode 100644 php-packages/testing/.styleci.yml diff --git a/extensions/akismet/.github/workflows/backend.yml b/extensions/akismet/.github/workflows/backend.yml deleted file mode 100644 index 43ea32c86..000000000 --- a/extensions/akismet/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Akismet PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: true - - backend_directory: . \ No newline at end of file diff --git a/extensions/akismet/.github/workflows/frontend.yml b/extensions/akismet/.github/workflows/frontend.yml deleted file mode 100644 index 45c869f58..000000000 --- a/extensions/akismet/.github/workflows/frontend.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Akismet JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: false - enable_prettier: true - enable_typescript: true - - frontend_directory: ./js - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} \ No newline at end of file diff --git a/extensions/akismet/.styleci.yml b/extensions/akismet/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/akismet/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/approval/.github/workflows/backend.yml b/extensions/approval/.github/workflows/backend.yml deleted file mode 100644 index 1209dbab2..000000000 --- a/extensions/approval/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Approval PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: false - - backend_directory: . \ No newline at end of file diff --git a/extensions/approval/.github/workflows/frontend.yml b/extensions/approval/.github/workflows/frontend.yml deleted file mode 100644 index c6d16bd12..000000000 --- a/extensions/approval/.github/workflows/frontend.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Approval JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: false - enable_prettier: true - enable_typescript: false - - frontend_directory: ./js - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} \ No newline at end of file diff --git a/extensions/approval/.styleci.yml b/extensions/approval/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/approval/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/bbcode/.styleci.yml b/extensions/bbcode/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/bbcode/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/embed/.github/workflows/backend.yml b/extensions/embed/.github/workflows/backend.yml deleted file mode 100644 index b723f7d53..000000000 --- a/extensions/embed/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Embed PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: false - - backend_directory: . \ No newline at end of file diff --git a/extensions/embed/.github/workflows/frontend.yml b/extensions/embed/.github/workflows/frontend.yml deleted file mode 100644 index 632190552..000000000 --- a/extensions/embed/.github/workflows/frontend.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Embed JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: false - enable_prettier: true - enable_typescript: false - - frontend_directory: ./js - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} \ No newline at end of file diff --git a/extensions/embed/.styleci.yml b/extensions/embed/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/embed/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/emoji/.github/workflows/backend.yml b/extensions/emoji/.github/workflows/backend.yml deleted file mode 100644 index 8d376fc34..000000000 --- a/extensions/emoji/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Emoji PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: false - - backend_directory: . \ No newline at end of file diff --git a/extensions/emoji/.github/workflows/frontend.yml b/extensions/emoji/.github/workflows/frontend.yml deleted file mode 100644 index 8664b8f05..000000000 --- a/extensions/emoji/.github/workflows/frontend.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Emoji JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: false - enable_prettier: true - enable_typescript: false - - frontend_directory: ./js - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} \ No newline at end of file diff --git a/extensions/emoji/.styleci.yml b/extensions/emoji/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/emoji/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/flags/.github/workflows/backend.yml b/extensions/flags/.github/workflows/backend.yml deleted file mode 100644 index 3948728c3..000000000 --- a/extensions/flags/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Flags PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: true - - backend_directory: . \ No newline at end of file diff --git a/extensions/flags/.github/workflows/frontend.yml b/extensions/flags/.github/workflows/frontend.yml deleted file mode 100644 index 937856413..000000000 --- a/extensions/flags/.github/workflows/frontend.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Flags JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: false - enable_prettier: true - enable_typescript: true - - frontend_directory: ./js - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} \ No newline at end of file diff --git a/extensions/flags/.styleci.yml b/extensions/flags/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/flags/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/lang-english/.styleci.yml b/extensions/lang-english/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/lang-english/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/likes/.github/workflows/backend.yml b/extensions/likes/.github/workflows/backend.yml deleted file mode 100644 index d2f10ce2c..000000000 --- a/extensions/likes/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Likes PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: false - - backend_directory: . \ No newline at end of file diff --git a/extensions/likes/.github/workflows/frontend.yml b/extensions/likes/.github/workflows/frontend.yml deleted file mode 100644 index 652963781..000000000 --- a/extensions/likes/.github/workflows/frontend.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Likes JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: false - enable_prettier: true - enable_typescript: false - - frontend_directory: ./js - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} \ No newline at end of file diff --git a/extensions/likes/.styleci.yml b/extensions/likes/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/likes/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/lock/.github/workflows/backend.yml b/extensions/lock/.github/workflows/backend.yml deleted file mode 100644 index d09a5c1f0..000000000 --- a/extensions/lock/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Lock PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: false - - backend_directory: . \ No newline at end of file diff --git a/extensions/lock/.github/workflows/frontend.yml b/extensions/lock/.github/workflows/frontend.yml deleted file mode 100644 index bc0655d3b..000000000 --- a/extensions/lock/.github/workflows/frontend.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Lock JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: false - enable_prettier: true - enable_typescript: false - - frontend_directory: ./js - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} \ No newline at end of file diff --git a/extensions/lock/.styleci.yml b/extensions/lock/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/lock/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/markdown/.github/workflows/backend.yml b/extensions/markdown/.github/workflows/backend.yml deleted file mode 100644 index 781a021e5..000000000 --- a/extensions/markdown/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Markdown PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: false - - backend_directory: . \ No newline at end of file diff --git a/extensions/markdown/.github/workflows/frontend.yml b/extensions/markdown/.github/workflows/frontend.yml deleted file mode 100644 index f4e4113cb..000000000 --- a/extensions/markdown/.github/workflows/frontend.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Markdown JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: false - enable_prettier: true - enable_typescript: false - - frontend_directory: ./js - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} \ No newline at end of file diff --git a/extensions/markdown/.styleci.yml b/extensions/markdown/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/markdown/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/mentions/.github/workflows/backend.yml b/extensions/mentions/.github/workflows/backend.yml deleted file mode 100644 index 36edc585d..000000000 --- a/extensions/mentions/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Mentions PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: true - - backend_directory: . \ No newline at end of file diff --git a/extensions/mentions/.github/workflows/frontend.yml b/extensions/mentions/.github/workflows/frontend.yml deleted file mode 100644 index b2d284f17..000000000 --- a/extensions/mentions/.github/workflows/frontend.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Mentions JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: false - enable_prettier: true - enable_typescript: false - - frontend_directory: ./js - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} \ No newline at end of file diff --git a/extensions/mentions/.styleci.yml b/extensions/mentions/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/mentions/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/nicknames/.github/workflows/backend.yml b/extensions/nicknames/.github/workflows/backend.yml deleted file mode 100644 index f35a2b985..000000000 --- a/extensions/nicknames/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Nicknames PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: true - - backend_directory: . \ No newline at end of file diff --git a/extensions/nicknames/.github/workflows/frontend.yml b/extensions/nicknames/.github/workflows/frontend.yml deleted file mode 100755 index 856fe8027..000000000 --- a/extensions/nicknames/.github/workflows/frontend.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Nicknames JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: false - enable_prettier: true - enable_typescript: false - - frontend_directory: ./js - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} \ No newline at end of file diff --git a/extensions/nicknames/.styleci.yml b/extensions/nicknames/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/nicknames/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/package-manager/.github/workflows/backend.yml b/extensions/package-manager/.github/workflows/backend.yml deleted file mode 100644 index dfca968ac..000000000 --- a/extensions/package-manager/.github/workflows/backend.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Package Manager PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@as/support-npm-yarn - with: - enable_backend_testing: true - - backend_directory: . - - php_versions: '["7.4", "8.0"]' diff --git a/extensions/package-manager/.github/workflows/frontend.yml b/extensions/package-manager/.github/workflows/frontend.yml deleted file mode 100755 index 6683d6271..000000000 --- a/extensions/package-manager/.github/workflows/frontend.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Package Manager JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@as/support-npm-yarn - with: - enable_bundlewatch: false - enable_prettier: true - enable_typescript: true - - frontend_directory: ./js - backend_directory: . - package_manager: yarn - main_git_branch: main - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} diff --git a/extensions/package-manager/.styleci.yml b/extensions/package-manager/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/package-manager/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/pusher/.github/workflows/backend.yml b/extensions/pusher/.github/workflows/backend.yml deleted file mode 100644 index 80861b3d5..000000000 --- a/extensions/pusher/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Pusher PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: false - - backend_directory: . \ No newline at end of file diff --git a/extensions/pusher/.github/workflows/frontend.yml b/extensions/pusher/.github/workflows/frontend.yml deleted file mode 100644 index b5517d293..000000000 --- a/extensions/pusher/.github/workflows/frontend.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Pusher JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: false - enable_prettier: true - enable_typescript: true - - frontend_directory: ./js - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} \ No newline at end of file diff --git a/extensions/pusher/.styleci.yml b/extensions/pusher/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/pusher/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/statistics/.github/workflows/backend.yml b/extensions/statistics/.github/workflows/backend.yml deleted file mode 100644 index 4c7bbc152..000000000 --- a/extensions/statistics/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Statistics PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: true - - backend_directory: . diff --git a/extensions/statistics/.github/workflows/frontend.yml b/extensions/statistics/.github/workflows/frontend.yml deleted file mode 100644 index 681c4a580..000000000 --- a/extensions/statistics/.github/workflows/frontend.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Statistics JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: false - enable_prettier: true - enable_typescript: true - - frontend_directory: ./js - backend_directory: . - js_package_manager: yarn - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} diff --git a/extensions/statistics/.styleci.yml b/extensions/statistics/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/statistics/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/sticky/.github/workflows/backend.yml b/extensions/sticky/.github/workflows/backend.yml deleted file mode 100644 index 6f7eb14b0..000000000 --- a/extensions/sticky/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Sticky PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: false - - backend_directory: . \ No newline at end of file diff --git a/extensions/sticky/.github/workflows/frontend.yml b/extensions/sticky/.github/workflows/frontend.yml deleted file mode 100644 index 0b339a417..000000000 --- a/extensions/sticky/.github/workflows/frontend.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Sticky JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: false - enable_prettier: true - enable_typescript: false - - frontend_directory: ./js - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} \ No newline at end of file diff --git a/extensions/sticky/.styleci.yml b/extensions/sticky/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/sticky/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/subscriptions/.github/workflows/backend.yml b/extensions/subscriptions/.github/workflows/backend.yml deleted file mode 100644 index ea26d4108..000000000 --- a/extensions/subscriptions/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Subscriptions PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: false - - backend_directory: . \ No newline at end of file diff --git a/extensions/subscriptions/.github/workflows/frontend.yml b/extensions/subscriptions/.github/workflows/frontend.yml deleted file mode 100644 index 16b725fb1..000000000 --- a/extensions/subscriptions/.github/workflows/frontend.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Subscriptions JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: false - enable_prettier: true - enable_typescript: false - - frontend_directory: ./js - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} \ No newline at end of file diff --git a/extensions/subscriptions/.styleci.yml b/extensions/subscriptions/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/subscriptions/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/suspend/.github/workflows/backend.yml b/extensions/suspend/.github/workflows/backend.yml deleted file mode 100644 index 55e80cd97..000000000 --- a/extensions/suspend/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Suspend PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: false - - backend_directory: . \ No newline at end of file diff --git a/extensions/suspend/.github/workflows/frontend.yml b/extensions/suspend/.github/workflows/frontend.yml deleted file mode 100644 index d22e02ce6..000000000 --- a/extensions/suspend/.github/workflows/frontend.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Suspend JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: false - enable_prettier: true - enable_typescript: false - - frontend_directory: ./js - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} \ No newline at end of file diff --git a/extensions/suspend/.styleci.yml b/extensions/suspend/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/suspend/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/extensions/tags/.github/workflows/backend.yml b/extensions/tags/.github/workflows/backend.yml deleted file mode 100644 index 531b5a9cc..000000000 --- a/extensions/tags/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Tags PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: true - - backend_directory: . \ No newline at end of file diff --git a/extensions/tags/.github/workflows/frontend.yml b/extensions/tags/.github/workflows/frontend.yml deleted file mode 100644 index 58307aeeb..000000000 --- a/extensions/tags/.github/workflows/frontend.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Tags JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: false - enable_prettier: false - enable_typescript: false - - frontend_directory: ./js - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} \ No newline at end of file diff --git a/extensions/tags/.styleci.yml b/extensions/tags/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/extensions/tags/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/framework/core/.github/ISSUE_TEMPLATE/bug-report.md b/framework/core/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index 069ca6540..000000000 --- a/framework/core/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -name: "πŸ› Bug Report" -about: "If something isn't working as expected" - ---- -## Bug Report - -**Current Behavior** -A clear and concise description of the behavior. - -**Steps to Reproduce** -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected Behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Environment** -- Flarum version: x.y.z -- Website URL: http://example.com -- Webserver: [e.g. apache, nginx] -- Hosting environment: [e.g. shared, vps] -- PHP version: x.y.z -- Browser: [e.g. chrome 67, safari 11] - -``` -Output of "php flarum info", run this in terminal in your Flarum directory. -``` - -**Possible Solution** - - -**Additional Context** -Add any other context about the problem here. diff --git a/framework/core/.github/ISSUE_TEMPLATE/feature-request.md b/framework/core/.github/ISSUE_TEMPLATE/feature-request.md deleted file mode 100644 index 49948d6ba..000000000 --- a/framework/core/.github/ISSUE_TEMPLATE/feature-request.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: "πŸš€ Feature Request" -about: "I have a suggestion (and may want to implement it!)" - ---- - - - -## Feature Request - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. eg. I have an issue when [...] - -**Describe the solution you'd like** -A detailed description of your proposed solution. Include: -- How the feature would work/behave -- Any potential drawbacks -- Maybe a screenshot, design, or example code - -**Justify why this feature belongs in Flarum's core, rather than in a third-party extension** -Consider who this change will be useful to – most Flarum forums, or just a few? - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. diff --git a/framework/core/.github/ISSUE_TEMPLATE/support-question.md b/framework/core/.github/ISSUE_TEMPLATE/support-question.md deleted file mode 100644 index b2ba0d70f..000000000 --- a/framework/core/.github/ISSUE_TEMPLATE/support-question.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -name: "πŸ™‹β€ Support Question" -about: "If you have a question, please check out our forum or Discord!" - ---- - -We primarily use GitHub as an issue tracker; for usage and support questions, please check out these resources below. Thanks! - -* Flarum Community: https://discuss.flarum.org/ -* Discord Chat: https://flarum.org/discord/ -* Twitter: https://twitter.com/Flarum diff --git a/framework/core/.github/stale.yml b/framework/core/.github/stale.yml deleted file mode 100644 index e533a03c6..000000000 --- a/framework/core/.github/stale.yml +++ /dev/null @@ -1,26 +0,0 @@ -daysUntilStale: 90 -daysUntilClose: 30 - -staleLabel: stale - -exemptLabels: -- org/keep -- type/bug -- type/regression -- critical -- security -exemptAssignees: true -exemptMilestones: true -exemptProjects: true - -markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. We do this - to keep the amount of open issues to a manageable minimum. - - In any case, thanks for taking an interest in this software and contributing - by opening the issue in the first place! - -closeComment: > - We are closing this issue as it seems to have grown stale. If you still - encounter this problem with the latest version, feel free to re-open it. diff --git a/framework/core/.github/workflows/backend.yml b/framework/core/.github/workflows/backend.yml deleted file mode 100644 index be6cea247..000000000 --- a/framework/core/.github/workflows/backend.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Core PHP - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_backend.yml@main - with: - enable_backend_testing: true - - backend_directory: . diff --git a/framework/core/.github/workflows/codeql-analysis.yml b/framework/core/.github/workflows/codeql-analysis.yml deleted file mode 100644 index 5b1ac5d5b..000000000 --- a/framework/core/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,76 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL" - -# Run on: -# - pushes to master, or -# - PRs with a base of `master` -# - which do not **only** consist of changes to .md or .less files -on: - push: - branches: [ master ] - paths-ignore: - - '**/*.md' - - '**/*.less' - pull_request: - branches: [ master ] - paths-ignore: - - '**/*.md' - - '**/*.less' - schedule: - - cron: '0 0 * * 1,3,5' - -jobs: - analyze: - name: Analyze / ${{ matrix.language }} - runs-on: ubuntu-latest - - strategy: - fail-fast: false - matrix: - language: [ 'javascript' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] - # Learn more: - # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v1 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - # queries: ./path/to/local/query, your-org/your-repo/queries@main - - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v1 - - # ℹ️ Command-line programs to run using the OS shell. - # πŸ“š https://git.io/JvXDl - - # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language - - #- run: | - # make bootstrap - # make release - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 diff --git a/framework/core/.github/workflows/frontend.yml b/framework/core/.github/workflows/frontend.yml deleted file mode 100644 index e12159f2d..000000000 --- a/framework/core/.github/workflows/frontend.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Core JS - -on: [workflow_dispatch, push, pull_request] - -# The reusable workflow definitions will be moved to the `flarum/framework` repo soon. -# This will break your current script. -# When this happens, run `flarum-cli audit infra --fix` to update your infrastructure. - -jobs: - run: - uses: flarum/.github/.github/workflows/REUSABLE_frontend.yml@main - with: - enable_bundlewatch: true - enable_prettier: true - enable_typescript: true - - frontend_directory: ./js - backend_directory: . - js_package_manager: yarn - main_git_branch: master - - secrets: - bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} diff --git a/framework/core/.styleci.yml b/framework/core/.styleci.yml deleted file mode 100644 index 8806a5402..000000000 --- a/framework/core/.styleci.yml +++ /dev/null @@ -1,14 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types diff --git a/php-packages/testing/.styleci.yml b/php-packages/testing/.styleci.yml deleted file mode 100644 index 5d07e31ea..000000000 --- a/php-packages/testing/.styleci.yml +++ /dev/null @@ -1,18 +0,0 @@ -preset: recommended - -enabled: - - logical_not_operators_with_successor_space - -disabled: - - align_double_arrow - - blank_line_after_opening_tag - - multiline_array_trailing_comma - - new_with_braces - - phpdoc_align - - phpdoc_order - - phpdoc_separation - - phpdoc_types - -finder: - exclude: - - "stubs"