forked from roots/multisite-url-fixer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
31837b4
commit fbe150d
Showing
13 changed files
with
2,871 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = tab | ||
|
||
[*.php] | ||
indent_size = 4 | ||
[*.yml] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
indent_style = space |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
groups: | ||
actions: | ||
patterns: | ||
- "*" | ||
commit-message: | ||
prefix: "(chore)" | ||
|
||
- package-ecosystem: "composer" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
groups: | ||
composer: | ||
patterns: | ||
- "*" | ||
commit-message: | ||
prefix: "(chore)" | ||
versioning-strategy: lockfile-only |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: Dependabot Automerge | ||
on: pull_request | ||
|
||
jobs: | ||
dependabot-automerge: | ||
uses: yardinternet/workflows/.github/workflows/dependabot-automerge.yml@main | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Code Style | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- '**.php' | ||
|
||
jobs: | ||
php-cs-fixer: | ||
uses: yardinternet/workflows/.github/workflows/format-php.yml@main | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
vendor | ||
.php-cs-fixer.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use PhpCsFixer\Finder; | ||
use Yard\PhpCsFixerRules\Config; | ||
|
||
# PHP CS Fixer can be run by using the composer script `composer format` | ||
|
||
$finder = Finder::create() | ||
->in(__DIR__) | ||
->name('*.php') | ||
->ignoreDotFiles(true) | ||
->ignoreVCS(true) | ||
->append(['.php-cs-fixer.php']); | ||
|
||
return Config::create($finder); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
{ | ||
"name": "roots/multisite-url-fixer", | ||
"name": "yard/multisite-url-fixer", | ||
"type": "wordpress-muplugin", | ||
"license": "MIT", | ||
"description": | ||
"Fixes WordPress issues with home and site URL on multisite when using Bedrock", | ||
"homepage": "https://roots.io/bedrock/", | ||
"keywords": ["wordpress"], | ||
"support": { | ||
"issues": "https://github.com/roots/multisite-url-fixer/issues", | ||
"issues": "https://github.com/yardinternet/multisite-url-fixer/issues", | ||
"forum": "https://discourse.roots.io/" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Roots\\Bedrock\\": "src/" | ||
"Yard\\Bedrock\\": "src/" | ||
} | ||
}, | ||
"require": { | ||
"php": ">=7.0.0" | ||
"php": ">=7.4" | ||
}, | ||
"require-dev": { | ||
"squizlabs/php_codesniffer": "^3.1" | ||
"yard/php-cs-fixer-rules": "^1.0" | ||
}, | ||
"scripts": { | ||
"test": ["phpcs --ignore=vendor --extensions=php --standard=PSR2 ."] | ||
} | ||
"scripts": { | ||
"format": "vendor/bin/php-cs-fixer fix" | ||
} | ||
} |
Oops, something went wrong.