-
Notifications
You must be signed in to change notification settings - Fork 5
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
Showing
31 changed files
with
3,627 additions
and
517 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
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,3 +1,5 @@ | ||
/.idea/ | ||
.idea | ||
vendor | ||
docker-compose.yml | ||
bin/ | ||
.php_cs.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,21 @@ | ||
<?php | ||
|
||
declare(strict_types = 1); | ||
|
||
use PhpCsFixer\Config; | ||
use PhpCsFixer\Finder; | ||
|
||
$finder = Finder::create()->in('src'); | ||
$config = new Config(); | ||
|
||
return $config | ||
->setFinder($finder) | ||
->setRules([ | ||
'@Symfony' => true, | ||
'strict_param' => true, | ||
'array_syntax' => ['syntax' => 'short'], | ||
'concat_space' => ['spacing' => 'one'], | ||
'no_superfluous_phpdoc_tags' => true, | ||
'phpdoc_align' => false, | ||
'phpdoc_no_useless_inheritdoc' => true, | ||
]); |
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,6 +1,12 @@ | ||
# shepherd-drupal-scaffold | ||
# Shepherd Drupal Scaffold | ||
|
||
Composer plugin for automatically downloading Shepherd tools files (like | ||
`RoboFileBase.php`, …). | ||
Composer plugin for automatically adding files to a project. | ||
|
||
- Some files are always added, replacing existing files. | ||
- Some files are only added if they don't exist. | ||
|
||
This is referenced by projects created using `shepherd-drupal-project`. | ||
|
||
## Development | ||
|
||
Run coding standards and fixer with: ` ./bin/php-cs-fixer fix --allow-risky=yes` |
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
Oops, something went wrong.