VarSetType rename to SetVarType, add phan/phpstan/phpunit tests

Breaking change:
VarSetType/VarSetTypeNull classes have been renamed to
SetVarType/SetVarTypeNull

Added phan/phpstan static checkes and settings
Add phpunit tests (in test/phpunit) that are an exact copy from the
trunk folder unit tests

The phan/phpstan tests have been updated to work with the composer layout

config files with static defines needed for certain classes are stored
in test/configs (config.php, config.other.php, config.master.php)
This commit is contained in:
Clemens Schwaighofer
2023-02-22 07:52:51 +09:00
parent b56f889c5e
commit 6f653c24a0
77 changed files with 20066 additions and 28 deletions

View File

@@ -15,5 +15,19 @@
}
],
"minimum-stability": "dev",
"require": {}
"require": {
"php": ">=8.1"
},
"require-dev": {
"phpstan/phpstan": "1.10.x-dev",
"phan/phan": "v5.x-dev",
"phpunit/phpunit": "^9",
"egrajp/smarty-extended": "^4.3"
},
"repositories": {
"git.egplusww.jp.Composer": {
"type": "composer",
"url": "https://git.egplusww.jp/api/packages/Composer/composer"
}
}
}