Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP update Stan to lvl6 #1

Open
wants to merge 20 commits into
base: develop
Choose a base branch
from
Open
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .php_cs.dist → .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
->exclude('vendor')
->in(__DIR__);

return PhpCsFixer\Config::create()
return (new PhpCsFixer\Config())
->setRiskyAllowed(true)
->setUsingCache(false)
->setRules(
@@ -28,7 +28,7 @@
'dir_constant' => true,
'modernize_types_casting' => true,
'php_unit_construct' => true,
'psr4' => true,
'psr_autoloading' => true,
'final_internal_class' => true,
'php_unit_strict' => [
'assertions' => [
@@ -44,7 +44,7 @@
'date_time_immutable' => true,
'general_phpdoc_annotation_remove' => true,
'mb_str_functions' => true,
'no_multiline_whitespace_before_semicolons' => true,
'multiline_whitespace_before_semicolons' => true,
'no_php4_constructor' => true,
'no_superfluous_phpdoc_tags' => [
'allow_mixed' => true,
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -47,4 +47,5 @@ A script called dev.sh can be used to manage the image. Here are the avaliable c
executes qc tests

- ./dev.sh install

executes composer install --optimize-autoloader
18 changes: 12 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -7,13 +7,14 @@
"beberlei/assert": "^3.3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.18",
"phpstan/phpstan-phpunit": "^0.12.17",
"phpstan/phpstan": "^0.12.76",
"friendsofphp/php-cs-fixer": "^v3.35.1",
"phpstan/phpstan-phpunit": "^1.3.15",
"phpstan/phpstan": "^1.8",
"phpunit/phpunit": "^9.5",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-beberlei-assert": "^0.12.6",
"ekino/phpstan-banned-code": "0.10.x-dev"
"phpstan/extension-installer": "^1.3.1",
"phpstan/phpstan-beberlei-assert": "^1.1.2",
"ekino/phpstan-banned-code": "v1.0.0",
"vimeo/psalm": "^5.15"
},
"autoload": {
"psr-4": {
@@ -40,5 +41,10 @@
"@phpstan",
"@test"
]
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
}
}
}
Loading