Skip to content

Commit

Permalink
Merge branch 'update'
Browse files Browse the repository at this point in the history
  • Loading branch information
lkrms committed Aug 2, 2024
2 parents 3ad5220 + a7596ec commit 0c57a3f
Show file tree
Hide file tree
Showing 36 changed files with 700 additions and 199 deletions.
7 changes: 5 additions & 2 deletions .vscode/php.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
"",
"namespace ${TM_DIRECTORY/^.*\\\\/(src|(tests\\\\/(?:unit|integration|fixtures)))|\\\\/([a-zA-Z0-9]+)/${1:+Lkrms\\\\PrettyPHP}${2:+\\\\Tests}${3:+\\\\}$3/g};",
"",
"final class ${TM_FILENAME_BASE/[^a-zA-Z0-9]+//g} extends \\Lkrms\\PrettyPHP\\Tests\\TestCase",
"use Lkrms\\PrettyPHP\\Tests\\TestCase;",
"",
"final class ${TM_FILENAME_BASE/[^a-zA-Z0-9]+//g} extends TestCase",
"{",
" /**",
" * @dataProvider outputProvider",
Expand Down Expand Up @@ -57,10 +59,11 @@
"",
"namespace ${TM_DIRECTORY/^.*\\\\/(src|(tests\\\\/(?:unit|integration|fixtures)))|\\\\/([a-zA-Z0-9]+)/${1:+Lkrms\\\\PrettyPHP}${2:+\\\\Tests}${3:+\\\\}$3/g};",
"",
"use Lkrms\\PrettyPHP\\Tests\\TestCase;",
"use Lkrms\\PrettyPHP\\Formatter;",
"use Lkrms\\PrettyPHP\\FormatterBuilder as FormatterB;",
"",
"final class ${TM_FILENAME_BASE/[^a-zA-Z0-9]+//g} extends \\Lkrms\\PrettyPHP\\Tests\\TestCase",
"final class ${TM_FILENAME_BASE/[^a-zA-Z0-9]+//g} extends TestCase",
"{",
" /**",
" * @dataProvider outputProvider",
Expand Down
5 changes: 2 additions & 3 deletions box.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
"/^(?:LICENSE|README|composer\\.(?:json|lock))$|phpstan\\.|\\.md$/"
],
"notPath": [
"/^bin\\//",
"/^salient\\/toolkit\\/(?:bin|src\\/(?:Sli|Toolkit\\/(?:Contract\\/)?(?:Curler|Db|Http|PHPStan|Sync)))\\//",
"/^salient\\/contracts\\/(?:Curler|Db|Http|Sync)\\//",
"/^lkrms\\/dice\\/src\\/Loader\\//",
"/^psr\\/(?:http-(?:client|factory|message)|log\\/Psr\\/Log\\/Test)\\//"
"/^psr\\/(?:http-(?:client|message)|log\\/Psr\\/Log\\/Test)\\//"
]
}
],
Expand Down
13 changes: 11 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,14 @@
"ext-mbstring": "*",
"ext-tokenizer": "*",
"composer-runtime-api": "^2.2",
"salient/toolkit": "^0.99.30",
"salient/cli": "^0.99",
"salient/collections": "^0.99",
"salient/console": "^0.99",
"salient/contracts": "^0.99",
"salient/core": "^0.99",
"salient/phpdoc": "^0.99",
"salient/polyfills": "^0.99",
"salient/utils": "^0.99",
"sebastian/diff": "^4 || ^5"
},
"require-dev": {
Expand All @@ -28,7 +35,9 @@
"phpstan/phpstan": "^1",
"phpstan/phpstan-deprecation-rules": "^1",
"phpstan/phpstan-phpunit": "^1",
"phpunit/phpunit": "^9"
"phpunit/phpunit": "^9",
"salient/phpstan": "^0.99",
"salient/sli": "^0.99"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 0c57a3f

Please sign in to comment.