nswdpc / ci-files
Collection of files for use in CI
Installs: 949
Dependents: 21
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/nswdpc/ci-files
Requires
- php: ^8.1
- friendsofphp/php-cs-fixer: ^3
- phpstan/phpstan: ^2
- phpunit/phpunit: ^9.5 || ^10 || ^11
- rector/rector: ^2
Suggests
- cambis/silverstan: PhpStan support for Silverstripe
- cambis/silverstripe-rector: Rector rules for Silverstripe
README
A collection of files and configuration for upgrading and analysing your code in CI and development.
- Code standards updates using
friendsofphp/php-cs-fixer - Static analyis using
phpstan/phpstanand - Automated code refactoring using
rector/rectorto make upgrades faster and easier.
Install
Require as a dev component in your project/module.
composer require --dev nswdpc/ci-files:^4
OR
composer require --dev nswdpc/ci-files:dev-v-4
Use the relevant tag or dev-v-N branch or a tag, depending on your refactoring requirements. The branch will have the latest untagged changes in that major version.
Use
License
Maintainers
- PD web team
Bugtracker
We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.
Please review the code of conduct prior to opening a new issue.
Security
If you have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.
Development and contribution
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.
Please review the code of conduct prior to completing a pull request.