forked from php-cache/filesystem-adapter
-
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.
Remove cache/adapter-common & league/flysystem dependencies
- Loading branch information
Showing
33 changed files
with
3,199 additions
and
433 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = false | ||
|
||
[*.yml] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.js] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.php] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.xml] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.xml.dist] | ||
indent_style = space | ||
indent_size = 2 |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"extends": ["config:base"], | ||
"timezone": "Europe/Paris", | ||
"schedule": [ | ||
"after 10:00 am and before 5:00 pm on the first day of the month" | ||
], | ||
"rangeStrategy": "bump", | ||
"packageRules": [ | ||
{ | ||
"matchDatasources": ["packagist"], | ||
"stabilityDays": 3 | ||
}, | ||
{ | ||
"matchDatasources": ["packagist"], | ||
"matchPackagePatterns": ["*"], | ||
"matchUpdateTypes": ["minor", "patch"], | ||
"groupName": "all non-major dependencies", | ||
"groupSlug": "all-minor-patch" | ||
} | ||
], | ||
"ignorePaths": ["**/docs/**"] | ||
} |
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,46 @@ | ||
name: QC Checks | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- renovate/* | ||
- stable | ||
- beta | ||
tags-ignore: | ||
- "**" | ||
|
||
jobs: | ||
checks: | ||
name: QC Checks | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Use PHP 8.3 | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: "8.3" | ||
coverage: none | ||
tools: composer, cs2pr | ||
|
||
- name: Composer install | ||
run: | | ||
composer install | ||
./vendor/squizlabs/php_codesniffer/bin/phpcs --config-set installed_paths vendor/escapestudios/symfony2-coding-standard | ||
- name: Check composer.json | ||
run: composer validate | ||
|
||
- name: PHPStan checks | ||
run: vendor/bin/phpstan analyse | ||
|
||
- name: PHPCS checks | ||
continue-on-error: true | ||
run: vendor/squizlabs/php_codesniffer/bin/phpcs --standard=./phpcs.xml --no-cache --parallel=1 --report-full --report-checkstyle=./phpcs-report.xml ./src ./tests | ||
|
||
- name: Show PHPCS results in PR | ||
run: cs2pr ./phpcs-report.xml | ||
|
||
- name: PHPUnit tests | ||
run: vendor/bin/phpunit |
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 @@ | ||
/vendor/ | ||
vendor | ||
composer.lock | ||
|
||
composer.phar | ||
.phpunit.cache/* | ||
tests/tmp/* |
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 @@ | ||
<?php | ||
|
||
return (new PhpCsFixer\Config()) | ||
->setRules([ | ||
'@Symfony' => true, | ||
]) | ||
->setLineEnding("\n"); |
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,12 @@ | ||
module.exports = { | ||
printWidth: 120, | ||
trailingComma: "es5", | ||
overrides: [ | ||
{ | ||
files: [".eslintrc.js", ".prettierrc.js", "*.json"], | ||
options: { | ||
printWidth: 80, | ||
}, | ||
}, | ||
], | ||
}; |
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,14 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Listen for Xdebug", | ||
"type": "php", | ||
"request": "launch", | ||
"port": 9003 | ||
} | ||
] | ||
} |
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,37 @@ | ||
{ | ||
"eslint.format.enable": true, | ||
"files.exclude": { | ||
"**/.git/**": true, | ||
"**/vendor/**": true, | ||
"**/.phpunit.cache/**": true | ||
}, | ||
"search.exclude": { | ||
"**/.git/**": true, | ||
"**/vendor/**": true, | ||
"**/.phpunit.cache/**": true | ||
}, | ||
"files.watcherExclude": { | ||
"**/.git/**": true, | ||
"**/vendor/**": true, | ||
"**/.phpunit.cache/**": true | ||
}, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "explicit", | ||
"source.organizeImports": "explicit" | ||
}, | ||
"phpcs.enable": true, | ||
"phpcs.composerJsonPath": "composer.json", | ||
"phpcs.standard": "./phpcs.xml", | ||
"phpcs.showSources": true, | ||
"phpcs.ignorePatterns": [ ], | ||
"php-cs-fixer.config": ".php-cs-fixer.php", | ||
"php-cs-fixer.onsave": false, | ||
"phpstan.enabled": true, | ||
"phpstan.enableLanguageServer": false, | ||
"phpstan.binPath": "./vendor/bin/phpstan", | ||
"phpstan.configFile": "./phpstan.neon", | ||
"phpstan.timeout": 60000, | ||
"[php]": { | ||
"editor.defaultFormatter": "junstyle.php-cs-fixer" | ||
}, | ||
} |
Oops, something went wrong.