Skip to content

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kununu Code Tools

kununu Code Tools

Shared development tooling for kununu PHP projects. It centralizes the static-analysis and code-style configuration our repositories use, and ships the helper executables our repositories share.

Installation

composer require --dev kununu/code-tools --no-plugins

--no-plugins keeps composer plugins from running during installation, which would otherwise generate unwanted configuration files, particularly in projects using symfony/flex.

Tools

Every tool works out of the box. Use bin/code-tools to publish a tool's configuration template into your project when you need to customise it.

Tool Purpose
.editorconfig Consistent editor and IDE settings across the team
PHP-CS-Fixer Formats and fixes code against the kununu coding standard
PHP_CodeSniffer Reports and fixes coding-standard violations, including custom kununu sniffs
PHPStan Static analysis
Psalm Static analysis with type inference
Rector Automated refactoring and PHP version upgrades
Architecture Sniffer Architecture and dependency rules, powered by PHPAT
bin/code-tools Publishes the configuration templates above into your project
bin/coverage-check Checks the total line coverage of a Cobertura report against a minimum
bin/php-in-k8s Runs PHP commands inside a local Kubernetes pod
bin/print-section Prints a section header, to separate the steps of a multi-tool script

Upgrading

Coming from 4.x? See UPGRADE.md.

Contributing

See CONTRIBUTING.md for development setup, testing, and the PR/release process.


Continuous Integration Quality Gate Status

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages