GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - phpstan-bot/phpstan-src: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

15,810 Commits
15,810 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude/skills/regression-test
.claude/skills/regression-test
 
 
.devcontainer
.devcontainer
 
 
.github
.github
 
 
.idea
.idea
 
 
apigen
apigen
 
 
bin
bin
 
 
build
build
 
 
changelog-generator
changelog-generator
 
 
compiler
compiler
 
 
conf
conf
 
 
e2e
e2e
 
 
issue-bot
issue-bot
 
 
patches
patches
 
 
resources
resources
 
 
src
src
 
 
stubs
stubs
 
 
tests
tests
 
 
tmp
tmp
 
 
turbo-ext
turbo-ext
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.typos.toml
.typos.toml
 
 
CLAUDE.md
CLAUDE.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
UPGRADING.md
UPGRADING.md
 
 
composer.json
composer.json
 
 
composer.lock
composer.lock
 
 
phpcs.xml
phpcs.xml
 
 
phpstan-baseline.neon
phpstan-baseline.neon
 
 
phpstan-baseline.php
phpstan-baseline.php
 
 
phpstan.neon.dist
phpstan.neon.dist
 
 
phpunit.xml
phpunit.xml
 
 
preload.php
preload.php
 
 

Repository files navigation

PHPStan - PHP Static Analysis Tool

Build PHPStan Enabled


This repository (phpstan/phpstan-src) is for PHPStan's development only. Head to phpstan/phpstan for the main README, or to create an issue.

Contributing

Any contributions are welcome.

Installation

composer install

If you are using macOS and are using an older version of patch, you may have problems with patch application failure during composer install. Try using brew install gpatch to install a newer and supported patch version.

Building

PHPStan's source code is developed on PHP 8.2. 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.

Afterward you can run the whole build including linting and coding standards:

make

Running development version

You can also choose to run only part of the build. To analyse PHPStan by PHPStan itself, run:

make phpstan

Fixing code style

To detect code style issues, run:

make cs

And then to fix code style, run:

make cs-fix

Running tests

Run:

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, also add the --debug option.

Code of Conduct

This project adheres to a Contributor Code of Conduct. By participating in this project and its community, you are expected to uphold this code.

About

PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository.

phpstan.org/

Resources

Readme
License

Code of conduct

Code of conduct
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.