Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
/ docker-phan Public archive

A container for phan which doesn't insult your intelligence

License

Notifications You must be signed in to change notification settings

digiaonline/docker-phan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-phan

This is a docker container for the phan static analyser.

Usage

Just start the container, mount your code somehow, then run phan however you want inside it. In contrast to all other containers for this tool this one doesn't try to insult your intelligence by limiting how you use the tool.

GitLab CI example

These examples assume you have a .phan/config.php file in your project's root directory.

phan:
  image: nordsoftware/phan
  script:
    - phan

Jenkins Pipeline example

node {    
    stage('Run static analysis') {
        docker.image('nordsoftware/phan').inside {
            sh 'phan'
        }    
    }
}

Versioning

Each version is tagged with the version of phan it ships.

Credits

Credits to mre/docker-php-phan for the installation instructions.

About

A container for phan which doesn't insult your intelligence

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published