phpstan-src
所属分类:hotest
开发工具:PHP
文件大小:0KB
下载次数:0
上传日期:2023-07-08 13:07:06
上 传 者:
sh-1993
说明: PHPStan的源代码。这就是发展发生的地方。检查分发存储库的。,
(PHPStan s source code. This is where development happens. Check for the distribution repository.,)
文件列表:
phpstan-src-1.5.x/ (0, 2022-04-21)
phpstan-src-1.5.x/.devcontainer/ (0, 2022-04-21)
phpstan-src-1.5.x/.devcontainer/Dockerfile (1320, 2022-04-21)
phpstan-src-1.5.x/.devcontainer/base.Dockerfile (2075, 2022-04-21)
phpstan-src-1.5.x/.devcontainer/devcontainer.json (910, 2022-04-21)
phpstan-src-1.5.x/.devcontainer/library-scripts/ (0, 2022-04-21)
phpstan-src-1.5.x/.devcontainer/library-scripts/common-debian.sh (6470, 2022-04-21)
phpstan-src-1.5.x/.devcontainer/library-scripts/node-debian.sh (3470, 2022-04-21)
phpstan-src-1.5.x/.editorconfig (360, 2022-04-21)
phpstan-src-1.5.x/.idea/ (0, 2022-04-21)
phpstan-src-1.5.x/.idea/icon.png (23688, 2022-04-21)
phpstan-src-1.5.x/CODE_OF_CONDUCT.md (5483, 2022-04-21)
phpstan-src-1.5.x/LICENSE (1071, 2022-04-21)
phpstan-src-1.5.x/Makefile (3437, 2022-04-21)
phpstan-src-1.5.x/bin/ (0, 2022-04-21)
phpstan-src-1.5.x/bin/functionMetadata_original.php (6759, 2022-04-21)
phpstan-src-1.5.x/bin/generate-changelog.php (3705, 2022-04-21)
phpstan-src-1.5.x/bin/generate-function-metadata.php (3982, 2022-04-21)
phpstan-src-1.5.x/bin/generate-rule-error-classes.php (1798, 2022-04-21)
phpstan-src-1.5.x/bin/phpstan (4587, 2022-04-21)
phpstan-src-1.5.x/build-cs/ (0, 2022-04-21)
phpstan-src-1.5.x/build-cs/composer.json (322, 2022-04-21)
phpstan-src-1.5.x/build-cs/composer.lock (12506, 2022-04-21)
phpstan-src-1.5.x/build.xml (2264, 2022-04-21)
... ...
# PHPStan - PHP Static Analysis Tool
[![Build](https://github.com/phpstan/phpstan-src/workflows/Tests/badge.svg)](https://github.com/phpstan/phpstan-src/actions)
[![PHPStan Enabled](https://img.shields.io/badge/PHPStan-enabled-brightgreen.svg?style=flat)](https://github.com/phpstan/phpstan)
---
This repository (`phpstan/phpstan-src`) is for PHPStan's development only. Head to [`phpstan/phpstan`](https://github.com/phpstan/phpstan) for the main README, or to [create an issue](https://github.com/phpstan/phpstan/issues/new/choose).
## Contributing
Any contributions are welcome.
### Building
PHPStan's source code is developed on PHP 8.0. For distribution in `phpstan/phpstan` package and as a PHAR file, the source code is transformed to run on PHP 7.2 and higher.
Initially you need to run `composer install` in case you aren't working in a directory which was built before.
Afterwards you can either run the whole build including linting and coding standards using
```bash
make
```
### Running development version
You can also choose to run only part of the build. To analyse PHPStan by PHPStan itself, run:
```bash
make phpstan
```
### Fixing code style
To detect code style issues, run:
```bash
make cs
```
And then to fix code style, run:
```bash
make cs-fix
```
### Running tests
Run:
```bash
make tests
```
### Debugging
1. Make sure XDebug is installed and configured.
2. Add `--xdebug` option when running PHPStan. Without it PHPStan turns the debugger off at runtime.
3. If you're not debugging the [result cache](https://phpstan.org/user-guide/result-cache), also add the `--debug` option.
## Code of Conduct
This project adheres to a [Contributor Code of Conduct](https://github.com/phpstan/phpstan/blob/master/CODE_OF_CONDUCT.md).
By participating in this project and its community, you are expected to uphold this code.
近期下载者:
相关文件:
收藏者: